From f2bab4f5bdfeed2ea10acf27c432f5793aab2fcf Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 02:30:51 +0000 Subject: [PATCH 1/4] feat: Enable REST transport for most of Java and Go clients PiperOrigin-RevId: 456641589 Source-Link: https://github.com/googleapis/googleapis/commit/8a251f5225b789b2383207ffd978f6aa3d77fcf7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4ca52a529cf01308d9714950edffbea3560cfbdb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNhNTJhNTI5Y2YwMTMwOGQ5NzE0OTUwZWRmZmJlYTM1NjBjZmJkYiJ9 --- .../gkemulticloud/v1/AwsClustersGrpc.java | 1736 ---------- .../gkemulticloud/v1/AzureClustersGrpc.java | 2273 ------------- .../gkemulticloud/v1/AwsClustersClient.java | 63 +- .../gkemulticloud/v1/AwsClustersSettings.java | 31 +- .../gkemulticloud/v1/AzureClustersClient.java | 85 +- .../v1/AzureClustersSettings.java | 31 +- .../gkemulticloud/v1/gapic_metadata.json | 0 .../cloud/gkemulticloud/v1/package-info.java | 0 .../v1/stub/AwsClustersStub.java | 6 +- .../v1/stub/AwsClustersStubSettings.java | 60 +- .../v1/stub/AzureClustersStub.java | 6 +- .../v1/stub/AzureClustersStubSettings.java | 66 +- .../stub/GrpcAwsClustersCallableFactory.java | 0 .../v1/stub/GrpcAwsClustersStub.java | 1 + .../GrpcAzureClustersCallableFactory.java | 0 .../v1/stub/GrpcAzureClustersStub.java | 1 + .../HttpJsonAwsClustersCallableFactory.java | 105 + .../v1/stub/HttpJsonAwsClustersStub.java | 947 ++++++ .../HttpJsonAzureClustersCallableFactory.java | 105 + .../v1/stub/HttpJsonAzureClustersStub.java | 1233 ++++++++ .../v1/AwsClustersClientHttpJsonTest.java | 1327 ++++++++ .../v1/AwsClustersClientTest.java | 0 .../v1/AzureClustersClientHttpJsonTest.java | 1776 +++++++++++ .../v1/AzureClustersClientTest.java | 0 .../gkemulticloud/v1/MockAwsClusters.java | 0 .../gkemulticloud/v1/MockAwsClustersImpl.java | 0 .../gkemulticloud/v1/MockAzureClusters.java | 0 .../v1/MockAzureClustersImpl.java | 0 .../gkemulticloud/v1/AwsClustersGrpc.java | 1322 ++++++++ .../gkemulticloud/v1/AzureClustersGrpc.java | 1718 ++++++++++ .../gkemulticloud/v1/AwsAuthorization.java | 457 +-- .../v1/AwsAuthorizationOrBuilder.java | 56 +- .../cloud/gkemulticloud/v1/AwsCluster.java | 2475 +++++---------- .../gkemulticloud/v1/AwsClusterName.java | 0 .../v1/AwsClusterNetworking.java | 638 ++-- .../v1/AwsClusterNetworkingOrBuilder.java | 91 +- .../gkemulticloud/v1/AwsClusterOrBuilder.java | 301 +- .../gkemulticloud/v1/AwsClusterUser.java | 308 +- .../v1/AwsClusterUserOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsConfigEncryption.java | 314 +- .../v1/AwsConfigEncryptionOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsControlPlane.java | 2230 +++++-------- .../v1/AwsControlPlaneOrBuilder.java | 275 +- .../v1/AwsDatabaseEncryption.java | 314 +- .../v1/AwsDatabaseEncryptionOrBuilder.java | 27 +- .../v1/AwsInstancePlacement.java | 413 +-- .../v1/AwsInstancePlacementOrBuilder.java | 28 + .../gkemulticloud/v1/AwsK8sVersionInfo.java | 311 +- .../v1/AwsK8sVersionInfoOrBuilder.java | 29 + .../cloud/gkemulticloud/v1/AwsNodeConfig.java | 2113 +++++-------- .../v1/AwsNodeConfigOrBuilder.java | 263 +- .../cloud/gkemulticloud/v1/AwsNodePool.java | 1884 ++++------- .../v1/AwsNodePoolAutoscaling.java | 306 +- .../v1/AwsNodePoolAutoscalingOrBuilder.java | 24 +- .../gkemulticloud/v1/AwsNodePoolName.java | 0 .../v1/AwsNodePoolOrBuilder.java | 220 +- .../gkemulticloud/v1/AwsProxyConfig.java | 387 +-- .../v1/AwsProxyConfigOrBuilder.java | 36 +- .../gkemulticloud/v1/AwsResourcesProto.java | 434 +++ .../gkemulticloud/v1/AwsServerConfig.java | 557 ++-- .../gkemulticloud/v1/AwsServerConfigName.java | 0 .../v1/AwsServerConfigOrBuilder.java | 63 +- .../gkemulticloud/v1/AwsServiceProto.java | 364 +++ .../v1/AwsServicesAuthentication.java | 393 +-- .../AwsServicesAuthenticationOrBuilder.java | 36 +- .../cloud/gkemulticloud/v1/AwsSshConfig.java | 301 +- .../v1/AwsSshConfigOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsVolumeTemplate.java | 550 ++-- .../v1/AwsVolumeTemplateOrBuilder.java | 47 +- .../gkemulticloud/v1/AzureAuthorization.java | 459 +-- .../v1/AzureAuthorizationOrBuilder.java | 56 +- .../cloud/gkemulticloud/v1/AzureClient.java | 1050 +++--- .../gkemulticloud/v1/AzureClientName.java | 0 .../v1/AzureClientOrBuilder.java | 126 +- .../cloud/gkemulticloud/v1/AzureCluster.java | 2805 ++++++----------- .../gkemulticloud/v1/AzureClusterName.java | 0 .../v1/AzureClusterNetworking.java | 740 ++--- .../v1/AzureClusterNetworkingOrBuilder.java | 106 +- .../v1/AzureClusterOrBuilder.java | 339 +- .../v1/AzureClusterResources.java | 446 ++- .../v1/AzureClusterResourcesOrBuilder.java | 44 +- .../gkemulticloud/v1/AzureClusterUser.java | 311 +- .../v1/AzureClusterUserOrBuilder.java | 27 +- .../v1/AzureConfigEncryption.java | 393 +-- .../v1/AzureConfigEncryptionOrBuilder.java | 36 +- .../gkemulticloud/v1/AzureControlPlane.java | 1964 ++++-------- .../v1/AzureControlPlaneOrBuilder.java | 243 +- .../v1/AzureDatabaseEncryption.java | 314 +- .../v1/AzureDatabaseEncryptionOrBuilder.java | 27 +- .../gkemulticloud/v1/AzureDiskTemplate.java | 269 +- .../v1/AzureDiskTemplateOrBuilder.java | 21 + .../gkemulticloud/v1/AzureK8sVersionInfo.java | 314 +- .../v1/AzureK8sVersionInfoOrBuilder.java | 29 + .../gkemulticloud/v1/AzureNodeConfig.java | 1747 ++++------ .../v1/AzureNodeConfigOrBuilder.java | 216 +- .../cloud/gkemulticloud/v1/AzureNodePool.java | 1968 +++++------- .../v1/AzureNodePoolAutoscaling.java | 306 +- .../v1/AzureNodePoolAutoscalingOrBuilder.java | 24 +- .../gkemulticloud/v1/AzureNodePoolName.java | 0 .../v1/AzureNodePoolOrBuilder.java | 229 +- .../gkemulticloud/v1/AzureProxyConfig.java | 390 +-- .../v1/AzureProxyConfigOrBuilder.java | 36 +- .../gkemulticloud/v1/AzureResourcesProto.java | 462 +++ .../gkemulticloud/v1/AzureServerConfig.java | 567 ++-- .../v1/AzureServerConfigName.java | 0 .../v1/AzureServerConfigOrBuilder.java | 60 +- .../gkemulticloud/v1/AzureServiceProto.java | 463 +++ .../gkemulticloud/v1/AzureSshConfig.java | 308 +- .../v1/AzureSshConfigOrBuilder.java | 27 +- .../v1/CommonResourcesProto.java | 153 + .../v1/CreateAwsClusterRequest.java | 604 ++-- .../v1/CreateAwsClusterRequestOrBuilder.java | 67 +- .../v1/CreateAwsNodePoolRequest.java | 604 ++-- .../v1/CreateAwsNodePoolRequestOrBuilder.java | 67 +- .../v1/CreateAzureClientRequest.java | 604 ++-- .../v1/CreateAzureClientRequestOrBuilder.java | 67 +- .../v1/CreateAzureClusterRequest.java | 604 ++-- .../CreateAzureClusterRequestOrBuilder.java | 67 +- .../v1/CreateAzureNodePoolRequest.java | 611 ++-- .../CreateAzureNodePoolRequestOrBuilder.java | 67 +- .../v1/DeleteAwsClusterRequest.java | 495 ++- .../v1/DeleteAwsClusterRequestOrBuilder.java | 50 +- .../v1/DeleteAwsNodePoolRequest.java | 495 ++- .../v1/DeleteAwsNodePoolRequestOrBuilder.java | 50 +- .../v1/DeleteAzureClientRequest.java | 416 +-- .../v1/DeleteAzureClientRequestOrBuilder.java | 41 +- .../v1/DeleteAzureClusterRequest.java | 495 ++- .../DeleteAzureClusterRequestOrBuilder.java | 50 +- .../v1/DeleteAzureNodePoolRequest.java | 502 ++- .../DeleteAzureNodePoolRequestOrBuilder.java | 50 +- .../google/cloud/gkemulticloud/v1/Fleet.java | 377 +-- .../gkemulticloud/v1/FleetOrBuilder.java | 36 +- .../v1/GenerateAwsAccessTokenRequest.java | 363 +-- ...enerateAwsAccessTokenRequestOrBuilder.java | 35 +- .../v1/GenerateAwsAccessTokenResponse.java | 486 ++- ...nerateAwsAccessTokenResponseOrBuilder.java | 47 +- .../v1/GenerateAzureAccessTokenRequest.java | 374 +-- ...erateAzureAccessTokenRequestOrBuilder.java | 35 +- .../v1/GenerateAzureAccessTokenResponse.java | 498 ++- ...rateAzureAccessTokenResponseOrBuilder.java | 47 +- .../v1/GetAwsClusterRequest.java | 342 +- .../v1/GetAwsClusterRequestOrBuilder.java | 35 +- .../v1/GetAwsNodePoolRequest.java | 342 +- .../v1/GetAwsNodePoolRequestOrBuilder.java | 35 +- .../v1/GetAwsServerConfigRequest.java | 342 +- .../GetAwsServerConfigRequestOrBuilder.java | 35 +- .../v1/GetAzureClientRequest.java | 342 +- .../v1/GetAzureClientRequestOrBuilder.java | 35 +- .../v1/GetAzureClusterRequest.java | 342 +- .../v1/GetAzureClusterRequestOrBuilder.java | 35 +- .../v1/GetAzureNodePoolRequest.java | 342 +- .../v1/GetAzureNodePoolRequestOrBuilder.java | 35 +- .../v1/GetAzureServerConfigRequest.java | 350 +- .../GetAzureServerConfigRequestOrBuilder.java | 35 +- .../v1/ListAwsClustersRequest.java | 455 ++- .../v1/ListAwsClustersRequestOrBuilder.java | 47 +- .../v1/ListAwsClustersResponse.java | 461 ++- .../v1/ListAwsClustersResponseOrBuilder.java | 45 +- .../v1/ListAwsNodePoolsRequest.java | 455 ++- .../v1/ListAwsNodePoolsRequestOrBuilder.java | 47 +- .../v1/ListAwsNodePoolsResponse.java | 458 ++- .../v1/ListAwsNodePoolsResponseOrBuilder.java | 45 +- .../v1/ListAzureClientsRequest.java | 455 ++- .../v1/ListAzureClientsRequestOrBuilder.java | 47 +- .../v1/ListAzureClientsResponse.java | 458 ++- .../v1/ListAzureClientsResponseOrBuilder.java | 45 +- .../v1/ListAzureClustersRequest.java | 455 ++- .../v1/ListAzureClustersRequestOrBuilder.java | 47 +- .../v1/ListAzureClustersResponse.java | 441 +-- .../ListAzureClustersResponseOrBuilder.java | 45 +- .../v1/ListAzureNodePoolsRequest.java | 455 ++- .../ListAzureNodePoolsRequestOrBuilder.java | 47 +- .../v1/ListAzureNodePoolsResponse.java | 449 +-- .../ListAzureNodePoolsResponseOrBuilder.java | 45 +- .../cloud/gkemulticloud/v1/LocationName.java | 0 .../v1/LoggingComponentConfig.java | 528 ++-- .../v1/LoggingComponentConfigOrBuilder.java | 58 + .../cloud/gkemulticloud/v1/LoggingConfig.java | 344 +- .../v1/LoggingConfigOrBuilder.java | 26 +- .../gkemulticloud/v1/MaxPodsConstraint.java | 272 +- .../v1/MaxPodsConstraintOrBuilder.java | 19 + .../cloud/gkemulticloud/v1/NodeTaint.java | 549 ++-- .../gkemulticloud/v1/NodeTaintOrBuilder.java | 50 +- .../gkemulticloud/v1/OperationMetadata.java | 736 ++--- .../v1/OperationMetadataOrBuilder.java | 79 +- .../gkemulticloud/v1/ReplicaPlacement.java | 390 +-- .../v1/ReplicaPlacementOrBuilder.java | 36 +- .../v1/UpdateAwsClusterRequest.java | 551 ++-- .../v1/UpdateAwsClusterRequestOrBuilder.java | 58 +- .../v1/UpdateAwsNodePoolRequest.java | 551 ++-- .../v1/UpdateAwsNodePoolRequestOrBuilder.java | 58 +- .../v1/UpdateAzureClusterRequest.java | 551 ++-- .../UpdateAzureClusterRequestOrBuilder.java | 58 +- .../v1/UpdateAzureNodePoolRequest.java | 558 ++-- .../UpdateAzureNodePoolRequestOrBuilder.java | 58 +- .../v1/WorkloadIdentityConfig.java | 472 ++- .../v1/WorkloadIdentityConfigOrBuilder.java | 45 +- .../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 | 41 + .../SyncCreateSetCredentialsProvider1.java | 40 + .../create/SyncCreateSetEndpoint.java | 38 + .../AsyncCreateAwsCluster.java | 51 + .../AsyncCreateAwsClusterLRO.java | 51 + .../SyncCreateAwsCluster.java | 46 + ...wsClusterLocationnameAwsclusterString.java | 42 + ...reateAwsClusterStringAwsclusterString.java | 42 + .../AsyncCreateAwsNodePool.java | 51 + .../AsyncCreateAwsNodePoolLRO.java | 51 + .../SyncCreateAwsNodePool.java | 46 + ...dePoolAwsclusternameAwsnodepoolString.java | 42 + ...ateAwsNodePoolStringAwsnodepoolString.java | 42 + .../AsyncDeleteAwsCluster.java | 50 + .../AsyncDeleteAwsClusterLRO.java | 51 + .../SyncDeleteAwsCluster.java | 46 + .../SyncDeleteAwsClusterAwsclustername.java | 39 + .../SyncDeleteAwsClusterString.java | 39 + .../AsyncDeleteAwsNodePool.java | 52 + .../AsyncDeleteAwsNodePoolLRO.java | 53 + .../SyncDeleteAwsNodePool.java | 48 + .../SyncDeleteAwsNodePoolAwsnodepoolname.java | 40 + .../SyncDeleteAwsNodePoolString.java | 41 + .../AsyncGenerateAwsAccessToken.java | 48 + .../SyncGenerateAwsAccessToken.java | 44 + .../getawscluster/AsyncGetAwsCluster.java | 46 + .../getawscluster/SyncGetAwsCluster.java | 43 + .../SyncGetAwsClusterAwsclustername.java | 39 + .../SyncGetAwsClusterString.java | 39 + .../getawsnodepool/AsyncGetAwsNodePool.java | 49 + .../getawsnodepool/SyncGetAwsNodePool.java | 45 + .../SyncGetAwsNodePoolAwsnodepoolname.java | 40 + .../SyncGetAwsNodePoolString.java | 41 + .../AsyncGetAwsServerConfig.java | 47 + .../SyncGetAwsServerConfig.java | 43 + ...GetAwsServerConfigAwsserverconfigname.java | 39 + .../SyncGetAwsServerConfigString.java | 39 + .../listawsclusters/AsyncListAwsClusters.java | 51 + .../AsyncListAwsClustersPaged.java | 59 + .../listawsclusters/SyncListAwsClusters.java | 47 + .../SyncListAwsClustersLocationname.java | 41 + .../SyncListAwsClustersString.java | 41 + .../AsyncListAwsNodePools.java | 51 + .../AsyncListAwsNodePoolsPaged.java | 59 + .../SyncListAwsNodePools.java | 47 + .../SyncListAwsNodePoolsAwsclustername.java | 41 + .../SyncListAwsNodePoolsString.java | 41 + .../AsyncUpdateAwsCluster.java | 50 + .../AsyncUpdateAwsClusterLRO.java | 50 + .../SyncUpdateAwsCluster.java | 45 + ...ncUpdateAwsClusterAwsclusterFieldmask.java | 40 + .../AsyncUpdateAwsNodePool.java | 50 + .../AsyncUpdateAwsNodePoolLRO.java | 50 + .../SyncUpdateAwsNodePool.java | 45 + ...UpdateAwsNodePoolAwsnodepoolFieldmask.java | 41 + .../getawscluster/SyncGetAwsCluster.java | 45 + .../SyncCreateSetCredentialsProvider.java | 41 + .../SyncCreateSetCredentialsProvider1.java | 40 + .../create/SyncCreateSetEndpoint.java | 38 + .../AsyncCreateAzureClient.java | 51 + .../AsyncCreateAzureClientLRO.java | 51 + .../SyncCreateAzureClient.java | 46 + ...reClientLocationnameAzureclientString.java | 42 + ...ateAzureClientStringAzureclientString.java | 42 + .../AsyncCreateAzureCluster.java | 51 + .../AsyncCreateAzureClusterLRO.java | 51 + .../SyncCreateAzureCluster.java | 46 + ...ClusterLocationnameAzureclusterString.java | 42 + ...eAzureClusterStringAzureclusterString.java | 42 + .../AsyncCreateAzureNodePool.java | 52 + .../AsyncCreateAzureNodePoolLRO.java | 52 + .../SyncCreateAzureNodePool.java | 47 + ...olAzureclusternameAzurenodepoolString.java | 44 + ...zureNodePoolStringAzurenodepoolString.java | 44 + .../AsyncDeleteAzureClient.java | 49 + .../AsyncDeleteAzureClientLRO.java | 50 + .../SyncDeleteAzureClient.java | 45 + .../SyncDeleteAzureClientAzureclientname.java | 39 + .../SyncDeleteAzureClientString.java | 39 + .../AsyncDeleteAzureCluster.java | 50 + .../AsyncDeleteAzureClusterLRO.java | 51 + .../SyncDeleteAzureCluster.java | 46 + ...yncDeleteAzureClusterAzureclustername.java | 39 + .../SyncDeleteAzureClusterString.java | 39 + .../AsyncDeleteAzureNodePool.java | 53 + .../AsyncDeleteAzureNodePoolLRO.java | 54 + .../SyncDeleteAzureNodePool.java | 49 + ...cDeleteAzureNodePoolAzurenodepoolname.java | 40 + .../SyncDeleteAzureNodePoolString.java | 41 + .../AsyncGenerateAzureAccessToken.java | 48 + .../SyncGenerateAzureAccessToken.java | 45 + .../getazureclient/AsyncGetAzureClient.java | 47 + .../getazureclient/SyncGetAzureClient.java | 43 + .../SyncGetAzureClientAzureclientname.java | 39 + .../SyncGetAzureClientString.java | 39 + .../getazurecluster/AsyncGetAzureCluster.java | 47 + .../getazurecluster/SyncGetAzureCluster.java | 43 + .../SyncGetAzureClusterAzureclustername.java | 39 + .../SyncGetAzureClusterString.java | 39 + .../AsyncGetAzureNodePool.java | 50 + .../SyncGetAzureNodePool.java | 46 + ...SyncGetAzureNodePoolAzurenodepoolname.java | 40 + .../SyncGetAzureNodePoolString.java | 41 + .../AsyncGetAzureServerConfig.java | 47 + .../SyncGetAzureServerConfig.java | 43 + ...zureServerConfigAzureserverconfigname.java | 39 + .../SyncGetAzureServerConfigString.java | 39 + .../AsyncListAzureClients.java | 51 + .../AsyncListAzureClientsPaged.java | 59 + .../SyncListAzureClients.java | 47 + .../SyncListAzureClientsLocationname.java | 41 + .../SyncListAzureClientsString.java | 41 + .../AsyncListAzureClusters.java | 51 + .../AsyncListAzureClustersPaged.java | 59 + .../SyncListAzureClusters.java | 47 + .../SyncListAzureClustersLocationname.java | 41 + .../SyncListAzureClustersString.java | 41 + .../AsyncListAzureNodePools.java | 52 + .../AsyncListAzureNodePoolsPaged.java | 60 + .../SyncListAzureNodePools.java | 48 + ...yncListAzureNodePoolsAzureclustername.java | 41 + .../SyncListAzureNodePoolsString.java | 41 + .../AsyncUpdateAzureCluster.java | 50 + .../AsyncUpdateAzureClusterLRO.java | 50 + .../SyncUpdateAzureCluster.java | 45 + ...dateAzureClusterAzureclusterFieldmask.java | 41 + .../AsyncUpdateAzureNodePool.java | 50 + .../AsyncUpdateAzureNodePoolLRO.java | 50 + .../SyncUpdateAzureNodePool.java | 45 + ...teAzureNodePoolAzurenodepoolFieldmask.java | 41 + .../getazureclient/SyncGetAzureClient.java | 45 + .../getawscluster/SyncGetAwsCluster.java | 46 + .../getazureclient/SyncGetAzureClient.java | 46 + .../v1/AwsInstancePlacementOrBuilder.java | 54 - .../v1/AwsK8sVersionInfoOrBuilder.java | 50 - .../gkemulticloud/v1/AwsResourcesProto.java | 531 ---- .../gkemulticloud/v1/AwsServiceProto.java | 393 --- .../v1/AzureDiskTemplateOrBuilder.java | 40 - .../v1/AzureK8sVersionInfoOrBuilder.java | 50 - .../gkemulticloud/v1/AzureResourcesProto.java | 573 ---- .../gkemulticloud/v1/AzureServiceProto.java | 497 --- .../v1/CommonResourcesProto.java | 174 - .../v1/LoggingComponentConfigOrBuilder.java | 99 - .../v1/MaxPodsConstraintOrBuilder.java | 38 - 346 files changed, 36367 insertions(+), 40472 deletions(-) delete mode 100644 grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java delete mode 100644 grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java (97%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java (93%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java (97%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java (94%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json (100%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java (100%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java (98%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java (94%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java (98%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java (95%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java (100%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java (99%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java (100%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java (99%) create mode 100644 owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java create mode 100644 owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java create mode 100644 owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java (100%) create mode 100644 owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java (100%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java (100%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java (100%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java (100%) rename {google-cloud-gke-multi-cloud => owl-bot-staging/v1/google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java create mode 100644 owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java (62%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java (65%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java (51%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java (69%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java (52%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java (66%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java (73%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java (69%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java (52%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java (64%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java (67%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java (58%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java (73%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java (75%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java (72%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java (65%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java (52%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java (66%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java (62%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java (77%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java (66%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java (74%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java (76%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java (67%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java (53%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java (51%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java (74%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java (67%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java (65%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java (70%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java (63%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java (69%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java (67%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java (58%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java (74%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java (76%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java (76%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java (69%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java (69%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java (69%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java (73%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java (65%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java (73%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java (73%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java (74%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java (66%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java (55%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java (63%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java (53%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java (65%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java (55%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java (63%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java (54%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java (67%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java (54%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java (56%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java (67%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java (55%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java (57%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java (55%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java (57%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java (67%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java (55%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java (67%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java (74%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java (74%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java (73%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java (67%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java (75%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java (74%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java (67%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java (76%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java (74%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java (68%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java (75%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java (73%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java (62%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java (56%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java (73%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java (67%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java (74%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java (80%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java (72%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java (76%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java (70%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java (69%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java (69%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java (71%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java (62%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto (100%) rename {proto-google-cloud-gke-multi-cloud-v1 => owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1}/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto (100%) create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsClusterLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePoolLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsClusterLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/SyncGenerateAwsAccessToken.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/AsyncGetAwsCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterAwsclustername.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/AsyncGetAwsNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/AsyncGetAwsServerConfig.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfig.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClusters.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClustersPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClusters.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersLocationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePools.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePoolsPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePools.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsClusterLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClient.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClientLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClient.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientStringAzureclientString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureClusterLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePoolLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClient.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClientLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClient.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientAzureclientname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureClusterLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/SyncGenerateAzureAccessToken.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/AsyncGetAzureClient.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClient.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientAzureclientname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/AsyncGetAzureCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterAzureclustername.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/AsyncGetAzureNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/AsyncGetAzureServerConfig.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfig.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClients.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClientsPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClients.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsLocationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClusters.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClustersPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClusters.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersLocationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePools.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePoolsPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePools.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureClusterLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePool.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java delete mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java delete mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java delete mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java delete mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java delete mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java delete mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java delete mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java delete mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java delete mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java delete mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java delete mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java diff --git a/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java b/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java deleted file mode 100644 index 3c3b5ea..0000000 --- a/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java +++ /dev/null @@ -1,1736 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 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 abstract static class AwsClustersImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAwsClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAwsClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetAwsClusterMethod(), 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.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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void getAwsServerConfig( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAwsServerConfigMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>(this, METHODID_CREATE_AWS_CLUSTER))) - .addMethod( - getUpdateAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, - com.google.longrunning.Operation>(this, 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>( - this, 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>( - this, METHODID_LIST_AWS_CLUSTERS))) - .addMethod( - getDeleteAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, - com.google.longrunning.Operation>(this, 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>( - this, METHODID_GENERATE_AWS_ACCESS_TOKEN))) - .addMethod( - getCreateAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_AWS_NODE_POOL))) - .addMethod( - getUpdateAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, - com.google.longrunning.Operation>(this, 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>( - this, 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>( - this, METHODID_LIST_AWS_NODE_POOLS))) - .addMethod( - getDeleteAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, - com.google.longrunning.Operation>(this, 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>( - this, METHODID_GET_AWS_SERVER_CONFIG))) - .build(); - } - } - - /** - * - * - *
-   * 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 GCP 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); - } - } - - /** - * - * - *
-   * 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 GCP 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); - } - } - - /** - * - * - *
-   * 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 GCP 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 AwsClustersImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AwsClustersImplBase 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(); - } - } - } - - 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 String methodName; - - AwsClustersMethodDescriptorSupplier(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/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java b/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java deleted file mode 100644 index d340927..0000000 --- a/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java +++ /dev/null @@ -1,2273 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 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 abstract static class AzureClustersImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAzureClientMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetAzureClientMethod(), 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.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.
-     * 
- */ - public 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 GCP 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAzureClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAzureClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetAzureClusterMethod(), 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.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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void getAzureServerConfig( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAzureServerConfigMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>(this, 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>( - this, 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>( - this, METHODID_LIST_AZURE_CLIENTS))) - .addMethod( - getDeleteAzureClientMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_AZURE_CLIENT))) - .addMethod( - getCreateAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_AZURE_CLUSTER))) - .addMethod( - getUpdateAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, - com.google.longrunning.Operation>(this, 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>( - this, 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>( - this, METHODID_LIST_AZURE_CLUSTERS))) - .addMethod( - getDeleteAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, - com.google.longrunning.Operation>(this, 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>( - this, METHODID_GENERATE_AZURE_ACCESS_TOKEN))) - .addMethod( - getCreateAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_AZURE_NODE_POOL))) - .addMethod( - getUpdateAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, - com.google.longrunning.Operation>(this, 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>( - this, 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>( - this, METHODID_LIST_AZURE_NODE_POOLS))) - .addMethod( - getDeleteAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, - com.google.longrunning.Operation>(this, 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>( - this, METHODID_GET_AZURE_SERVER_CONFIG))) - .build(); - } - } - - /** - * - * - *
-   * 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 GCP 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); - } - } - - /** - * - * - *
-   * 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 GCP 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); - } - } - - /** - * - * - *
-   * 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 GCP 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 AzureClustersImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AzureClustersImplBase 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(); - } - } - } - - 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 String methodName; - - AzureClustersMethodDescriptorSupplier(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/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java similarity index 97% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java index fe73a5a..2f8317b 100644 --- a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java @@ -19,6 +19,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -30,7 +31,6 @@ import com.google.cloud.gkemulticloud.v1.stub.AwsClustersStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import java.io.IOException; @@ -62,13 +62,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -103,13 +103,28 @@ * AwsClustersClient awsClustersClient = AwsClustersClient.create(awsClustersSettings); * } * + *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * AwsClustersSettings awsClustersSettings =
+ *     AwsClustersSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             AwsClustersSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * AwsClustersClient awsClustersClient = AwsClustersClient.create(awsClustersSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") public class AwsClustersClient implements BackgroundResource { private final AwsClustersSettings settings; private final AwsClustersStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of AwsClustersClient with default settings. */ public static final AwsClustersClient create() throws IOException { @@ -140,13 +155,17 @@ public static final AwsClustersClient create(AwsClustersStub stub) { protected AwsClustersClient(AwsClustersSettings settings) throws IOException { this.settings = settings; this.stub = ((AwsClustersStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected AwsClustersClient(AwsClustersStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final AwsClustersSettings getSettings() { @@ -161,10 +180,18 @@ public AwsClustersStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP @@ -1919,10 +1946,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAwsClustersPagedResponse extends AbstractPagedListResponse< - ListAwsClustersRequest, - ListAwsClustersResponse, - AwsCluster, - ListAwsClustersPage, + ListAwsClustersRequest, ListAwsClustersResponse, AwsCluster, ListAwsClustersPage, ListAwsClustersFixedSizeCollection> { public static ApiFuture createAsync( @@ -1972,10 +1996,7 @@ public ApiFuture createPageAsync( public static class ListAwsClustersFixedSizeCollection extends AbstractFixedSizeCollection< - ListAwsClustersRequest, - ListAwsClustersResponse, - AwsCluster, - ListAwsClustersPage, + ListAwsClustersRequest, ListAwsClustersResponse, AwsCluster, ListAwsClustersPage, ListAwsClustersFixedSizeCollection> { private ListAwsClustersFixedSizeCollection( @@ -1996,10 +2017,7 @@ protected ListAwsClustersFixedSizeCollection createCollection( public static class ListAwsNodePoolsPagedResponse extends AbstractPagedListResponse< - ListAwsNodePoolsRequest, - ListAwsNodePoolsResponse, - AwsNodePool, - ListAwsNodePoolsPage, + ListAwsNodePoolsRequest, ListAwsNodePoolsResponse, AwsNodePool, ListAwsNodePoolsPage, ListAwsNodePoolsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2049,10 +2067,7 @@ public ApiFuture createPageAsync( public static class ListAwsNodePoolsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAwsNodePoolsRequest, - ListAwsNodePoolsResponse, - AwsNodePool, - ListAwsNodePoolsPage, + ListAwsNodePoolsRequest, ListAwsNodePoolsResponse, AwsNodePool, ListAwsNodePoolsPage, ListAwsNodePoolsFixedSizeCollection> { private ListAwsNodePoolsFixedSizeCollection( diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java similarity index 93% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java index 2361c6d..2f7c630 100644 --- a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java @@ -24,11 +24,13 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; 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; @@ -45,9 +47,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are + * used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -200,11 +203,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return AwsClustersStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return AwsClustersStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return AwsClustersStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return AwsClustersStubSettings.defaultTransportChannelProvider(); } @@ -214,11 +224,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return AwsClustersStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -256,6 +272,11 @@ private static Builder createDefault() { return new Builder(AwsClustersStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(AwsClustersStubSettings.newHttpJsonBuilder()); + } + public AwsClustersStubSettings.Builder getStubSettingsBuilder() { return ((AwsClustersStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java similarity index 97% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java index 91e8551..71a6249 100644 --- a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java @@ -19,6 +19,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -30,7 +31,6 @@ import com.google.cloud.gkemulticloud.v1.stub.AzureClustersStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import java.io.IOException; @@ -62,13 +62,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -103,13 +103,28 @@ * AzureClustersClient azureClustersClient = AzureClustersClient.create(azureClustersSettings); * } * + *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * AzureClustersSettings azureClustersSettings =
+ *     AzureClustersSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             AzureClustersSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * AzureClustersClient azureClustersClient = AzureClustersClient.create(azureClustersSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") public class AzureClustersClient implements BackgroundResource { private final AzureClustersSettings settings; private final AzureClustersStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of AzureClustersClient with default settings. */ public static final AzureClustersClient create() throws IOException { @@ -141,13 +156,17 @@ public static final AzureClustersClient create(AzureClustersStub stub) { protected AzureClustersClient(AzureClustersSettings settings) throws IOException { this.settings = settings; this.stub = ((AzureClustersStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected AzureClustersClient(AzureClustersStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final AzureClustersSettings getSettings() { @@ -162,10 +181,18 @@ public AzureClustersStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given @@ -2592,10 +2619,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAzureClientsPagedResponse extends AbstractPagedListResponse< - ListAzureClientsRequest, - ListAzureClientsResponse, - AzureClient, - ListAzureClientsPage, + ListAzureClientsRequest, ListAzureClientsResponse, AzureClient, ListAzureClientsPage, ListAzureClientsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2645,10 +2669,7 @@ public ApiFuture createPageAsync( public static class ListAzureClientsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAzureClientsRequest, - ListAzureClientsResponse, - AzureClient, - ListAzureClientsPage, + ListAzureClientsRequest, ListAzureClientsResponse, AzureClient, ListAzureClientsPage, ListAzureClientsFixedSizeCollection> { private ListAzureClientsFixedSizeCollection( @@ -2669,10 +2690,7 @@ protected ListAzureClientsFixedSizeCollection createCollection( public static class ListAzureClustersPagedResponse extends AbstractPagedListResponse< - ListAzureClustersRequest, - ListAzureClustersResponse, - AzureCluster, - ListAzureClustersPage, + ListAzureClustersRequest, ListAzureClustersResponse, AzureCluster, ListAzureClustersPage, ListAzureClustersFixedSizeCollection> { public static ApiFuture createAsync( @@ -2693,9 +2711,7 @@ private ListAzureClustersPagedResponse(ListAzureClustersPage page) { public static class ListAzureClustersPage extends AbstractPage< - ListAzureClustersRequest, - ListAzureClustersResponse, - AzureCluster, + ListAzureClustersRequest, ListAzureClustersResponse, AzureCluster, ListAzureClustersPage> { private ListAzureClustersPage( @@ -2725,10 +2741,7 @@ public ApiFuture createPageAsync( public static class ListAzureClustersFixedSizeCollection extends AbstractFixedSizeCollection< - ListAzureClustersRequest, - ListAzureClustersResponse, - AzureCluster, - ListAzureClustersPage, + ListAzureClustersRequest, ListAzureClustersResponse, AzureCluster, ListAzureClustersPage, ListAzureClustersFixedSizeCollection> { private ListAzureClustersFixedSizeCollection( @@ -2749,11 +2762,8 @@ protected ListAzureClustersFixedSizeCollection createCollection( public static class ListAzureNodePoolsPagedResponse extends AbstractPagedListResponse< - ListAzureNodePoolsRequest, - ListAzureNodePoolsResponse, - AzureNodePool, - ListAzureNodePoolsPage, - ListAzureNodePoolsFixedSizeCollection> { + ListAzureNodePoolsRequest, ListAzureNodePoolsResponse, AzureNodePool, + ListAzureNodePoolsPage, ListAzureNodePoolsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -2773,9 +2783,7 @@ private ListAzureNodePoolsPagedResponse(ListAzureNodePoolsPage page) { public static class ListAzureNodePoolsPage extends AbstractPage< - ListAzureNodePoolsRequest, - ListAzureNodePoolsResponse, - AzureNodePool, + ListAzureNodePoolsRequest, ListAzureNodePoolsResponse, AzureNodePool, ListAzureNodePoolsPage> { private ListAzureNodePoolsPage( @@ -2805,11 +2813,8 @@ public ApiFuture createPageAsync( public static class ListAzureNodePoolsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAzureNodePoolsRequest, - ListAzureNodePoolsResponse, - AzureNodePool, - ListAzureNodePoolsPage, - ListAzureNodePoolsFixedSizeCollection> { + ListAzureNodePoolsRequest, ListAzureNodePoolsResponse, AzureNodePool, + ListAzureNodePoolsPage, ListAzureNodePoolsFixedSizeCollection> { private ListAzureNodePoolsFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java similarity index 94% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java index 9d08bfd..a2b5df7 100644 --- a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java @@ -25,11 +25,13 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; 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; @@ -46,9 +48,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are + * used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -236,11 +239,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return AzureClustersStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return AzureClustersStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return AzureClustersStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return AzureClustersStubSettings.defaultTransportChannelProvider(); } @@ -250,11 +260,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return AzureClustersStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -292,6 +308,11 @@ private static Builder createDefault() { return new Builder(AzureClustersStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(AzureClustersStubSettings.newHttpJsonBuilder()); + } + public AzureClustersStubSettings.Builder getStubSettingsBuilder() { return ((AzureClustersStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json similarity index 100% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java similarity index 100% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java similarity index 98% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java index fac79eb..0c26029 100644 --- a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java @@ -56,7 +56,11 @@ public abstract class AwsClustersStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public OperationCallable diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java similarity index 94% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java index eeaa39c..72bbf4b 100644 --- a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java @@ -29,6 +29,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -82,9 +85,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are + * used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -369,6 +373,11 @@ public AwsClustersStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcAwsClustersStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonAwsClustersStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -401,18 +410,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(AwsClustersStubSettings.class)) @@ -420,11 +436,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(AwsClustersStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return AwsClustersStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -641,6 +676,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .createAwsClusterSettings() diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java similarity index 98% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java index a3ade7e..e3f73eb 100644 --- a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java @@ -63,7 +63,11 @@ public abstract class AzureClustersStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public OperationCallable diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java similarity index 95% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java index 8d13287..d069df3 100644 --- a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java @@ -30,6 +30,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -89,9 +92,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are + * used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -309,8 +313,7 @@ public ApiFuture getFuturePagedResponse( ListAzureClustersRequest, ListAzureClustersResponse, ListAzureClustersPagedResponse> LIST_AZURE_CLUSTERS_PAGE_STR_FACT = new PagedListResponseFactory< - ListAzureClustersRequest, - ListAzureClustersResponse, + ListAzureClustersRequest, ListAzureClustersResponse, ListAzureClustersPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -330,8 +333,7 @@ public ApiFuture getFuturePagedResponse( ListAzureNodePoolsRequest, ListAzureNodePoolsResponse, ListAzureNodePoolsPagedResponse> LIST_AZURE_NODE_POOLS_PAGE_STR_FACT = new PagedListResponseFactory< - ListAzureNodePoolsRequest, - ListAzureNodePoolsResponse, + ListAzureNodePoolsRequest, ListAzureNodePoolsResponse, ListAzureNodePoolsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -489,6 +491,11 @@ public AzureClustersStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcAzureClustersStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonAzureClustersStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -521,18 +528,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(AzureClustersStubSettings.class)) @@ -540,11 +554,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(AzureClustersStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return AzureClustersStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -815,6 +848,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .createAzureClientSettings() diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java similarity index 100% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java similarity index 99% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java index 190b73c..8c4416e 100644 --- a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java @@ -52,6 +52,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; diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java similarity index 100% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java diff --git a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java similarity index 99% rename from google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java index 61526bb..00b10ec 100644 --- a/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java @@ -59,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; diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java new file mode 100644 index 0000000..9a5a634 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the AwsClusters service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonAwsClustersCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java new file mode 100644 index 0000000..10e69bc --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java @@ -0,0 +1,947 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.stub; + +import static com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsClustersPagedResponse; +import static com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsNodePoolsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +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.UnaryCallable; +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.AwsServerConfig; +import com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest; +import com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest; +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.GetAwsClusterRequest; +import com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest; +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.UpdateAwsClusterRequest; +import com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the AwsClusters service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonAwsClustersStub extends AwsClustersStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(OperationMetadata.getDescriptor()) + .add(Empty.getDescriptor()) + .add(AwsCluster.getDescriptor()) + .add(AwsNodePool.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + createAwsClusterMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/CreateAwsCluster") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/awsClusters", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "awsClusterId", request.getAwsClusterId()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("awsCluster", request.getAwsCluster())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateAwsClusterRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + updateAwsClusterMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/UpdateAwsCluster") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{awsCluster.name=projects/*/locations/*/awsClusters/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "awsCluster.name", request.getAwsCluster().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("awsCluster", request.getAwsCluster())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpdateAwsClusterRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + getAwsClusterMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/GetAwsCluster") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/awsClusters/*}", + 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 -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(AwsCluster.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listAwsClustersMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/ListAwsClusters") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/awsClusters", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListAwsClustersResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteAwsClusterMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/DeleteAwsCluster") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/awsClusters/*}", + 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(); + serializer.putQueryParam( + fields, "allowMissing", request.getAllowMissing()); + serializer.putQueryParam(fields, "etag", request.getEtag()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteAwsClusterRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor< + GenerateAwsAccessTokenRequest, GenerateAwsAccessTokenResponse> + generateAwsAccessTokenMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/GenerateAwsAccessToken") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{awsCluster=projects/*/locations/*/awsClusters/*}:generateAwsAccessToken", + 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(GenerateAwsAccessTokenResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createAwsNodePoolMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/CreateAwsNodePool") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "awsNodePoolId", request.getAwsNodePoolId()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("awsNodePool", request.getAwsNodePool())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateAwsNodePoolRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + updateAwsNodePoolMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/UpdateAwsNodePool") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{awsNodePool.name=projects/*/locations/*/awsClusters/*/awsNodePools/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "awsNodePool.name", request.getAwsNodePool().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("awsNodePool", request.getAwsNodePool())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpdateAwsNodePoolRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + getAwsNodePoolMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/GetAwsNodePool") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}", + 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 -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(AwsNodePool.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listAwsNodePoolsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/ListAwsNodePools") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListAwsNodePoolsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteAwsNodePoolMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/DeleteAwsNodePool") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}", + 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(); + serializer.putQueryParam( + fields, "allowMissing", request.getAllowMissing()); + serializer.putQueryParam(fields, "etag", request.getEtag()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteAwsNodePoolRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + getAwsServerConfigMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/GetAwsServerConfig") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/awsServerConfig}", + 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 -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(AwsServerConfig.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable createAwsClusterCallable; + private final OperationCallable + createAwsClusterOperationCallable; + private final UnaryCallable updateAwsClusterCallable; + private final OperationCallable + updateAwsClusterOperationCallable; + private final UnaryCallable getAwsClusterCallable; + private final UnaryCallable + listAwsClustersCallable; + private final UnaryCallable + listAwsClustersPagedCallable; + private final UnaryCallable deleteAwsClusterCallable; + private final OperationCallable + deleteAwsClusterOperationCallable; + private final UnaryCallable + generateAwsAccessTokenCallable; + private final UnaryCallable createAwsNodePoolCallable; + private final OperationCallable + createAwsNodePoolOperationCallable; + private final UnaryCallable updateAwsNodePoolCallable; + private final OperationCallable + updateAwsNodePoolOperationCallable; + private final UnaryCallable getAwsNodePoolCallable; + private final UnaryCallable + listAwsNodePoolsCallable; + private final UnaryCallable + listAwsNodePoolsPagedCallable; + private final UnaryCallable deleteAwsNodePoolCallable; + private final OperationCallable + deleteAwsNodePoolOperationCallable; + private final UnaryCallable + getAwsServerConfigCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonAwsClustersStub create(AwsClustersStubSettings settings) + throws IOException { + return new HttpJsonAwsClustersStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonAwsClustersStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonAwsClustersStub( + AwsClustersStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonAwsClustersStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonAwsClustersStub( + AwsClustersStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonAwsClustersStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonAwsClustersStub(AwsClustersStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonAwsClustersCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonAwsClustersStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonAwsClustersStub( + AwsClustersStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings createAwsClusterTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createAwsClusterMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateAwsClusterTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateAwsClusterMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getAwsClusterTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAwsClusterMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listAwsClustersTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listAwsClustersMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteAwsClusterTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteAwsClusterMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + generateAwsAccessTokenTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(generateAwsAccessTokenMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createAwsNodePoolTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createAwsNodePoolMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateAwsNodePoolTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateAwsNodePoolMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getAwsNodePoolTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAwsNodePoolMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listAwsNodePoolsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listAwsNodePoolsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteAwsNodePoolTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteAwsNodePoolMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getAwsServerConfigTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAwsServerConfigMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.createAwsClusterCallable = + callableFactory.createUnaryCallable( + createAwsClusterTransportSettings, settings.createAwsClusterSettings(), clientContext); + this.createAwsClusterOperationCallable = + callableFactory.createOperationCallable( + createAwsClusterTransportSettings, + settings.createAwsClusterOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.updateAwsClusterCallable = + callableFactory.createUnaryCallable( + updateAwsClusterTransportSettings, settings.updateAwsClusterSettings(), clientContext); + this.updateAwsClusterOperationCallable = + callableFactory.createOperationCallable( + updateAwsClusterTransportSettings, + settings.updateAwsClusterOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getAwsClusterCallable = + callableFactory.createUnaryCallable( + getAwsClusterTransportSettings, settings.getAwsClusterSettings(), clientContext); + this.listAwsClustersCallable = + callableFactory.createUnaryCallable( + listAwsClustersTransportSettings, settings.listAwsClustersSettings(), clientContext); + this.listAwsClustersPagedCallable = + callableFactory.createPagedCallable( + listAwsClustersTransportSettings, settings.listAwsClustersSettings(), clientContext); + this.deleteAwsClusterCallable = + callableFactory.createUnaryCallable( + deleteAwsClusterTransportSettings, settings.deleteAwsClusterSettings(), clientContext); + this.deleteAwsClusterOperationCallable = + callableFactory.createOperationCallable( + deleteAwsClusterTransportSettings, + settings.deleteAwsClusterOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.generateAwsAccessTokenCallable = + callableFactory.createUnaryCallable( + generateAwsAccessTokenTransportSettings, + settings.generateAwsAccessTokenSettings(), + clientContext); + this.createAwsNodePoolCallable = + callableFactory.createUnaryCallable( + createAwsNodePoolTransportSettings, + settings.createAwsNodePoolSettings(), + clientContext); + this.createAwsNodePoolOperationCallable = + callableFactory.createOperationCallable( + createAwsNodePoolTransportSettings, + settings.createAwsNodePoolOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.updateAwsNodePoolCallable = + callableFactory.createUnaryCallable( + updateAwsNodePoolTransportSettings, + settings.updateAwsNodePoolSettings(), + clientContext); + this.updateAwsNodePoolOperationCallable = + callableFactory.createOperationCallable( + updateAwsNodePoolTransportSettings, + settings.updateAwsNodePoolOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getAwsNodePoolCallable = + callableFactory.createUnaryCallable( + getAwsNodePoolTransportSettings, settings.getAwsNodePoolSettings(), clientContext); + this.listAwsNodePoolsCallable = + callableFactory.createUnaryCallable( + listAwsNodePoolsTransportSettings, settings.listAwsNodePoolsSettings(), clientContext); + this.listAwsNodePoolsPagedCallable = + callableFactory.createPagedCallable( + listAwsNodePoolsTransportSettings, settings.listAwsNodePoolsSettings(), clientContext); + this.deleteAwsNodePoolCallable = + callableFactory.createUnaryCallable( + deleteAwsNodePoolTransportSettings, + settings.deleteAwsNodePoolSettings(), + clientContext); + this.deleteAwsNodePoolOperationCallable = + callableFactory.createOperationCallable( + deleteAwsNodePoolTransportSettings, + settings.deleteAwsNodePoolOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getAwsServerConfigCallable = + callableFactory.createUnaryCallable( + getAwsServerConfigTransportSettings, + settings.getAwsServerConfigSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(createAwsClusterMethodDescriptor); + methodDescriptors.add(updateAwsClusterMethodDescriptor); + methodDescriptors.add(getAwsClusterMethodDescriptor); + methodDescriptors.add(listAwsClustersMethodDescriptor); + methodDescriptors.add(deleteAwsClusterMethodDescriptor); + methodDescriptors.add(generateAwsAccessTokenMethodDescriptor); + methodDescriptors.add(createAwsNodePoolMethodDescriptor); + methodDescriptors.add(updateAwsNodePoolMethodDescriptor); + methodDescriptors.add(getAwsNodePoolMethodDescriptor); + methodDescriptors.add(listAwsNodePoolsMethodDescriptor); + methodDescriptors.add(deleteAwsNodePoolMethodDescriptor); + methodDescriptors.add(getAwsServerConfigMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable createAwsClusterCallable() { + return createAwsClusterCallable; + } + + @Override + public OperationCallable + createAwsClusterOperationCallable() { + return createAwsClusterOperationCallable; + } + + @Override + public UnaryCallable updateAwsClusterCallable() { + return updateAwsClusterCallable; + } + + @Override + public OperationCallable + updateAwsClusterOperationCallable() { + return updateAwsClusterOperationCallable; + } + + @Override + public UnaryCallable getAwsClusterCallable() { + return getAwsClusterCallable; + } + + @Override + public UnaryCallable listAwsClustersCallable() { + return listAwsClustersCallable; + } + + @Override + public UnaryCallable + listAwsClustersPagedCallable() { + return listAwsClustersPagedCallable; + } + + @Override + public UnaryCallable deleteAwsClusterCallable() { + return deleteAwsClusterCallable; + } + + @Override + public OperationCallable + deleteAwsClusterOperationCallable() { + return deleteAwsClusterOperationCallable; + } + + @Override + public UnaryCallable + generateAwsAccessTokenCallable() { + return generateAwsAccessTokenCallable; + } + + @Override + public UnaryCallable createAwsNodePoolCallable() { + return createAwsNodePoolCallable; + } + + @Override + public OperationCallable + createAwsNodePoolOperationCallable() { + return createAwsNodePoolOperationCallable; + } + + @Override + public UnaryCallable updateAwsNodePoolCallable() { + return updateAwsNodePoolCallable; + } + + @Override + public OperationCallable + updateAwsNodePoolOperationCallable() { + return updateAwsNodePoolOperationCallable; + } + + @Override + public UnaryCallable getAwsNodePoolCallable() { + return getAwsNodePoolCallable; + } + + @Override + public UnaryCallable + listAwsNodePoolsCallable() { + return listAwsNodePoolsCallable; + } + + @Override + public UnaryCallable + listAwsNodePoolsPagedCallable() { + return listAwsNodePoolsPagedCallable; + } + + @Override + public UnaryCallable deleteAwsNodePoolCallable() { + return deleteAwsNodePoolCallable; + } + + @Override + public OperationCallable + deleteAwsNodePoolOperationCallable() { + return deleteAwsNodePoolOperationCallable; + } + + @Override + public UnaryCallable getAwsServerConfigCallable() { + return getAwsServerConfigCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java new file mode 100644 index 0000000..39086ef --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the AzureClusters service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonAzureClustersCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java new file mode 100644 index 0000000..bd0bdbe --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java @@ -0,0 +1,1233 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.stub; + +import static com.google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureClientsPagedResponse; +import static com.google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureClustersPagedResponse; +import static com.google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureNodePoolsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +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.UnaryCallable; +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.AzureServerConfig; +import com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest; +import com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest; +import com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest; +import com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest; +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.GetAzureClientRequest; +import com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest; +import com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest; +import com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest; +import com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse; +import com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest; +import com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse; +import com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest; +import com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest; +import com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the AzureClusters service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonAzureClustersStub extends AzureClustersStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(OperationMetadata.getDescriptor()) + .add(Empty.getDescriptor()) + .add(AzureNodePool.getDescriptor()) + .add(AzureCluster.getDescriptor()) + .add(AzureClient.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + createAzureClientMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/CreateAzureClient") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/azureClients", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "azureClientId", request.getAzureClientId()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("azureClient", request.getAzureClient())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateAzureClientRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + getAzureClientMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/GetAzureClient") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/azureClients/*}", + 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 -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(AzureClient.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listAzureClientsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/ListAzureClients") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/azureClients", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListAzureClientsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteAzureClientMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/DeleteAzureClient") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/azureClients/*}", + 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(); + serializer.putQueryParam( + fields, "allowMissing", request.getAllowMissing()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteAzureClientRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + createAzureClusterMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/CreateAzureCluster") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/azureClusters", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "azureClusterId", request.getAzureClusterId()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("azureCluster", request.getAzureCluster())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateAzureClusterRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + updateAzureClusterMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/UpdateAzureCluster") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{azureCluster.name=projects/*/locations/*/azureClusters/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "azureCluster.name", request.getAzureCluster().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("azureCluster", request.getAzureCluster())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpdateAzureClusterRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + getAzureClusterMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/GetAzureCluster") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/azureClusters/*}", + 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 -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(AzureCluster.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listAzureClustersMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/ListAzureClusters") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/azureClusters", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListAzureClustersResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteAzureClusterMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/DeleteAzureCluster") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/azureClusters/*}", + 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(); + serializer.putQueryParam( + fields, "allowMissing", request.getAllowMissing()); + serializer.putQueryParam(fields, "etag", request.getEtag()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteAzureClusterRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor< + GenerateAzureAccessTokenRequest, GenerateAzureAccessTokenResponse> + generateAzureAccessTokenMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.cloud.gkemulticloud.v1.AzureClusters/GenerateAzureAccessToken") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{azureCluster=projects/*/locations/*/azureClusters/*}:generateAzureAccessToken", + 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(GenerateAzureAccessTokenResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createAzureNodePoolMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/CreateAzureNodePool") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "azureNodePoolId", request.getAzureNodePoolId()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("azureNodePool", request.getAzureNodePool())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateAzureNodePoolRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + updateAzureNodePoolMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/UpdateAzureNodePool") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{azureNodePool.name=projects/*/locations/*/azureClusters/*/azureNodePools/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "azureNodePool.name", request.getAzureNodePool().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("azureNodePool", request.getAzureNodePool())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpdateAzureNodePoolRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + getAzureNodePoolMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/GetAzureNodePool") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}", + 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 -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(AzureNodePool.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listAzureNodePoolsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/ListAzureNodePools") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListAzureNodePoolsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteAzureNodePoolMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/DeleteAzureNodePool") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}", + 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(); + serializer.putQueryParam( + fields, "allowMissing", request.getAllowMissing()); + serializer.putQueryParam(fields, "etag", request.getEtag()); + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteAzureNodePoolRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + getAzureServerConfigMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/GetAzureServerConfig") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/azureServerConfig}", + 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 -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(AzureServerConfig.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable createAzureClientCallable; + private final OperationCallable + createAzureClientOperationCallable; + private final UnaryCallable getAzureClientCallable; + private final UnaryCallable + listAzureClientsCallable; + private final UnaryCallable + listAzureClientsPagedCallable; + private final UnaryCallable deleteAzureClientCallable; + private final OperationCallable + deleteAzureClientOperationCallable; + private final UnaryCallable createAzureClusterCallable; + private final OperationCallable + createAzureClusterOperationCallable; + private final UnaryCallable updateAzureClusterCallable; + private final OperationCallable + updateAzureClusterOperationCallable; + private final UnaryCallable getAzureClusterCallable; + private final UnaryCallable + listAzureClustersCallable; + private final UnaryCallable + listAzureClustersPagedCallable; + private final UnaryCallable deleteAzureClusterCallable; + private final OperationCallable + deleteAzureClusterOperationCallable; + private final UnaryCallable + generateAzureAccessTokenCallable; + private final UnaryCallable createAzureNodePoolCallable; + private final OperationCallable + createAzureNodePoolOperationCallable; + private final UnaryCallable updateAzureNodePoolCallable; + private final OperationCallable + updateAzureNodePoolOperationCallable; + private final UnaryCallable getAzureNodePoolCallable; + private final UnaryCallable + listAzureNodePoolsCallable; + private final UnaryCallable + listAzureNodePoolsPagedCallable; + private final UnaryCallable deleteAzureNodePoolCallable; + private final OperationCallable + deleteAzureNodePoolOperationCallable; + private final UnaryCallable + getAzureServerConfigCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonAzureClustersStub create(AzureClustersStubSettings settings) + throws IOException { + return new HttpJsonAzureClustersStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonAzureClustersStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonAzureClustersStub( + AzureClustersStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonAzureClustersStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonAzureClustersStub( + AzureClustersStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonAzureClustersStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonAzureClustersStub( + AzureClustersStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonAzureClustersCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonAzureClustersStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonAzureClustersStub( + AzureClustersStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings createAzureClientTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createAzureClientMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getAzureClientTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAzureClientMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listAzureClientsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listAzureClientsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteAzureClientTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteAzureClientMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createAzureClusterTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createAzureClusterMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateAzureClusterTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateAzureClusterMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getAzureClusterTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAzureClusterMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listAzureClustersTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listAzureClustersMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteAzureClusterTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteAzureClusterMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + generateAzureAccessTokenTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(generateAzureAccessTokenMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + createAzureNodePoolTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createAzureNodePoolMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + updateAzureNodePoolTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateAzureNodePoolMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getAzureNodePoolTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAzureNodePoolMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listAzureNodePoolsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listAzureNodePoolsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + deleteAzureNodePoolTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteAzureNodePoolMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getAzureServerConfigTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAzureServerConfigMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.createAzureClientCallable = + callableFactory.createUnaryCallable( + createAzureClientTransportSettings, + settings.createAzureClientSettings(), + clientContext); + this.createAzureClientOperationCallable = + callableFactory.createOperationCallable( + createAzureClientTransportSettings, + settings.createAzureClientOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getAzureClientCallable = + callableFactory.createUnaryCallable( + getAzureClientTransportSettings, settings.getAzureClientSettings(), clientContext); + this.listAzureClientsCallable = + callableFactory.createUnaryCallable( + listAzureClientsTransportSettings, settings.listAzureClientsSettings(), clientContext); + this.listAzureClientsPagedCallable = + callableFactory.createPagedCallable( + listAzureClientsTransportSettings, settings.listAzureClientsSettings(), clientContext); + this.deleteAzureClientCallable = + callableFactory.createUnaryCallable( + deleteAzureClientTransportSettings, + settings.deleteAzureClientSettings(), + clientContext); + this.deleteAzureClientOperationCallable = + callableFactory.createOperationCallable( + deleteAzureClientTransportSettings, + settings.deleteAzureClientOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.createAzureClusterCallable = + callableFactory.createUnaryCallable( + createAzureClusterTransportSettings, + settings.createAzureClusterSettings(), + clientContext); + this.createAzureClusterOperationCallable = + callableFactory.createOperationCallable( + createAzureClusterTransportSettings, + settings.createAzureClusterOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.updateAzureClusterCallable = + callableFactory.createUnaryCallable( + updateAzureClusterTransportSettings, + settings.updateAzureClusterSettings(), + clientContext); + this.updateAzureClusterOperationCallable = + callableFactory.createOperationCallable( + updateAzureClusterTransportSettings, + settings.updateAzureClusterOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getAzureClusterCallable = + callableFactory.createUnaryCallable( + getAzureClusterTransportSettings, settings.getAzureClusterSettings(), clientContext); + this.listAzureClustersCallable = + callableFactory.createUnaryCallable( + listAzureClustersTransportSettings, + settings.listAzureClustersSettings(), + clientContext); + this.listAzureClustersPagedCallable = + callableFactory.createPagedCallable( + listAzureClustersTransportSettings, + settings.listAzureClustersSettings(), + clientContext); + this.deleteAzureClusterCallable = + callableFactory.createUnaryCallable( + deleteAzureClusterTransportSettings, + settings.deleteAzureClusterSettings(), + clientContext); + this.deleteAzureClusterOperationCallable = + callableFactory.createOperationCallable( + deleteAzureClusterTransportSettings, + settings.deleteAzureClusterOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.generateAzureAccessTokenCallable = + callableFactory.createUnaryCallable( + generateAzureAccessTokenTransportSettings, + settings.generateAzureAccessTokenSettings(), + clientContext); + this.createAzureNodePoolCallable = + callableFactory.createUnaryCallable( + createAzureNodePoolTransportSettings, + settings.createAzureNodePoolSettings(), + clientContext); + this.createAzureNodePoolOperationCallable = + callableFactory.createOperationCallable( + createAzureNodePoolTransportSettings, + settings.createAzureNodePoolOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.updateAzureNodePoolCallable = + callableFactory.createUnaryCallable( + updateAzureNodePoolTransportSettings, + settings.updateAzureNodePoolSettings(), + clientContext); + this.updateAzureNodePoolOperationCallable = + callableFactory.createOperationCallable( + updateAzureNodePoolTransportSettings, + settings.updateAzureNodePoolOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getAzureNodePoolCallable = + callableFactory.createUnaryCallable( + getAzureNodePoolTransportSettings, settings.getAzureNodePoolSettings(), clientContext); + this.listAzureNodePoolsCallable = + callableFactory.createUnaryCallable( + listAzureNodePoolsTransportSettings, + settings.listAzureNodePoolsSettings(), + clientContext); + this.listAzureNodePoolsPagedCallable = + callableFactory.createPagedCallable( + listAzureNodePoolsTransportSettings, + settings.listAzureNodePoolsSettings(), + clientContext); + this.deleteAzureNodePoolCallable = + callableFactory.createUnaryCallable( + deleteAzureNodePoolTransportSettings, + settings.deleteAzureNodePoolSettings(), + clientContext); + this.deleteAzureNodePoolOperationCallable = + callableFactory.createOperationCallable( + deleteAzureNodePoolTransportSettings, + settings.deleteAzureNodePoolOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getAzureServerConfigCallable = + callableFactory.createUnaryCallable( + getAzureServerConfigTransportSettings, + settings.getAzureServerConfigSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(createAzureClientMethodDescriptor); + methodDescriptors.add(getAzureClientMethodDescriptor); + methodDescriptors.add(listAzureClientsMethodDescriptor); + methodDescriptors.add(deleteAzureClientMethodDescriptor); + methodDescriptors.add(createAzureClusterMethodDescriptor); + methodDescriptors.add(updateAzureClusterMethodDescriptor); + methodDescriptors.add(getAzureClusterMethodDescriptor); + methodDescriptors.add(listAzureClustersMethodDescriptor); + methodDescriptors.add(deleteAzureClusterMethodDescriptor); + methodDescriptors.add(generateAzureAccessTokenMethodDescriptor); + methodDescriptors.add(createAzureNodePoolMethodDescriptor); + methodDescriptors.add(updateAzureNodePoolMethodDescriptor); + methodDescriptors.add(getAzureNodePoolMethodDescriptor); + methodDescriptors.add(listAzureNodePoolsMethodDescriptor); + methodDescriptors.add(deleteAzureNodePoolMethodDescriptor); + methodDescriptors.add(getAzureServerConfigMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable createAzureClientCallable() { + return createAzureClientCallable; + } + + @Override + public OperationCallable + createAzureClientOperationCallable() { + return createAzureClientOperationCallable; + } + + @Override + public UnaryCallable getAzureClientCallable() { + return getAzureClientCallable; + } + + @Override + public UnaryCallable + listAzureClientsCallable() { + return listAzureClientsCallable; + } + + @Override + public UnaryCallable + listAzureClientsPagedCallable() { + return listAzureClientsPagedCallable; + } + + @Override + public UnaryCallable deleteAzureClientCallable() { + return deleteAzureClientCallable; + } + + @Override + public OperationCallable + deleteAzureClientOperationCallable() { + return deleteAzureClientOperationCallable; + } + + @Override + public UnaryCallable createAzureClusterCallable() { + return createAzureClusterCallable; + } + + @Override + public OperationCallable + createAzureClusterOperationCallable() { + return createAzureClusterOperationCallable; + } + + @Override + public UnaryCallable updateAzureClusterCallable() { + return updateAzureClusterCallable; + } + + @Override + public OperationCallable + updateAzureClusterOperationCallable() { + return updateAzureClusterOperationCallable; + } + + @Override + public UnaryCallable getAzureClusterCallable() { + return getAzureClusterCallable; + } + + @Override + public UnaryCallable + listAzureClustersCallable() { + return listAzureClustersCallable; + } + + @Override + public UnaryCallable + listAzureClustersPagedCallable() { + return listAzureClustersPagedCallable; + } + + @Override + public UnaryCallable deleteAzureClusterCallable() { + return deleteAzureClusterCallable; + } + + @Override + public OperationCallable + deleteAzureClusterOperationCallable() { + return deleteAzureClusterOperationCallable; + } + + @Override + public UnaryCallable + generateAzureAccessTokenCallable() { + return generateAzureAccessTokenCallable; + } + + @Override + public UnaryCallable createAzureNodePoolCallable() { + return createAzureNodePoolCallable; + } + + @Override + public OperationCallable + createAzureNodePoolOperationCallable() { + return createAzureNodePoolOperationCallable; + } + + @Override + public UnaryCallable updateAzureNodePoolCallable() { + return updateAzureNodePoolCallable; + } + + @Override + public OperationCallable + updateAzureNodePoolOperationCallable() { + return updateAzureNodePoolOperationCallable; + } + + @Override + public UnaryCallable getAzureNodePoolCallable() { + return getAzureNodePoolCallable; + } + + @Override + public UnaryCallable + listAzureNodePoolsCallable() { + return listAzureNodePoolsCallable; + } + + @Override + public UnaryCallable + listAzureNodePoolsPagedCallable() { + return listAzureNodePoolsPagedCallable; + } + + @Override + public UnaryCallable deleteAzureNodePoolCallable() { + return deleteAzureNodePoolCallable; + } + + @Override + public OperationCallable + deleteAzureNodePoolOperationCallable() { + return deleteAzureNodePoolOperationCallable; + } + + @Override + public UnaryCallable + getAzureServerConfigCallable() { + return getAzureServerConfigCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java new file mode 100644 index 0000000..d45b2cb --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java @@ -0,0 +1,1327 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsClustersPagedResponse; +import static com.google.cloud.gkemulticloud.v1.AwsClustersClient.ListAwsNodePoolsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.gkemulticloud.v1.stub.HttpJsonAwsClustersStub; +import com.google.common.collect.Lists; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class AwsClustersClientHttpJsonTest { + private static MockHttpService mockService; + private static AwsClustersClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonAwsClustersStub.getMethodDescriptors(), + AwsClustersSettings.getDefaultEndpoint()); + AwsClustersSettings settings = + AwsClustersSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + AwsClustersSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = AwsClustersClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void createAwsClusterTest() throws Exception { + AwsCluster expectedResponse = + AwsCluster.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setNetworking(AwsClusterNetworking.newBuilder().build()) + .setAwsRegion("awsRegion-860644271") + .setControlPlane(AwsControlPlane.newBuilder().build()) + .setAuthorization(AwsAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAwsClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + AwsCluster awsCluster = AwsCluster.newBuilder().build(); + String awsClusterId = "awsClusterId1988965944"; + + AwsCluster actualResponse = + client.createAwsClusterAsync(parent, awsCluster, awsClusterId).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 createAwsClusterExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + AwsCluster awsCluster = AwsCluster.newBuilder().build(); + String awsClusterId = "awsClusterId1988965944"; + client.createAwsClusterAsync(parent, awsCluster, awsClusterId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createAwsClusterTest2() throws Exception { + AwsCluster expectedResponse = + AwsCluster.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setNetworking(AwsClusterNetworking.newBuilder().build()) + .setAwsRegion("awsRegion-860644271") + .setControlPlane(AwsControlPlane.newBuilder().build()) + .setAuthorization(AwsAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAwsClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-5833/locations/location-5833"; + AwsCluster awsCluster = AwsCluster.newBuilder().build(); + String awsClusterId = "awsClusterId1988965944"; + + AwsCluster actualResponse = + client.createAwsClusterAsync(parent, awsCluster, awsClusterId).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 createAwsClusterExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + AwsCluster awsCluster = AwsCluster.newBuilder().build(); + String awsClusterId = "awsClusterId1988965944"; + client.createAwsClusterAsync(parent, awsCluster, awsClusterId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateAwsClusterTest() throws Exception { + AwsCluster expectedResponse = + AwsCluster.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setNetworking(AwsClusterNetworking.newBuilder().build()) + .setAwsRegion("awsRegion-860644271") + .setControlPlane(AwsControlPlane.newBuilder().build()) + .setAuthorization(AwsAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateAwsClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AwsCluster awsCluster = + AwsCluster.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setNetworking(AwsClusterNetworking.newBuilder().build()) + .setAwsRegion("awsRegion-860644271") + .setControlPlane(AwsControlPlane.newBuilder().build()) + .setAuthorization(AwsAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + AwsCluster actualResponse = client.updateAwsClusterAsync(awsCluster, updateMask).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 updateAwsClusterExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AwsCluster awsCluster = + AwsCluster.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setNetworking(AwsClusterNetworking.newBuilder().build()) + .setAwsRegion("awsRegion-860644271") + .setControlPlane(AwsControlPlane.newBuilder().build()) + .setAuthorization(AwsAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateAwsClusterAsync(awsCluster, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getAwsClusterTest() throws Exception { + AwsCluster expectedResponse = + AwsCluster.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setNetworking(AwsClusterNetworking.newBuilder().build()) + .setAwsRegion("awsRegion-860644271") + .setControlPlane(AwsControlPlane.newBuilder().build()) + .setAuthorization(AwsAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + AwsClusterName name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + + AwsCluster actualResponse = client.getAwsCluster(name); + 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 getAwsClusterExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AwsClusterName name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + client.getAwsCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAwsClusterTest2() throws Exception { + AwsCluster expectedResponse = + AwsCluster.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setNetworking(AwsClusterNetworking.newBuilder().build()) + .setAwsRegion("awsRegion-860644271") + .setControlPlane(AwsControlPlane.newBuilder().build()) + .setAuthorization(AwsAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-1220/locations/location-1220/awsClusters/awsCluster-1220"; + + AwsCluster actualResponse = client.getAwsCluster(name); + 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 getAwsClusterExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-1220/locations/location-1220/awsClusters/awsCluster-1220"; + client.getAwsCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAwsClustersTest() throws Exception { + AwsCluster responsesElement = AwsCluster.newBuilder().build(); + ListAwsClustersResponse expectedResponse = + ListAwsClustersResponse.newBuilder() + .setNextPageToken("") + .addAllAwsClusters(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListAwsClustersPagedResponse pagedListResponse = client.listAwsClusters(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAwsClustersList().get(0), resources.get(0)); + + 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 listAwsClustersExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listAwsClusters(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAwsClustersTest2() throws Exception { + AwsCluster responsesElement = AwsCluster.newBuilder().build(); + ListAwsClustersResponse expectedResponse = + ListAwsClustersResponse.newBuilder() + .setNextPageToken("") + .addAllAwsClusters(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListAwsClustersPagedResponse pagedListResponse = client.listAwsClusters(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAwsClustersList().get(0), resources.get(0)); + + 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 listAwsClustersExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listAwsClusters(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteAwsClusterTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteAwsClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AwsClusterName name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + + client.deleteAwsClusterAsync(name).get(); + + 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 deleteAwsClusterExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AwsClusterName name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + client.deleteAwsClusterAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteAwsClusterTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteAwsClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-1220/locations/location-1220/awsClusters/awsCluster-1220"; + + client.deleteAwsClusterAsync(name).get(); + + 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 deleteAwsClusterExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-1220/locations/location-1220/awsClusters/awsCluster-1220"; + client.deleteAwsClusterAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void generateAwsAccessTokenTest() throws Exception { + GenerateAwsAccessTokenResponse expectedResponse = + GenerateAwsAccessTokenResponse.newBuilder() + .setAccessToken("accessToken-1042689291") + .setExpirationTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + GenerateAwsAccessTokenRequest request = + GenerateAwsAccessTokenRequest.newBuilder() + .setAwsCluster(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + + GenerateAwsAccessTokenResponse actualResponse = client.generateAwsAccessToken(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 generateAwsAccessTokenExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GenerateAwsAccessTokenRequest request = + GenerateAwsAccessTokenRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + client.generateAwsAccessToken(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createAwsNodePoolTest() 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()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAwsNodePoolTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AwsClusterName parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + AwsNodePool awsNodePool = AwsNodePool.newBuilder().build(); + String awsNodePoolId = "awsNodePoolId-1885267498"; + + AwsNodePool actualResponse = + client.createAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId).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 createAwsNodePoolExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AwsClusterName parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + AwsNodePool awsNodePool = AwsNodePool.newBuilder().build(); + String awsNodePoolId = "awsNodePoolId-1885267498"; + client.createAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createAwsNodePoolTest2() 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()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAwsNodePoolTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-2069/locations/location-2069/awsClusters/awsCluster-2069"; + AwsNodePool awsNodePool = AwsNodePool.newBuilder().build(); + String awsNodePoolId = "awsNodePoolId-1885267498"; + + AwsNodePool actualResponse = + client.createAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId).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 createAwsNodePoolExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2069/locations/location-2069/awsClusters/awsCluster-2069"; + AwsNodePool awsNodePool = AwsNodePool.newBuilder().build(); + String awsNodePoolId = "awsNodePoolId-1885267498"; + client.createAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateAwsNodePoolTest() 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()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateAwsNodePoolTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AwsNodePool awsNodePool = + 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()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + AwsNodePool actualResponse = client.updateAwsNodePoolAsync(awsNodePool, updateMask).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 updateAwsNodePoolExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AwsNodePool awsNodePool = + 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()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateAwsNodePoolAsync(awsNodePool, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getAwsNodePoolTest() 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()) + .build(); + mockService.addResponse(expectedResponse); + + AwsNodePoolName name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]"); + + AwsNodePool actualResponse = client.getAwsNodePool(name); + 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 getAwsNodePoolExceptionTest() 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.getAwsNodePool(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAwsNodePoolTest2() 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()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-9334/locations/location-9334/awsClusters/awsCluster-9334/awsNodePools/awsNodePool-9334"; + + AwsNodePool actualResponse = client.getAwsNodePool(name); + 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 getAwsNodePoolExceptionTest2() 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.getAwsNodePool(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAwsNodePoolsTest() throws Exception { + AwsNodePool responsesElement = AwsNodePool.newBuilder().build(); + ListAwsNodePoolsResponse expectedResponse = + ListAwsNodePoolsResponse.newBuilder() + .setNextPageToken("") + .addAllAwsNodePools(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + AwsClusterName parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + + ListAwsNodePoolsPagedResponse pagedListResponse = client.listAwsNodePools(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAwsNodePoolsList().get(0), resources.get(0)); + + 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 listAwsNodePoolsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AwsClusterName parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + client.listAwsNodePools(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAwsNodePoolsTest2() throws Exception { + AwsNodePool responsesElement = AwsNodePool.newBuilder().build(); + ListAwsNodePoolsResponse expectedResponse = + ListAwsNodePoolsResponse.newBuilder() + .setNextPageToken("") + .addAllAwsNodePools(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-2069/locations/location-2069/awsClusters/awsCluster-2069"; + + ListAwsNodePoolsPagedResponse pagedListResponse = client.listAwsNodePools(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAwsNodePoolsList().get(0), resources.get(0)); + + 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 listAwsNodePoolsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2069/locations/location-2069/awsClusters/awsCluster-2069"; + client.listAwsNodePools(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteAwsNodePoolTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteAwsNodePoolTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AwsNodePoolName name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]"); + + client.deleteAwsNodePoolAsync(name).get(); + + 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 deleteAwsNodePoolExceptionTest() 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.deleteAwsNodePoolAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteAwsNodePoolTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteAwsNodePoolTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = + "projects/project-9334/locations/location-9334/awsClusters/awsCluster-9334/awsNodePools/awsNodePool-9334"; + + client.deleteAwsNodePoolAsync(name).get(); + + 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 deleteAwsNodePoolExceptionTest2() 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.deleteAwsNodePoolAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getAwsServerConfigTest() throws Exception { + AwsServerConfig expectedResponse = + AwsServerConfig.newBuilder() + .setName(AwsServerConfigName.of("[PROJECT]", "[LOCATION]").toString()) + .addAllValidVersions(new ArrayList()) + .addAllSupportedAwsRegions(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + AwsServerConfigName name = AwsServerConfigName.of("[PROJECT]", "[LOCATION]"); + + AwsServerConfig actualResponse = client.getAwsServerConfig(name); + 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 getAwsServerConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AwsServerConfigName name = AwsServerConfigName.of("[PROJECT]", "[LOCATION]"); + client.getAwsServerConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAwsServerConfigTest2() throws Exception { + AwsServerConfig expectedResponse = + AwsServerConfig.newBuilder() + .setName(AwsServerConfigName.of("[PROJECT]", "[LOCATION]").toString()) + .addAllValidVersions(new ArrayList()) + .addAllSupportedAwsRegions(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-5245/locations/location-5245/awsServerConfig"; + + AwsServerConfig actualResponse = client.getAwsServerConfig(name); + 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 getAwsServerConfigExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-5245/locations/location-5245/awsServerConfig"; + client.getAwsServerConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java similarity index 100% rename from google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java new file mode 100644 index 0000000..d1405e2 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java @@ -0,0 +1,1776 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 com.google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureClientsPagedResponse; +import static com.google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureClustersPagedResponse; +import static com.google.cloud.gkemulticloud.v1.AzureClustersClient.ListAzureNodePoolsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.gkemulticloud.v1.stub.HttpJsonAzureClustersStub; +import com.google.common.collect.Lists; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class AzureClustersClientHttpJsonTest { + private static MockHttpService mockService; + private static AzureClustersClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonAzureClustersStub.getMethodDescriptors(), + AzureClustersSettings.getDefaultEndpoint()); + AzureClustersSettings settings = + AzureClustersSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + AzureClustersSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = AzureClustersClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void createAzureClientTest() throws Exception { + AzureClient expectedResponse = + AzureClient.newBuilder() + .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) + .setTenantId("tenantId-1306693787") + .setApplicationId("applicationId-1011352949") + .putAllAnnotations(new HashMap()) + .setPemCertificate("pemCertificate153491807") + .setUid("uid115792") + .setCreateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAzureClientTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + AzureClient azureClient = AzureClient.newBuilder().build(); + String azureClientId = "azureClientId-1735934475"; + + AzureClient actualResponse = + client.createAzureClientAsync(parent, azureClient, azureClientId).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 createAzureClientExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + AzureClient azureClient = AzureClient.newBuilder().build(); + String azureClientId = "azureClientId-1735934475"; + client.createAzureClientAsync(parent, azureClient, azureClientId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createAzureClientTest2() throws Exception { + AzureClient expectedResponse = + AzureClient.newBuilder() + .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) + .setTenantId("tenantId-1306693787") + .setApplicationId("applicationId-1011352949") + .putAllAnnotations(new HashMap()) + .setPemCertificate("pemCertificate153491807") + .setUid("uid115792") + .setCreateTime(Timestamp.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAzureClientTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-5833/locations/location-5833"; + AzureClient azureClient = AzureClient.newBuilder().build(); + String azureClientId = "azureClientId-1735934475"; + + AzureClient actualResponse = + client.createAzureClientAsync(parent, azureClient, azureClientId).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 createAzureClientExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + AzureClient azureClient = AzureClient.newBuilder().build(); + String azureClientId = "azureClientId-1735934475"; + client.createAzureClientAsync(parent, azureClient, azureClientId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getAzureClientTest() throws Exception { + AzureClient expectedResponse = + AzureClient.newBuilder() + .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) + .setTenantId("tenantId-1306693787") + .setApplicationId("applicationId-1011352949") + .putAllAnnotations(new HashMap()) + .setPemCertificate("pemCertificate153491807") + .setUid("uid115792") + .setCreateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + AzureClientName name = AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"); + + AzureClient actualResponse = client.getAzureClient(name); + 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 getAzureClientExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureClientName name = AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"); + client.getAzureClient(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAzureClientTest2() throws Exception { + AzureClient expectedResponse = + AzureClient.newBuilder() + .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) + .setTenantId("tenantId-1306693787") + .setApplicationId("applicationId-1011352949") + .putAllAnnotations(new HashMap()) + .setPemCertificate("pemCertificate153491807") + .setUid("uid115792") + .setCreateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-7305/locations/location-7305/azureClients/azureClient-7305"; + + AzureClient actualResponse = client.getAzureClient(name); + 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 getAzureClientExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-7305/locations/location-7305/azureClients/azureClient-7305"; + client.getAzureClient(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAzureClientsTest() throws Exception { + AzureClient responsesElement = AzureClient.newBuilder().build(); + ListAzureClientsResponse expectedResponse = + ListAzureClientsResponse.newBuilder() + .setNextPageToken("") + .addAllAzureClients(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListAzureClientsPagedResponse pagedListResponse = client.listAzureClients(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAzureClientsList().get(0), resources.get(0)); + + 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 listAzureClientsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listAzureClients(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAzureClientsTest2() throws Exception { + AzureClient responsesElement = AzureClient.newBuilder().build(); + ListAzureClientsResponse expectedResponse = + ListAzureClientsResponse.newBuilder() + .setNextPageToken("") + .addAllAzureClients(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListAzureClientsPagedResponse pagedListResponse = client.listAzureClients(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAzureClientsList().get(0), resources.get(0)); + + 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 listAzureClientsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listAzureClients(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteAzureClientTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteAzureClientTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AzureClientName name = AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"); + + client.deleteAzureClientAsync(name).get(); + + 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 deleteAzureClientExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureClientName name = AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"); + client.deleteAzureClientAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteAzureClientTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteAzureClientTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-7305/locations/location-7305/azureClients/azureClient-7305"; + + client.deleteAzureClientAsync(name).get(); + + 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 deleteAzureClientExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-7305/locations/location-7305/azureClients/azureClient-7305"; + client.deleteAzureClientAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createAzureClusterTest() throws Exception { + AzureCluster expectedResponse = + AzureCluster.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setAzureRegion("azureRegion1270271587") + .setResourceGroupId("resourceGroupId928392204") + .setAzureClient("azureClient847354682") + .setNetworking(AzureClusterNetworking.newBuilder().build()) + .setControlPlane(AzureControlPlane.newBuilder().build()) + .setAuthorization(AzureAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setManagedResources(AzureClusterResources.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAzureClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + AzureCluster azureCluster = AzureCluster.newBuilder().build(); + String azureClusterId = "azureClusterId191689446"; + + AzureCluster actualResponse = + client.createAzureClusterAsync(parent, azureCluster, azureClusterId).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 createAzureClusterExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + AzureCluster azureCluster = AzureCluster.newBuilder().build(); + String azureClusterId = "azureClusterId191689446"; + client.createAzureClusterAsync(parent, azureCluster, azureClusterId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createAzureClusterTest2() throws Exception { + AzureCluster expectedResponse = + AzureCluster.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setAzureRegion("azureRegion1270271587") + .setResourceGroupId("resourceGroupId928392204") + .setAzureClient("azureClient847354682") + .setNetworking(AzureClusterNetworking.newBuilder().build()) + .setControlPlane(AzureControlPlane.newBuilder().build()) + .setAuthorization(AzureAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setManagedResources(AzureClusterResources.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAzureClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-5833/locations/location-5833"; + AzureCluster azureCluster = AzureCluster.newBuilder().build(); + String azureClusterId = "azureClusterId191689446"; + + AzureCluster actualResponse = + client.createAzureClusterAsync(parent, azureCluster, azureClusterId).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 createAzureClusterExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + AzureCluster azureCluster = AzureCluster.newBuilder().build(); + String azureClusterId = "azureClusterId191689446"; + client.createAzureClusterAsync(parent, azureCluster, azureClusterId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateAzureClusterTest() throws Exception { + AzureCluster expectedResponse = + AzureCluster.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setAzureRegion("azureRegion1270271587") + .setResourceGroupId("resourceGroupId928392204") + .setAzureClient("azureClient847354682") + .setNetworking(AzureClusterNetworking.newBuilder().build()) + .setControlPlane(AzureControlPlane.newBuilder().build()) + .setAuthorization(AzureAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setManagedResources(AzureClusterResources.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateAzureClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AzureCluster azureCluster = + AzureCluster.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setAzureRegion("azureRegion1270271587") + .setResourceGroupId("resourceGroupId928392204") + .setAzureClient("azureClient847354682") + .setNetworking(AzureClusterNetworking.newBuilder().build()) + .setControlPlane(AzureControlPlane.newBuilder().build()) + .setAuthorization(AzureAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setManagedResources(AzureClusterResources.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + AzureCluster actualResponse = client.updateAzureClusterAsync(azureCluster, updateMask).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 updateAzureClusterExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureCluster azureCluster = + AzureCluster.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setAzureRegion("azureRegion1270271587") + .setResourceGroupId("resourceGroupId928392204") + .setAzureClient("azureClient847354682") + .setNetworking(AzureClusterNetworking.newBuilder().build()) + .setControlPlane(AzureControlPlane.newBuilder().build()) + .setAuthorization(AzureAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setManagedResources(AzureClusterResources.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateAzureClusterAsync(azureCluster, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getAzureClusterTest() throws Exception { + AzureCluster expectedResponse = + AzureCluster.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setAzureRegion("azureRegion1270271587") + .setResourceGroupId("resourceGroupId928392204") + .setAzureClient("azureClient847354682") + .setNetworking(AzureClusterNetworking.newBuilder().build()) + .setControlPlane(AzureControlPlane.newBuilder().build()) + .setAuthorization(AzureAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setManagedResources(AzureClusterResources.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + AzureClusterName name = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + + AzureCluster actualResponse = client.getAzureCluster(name); + 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 getAzureClusterExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureClusterName name = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + client.getAzureCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAzureClusterTest2() throws Exception { + AzureCluster expectedResponse = + AzureCluster.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setDescription("description-1724546052") + .setAzureRegion("azureRegion1270271587") + .setResourceGroupId("resourceGroupId928392204") + .setAzureClient("azureClient847354682") + .setNetworking(AzureClusterNetworking.newBuilder().build()) + .setControlPlane(AzureControlPlane.newBuilder().build()) + .setAuthorization(AzureAuthorization.newBuilder().build()) + .setEndpoint("endpoint1741102485") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build()) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setFleet(Fleet.newBuilder().build()) + .setManagedResources(AzureClusterResources.newBuilder().build()) + .setLoggingConfig(LoggingConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-6894/locations/location-6894/azureClusters/azureCluster-6894"; + + AzureCluster actualResponse = client.getAzureCluster(name); + 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 getAzureClusterExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-6894/locations/location-6894/azureClusters/azureCluster-6894"; + client.getAzureCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAzureClustersTest() throws Exception { + AzureCluster responsesElement = AzureCluster.newBuilder().build(); + ListAzureClustersResponse expectedResponse = + ListAzureClustersResponse.newBuilder() + .setNextPageToken("") + .addAllAzureClusters(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListAzureClustersPagedResponse pagedListResponse = client.listAzureClusters(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAzureClustersList().get(0), resources.get(0)); + + 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 listAzureClustersExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listAzureClusters(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAzureClustersTest2() throws Exception { + AzureCluster responsesElement = AzureCluster.newBuilder().build(); + ListAzureClustersResponse expectedResponse = + ListAzureClustersResponse.newBuilder() + .setNextPageToken("") + .addAllAzureClusters(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListAzureClustersPagedResponse pagedListResponse = client.listAzureClusters(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAzureClustersList().get(0), resources.get(0)); + + 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 listAzureClustersExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listAzureClusters(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteAzureClusterTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteAzureClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AzureClusterName name = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + + client.deleteAzureClusterAsync(name).get(); + + 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 deleteAzureClusterExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureClusterName name = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + client.deleteAzureClusterAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteAzureClusterTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteAzureClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-6894/locations/location-6894/azureClusters/azureCluster-6894"; + + client.deleteAzureClusterAsync(name).get(); + + 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 deleteAzureClusterExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-6894/locations/location-6894/azureClusters/azureCluster-6894"; + client.deleteAzureClusterAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void generateAzureAccessTokenTest() throws Exception { + GenerateAzureAccessTokenResponse expectedResponse = + GenerateAzureAccessTokenResponse.newBuilder() + .setAccessToken("accessToken-1042689291") + .setExpirationTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + GenerateAzureAccessTokenRequest request = + GenerateAzureAccessTokenRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .build(); + + GenerateAzureAccessTokenResponse actualResponse = client.generateAzureAccessToken(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 generateAzureAccessTokenExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GenerateAzureAccessTokenRequest request = + GenerateAzureAccessTokenRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .build(); + client.generateAzureAccessToken(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createAzureNodePoolTest() throws Exception { + AzureNodePool expectedResponse = + AzureNodePool.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .setVersion("version351608024") + .setConfig(AzureNodeConfig.newBuilder().build()) + .setSubnetId("subnetId-2066159272") + .setAutoscaling(AzureNodePoolAutoscaling.newBuilder().build()) + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) + .setAzureAvailabilityZone("azureAvailabilityZone-304222122") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAzureNodePoolTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AzureClusterName parent = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + AzureNodePool azureNodePool = AzureNodePool.newBuilder().build(); + String azureNodePoolId = "azureNodePoolId-1766264088"; + + AzureNodePool actualResponse = + client.createAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId).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 createAzureNodePoolExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureClusterName parent = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + AzureNodePool azureNodePool = AzureNodePool.newBuilder().build(); + String azureNodePoolId = "azureNodePoolId-1766264088"; + client.createAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createAzureNodePoolTest2() throws Exception { + AzureNodePool expectedResponse = + AzureNodePool.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .setVersion("version351608024") + .setConfig(AzureNodeConfig.newBuilder().build()) + .setSubnetId("subnetId-2066159272") + .setAutoscaling(AzureNodePoolAutoscaling.newBuilder().build()) + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) + .setAzureAvailabilityZone("azureAvailabilityZone-304222122") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAzureNodePoolTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-9011/locations/location-9011/azureClusters/azureCluster-9011"; + AzureNodePool azureNodePool = AzureNodePool.newBuilder().build(); + String azureNodePoolId = "azureNodePoolId-1766264088"; + + AzureNodePool actualResponse = + client.createAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId).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 createAzureNodePoolExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-9011/locations/location-9011/azureClusters/azureCluster-9011"; + AzureNodePool azureNodePool = AzureNodePool.newBuilder().build(); + String azureNodePoolId = "azureNodePoolId-1766264088"; + client.createAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateAzureNodePoolTest() throws Exception { + AzureNodePool expectedResponse = + AzureNodePool.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .setVersion("version351608024") + .setConfig(AzureNodeConfig.newBuilder().build()) + .setSubnetId("subnetId-2066159272") + .setAutoscaling(AzureNodePoolAutoscaling.newBuilder().build()) + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) + .setAzureAvailabilityZone("azureAvailabilityZone-304222122") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateAzureNodePoolTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AzureNodePool azureNodePool = + AzureNodePool.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .setVersion("version351608024") + .setConfig(AzureNodeConfig.newBuilder().build()) + .setSubnetId("subnetId-2066159272") + .setAutoscaling(AzureNodePoolAutoscaling.newBuilder().build()) + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) + .setAzureAvailabilityZone("azureAvailabilityZone-304222122") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + AzureNodePool actualResponse = client.updateAzureNodePoolAsync(azureNodePool, updateMask).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 updateAzureNodePoolExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureNodePool azureNodePool = + AzureNodePool.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .setVersion("version351608024") + .setConfig(AzureNodeConfig.newBuilder().build()) + .setSubnetId("subnetId-2066159272") + .setAutoscaling(AzureNodePoolAutoscaling.newBuilder().build()) + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) + .setAzureAvailabilityZone("azureAvailabilityZone-304222122") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateAzureNodePoolAsync(azureNodePool, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getAzureNodePoolTest() throws Exception { + AzureNodePool expectedResponse = + AzureNodePool.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .setVersion("version351608024") + .setConfig(AzureNodeConfig.newBuilder().build()) + .setSubnetId("subnetId-2066159272") + .setAutoscaling(AzureNodePoolAutoscaling.newBuilder().build()) + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) + .setAzureAvailabilityZone("azureAvailabilityZone-304222122") + .build(); + mockService.addResponse(expectedResponse); + + AzureNodePoolName name = + AzureNodePoolName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"); + + AzureNodePool actualResponse = client.getAzureNodePool(name); + 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 getAzureNodePoolExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureNodePoolName name = + AzureNodePoolName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"); + client.getAzureNodePool(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAzureNodePoolTest2() throws Exception { + AzureNodePool expectedResponse = + AzureNodePool.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .setVersion("version351608024") + .setConfig(AzureNodeConfig.newBuilder().build()) + .setSubnetId("subnetId-2066159272") + .setAutoscaling(AzureNodePoolAutoscaling.newBuilder().build()) + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) + .setAzureAvailabilityZone("azureAvailabilityZone-304222122") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-2382/locations/location-2382/azureClusters/azureCluster-2382/azureNodePools/azureNodePool-2382"; + + AzureNodePool actualResponse = client.getAzureNodePool(name); + 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 getAzureNodePoolExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-2382/locations/location-2382/azureClusters/azureCluster-2382/azureNodePools/azureNodePool-2382"; + client.getAzureNodePool(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAzureNodePoolsTest() throws Exception { + AzureNodePool responsesElement = AzureNodePool.newBuilder().build(); + ListAzureNodePoolsResponse expectedResponse = + ListAzureNodePoolsResponse.newBuilder() + .setNextPageToken("") + .addAllAzureNodePools(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + AzureClusterName parent = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + + ListAzureNodePoolsPagedResponse pagedListResponse = client.listAzureNodePools(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAzureNodePoolsList().get(0), resources.get(0)); + + 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 listAzureNodePoolsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureClusterName parent = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + client.listAzureNodePools(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAzureNodePoolsTest2() throws Exception { + AzureNodePool responsesElement = AzureNodePool.newBuilder().build(); + ListAzureNodePoolsResponse expectedResponse = + ListAzureNodePoolsResponse.newBuilder() + .setNextPageToken("") + .addAllAzureNodePools(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9011/locations/location-9011/azureClusters/azureCluster-9011"; + + ListAzureNodePoolsPagedResponse pagedListResponse = client.listAzureNodePools(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAzureNodePoolsList().get(0), resources.get(0)); + + 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 listAzureNodePoolsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-9011/locations/location-9011/azureClusters/azureCluster-9011"; + client.listAzureNodePools(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteAzureNodePoolTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteAzureNodePoolTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AzureNodePoolName name = + AzureNodePoolName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"); + + client.deleteAzureNodePoolAsync(name).get(); + + 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 deleteAzureNodePoolExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureNodePoolName name = + AzureNodePoolName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"); + client.deleteAzureNodePoolAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteAzureNodePoolTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteAzureNodePoolTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = + "projects/project-2382/locations/location-2382/azureClusters/azureCluster-2382/azureNodePools/azureNodePool-2382"; + + client.deleteAzureNodePoolAsync(name).get(); + + 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 deleteAzureNodePoolExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-2382/locations/location-2382/azureClusters/azureCluster-2382/azureNodePools/azureNodePool-2382"; + client.deleteAzureNodePoolAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getAzureServerConfigTest() throws Exception { + AzureServerConfig expectedResponse = + AzureServerConfig.newBuilder() + .setName(AzureServerConfigName.of("[PROJECT]", "[LOCATION]").toString()) + .addAllValidVersions(new ArrayList()) + .addAllSupportedAzureRegions(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + AzureServerConfigName name = AzureServerConfigName.of("[PROJECT]", "[LOCATION]"); + + AzureServerConfig actualResponse = client.getAzureServerConfig(name); + 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 getAzureServerConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureServerConfigName name = AzureServerConfigName.of("[PROJECT]", "[LOCATION]"); + client.getAzureServerConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAzureServerConfigTest2() throws Exception { + AzureServerConfig expectedResponse = + AzureServerConfig.newBuilder() + .setName(AzureServerConfigName.of("[PROJECT]", "[LOCATION]").toString()) + .addAllValidVersions(new ArrayList()) + .addAllSupportedAzureRegions(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-9505/locations/location-9505/azureServerConfig"; + + AzureServerConfig actualResponse = client.getAzureServerConfig(name); + 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 getAzureServerConfigExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-9505/locations/location-9505/azureServerConfig"; + client.getAzureServerConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java similarity index 100% rename from google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java diff --git a/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java similarity index 100% rename from google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java diff --git a/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java similarity index 100% rename from google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java diff --git a/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java similarity index 100% rename from google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java diff --git a/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java b/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java similarity index 100% rename from google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java rename to owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java new file mode 100644 index 0000000..d9f84b0 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java @@ -0,0 +1,1322 @@ +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 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 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 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 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 static abstract class AwsClustersImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateAwsClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAwsClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsClusterMethod(), 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.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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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].
+     * 
+ */ + public 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.
+     * 
+ */ + public 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].
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void getAwsServerConfig(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsServerConfigMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, METHODID_CREATE_AWS_CLUSTER))) + .addMethod( + getUpdateAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, + com.google.longrunning.Operation>( + this, 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>( + this, 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>( + this, METHODID_LIST_AWS_CLUSTERS))) + .addMethod( + getDeleteAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, + com.google.longrunning.Operation>( + this, 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>( + this, METHODID_GENERATE_AWS_ACCESS_TOKEN))) + .addMethod( + getCreateAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_AWS_NODE_POOL))) + .addMethod( + getUpdateAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, + com.google.longrunning.Operation>( + this, 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>( + this, 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>( + this, METHODID_LIST_AWS_NODE_POOLS))) + .addMethod( + getDeleteAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, + com.google.longrunning.Operation>( + this, 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>( + this, METHODID_GET_AWS_SERVER_CONFIG))) + .build(); + } + } + + /** + *
+   * 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 GCP 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 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); + } + } + + /** + *
+   * 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 GCP 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); + } + } + + /** + *
+   * 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 GCP 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 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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_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 AwsClustersImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AwsClustersImplBase 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_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_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_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(); + } + } + } + + 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 String methodName; + + AwsClustersMethodDescriptorSupplier(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/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java new file mode 100644 index 0000000..071dee6 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java @@ -0,0 +1,1718 @@ +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 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 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 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 static abstract class AzureClustersImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateAzureClientMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureClientMethod(), 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.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.
+     * 
+ */ + public 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 GCP 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateAzureClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAzureClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureClusterMethod(), 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.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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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].
+     * 
+ */ + public 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.
+     * 
+ */ + public 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].
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void getAzureServerConfig(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureServerConfigMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, METHODID_LIST_AZURE_CLIENTS))) + .addMethod( + getDeleteAzureClientMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_AZURE_CLIENT))) + .addMethod( + getCreateAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_AZURE_CLUSTER))) + .addMethod( + getUpdateAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, + com.google.longrunning.Operation>( + this, 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>( + this, 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>( + this, METHODID_LIST_AZURE_CLUSTERS))) + .addMethod( + getDeleteAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, + com.google.longrunning.Operation>( + this, 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>( + this, METHODID_GENERATE_AZURE_ACCESS_TOKEN))) + .addMethod( + getCreateAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_AZURE_NODE_POOL))) + .addMethod( + getUpdateAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, + com.google.longrunning.Operation>( + this, 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>( + this, 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>( + this, METHODID_LIST_AZURE_NODE_POOLS))) + .addMethod( + getDeleteAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, + com.google.longrunning.Operation>( + this, 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>( + this, METHODID_GET_AZURE_SERVER_CONFIG))) + .build(); + } + } + + /** + *
+   * 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 GCP 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 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); + } + } + + /** + *
+   * 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 GCP 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); + } + } + + /** + *
+   * 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 GCP 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 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); + } + + /** + *
+     * 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_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 AzureClustersImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AzureClustersImplBase 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_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_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(); + } + } + } + + 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 String methodName; + + AzureClustersMethodDescriptorSupplier(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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java index 1b1c7f5..aceab69 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsAuthorization(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsAuthorization( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,26 +54,22 @@ private AwsAuthorization( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - adminUsers_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - adminUsers_.add( - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsClusterUser.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + adminUsers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + adminUsers_.add( + input.readMessage(com.google.cloud.gkemulticloud.v1.AwsClusterUser.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,7 +77,8 @@ private AwsAuthorization( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); @@ -107,27 +87,22 @@ private AwsAuthorization( makeExtensionsImmutable(); } } - - 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; 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
@@ -136,17 +111,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 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]; - * + * 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
@@ -155,18 +126,14 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + 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
@@ -175,17 +142,13 @@ 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) = REQUIRED]; - * + * 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
@@ -194,17 +157,13 @@ 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) = REQUIRED]; - * + * 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
@@ -213,9 +172,7 @@ 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) = REQUIRED]; - * + * 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( @@ -224,7 +181,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +192,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 < adminUsers_.size(); i++) { output.writeMessage(1, adminUsers_.get(i)); } @@ -250,7 +207,8 @@ 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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -260,15 +218,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.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 (!getAdminUsersList() + .equals(other.getAdminUsersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,126 +248,117 @@ 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() @@ -417,17 +366,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAdminUsersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -441,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_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 @@ -462,8 +411,7 @@ 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); int from_bitField0_ = bitField0_; if (adminUsersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -482,39 +430,38 @@ public com.google.cloud.gkemulticloud.v1.AwsAuthorization buildPartial() { 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; @@ -522,8 +469,7 @@ 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()) { @@ -542,10 +488,9 @@ 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_); } @@ -570,8 +515,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AwsAuthorization) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsAuthorization) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -580,29 +524,21 @@ public Builder mergeFrom( } 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_; /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -611,9 +547,7 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getAdminUsersList() { if (adminUsersBuilder_ == null) { @@ -623,8 +557,6 @@ public java.util.List getAdmin } } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -633,9 +565,7 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getAdminUsersCount() { if (adminUsersBuilder_ == null) { @@ -645,8 +575,6 @@ public int getAdminUsersCount() { } } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -655,9 +583,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -667,8 +593,6 @@ public 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
@@ -677,9 +601,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -696,8 +618,6 @@ public Builder setAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -706,9 +626,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -722,8 +640,6 @@ public Builder setAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -732,9 +648,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -750,8 +664,6 @@ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AwsClusterUser va return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -760,9 +672,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -779,8 +689,6 @@ public Builder addAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -789,9 +697,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -805,8 +711,6 @@ public Builder addAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -815,9 +719,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -831,8 +733,6 @@ public Builder addAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -841,15 +741,14 @@ 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) = REQUIRED]; - * + * 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_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, adminUsers_); onChanged(); } else { adminUsersBuilder_.addAllMessages(values); @@ -857,8 +756,6 @@ public Builder addAllAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -867,9 +764,7 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAdminUsers() { if (adminUsersBuilder_ == null) { @@ -882,8 +777,6 @@ public Builder clearAdminUsers() { return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -892,9 +785,7 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeAdminUsers(int index) { if (adminUsersBuilder_ == null) { @@ -907,8 +798,6 @@ public Builder removeAdminUsers(int 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
@@ -917,17 +806,13 @@ 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) = REQUIRED]; - * + * 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
@@ -936,21 +821,16 @@ 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) = REQUIRED]; - * + * 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 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
@@ -959,12 +839,10 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getAdminUsersOrBuilderList() { + public java.util.List + getAdminUsersOrBuilderList() { if (adminUsersBuilder_ != null) { return adminUsersBuilder_.getMessageOrBuilderList(); } else { @@ -972,8 +850,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOr } } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -982,17 +858,13 @@ 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) = REQUIRED]; - * + * 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()); + 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
@@ -1001,18 +873,14 @@ 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) = REQUIRED]; - * + * 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()); + 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
@@ -1021,34 +889,29 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ - 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_; } - @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); } @@ -1058,12 +921,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(); } @@ -1072,16 +935,16 @@ 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 { - return new AwsAuthorization(input, extensionRegistry); - } - }; + 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 { + return new AwsAuthorization(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1096,4 +959,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java similarity index 62% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java index e5b98f9..1468d5c 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 { /** - * - * *
    * Required. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -34,14 +16,11 @@ public interface AwsAuthorizationOrBuilder
    * 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]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getAdminUsersList(); + 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
@@ -50,14 +29,10 @@ public interface AwsAuthorizationOrBuilder
    * 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]; - * + * 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
@@ -66,14 +41,10 @@ public interface AwsAuthorizationOrBuilder
    * 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]; - * + * 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
@@ -82,15 +53,11 @@ public interface AwsAuthorizationOrBuilder
    * 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]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + 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
@@ -99,9 +66,8 @@ public interface AwsAuthorizationOrBuilder
    * 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]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder(int index); + com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder( + int index); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java similarity index 65% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java index f17b3ac..1cf0e88 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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_ = ""; @@ -50,15 +32,16 @@ private AwsCluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsCluster(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsCluster( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -78,219 +61,183 @@ private AwsCluster( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 26: { + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder subBuilder = null; + if (networking_ != null) { + subBuilder = networking_.toBuilder(); } - case 26: - { - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder subBuilder = null; - if (networking_ != null) { - subBuilder = networking_.toBuilder(); - } - networking_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(networking_); - networking_ = subBuilder.buildPartial(); - } - - break; + networking_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networking_); + networking_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - awsRegion_ = s; - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + awsRegion_ = s; + break; + } + case 42: { + com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder subBuilder = null; + if (controlPlane_ != null) { + subBuilder = controlPlane_.toBuilder(); } - case 42: - { - com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder subBuilder = null; - if (controlPlane_ != null) { - subBuilder = controlPlane_.toBuilder(); - } - controlPlane_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsControlPlane.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(controlPlane_); - controlPlane_ = subBuilder.buildPartial(); - } - - break; + controlPlane_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsControlPlane.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(controlPlane_); + controlPlane_ = subBuilder.buildPartial(); } - case 56: - { - int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 56: { + int rawValue = input.readEnum(); - endpoint_ = s; - break; - } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); - uid_ = s; - break; + endpoint_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + uid_ = s; + break; + } + case 80: { + + reconciling_ = input.readBool(); + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 80: - { - reconciling_ = input.readBool(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 90: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 98: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 98: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + case 114: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 114: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = - com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); - break; + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + annotations_.getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + break; + } + case 122: { + com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder subBuilder = null; + if (authorization_ != null) { + subBuilder = authorization_.toBuilder(); } - case 122: - { - com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder subBuilder = null; - if (authorization_ != null) { - subBuilder = authorization_.toBuilder(); - } - authorization_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsAuthorization.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authorization_); - authorization_ = subBuilder.buildPartial(); - } - - break; + authorization_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsAuthorization.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authorization_); + authorization_ = subBuilder.buildPartial(); + } + + break; + } + case 130: { + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder subBuilder = null; + if (workloadIdentityConfig_ != null) { + subBuilder = workloadIdentityConfig_.toBuilder(); } - case 130: - { - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder subBuilder = null; - if (workloadIdentityConfig_ != null) { - subBuilder = workloadIdentityConfig_.toBuilder(); - } - workloadIdentityConfig_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workloadIdentityConfig_); - workloadIdentityConfig_ = subBuilder.buildPartial(); - } - - break; + workloadIdentityConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workloadIdentityConfig_); + workloadIdentityConfig_ = subBuilder.buildPartial(); } - case 138: - { - java.lang.String s = input.readStringRequireUtf8(); - clusterCaCertificate_ = s; - break; + break; + } + case 138: { + java.lang.String s = input.readStringRequireUtf8(); + + clusterCaCertificate_ = s; + break; + } + case 146: { + com.google.cloud.gkemulticloud.v1.Fleet.Builder subBuilder = null; + if (fleet_ != null) { + subBuilder = fleet_.toBuilder(); + } + fleet_ = input.readMessage(com.google.cloud.gkemulticloud.v1.Fleet.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fleet_); + fleet_ = subBuilder.buildPartial(); } - case 146: - { - com.google.cloud.gkemulticloud.v1.Fleet.Builder subBuilder = null; - if (fleet_ != null) { - subBuilder = fleet_.toBuilder(); - } - fleet_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.Fleet.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fleet_); - fleet_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 154: { + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder subBuilder = null; + if (loggingConfig_ != null) { + subBuilder = loggingConfig_.toBuilder(); } - case 154: - { - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder subBuilder = null; - if (loggingConfig_ != null) { - subBuilder = loggingConfig_.toBuilder(); - } - loggingConfig_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.LoggingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(loggingConfig_); - loggingConfig_ = subBuilder.buildPartial(); - } - - break; + loggingConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.LoggingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(loggingConfig_); + loggingConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -298,52 +245,48 @@ private AwsCluster( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -352,8 +295,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -362,8 +303,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PROVISIONING(1), /** - * - * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -373,8 +312,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.
@@ -384,8 +321,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RECONCILING(3),
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -394,8 +329,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(4), /** - * - * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -405,8 +338,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ERROR(5),
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -419,8 +350,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -429,8 +358,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.
      * 
@@ -439,8 +366,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.
@@ -450,8 +375,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.
@@ -461,8 +384,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.
      * 
@@ -471,8 +392,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.
@@ -482,8 +401,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.
@@ -493,6 +410,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(
@@ -517,57 +435,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;
@@ -587,8 +501,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of this resource.
    * Cluster names are formatted as
@@ -598,7 +510,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -607,15 +518,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.
    * Cluster names are formatted as
@@ -625,15 +535,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 { @@ -644,15 +555,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; 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 @@ -661,30 +569,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 { @@ -695,16 +603,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 @@ -712,34 +615,23 @@ 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() { @@ -749,8 +641,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetwor public static final int AWS_REGION_FIELD_NUMBER = 4; private volatile java.lang.Object awsRegion_; /** - * - * *
    * Required. The AWS region where the cluster runs.
    * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -760,7 +650,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetwor
    * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The awsRegion. */ @java.lang.Override @@ -769,15 +658,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.
    * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -787,15 +675,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 { @@ -806,16 +695,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 @@ -823,34 +707,23 @@ 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() { @@ -860,16 +733,11 @@ public com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder getControlPlan 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 @@ -877,34 +745,23 @@ 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() { @@ -914,56 +771,38 @@ public com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder getAuthorizat public static final int STATE_FIELD_NUMBER = 7; private int 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 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() { + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsCluster.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsCluster.State result = - com.google.cloud.gkemulticloud.v1.AwsCluster.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.State.UNRECOGNIZED : result; } public static final int ENDPOINT_FIELD_NUMBER = 8; 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 @@ -972,29 +811,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 { @@ -1005,14 +844,11 @@ public com.google.protobuf.ByteString getEndpointBytes() { public static final int UID_FIELD_NUMBER = 9; 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 @@ -1021,29 +857,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 { @@ -1054,14 +890,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int RECONCILING_FIELD_NUMBER = 10; 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 @@ -1072,15 +905,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 @@ -1088,15 +917,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 @@ -1104,14 +929,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() { @@ -1121,15 +943,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 @@ -1137,15 +955,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 @@ -1153,14 +967,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() { @@ -1170,8 +981,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 13; private volatile java.lang.Object etag_; /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -1180,7 +989,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 13; - * * @return The etag. */ @java.lang.Override @@ -1189,15 +997,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.
@@ -1206,15 +1013,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 { @@ -1223,24 +1031,24 @@ 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, + ""); } - - 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_; } @@ -1249,8 +1057,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. Annotations on the cluster.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1262,25 +1068,24 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1292,16 +1097,14 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1313,21 +1116,19 @@ 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 getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1339,15 +1140,15 @@ public 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(); } @@ -1357,16 +1158,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 @@ -1374,52 +1170,37 @@ 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() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { return getWorkloadIdentityConfig(); } public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 17; 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 @@ -1428,29 +1209,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 { @@ -1461,16 +1242,11 @@ public com.google.protobuf.ByteString getClusterCaCertificateBytes() { public static final int FLEET_FIELD_NUMBER = 18; private com.google.cloud.gkemulticloud.v1.Fleet fleet_; /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the fleet field is set. */ @java.lang.Override @@ -1478,16 +1254,11 @@ public boolean hasFleet() { return fleet_ != null; } /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; * @return The fleet. */ @java.lang.Override @@ -1495,15 +1266,11 @@ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { @@ -1513,16 +1280,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 @@ -1530,34 +1292,23 @@ 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() { @@ -1565,7 +1316,6 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfig } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1577,7 +1327,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_); } @@ -1593,8 +1344,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_)) { @@ -1615,8 +1365,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()); } @@ -1648,17 +1402,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_); @@ -1667,42 +1423,48 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1712,55 +1474,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1798,7 +1576,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(); @@ -1832,147 +1611,140 @@ 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() @@ -1980,15 +1752,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2063,9 +1836,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 @@ -2084,8 +1857,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.description_ = description_; @@ -2146,39 +1918,38 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster buildPartial() { 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; @@ -2232,7 +2003,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsCluster other) { etag_ = other.etag_; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); if (other.hasWorkloadIdentityConfig()) { mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig()); } @@ -2274,13 +2046,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2290,13 +2059,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; @@ -2305,8 +2074,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2316,14 +2083,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 { @@ -2331,8 +2099,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2342,22 +2108,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2367,18 +2131,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2388,16 +2149,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2405,21 +2166,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; @@ -2428,22 +2187,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 { @@ -2451,64 +2209,57 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); 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]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2516,58 +2267,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 networkingBuilder_ != null || 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. */ 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) { @@ -2583,15 +2315,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) { @@ -2605,23 +2333,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 (networking_ != null) { networking_ = - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.newBuilder(networking_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.newBuilder(networking_).mergeFrom(value).buildPartial(); } else { networking_ = value; } @@ -2633,15 +2355,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() { if (networkingBuilder_ == null) { @@ -2655,65 +2373,48 @@ 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() { - + onChanged(); 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_; @@ -2721,8 +2422,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder getNetwork private java.lang.Object awsRegion_ = ""; /** - * - * *
      * Required. The AWS region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -2732,13 +2431,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; @@ -2747,8 +2446,6 @@ public java.lang.String getAwsRegion() { } } /** - * - * *
      * Required. The AWS region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -2758,14 +2455,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 { @@ -2773,8 +2471,6 @@ public com.google.protobuf.ByteString getAwsRegionBytes() { } } /** - * - * *
      * Required. The AWS region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -2784,22 +2480,20 @@ 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) { + public Builder setAwsRegion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + awsRegion_ = value; onChanged(); return this; } /** - * - * *
      * Required. The AWS region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -2809,18 +2503,15 @@ public Builder setAwsRegion(java.lang.String value) {
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAwsRegion() { - + awsRegion_ = getDefaultInstance().getAwsRegion(); onChanged(); return this; } /** - * - * *
      * Required. The AWS region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -2830,16 +2521,16 @@ 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) { + public Builder setAwsRegionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + awsRegion_ = value; onChanged(); return this; @@ -2847,58 +2538,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 controlPlaneBuilder_ != null || 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. */ 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) { @@ -2914,15 +2586,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) { @@ -2936,23 +2604,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 (controlPlane_ != null) { controlPlane_ = - com.google.cloud.gkemulticloud.v1.AwsControlPlane.newBuilder(controlPlane_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsControlPlane.newBuilder(controlPlane_).mergeFrom(value).buildPartial(); } else { controlPlane_ = value; } @@ -2964,15 +2626,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() { if (controlPlaneBuilder_ == null) { @@ -2986,64 +2644,48 @@ 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() { - + onChanged(); 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_; @@ -3051,58 +2693,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 authorizationBuilder_ != null || 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. */ 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) { @@ -3118,15 +2741,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) { @@ -3140,23 +2759,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 (authorization_ != null) { authorization_ = - com.google.cloud.gkemulticloud.v1.AwsAuthorization.newBuilder(authorization_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsAuthorization.newBuilder(authorization_).mergeFrom(value).buildPartial(); } else { authorization_ = value; } @@ -3168,15 +2781,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() { if (authorizationBuilder_ == null) { @@ -3190,64 +2799,48 @@ 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() { - + onChanged(); 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_; @@ -3255,75 +2848,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsCluster.State result = - com.google.cloud.gkemulticloud.v1.AwsCluster.State.valueOf(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.valueOf(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. */ @@ -3331,26 +2900,21 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AwsCluster.State value if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -3358,20 +2922,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; @@ -3380,21 +2942,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 { @@ -3402,61 +2963,54 @@ 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) { + public Builder setEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpoint_ = value; 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() { - + endpoint_ = getDefaultInstance().getEndpoint(); onChanged(); 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) { + public Builder setEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; onChanged(); return this; @@ -3464,20 +3018,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; @@ -3486,21 +3038,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 { @@ -3508,76 +3059,66 @@ 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) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); 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 @@ -3585,36 +3126,30 @@ 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. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); 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() { - + reconciling_ = false; onChanged(); return this; @@ -3622,58 +3157,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 createTimeBuilder_ != null || 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. */ 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) { @@ -3689,17 +3205,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(); onChanged(); @@ -3710,21 +3223,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3736,15 +3245,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() { if (createTimeBuilder_ == null) { @@ -3758,64 +3263,48 @@ 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() { - + onChanged(); 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_; @@ -3823,58 +3312,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -3890,17 +3360,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(); onChanged(); @@ -3911,21 +3378,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3937,15 +3400,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() { if (updateTimeBuilder_ == null) { @@ -3959,64 +3418,48 @@ 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() { - + onChanged(); 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_; @@ -4024,8 +3467,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4034,13 +3475,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; @@ -4049,8 +3490,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4059,14 +3498,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 { @@ -4074,8 +3514,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4084,22 +3522,20 @@ 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4108,18 +3544,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 13; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4128,39 +3561,37 @@ 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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); 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() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; 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(); @@ -4172,8 +3603,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4185,25 +3614,24 @@ 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4215,16 +3643,14 @@ 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4236,21 +3662,19 @@ 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 getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4262,15 +3686,15 @@ public 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(); } @@ -4278,12 +3702,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4295,24 +3718,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() { return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4324,23 +3748,21 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableAnnotations().getMutableMap().put(key, value); + internalGetMutableAnnotations().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4352,71 +3774,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); 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 workloadIdentityConfigBuilder_ != null || 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. */ 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(); @@ -4430,15 +3834,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) { @@ -4452,25 +3852,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 (workloadIdentityConfig_ != null) { workloadIdentityConfig_ = - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.newBuilder( - workloadIdentityConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.newBuilder(workloadIdentityConfig_).mergeFrom(value).buildPartial(); } else { workloadIdentityConfig_ = value; } @@ -4482,15 +3874,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() { if (workloadIdentityConfigBuilder_ == null) { @@ -4504,66 +3892,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() { + 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_; @@ -4571,20 +3941,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; @@ -4593,21 +3961,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 { @@ -4615,61 +3982,54 @@ 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) { + public Builder setClusterCaCertificate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterCaCertificate_ = value; 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() { - + clusterCaCertificate_ = getDefaultInstance().getClusterCaCertificate(); 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]; - * * @param value The bytes for clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { + public Builder setClusterCaCertificateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterCaCertificate_ = value; onChanged(); return this; @@ -4677,58 +4037,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_; /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the fleet field is set. */ public boolean hasFleet() { return fleetBuilder_ != null || fleet_ != null; } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { @@ -4744,17 +4085,14 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); onChanged(); @@ -4765,23 +4103,17 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderF return this; } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { if (fleet_ != null) { fleet_ = - com.google.cloud.gkemulticloud.v1.Fleet.newBuilder(fleet_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.Fleet.newBuilder(fleet_).mergeFrom(value).buildPartial(); } else { fleet_ = value; } @@ -4793,15 +4125,11 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearFleet() { if (fleetBuilder_ == null) { @@ -4815,64 +4143,48 @@ public Builder clearFleet() { return this; } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { - + onChanged(); return getFleetFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -4880,58 +4192,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 loggingConfigBuilder_ != null || 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. */ 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) { @@ -4947,15 +4240,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) { @@ -4969,23 +4258,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 (loggingConfig_ != null) { loggingConfig_ = - com.google.cloud.gkemulticloud.v1.LoggingConfig.newBuilder(loggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.LoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); } else { loggingConfig_ = value; } @@ -4997,15 +4280,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() { if (loggingConfigBuilder_ == null) { @@ -5019,71 +4298,55 @@ 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() { - + onChanged(); 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_; } - @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); } @@ -5093,12 +4356,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(); } @@ -5107,16 +4370,16 @@ 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 { - return new AwsCluster(input, extensionRegistry); - } - }; + 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 { + return new AwsCluster(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5131,4 +4394,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java index 8b9873f..517a893 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
  * Anthos clusters on AWS run on a single VPC. This includes control
@@ -29,16 +12,15 @@
  *
  * 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.EMPTY;
@@ -47,15 +29,16 @@ private AwsClusterNetworking() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AwsClusterNetworking();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AwsClusterNetworking(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,40 +58,37 @@ private AwsClusterNetworking(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              vpcId_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              podAddressCidrBlocks_.add(s);
-              break;
+            vpcId_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              serviceAddressCidrBlocks_.add(s);
-              break;
+            podAddressCidrBlocks_.add(s);
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            serviceAddressCidrBlocks_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,7 +96,8 @@ private AwsClusterNetworking(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         podAddressCidrBlocks_ = podAddressCidrBlocks_.getUnmodifiableView();
@@ -128,27 +109,22 @@ private AwsClusterNetworking(
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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.
@@ -156,7 +132,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 @@ -165,15 +140,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.
@@ -181,15 +155,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 { @@ -200,51 +175,40 @@ public com.google.protobuf.ByteString getVpcIdBytes() { public static final int POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList 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 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. */ @@ -252,75 +216,58 @@ 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; private com.google.protobuf.LazyStringList 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 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. */ @@ -328,27 +275,22 @@ 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; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -360,17 +302,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(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)); } unknownFields.writeTo(output); } @@ -408,18 +349,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; - - 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -447,104 +389,96 @@ public int hashCode() { } 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.
    * Anthos clusters on AWS run on a single VPC. This includes control
@@ -553,23 +487,21 @@ 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()
@@ -577,15 +509,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -599,9 +532,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_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
@@ -620,8 +553,7 @@ 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);
+      com.google.cloud.gkemulticloud.v1.AwsClusterNetworking result = new com.google.cloud.gkemulticloud.v1.AwsClusterNetworking(this);
       int from_bitField0_ = bitField0_;
       result.vpcId_ = vpcId_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -642,39 +574,38 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking buildPartial() {
     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;
@@ -682,8 +613,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_;
         onChanged();
@@ -727,8 +657,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -737,13 +666,10 @@ public Builder mergeFrom(
       }
       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.
@@ -751,13 +677,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; @@ -766,8 +692,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.
@@ -775,14 +699,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 { @@ -790,8 +715,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.
@@ -799,22 +722,20 @@ 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) { + public Builder setVpcId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vpcId_ = value; 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.
@@ -822,18 +743,15 @@ public Builder setVpcId(java.lang.String value) {
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearVpcId() { - + vpcId_ = getDefaultInstance().getVpcId(); 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.
@@ -841,76 +759,63 @@ 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) { + public Builder setVpcIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vpcId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList podAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePodAddressCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(podAddressCidrBlocks_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -918,105 +823,90 @@ 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) { + public Builder setPodAddressCidrBlocks( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePodAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.set(index, value); 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 podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addPodAddressCidrBlocks(java.lang.String value) { + public Builder addPodAddressCidrBlocks( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePodAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); 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 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_); 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() { @@ -1026,90 +916,70 @@ public Builder clearPodAddressCidrBlocks() { 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) { + public Builder addPodAddressCidrBlocksBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList serviceAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureServiceAddressCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - serviceAddressCidrBlocks_ = - new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); + serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -1117,110 +987,90 @@ 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) { + public Builder setServiceAddressCidrBlocks( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.set(index, value); 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 serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addServiceAddressCidrBlocks(java.lang.String value) { + public Builder addServiceAddressCidrBlocks( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); 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 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_); 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() { @@ -1230,34 +1080,30 @@ public Builder clearServiceAddressCidrBlocks() { 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) { + public Builder addServiceAddressCidrBlocksBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(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); } @@ -1267,12 +1113,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(); } @@ -1281,16 +1127,16 @@ 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 { - return new AwsClusterNetworking(input, extensionRegistry); - } - }; + 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 { + return new AwsClusterNetworking(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1305,4 +1151,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java index 42e4e2e..a6870ed 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
@@ -33,13 +15,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.
@@ -47,138 +26,106 @@ 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); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java index e1b42c4..4771d88 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * Cluster names are formatted as
@@ -35,13 +17,10 @@ public interface AwsClusterOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this resource.
    * Cluster names are formatted as
@@ -51,82 +30,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.
    * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -136,13 +94,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.
    * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -152,264 +107,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.
@@ -418,13 +298,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.
@@ -433,14 +310,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -452,13 +327,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -470,16 +342,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -491,13 +364,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -509,18 +380,15 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -532,157 +400,110 @@ 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(); /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the fleet field is set. */ boolean hasFleet(); /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; * @return The fleet. */ com.google.cloud.gkemulticloud.v1.Fleet getFleet(); /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; */ 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(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java index 48ce8d0..9b2d0d5 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsClusterUser( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AwsClusterUser( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - username_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + username_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private AwsClusterUser( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getUsernameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,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_); } @@ -199,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,127 +203,118 @@ 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() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,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 @@ -393,8 +362,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AwsClusterUser result = new com.google.cloud.gkemulticloud.v1.AwsClusterUser(this); result.username_ = username_; onBuilt(); return result; @@ -404,39 +372,38 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUser buildPartial() { 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; @@ -444,8 +411,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_; onChanged(); @@ -481,20 +447,18 @@ public Builder mergeFrom( 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; @@ -503,21 +467,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 { @@ -525,68 +488,61 @@ 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) { + public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; 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() { - + username_ = getDefaultInstance().getUsername(); onChanged(); 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) { + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = 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); } @@ -596,12 +552,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(); } @@ -610,16 +566,16 @@ 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 { - return new AwsClusterUser(input, extensionRegistry); - } - }; + 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 { + return new AwsClusterUser(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsClusterUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java similarity index 51% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java index 3393288..607d0f5 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java similarity index 69% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java index bfa3c77..f112396 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsConfigEncryption( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AwsConfigEncryption( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyArn_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + kmsKeyArn_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private AwsConfigEncryption( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getKmsKeyArnBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,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_); } @@ -199,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ 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() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,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 @@ -394,8 +362,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption result = new com.google.cloud.gkemulticloud.v1.AwsConfigEncryption(this); result.kmsKeyArn_ = kmsKeyArn_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption buildPartial() { 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; @@ -445,8 +411,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_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( 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; @@ -505,21 +467,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 { @@ -527,68 +488,61 @@ 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) { + public Builder setKmsKeyArn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyArn_ = value; 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() { - + kmsKeyArn_ = getDefaultInstance().getKmsKeyArn(); 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]; - * * @param value The bytes for kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArnBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyArnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyArn_ = 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); } @@ -598,12 +552,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(); } @@ -612,16 +566,16 @@ 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 { - return new AwsConfigEncryption(input, extensionRegistry); - } - }; + 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 { + return new AwsConfigEncryption(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java similarity index 52% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java index 1302181..c97c1de 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java similarity index 66% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java index addd87b..668f26d 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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_ = ""; @@ -47,15 +29,16 @@ private AwsControlPlane() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsControlPlane(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsControlPlane( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,201 +58,166 @@ private AwsControlPlane( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - instanceType_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - subnetIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - subnetIds_.add(s); - break; + instanceType_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + subnetIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - securityGroupIds_.add(s); - break; + subnetIds_.add(s); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + securityGroupIds_.add(s); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); - iamInstanceProfile_ = s; - break; + iamInstanceProfile_ = s; + break; + } + case 66: { + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; + if (rootVolume_ != null) { + subBuilder = rootVolume_.toBuilder(); } - case 66: - { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; - if (rootVolume_ != null) { - subBuilder = rootVolume_.toBuilder(); - } - rootVolume_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rootVolume_); - rootVolume_ = subBuilder.buildPartial(); - } - - break; + rootVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rootVolume_); + rootVolume_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; - if (mainVolume_ != null) { - subBuilder = mainVolume_.toBuilder(); - } - mainVolume_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mainVolume_); - mainVolume_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; + if (mainVolume_ != null) { + subBuilder = mainVolume_.toBuilder(); + } + mainVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mainVolume_); + mainVolume_ = subBuilder.buildPartial(); } - case 82: - { - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder subBuilder = null; - if (databaseEncryption_ != null) { - subBuilder = databaseEncryption_.toBuilder(); - } - databaseEncryption_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(databaseEncryption_); - databaseEncryption_ = subBuilder.buildPartial(); - } - break; + break; + } + case 82: { + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder subBuilder = null; + if (databaseEncryption_ != null) { + subBuilder = databaseEncryption_.toBuilder(); } - case 90: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - tags_ = - com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry tags__ = - input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - tags_.getMutableMap().put(tags__.getKey(), tags__.getValue()); - break; + databaseEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(databaseEncryption_); + databaseEncryption_ = subBuilder.buildPartial(); } - case 98: - { - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder subBuilder = null; - if (awsServicesAuthentication_ != null) { - subBuilder = awsServicesAuthentication_.toBuilder(); - } - awsServicesAuthentication_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(awsServicesAuthentication_); - awsServicesAuthentication_ = subBuilder.buildPartial(); - } - break; + break; + } + case 90: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + tags_ = com.google.protobuf.MapField.newMapField( + TagsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry + tags__ = input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + tags_.getMutableMap().put( + tags__.getKey(), tags__.getValue()); + break; + } + case 98: { + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder subBuilder = null; + if (awsServicesAuthentication_ != null) { + subBuilder = awsServicesAuthentication_.toBuilder(); + } + awsServicesAuthentication_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(awsServicesAuthentication_); + awsServicesAuthentication_ = subBuilder.buildPartial(); } - case 114: - { - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder subBuilder = null; - if (sshConfig_ != null) { - subBuilder = sshConfig_.toBuilder(); - } - sshConfig_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsSshConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sshConfig_); - sshConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 114: { + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder subBuilder = null; + if (sshConfig_ != null) { + subBuilder = sshConfig_.toBuilder(); + } + sshConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsSshConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sshConfig_); + sshConfig_ = subBuilder.buildPartial(); } - case 130: - { - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder subBuilder = null; - if (proxyConfig_ != null) { - subBuilder = proxyConfig_.toBuilder(); - } - proxyConfig_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(proxyConfig_); - proxyConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 130: { + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder subBuilder = null; + if (proxyConfig_ != null) { + subBuilder = proxyConfig_.toBuilder(); + } + proxyConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsProxyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(proxyConfig_); + proxyConfig_ = subBuilder.buildPartial(); } - case 138: - { - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder subBuilder = null; - if (configEncryption_ != null) { - subBuilder = configEncryption_.toBuilder(); - } - configEncryption_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(configEncryption_); - configEncryption_ = subBuilder.buildPartial(); - } - break; + break; + } + case 138: { + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder subBuilder = null; + if (configEncryption_ != null) { + subBuilder = configEncryption_.toBuilder(); + } + configEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(configEncryption_); + configEncryption_ = subBuilder.buildPartial(); } - case 146: - { - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder subBuilder = null; - if (instancePlacement_ != null) { - subBuilder = instancePlacement_.toBuilder(); - } - instancePlacement_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instancePlacement_); - instancePlacement_ = subBuilder.buildPartial(); - } - break; + break; + } + case 146: { + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder subBuilder = null; + if (instancePlacement_ != null) { + subBuilder = instancePlacement_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + instancePlacement_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instancePlacement_); + instancePlacement_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -277,7 +225,8 @@ private AwsControlPlane( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { subnetIds_ = subnetIds_.getUnmodifiableView(); @@ -289,38 +238,34 @@ private AwsControlPlane( makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object version_; /** - * - * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -330,7 +275,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ @java.lang.Override @@ -339,15 +283,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`).
@@ -357,15 +300,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 { @@ -376,15 +320,12 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object instanceType_; /** - * - * *
    * Optional. The AWS instance type.
    * When unspecified, it uses a default based on the cluster's version.
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The instanceType. */ @java.lang.Override @@ -393,30 +334,30 @@ 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.
    * When unspecified, it uses a default based on the cluster's version.
    * 
* * 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 { @@ -427,17 +368,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 @@ -445,36 +381,25 @@ 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() { @@ -484,8 +409,6 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui public static final int SUBNET_IDS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList 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
@@ -494,15 +417,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
@@ -511,15 +432,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
@@ -528,7 +446,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. */ @@ -536,8 +453,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
@@ -546,19 +461,17 @@ 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; private com.google.protobuf.LazyStringList securityGroupIds_; /** - * - * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -566,15 +479,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
@@ -582,15 +493,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
@@ -598,7 +506,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. */ @@ -606,8 +513,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
@@ -615,26 +520,23 @@ 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; 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 @@ -643,30 +545,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 { @@ -677,8 +579,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.
@@ -687,10 +587,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 @@ -698,8 +595,6 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -708,21 +603,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.
@@ -731,9 +619,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]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { @@ -743,8 +629,6 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum 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.
@@ -754,10 +638,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 @@ -765,8 +646,6 @@ public boolean hasMainVolume() { return mainVolume_ != null; } /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -776,21 +655,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.
@@ -800,9 +672,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]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolumeOrBuilder() { @@ -812,16 +682,11 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolum 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 @@ -829,59 +694,48 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { return getDatabaseEncryption(); } 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, - ""); - } - - private com.google.protobuf.MapField tags_; - - private com.google.protobuf.MapField internalGetTags() { + 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, + ""); + } + 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_; } @@ -890,8 +744,6 @@ public int getTagsCount() { return internalGetTags().getMap().size(); } /** - * - * *
    * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
    * resources.
@@ -902,22 +754,22 @@ 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.
@@ -929,12 +781,11 @@ public java.util.Map getTags() {
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
+
   public java.util.Map getTagsMap() {
     return internalGetTags().getMap();
   }
   /**
-   *
-   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
    * resources.
@@ -946,16 +797,16 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetTags().getMap();
+
+  public java.lang.String getTagsOrDefault(
+      java.lang.String key,
+      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.
@@ -967,11 +818,12 @@ public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String
    * 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();
     }
@@ -981,16 +833,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 @@ -998,55 +845,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() { + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder getAwsServicesAuthenticationOrBuilder() { return getAwsServicesAuthentication(); } 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 @@ -1054,34 +883,23 @@ 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() { @@ -1091,16 +909,11 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigO 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 @@ -1108,55 +921,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() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { return getConfigEncryption(); } 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 @@ -1164,45 +960,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() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder() { return getInstancePlacement(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1214,7 +997,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_); } @@ -1239,8 +1023,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()); } @@ -1291,40 +1079,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1334,52 +1128,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1448,146 +1254,139 @@ 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() @@ -1595,15 +1394,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1670,9 +1470,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 @@ -1691,8 +1491,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AwsControlPlane result = new com.google.cloud.gkemulticloud.v1.AwsControlPlane(this); int from_bitField0_ = bitField0_; result.version_ = version_; result.instanceType_ = instanceType_; @@ -1757,39 +1556,38 @@ public com.google.cloud.gkemulticloud.v1.AwsControlPlane buildPartial() { 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; @@ -1797,8 +1595,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_; onChanged(); @@ -1843,7 +1640,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()); if (other.hasAwsServicesAuthentication()) { mergeAwsServicesAuthentication(other.getAwsServicesAuthentication()); } @@ -1875,8 +1673,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AwsControlPlane) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsControlPlane) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1885,13 +1682,10 @@ public Builder mergeFrom( } 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`).
@@ -1901,13 +1695,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; @@ -1916,8 +1710,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1927,14 +1719,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 { @@ -1942,8 +1735,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1953,22 +1744,20 @@ 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) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1978,18 +1767,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1999,16 +1785,16 @@ 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) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -2016,21 +1802,19 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceType_ = ""; /** - * - * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the cluster's version.
      * 
* * 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; @@ -2039,22 +1823,21 @@ public java.lang.String getInstanceType() { } } /** - * - * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the cluster's version.
      * 
* * 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 { @@ -2062,64 +1845,57 @@ public com.google.protobuf.ByteString getInstanceTypeBytes() { } } /** - * - * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the cluster's version.
      * 
* * 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) { + public Builder setInstanceType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceType_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the cluster's version.
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearInstanceType() { - + instanceType_ = getDefaultInstance().getInstanceType(); onChanged(); return this; } /** - * - * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the cluster's version.
      * 
* * 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) { + public Builder setInstanceTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceType_ = value; onChanged(); return this; @@ -2127,61 +1903,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 sshConfigBuilder_ != null || 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. */ 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) { @@ -2197,16 +1954,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) { @@ -2220,24 +1973,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 (sshConfig_ != null) { sshConfig_ = - com.google.cloud.gkemulticloud.v1.AwsSshConfig.newBuilder(sshConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsSshConfig.newBuilder(sshConfig_).mergeFrom(value).buildPartial(); } else { sshConfig_ = value; } @@ -2249,16 +1996,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() { if (sshConfigBuilder_ == null) { @@ -2272,84 +2015,64 @@ 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() { - + onChanged(); 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_; } - private com.google.protobuf.LazyStringList subnetIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList subnetIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSubnetIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { subnetIds_ = new com.google.protobuf.LazyStringArrayList(subnetIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2358,15 +2081,13 @@ 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() { return subnetIds_.getUnmodifiableView(); } /** - * - * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2375,15 +2096,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
@@ -2392,7 +2110,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. */ @@ -2400,8 +2117,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
@@ -2410,16 +2125,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
@@ -2428,23 +2141,21 @@ 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) { + public Builder setSubnetIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubnetIdsIsMutable(); + throw new NullPointerException(); + } + ensureSubnetIdsIsMutable(); subnetIds_.set(index, value); 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
@@ -2453,22 +2164,20 @@ 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) { + public Builder addSubnetIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubnetIdsIsMutable(); + throw new NullPointerException(); + } + ensureSubnetIdsIsMutable(); subnetIds_.add(value); 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
@@ -2477,19 +2186,18 @@ 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_); 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
@@ -2498,7 +2206,6 @@ 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() { @@ -2508,8 +2215,6 @@ public Builder clearSubnetIds() { 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
@@ -2518,76 +2223,63 @@ 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) { + public Builder addSubnetIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSubnetIdsIsMutable(); subnetIds_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList securityGroupIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSecurityGroupIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(securityGroupIds_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * 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() { return securityGroupIds_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -2595,105 +2287,90 @@ 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) { + public Builder setSecurityGroupIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSecurityGroupIdsIsMutable(); + throw new NullPointerException(); + } + ensureSecurityGroupIdsIsMutable(); securityGroupIds_.set(index, value); 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 securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIds(java.lang.String value) { + public Builder addSecurityGroupIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSecurityGroupIdsIsMutable(); + throw new NullPointerException(); + } + ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); 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 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_); 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() { @@ -2703,25 +2380,22 @@ public Builder clearSecurityGroupIds() { 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) { + public Builder addSecurityGroupIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); onChanged(); @@ -2730,21 +2404,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; @@ -2753,22 +2425,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 { @@ -2776,64 +2447,57 @@ 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) { + public Builder setIamInstanceProfile( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + iamInstanceProfile_ = value; 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() { - + iamInstanceProfile_ = getDefaultInstance().getIamInstanceProfile(); 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]; - * * @param value The bytes for iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value) { + public Builder setIamInstanceProfileBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + iamInstanceProfile_ = value; onChanged(); return this; @@ -2841,13 +2505,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.
@@ -2856,18 +2515,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 rootVolumeBuilder_ != null || rootVolume_ != null; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2876,24 +2530,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.
@@ -2902,9 +2549,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) { @@ -2920,8 +2565,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.
@@ -2930,9 +2573,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) { @@ -2946,8 +2587,6 @@ public Builder setRootVolume( return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2956,17 +2595,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 (rootVolume_ != null) { rootVolume_ = - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(rootVolume_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(rootVolume_).mergeFrom(value).buildPartial(); } else { rootVolume_ = value; } @@ -2978,8 +2613,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.
@@ -2988,9 +2621,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() { if (rootVolumeBuilder_ == null) { @@ -3004,8 +2635,6 @@ public Builder clearRootVolume() { return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -3014,18 +2643,14 @@ 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() { - + onChanged(); return getRootVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -3034,22 +2659,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.
@@ -3058,22 +2678,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_; @@ -3081,13 +2696,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.
@@ -3097,18 +2707,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 mainVolumeBuilder_ != null || mainVolume_ != null; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3118,24 +2723,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.
@@ -3145,9 +2743,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) { @@ -3163,8 +2759,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.
@@ -3174,9 +2768,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) { @@ -3190,8 +2782,6 @@ public Builder setMainVolume( return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3201,17 +2791,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 (mainVolume_ != null) { mainVolume_ = - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(mainVolume_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(mainVolume_).mergeFrom(value).buildPartial(); } else { mainVolume_ = value; } @@ -3223,8 +2809,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.
@@ -3234,9 +2818,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() { if (mainVolumeBuilder_ == null) { @@ -3250,8 +2832,6 @@ public Builder clearMainVolume() { return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3261,18 +2841,14 @@ 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() { - + onChanged(); return getMainVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3282,22 +2858,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.
@@ -3307,22 +2878,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_; @@ -3330,61 +2896,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 databaseEncryptionBuilder_ != null || 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. */ 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(); @@ -3398,15 +2944,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) { @@ -3420,25 +2962,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 (databaseEncryption_ != null) { databaseEncryption_ = - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.newBuilder( - databaseEncryption_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.newBuilder(databaseEncryption_).mergeFrom(value).buildPartial(); } else { databaseEncryption_ = value; } @@ -3450,15 +2984,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() { if (databaseEncryptionBuilder_ == null) { @@ -3472,86 +3002,69 @@ 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() { + 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() { - onChanged(); - ; + internalGetMutableTags() { + onChanged();; 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(); @@ -3563,8 +3076,6 @@ public int getTagsCount() { return internalGetTags().getMap().size(); } /** - * - * *
      * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
      * resources.
@@ -3575,22 +3086,22 @@ 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.
@@ -3602,12 +3113,11 @@ public java.util.Map getTags() {
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
+
     public java.util.Map getTagsMap() {
       return internalGetTags().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
      * resources.
@@ -3619,16 +3129,16 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetTags().getMap();
+
+    public java.lang.String getTagsOrDefault(
+        java.lang.String key,
+        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.
@@ -3640,11 +3150,12 @@ public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String
      * 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();
       }
@@ -3652,12 +3163,11 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
     }
 
     public Builder clearTags() {
-      internalGetMutableTags().getMutableMap().clear();
+      internalGetMutableTags().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
      * resources.
@@ -3668,21 +3178,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() {
       return internalGetMutableTags().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
      * resources.
@@ -3693,20 +3205,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableTags().getMutableMap().put(key, value);
+      internalGetMutableTags().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
      * resources.
@@ -3717,69 +3228,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);
       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 awsServicesAuthenticationBuilder_ != null || 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. */ - 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(); @@ -3793,15 +3286,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) { @@ -3815,25 +3304,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 (awsServicesAuthentication_ != null) { awsServicesAuthentication_ = - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.newBuilder( - awsServicesAuthentication_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.newBuilder(awsServicesAuthentication_).mergeFrom(value).buildPartial(); } else { awsServicesAuthentication_ = value; } @@ -3845,15 +3326,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() { if (awsServicesAuthenticationBuilder_ == null) { @@ -3867,66 +3344,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() { + 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_; @@ -3934,58 +3393,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 proxyConfigBuilder_ != null || 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. */ 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) { @@ -4001,15 +3441,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) { @@ -4023,23 +3459,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 (proxyConfig_ != null) { proxyConfig_ = - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.newBuilder(proxyConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.newBuilder(proxyConfig_).mergeFrom(value).buildPartial(); } else { proxyConfig_ = value; } @@ -4051,15 +3481,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() { if (proxyConfigBuilder_ == null) { @@ -4073,64 +3499,48 @@ 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() { - + onChanged(); 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_; @@ -4138,61 +3548,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 configEncryptionBuilder_ != null || 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. */ 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(); @@ -4206,15 +3596,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) { @@ -4228,24 +3614,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 (configEncryption_ != null) { configEncryption_ = - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.newBuilder(configEncryption_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.newBuilder(configEncryption_).mergeFrom(value).buildPartial(); } else { configEncryption_ = value; } @@ -4257,15 +3636,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() { if (configEncryptionBuilder_ == null) { @@ -4279,66 +3654,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() { + 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_; @@ -4346,64 +3703,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 instancePlacementBuilder_ != null || 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. */ 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(); @@ -4417,16 +3754,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) { @@ -4440,25 +3773,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 (instancePlacement_ != null) { instancePlacement_ = - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.newBuilder(instancePlacement_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.newBuilder(instancePlacement_).mergeFrom(value).buildPartial(); } else { instancePlacement_ = value; } @@ -4470,16 +3796,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() { if (instancePlacementBuilder_ == null) { @@ -4493,76 +3815,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() { + 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); } @@ -4572,12 +3876,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(); } @@ -4586,16 +3890,16 @@ 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 { - return new AwsControlPlane(input, extensionRegistry); - } - }; + 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 { + return new AwsControlPlane(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4610,4 +3914,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsControlPlane getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java similarity index 73% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java index 491a896..5a267cd 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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`).
@@ -35,13 +17,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`).
@@ -51,85 +30,64 @@ 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.
    * When unspecified, it uses a default based on the cluster's version.
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The instanceType. */ java.lang.String getInstanceType(); /** - * - * *
    * Optional. The AWS instance type.
    * When unspecified, it uses a default based on the cluster's version.
    * 
* * 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
@@ -138,13 +96,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
@@ -153,13 +109,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
@@ -168,14 +121,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
@@ -184,15 +134,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
@@ -200,13 +148,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
@@ -214,13 +160,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
@@ -228,14 +171,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
@@ -243,42 +183,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.
@@ -287,16 +220,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.
@@ -305,16 +233,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.
@@ -323,15 +246,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.
@@ -341,16 +260,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.
@@ -360,16 +274,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.
@@ -379,56 +288,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.
@@ -441,8 +332,6 @@ public interface AwsControlPlaneOrBuilder
    */
   int getTagsCount();
   /**
-   *
-   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
    * resources.
@@ -453,13 +342,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.
@@ -470,10 +361,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.
@@ -486,13 +376,11 @@ public interface AwsControlPlaneOrBuilder
    */
 
   /* 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.
@@ -503,173 +391,118 @@ 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java similarity index 69% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java index 9a7020a..125f636 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsDatabaseEncryption( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AwsDatabaseEncryption( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyArn_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + kmsKeyArn_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private AwsDatabaseEncryption( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getKmsKeyArnBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,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_); } @@ -199,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ 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() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,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 @@ -394,8 +362,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption result = new com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption(this); result.kmsKeyArn_ = kmsKeyArn_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption buildPartial() { 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; @@ -445,8 +411,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_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( 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; @@ -505,21 +467,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 { @@ -527,68 +488,61 @@ 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) { + public Builder setKmsKeyArn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyArn_ = value; 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() { - + kmsKeyArn_ = getDefaultInstance().getKmsKeyArn(); 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]; - * * @param value The bytes for kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArnBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyArnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyArn_ = 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); } @@ -598,12 +552,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(); } @@ -612,16 +566,16 @@ 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 { - return new AwsDatabaseEncryption(input, extensionRegistry); - } - }; + 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 { + return new AwsDatabaseEncryption(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java similarity index 52% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java index aa3ef04..e5f6536 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java similarity index 65% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java index d11d694..060eb0f 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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:
@@ -30,31 +13,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AwsInstancePlacement(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,20 +56,19 @@ private AwsInstancePlacement(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              tenancy_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            tenancy_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,41 +76,36 @@ private AwsInstancePlacement(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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.
      * 
@@ -137,8 +114,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ TENANCY_UNSPECIFIED(0), /** - * - * *
      * Use default VPC tenancy.
      * 
@@ -147,8 +122,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ DEFAULT(1), /** - * - * *
      * Run a dedicated instance.
      * 
@@ -157,8 +130,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ DEDICATED(2), /** - * - * *
      * Launch this instance to a dedicated host.
      * 
@@ -170,8 +141,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set.
      * 
@@ -180,8 +149,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TENANCY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use default VPC tenancy.
      * 
@@ -190,8 +157,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEFAULT_VALUE = 1; /** - * - * *
      * Run a dedicated instance.
      * 
@@ -200,8 +165,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEDICATED_VALUE = 2; /** - * - * *
      * Launch this instance to a dedicated host.
      * 
@@ -210,6 +173,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( @@ -234,53 +198,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; @@ -300,47 +261,31 @@ private Tenancy(int value) { public static final int TENANCY_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.valueOf(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.valueOf(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; @@ -352,10 +297,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_); } unknownFields.writeTo(output); @@ -367,10 +311,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -380,13 +323,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -408,104 +350,96 @@ 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:
@@ -515,23 +449,21 @@ 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()
@@ -539,15 +471,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -557,9 +490,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
@@ -578,8 +511,7 @@ 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);
+      com.google.cloud.gkemulticloud.v1.AwsInstancePlacement result = new com.google.cloud.gkemulticloud.v1.AwsInstancePlacement(this);
       result.tenancy_ = tenancy_;
       onBuilt();
       return result;
@@ -589,39 +521,38 @@ public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement buildPartial() {
     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;
@@ -629,8 +560,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());
       }
@@ -653,8 +583,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -666,110 +595,80 @@ public Builder mergeFrom(
 
     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. */ public Builder setTenancyValue(int value) { - + tenancy_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.valueOf(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.valueOf(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(); } - + tenancy_ = value.getNumber(); onChanged(); 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() { - + tenancy_ = 0; 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); } @@ -779,12 +678,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(); } @@ -793,16 +692,16 @@ 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 { - return new AwsInstancePlacement(input, extensionRegistry); - } - }; + 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 { + return new AwsInstancePlacement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -817,4 +716,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java new file mode 100644 index 0000000..fe2dbc6 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java index cf286e4..427def8 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsK8sVersionInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AwsK8sVersionInfo( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + version_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private AwsK8sVersionInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object version_; /** - * - * *
    * Kubernetes version name.
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,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_); } @@ -199,15 +176,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.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 (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,126 +204,117 @@ 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() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,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 @@ -393,8 +362,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo result = new com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo(this); result.version_ = version_; onBuilt(); return result; @@ -404,39 +372,38 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo buildPartial() { 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; @@ -444,8 +411,7 @@ 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_; onChanged(); @@ -469,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -482,20 +447,18 @@ public Builder mergeFrom( 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; @@ -504,21 +467,20 @@ 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 { @@ -526,68 +488,61 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Kubernetes version name.
      * 
* * string version = 1; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Kubernetes version name.
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); 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) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -597,12 +552,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(); } @@ -611,16 +566,16 @@ 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 { - return new AwsK8sVersionInfo(input, extensionRegistry); - } - }; + 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 { + return new AwsK8sVersionInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -635,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java new file mode 100644 index 0000000..6fc5077 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.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 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java similarity index 64% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java index 2538b4c..134f7bd 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); @@ -47,15 +29,16 @@ private AwsNodeConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsNodeConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsNodeConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,164 +58,140 @@ private AwsNodeConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - instanceType_ = s; - break; + instanceType_ = s; + break; + } + case 18: { + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; + if (rootVolume_ != null) { + subBuilder = rootVolume_.toBuilder(); + } + rootVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rootVolume_); + rootVolume_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; - if (rootVolume_ != null) { - subBuilder = rootVolume_.toBuilder(); - } - rootVolume_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rootVolume_); - rootVolume_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + taints_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + taints_.add( + input.readMessage(com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - taints_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - taints_.add( - input.readMessage( - com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry)); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + tags_ = com.google.protobuf.MapField.newMapField( + TagsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + tags__ = input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + tags_.getMutableMap().put( + tags__.getKey(), tags__.getValue()); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + iamInstanceProfile_ = s; + break; + } + case 74: { + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder subBuilder = null; + if (sshConfig_ != null) { + subBuilder = sshConfig_.toBuilder(); } - case 42: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - tags_ = - com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry tags__ = - input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - tags_.getMutableMap().put(tags__.getKey(), tags__.getValue()); - break; + sshConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsSshConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sshConfig_); + sshConfig_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - iamInstanceProfile_ = s; - break; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 74: - { - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder subBuilder = null; - if (sshConfig_ != null) { - subBuilder = sshConfig_.toBuilder(); - } - sshConfig_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsSshConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sshConfig_); - sshConfig_ = subBuilder.buildPartial(); - } + securityGroupIds_.add(s); + break; + } + case 90: { + java.lang.String s = input.readStringRequireUtf8(); - break; + imageType_ = s; + break; + } + case 98: { + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder subBuilder = null; + if (proxyConfig_ != null) { + subBuilder = proxyConfig_.toBuilder(); } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; - } - securityGroupIds_.add(s); - break; + proxyConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsProxyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(proxyConfig_); + proxyConfig_ = subBuilder.buildPartial(); } - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - imageType_ = s; - break; + break; + } + case 106: { + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder subBuilder = null; + if (configEncryption_ != null) { + subBuilder = configEncryption_.toBuilder(); } - case 98: - { - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder subBuilder = null; - if (proxyConfig_ != null) { - subBuilder = proxyConfig_.toBuilder(); - } - proxyConfig_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(proxyConfig_); - proxyConfig_ = subBuilder.buildPartial(); - } - - break; + configEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(configEncryption_); + configEncryption_ = subBuilder.buildPartial(); } - case 106: - { - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder subBuilder = null; - if (configEncryption_ != null) { - subBuilder = configEncryption_.toBuilder(); - } - configEncryption_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(configEncryption_); - configEncryption_ = subBuilder.buildPartial(); - } - break; + break; + } + case 114: { + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder subBuilder = null; + if (instancePlacement_ != null) { + subBuilder = instancePlacement_.toBuilder(); } - case 114: - { - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder subBuilder = null; - if (instancePlacement_ != null) { - subBuilder = instancePlacement_.toBuilder(); - } - instancePlacement_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instancePlacement_); - instancePlacement_ = subBuilder.buildPartial(); - } - - break; + instancePlacement_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instancePlacement_); + instancePlacement_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -240,7 +199,8 @@ private AwsNodeConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { taints_ = java.util.Collections.unmodifiableList(taints_); @@ -252,47 +212,42 @@ private AwsNodeConfig( makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object instanceType_; /** - * - * *
    * Optional. The AWS instance type.
    * When unspecified, it uses a default based on the node pool's version.
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The instanceType. */ @java.lang.Override @@ -301,30 +256,30 @@ 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.
    * When unspecified, it uses a default based on the node pool's version.
    * 
* * 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 { @@ -335,8 +290,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
@@ -344,10 +297,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 @@ -355,8 +305,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
@@ -364,21 +312,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
@@ -386,9 +327,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]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { @@ -398,100 +337,82 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum public static final int TAINTS_FIELD_NUMBER = 3; 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, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + 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, + ""); + } + 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_; } @@ -500,8 +421,6 @@ 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",
@@ -510,22 +429,22 @@ 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",
@@ -535,12 +454,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
+
   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",
@@ -550,16 +468,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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",
@@ -569,11 +487,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -581,23 +500,24 @@ 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,
-            "");
-  }
-
-  private com.google.protobuf.MapField tags_;
-
-  private com.google.protobuf.MapField internalGetTags() {
+    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,
+                "");
+  }
+  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_;
   }
@@ -606,8 +526,6 @@ 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 (.+-=_:@/).
@@ -617,22 +535,22 @@ 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 (.+-=_:@/).
@@ -643,12 +561,11 @@ public java.util.Map getTags() {
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
+
   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 (.+-=_:@/).
@@ -659,16 +576,16 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetTags().getMap();
+
+  public java.lang.String getTagsOrDefault(
+      java.lang.String key,
+      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 (.+-=_:@/).
@@ -679,11 +596,12 @@ public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String
    * 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();
     }
@@ -693,14 +611,11 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
   public static final int IAM_INSTANCE_PROFILE_FIELD_NUMBER = 6;
   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 @@ -709,29 +624,29 @@ 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 { @@ -742,8 +657,6 @@ public com.google.protobuf.ByteString getIamInstanceProfileBytes() { public static final int IMAGE_TYPE_FIELD_NUMBER = 11; 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
@@ -752,7 +665,6 @@ public com.google.protobuf.ByteString getIamInstanceProfileBytes() {
    * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The imageType. */ @java.lang.Override @@ -761,15 +673,14 @@ 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
@@ -778,15 +689,16 @@ 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 { @@ -797,16 +709,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 @@ -814,34 +721,23 @@ 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() { @@ -851,8 +747,6 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui public static final int SECURITY_GROUP_IDS_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList 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
@@ -860,15 +754,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 rules
@@ -876,15 +768,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 rules
@@ -892,7 +781,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. */ @@ -900,8 +788,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 rules
@@ -909,27 +795,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 @@ -937,34 +818,23 @@ 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() { @@ -974,16 +844,11 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigO 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 @@ -991,55 +856,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() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { return getConfigEncryption(); } 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 @@ -1047,45 +895,32 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder() { return getInstancePlacement(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1097,7 +932,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_); } @@ -1107,10 +943,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_); } @@ -1145,36 +989,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; @@ -1188,13 +1035,16 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1204,40 +1054,51 @@ 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1297,151 +1158,144 @@ 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() @@ -1449,17 +1303,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTaintsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1513,9 +1367,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 @@ -1534,8 +1388,7 @@ 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); int from_bitField0_ = bitField0_; result.instanceType_ = instanceType_; if (rootVolumeBuilder_ == null) { @@ -1591,39 +1444,38 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeConfig buildPartial() { 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; @@ -1631,8 +1483,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_; onChanged(); @@ -1658,17 +1509,18 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodeConfig other) taintsBuilder_ = null; taints_ = other.taints_; bitField0_ = (bitField0_ & ~0x00000001); - 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()); - internalGetMutableTags().mergeFrom(other.internalGetTags()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); + internalGetMutableTags().mergeFrom( + other.internalGetTags()); if (!other.getIamInstanceProfile().isEmpty()) { iamInstanceProfile_ = other.iamInstanceProfile_; onChanged(); @@ -1727,26 +1579,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object instanceType_ = ""; /** - * - * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the node pool's version.
      * 
* * 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; @@ -1755,22 +1604,21 @@ public java.lang.String getInstanceType() { } } /** - * - * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the node pool's version.
      * 
* * 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 { @@ -1778,64 +1626,57 @@ public com.google.protobuf.ByteString getInstanceTypeBytes() { } } /** - * - * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the node pool's version.
      * 
* * 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) { + public Builder setInstanceType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceType_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the node pool's version.
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearInstanceType() { - + instanceType_ = getDefaultInstance().getInstanceType(); onChanged(); return this; } /** - * - * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the node pool's version.
      * 
* * 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) { + public Builder setInstanceTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceType_ = value; onChanged(); return this; @@ -1843,13 +1684,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
@@ -1857,18 +1693,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 rootVolumeBuilder_ != null || rootVolume_ != null; } /** - * - * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1876,24 +1707,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
@@ -1901,9 +1725,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) { @@ -1919,8 +1741,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
@@ -1928,9 +1748,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) { @@ -1944,8 +1762,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
@@ -1953,17 +1769,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 (rootVolume_ != null) { rootVolume_ = - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(rootVolume_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(rootVolume_).mergeFrom(value).buildPartial(); } else { rootVolume_ = value; } @@ -1975,8 +1787,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
@@ -1984,9 +1794,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() { if (rootVolumeBuilder_ == null) { @@ -2000,8 +1808,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
@@ -2009,18 +1815,14 @@ 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() { - + onChanged(); return getRootVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -2028,22 +1830,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
@@ -2051,53 +1848,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_ & 0x00000001) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000001; - } + } } 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) { @@ -2107,15 +1891,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) { @@ -2125,15 +1905,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) { @@ -2143,17 +1919,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(); @@ -2167,15 +1940,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) { @@ -2189,15 +1958,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) { @@ -2213,17 +1978,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(); @@ -2237,17 +1999,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()); @@ -2258,15 +2017,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) { @@ -2280,21 +2035,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); @@ -2302,15 +2054,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) { @@ -2323,15 +2071,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) { @@ -2344,50 +2088,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 { @@ -2395,83 +2128,70 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -2483,8 +2203,6 @@ 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",
@@ -2493,22 +2211,22 @@ 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",
@@ -2518,12 +2236,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
+
     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",
@@ -2533,17 +2250,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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",
@@ -2553,11 +2269,12 @@ public 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();
       }
@@ -2565,12 +2282,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      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",
@@ -2579,21 +2295,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() {
       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",
@@ -2602,20 +2320,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       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",
@@ -2624,26 +2341,30 @@ 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);
       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() {
-      onChanged();
-      ;
+    internalGetMutableTags() {
+      onChanged();;
       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();
@@ -2655,8 +2376,6 @@ 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 (.+-=_:@/).
@@ -2666,22 +2385,22 @@ 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 (.+-=_:@/).
@@ -2692,12 +2411,11 @@ public java.util.Map getTags() {
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
+
     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 (.+-=_:@/).
@@ -2708,16 +2426,16 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetTags().getMap();
+
+    public java.lang.String getTagsOrDefault(
+        java.lang.String key,
+        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 (.+-=_:@/).
@@ -2728,11 +2446,12 @@ public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String
      * 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();
       }
@@ -2740,12 +2459,11 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
     }
 
     public Builder clearTags() {
-      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 (.+-=_:@/).
@@ -2755,21 +2473,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() {
       return internalGetMutableTags().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource. Specify at
      * most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/).
@@ -2779,20 +2499,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableTags().getMutableMap().put(key, value);
+      internalGetMutableTags().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource. Specify at
      * most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/).
@@ -2802,27 +2521,28 @@ 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);
       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; @@ -2831,21 +2551,20 @@ 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 { @@ -2853,61 +2572,54 @@ 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) { + public Builder setIamInstanceProfile( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + iamInstanceProfile_ = value; 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() { - + iamInstanceProfile_ = getDefaultInstance().getIamInstanceProfile(); 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]; - * * @param value The bytes for iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value) { + public Builder setIamInstanceProfileBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + iamInstanceProfile_ = value; onChanged(); return this; @@ -2915,8 +2627,6 @@ 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
@@ -2925,13 +2635,13 @@ public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value)
      * 
* * 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; @@ -2940,8 +2650,6 @@ 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
@@ -2950,14 +2658,15 @@ 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 { @@ -2965,8 +2674,6 @@ 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
@@ -2975,22 +2682,20 @@ public com.google.protobuf.ByteString getImageTypeBytes() {
      * 
* * 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) { + public Builder setImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; 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
@@ -2999,18 +2704,15 @@ public Builder setImageType(java.lang.String value) {
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); 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
@@ -3019,16 +2721,16 @@ 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) { + public Builder setImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; @@ -3036,58 +2738,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 sshConfigBuilder_ != null || 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. */ 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) { @@ -3103,15 +2786,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) { @@ -3125,23 +2804,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 (sshConfig_ != null) { sshConfig_ = - com.google.cloud.gkemulticloud.v1.AwsSshConfig.newBuilder(sshConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsSshConfig.newBuilder(sshConfig_).mergeFrom(value).buildPartial(); } else { sshConfig_ = value; } @@ -3153,15 +2826,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() { if (sshConfigBuilder_ == null) { @@ -3175,124 +2844,95 @@ 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() { - + onChanged(); 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_; } - private com.google.protobuf.LazyStringList securityGroupIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSecurityGroupIdsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(securityGroupIds_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * 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() { return securityGroupIds_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -3300,105 +2940,90 @@ 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) { + public Builder setSecurityGroupIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSecurityGroupIdsIsMutable(); + throw new NullPointerException(); + } + ensureSecurityGroupIdsIsMutable(); securityGroupIds_.set(index, value); 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 securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIds(java.lang.String value) { + public Builder addSecurityGroupIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSecurityGroupIdsIsMutable(); + throw new NullPointerException(); + } + ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); 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 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_); 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() { @@ -3408,25 +3033,22 @@ public Builder clearSecurityGroupIds() { 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) { + public Builder addSecurityGroupIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); onChanged(); @@ -3435,58 +3057,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 proxyConfigBuilder_ != null || 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. */ 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) { @@ -3502,15 +3105,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) { @@ -3524,23 +3123,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 (proxyConfig_ != null) { proxyConfig_ = - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.newBuilder(proxyConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.newBuilder(proxyConfig_).mergeFrom(value).buildPartial(); } else { proxyConfig_ = value; } @@ -3552,15 +3145,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() { if (proxyConfigBuilder_ == null) { @@ -3574,64 +3163,48 @@ 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() { - + onChanged(); 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_; @@ -3639,61 +3212,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 configEncryptionBuilder_ != null || 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. */ 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(); @@ -3707,15 +3260,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) { @@ -3729,24 +3278,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 (configEncryption_ != null) { configEncryption_ = - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.newBuilder(configEncryption_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.newBuilder(configEncryption_).mergeFrom(value).buildPartial(); } else { configEncryption_ = value; } @@ -3758,15 +3300,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() { if (configEncryptionBuilder_ == null) { @@ -3780,66 +3318,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() { + 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_; @@ -3847,64 +3367,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 instancePlacementBuilder_ != null || 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. */ 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(); @@ -3918,16 +3418,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) { @@ -3941,25 +3437,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 (instancePlacement_ != null) { instancePlacement_ = - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.newBuilder(instancePlacement_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.newBuilder(instancePlacement_).mergeFrom(value).buildPartial(); } else { instancePlacement_ = value; } @@ -3971,16 +3460,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() { if (instancePlacementBuilder_ == null) { @@ -3994,76 +3479,58 @@ 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() { + 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_; } - @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); } @@ -4073,12 +3540,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(); } @@ -4087,16 +3554,16 @@ 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 { - return new AwsNodeConfig(input, extensionRegistry); - } - }; + 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 { + return new AwsNodeConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4111,4 +3578,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java index 44f3a20..8750e97 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * When unspecified, it uses a default based on the node pool's version.
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The instanceType. */ java.lang.String getInstanceType(); /** - * - * *
    * Optional. The AWS instance type.
    * When unspecified, it uses a default based on the node pool's version.
    * 
* * 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
@@ -60,16 +37,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
@@ -77,16 +49,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
@@ -94,77 +61,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",
@@ -175,8 +120,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",
@@ -185,13 +128,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",
@@ -200,10 +145,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",
@@ -214,13 +158,11 @@ public interface AwsNodeConfigOrBuilder
    */
 
   /* 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",
@@ -229,11 +171,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 (.+-=_:@/).
@@ -245,8 +187,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 (.+-=_:@/).
@@ -256,13 +196,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 (.+-=_:@/).
@@ -272,10 +214,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 (.+-=_:@/).
@@ -287,13 +228,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* 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 (.+-=_:@/).
@@ -303,36 +242,31 @@ 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
@@ -341,13 +275,10 @@ java.lang.String getTagsOrDefault(
    * 
* * 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
@@ -356,55 +287,39 @@ java.lang.String getTagsOrDefault(
    * 
* * 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 rules
@@ -412,13 +327,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 rules
@@ -426,13 +339,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 rules
@@ -440,14 +350,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 rules
@@ -455,135 +362,93 @@ 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(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java similarity index 67% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java index 7ecc3a2..f379515 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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_ = ""; @@ -48,15 +30,16 @@ private AwsNodePool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsNodePool(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsNodePool( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,155 +59,132 @@ private AwsNodePool( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - subnetId_ = s; - break; - } - case 128: - { - int rawValue = input.readEnum(); + subnetId_ = s; + break; + } + case 128: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 138: - { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 138: { + java.lang.String s = input.readStringRequireUtf8(); - uid_ = s; - break; + uid_ = s; + break; + } + case 144: { + + reconciling_ = input.readBool(); + break; + } + case 154: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 144: - { - reconciling_ = input.readBool(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 154: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 162: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 162: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 170: - { - java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; + break; + } + case 170: { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + case 178: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + annotations_.getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + break; + } + case 202: { + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder subBuilder = null; + if (autoscaling_ != null) { + subBuilder = autoscaling_.toBuilder(); } - case 178: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = - com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); - break; + autoscaling_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(autoscaling_); + autoscaling_ = subBuilder.buildPartial(); + } + + break; + } + case 218: { + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder subBuilder = null; + if (maxPodsConstraint_ != null) { + subBuilder = maxPodsConstraint_.toBuilder(); } - case 202: - { - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder subBuilder = null; - if (autoscaling_ != null) { - subBuilder = autoscaling_.toBuilder(); - } - autoscaling_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(autoscaling_); - autoscaling_ = subBuilder.buildPartial(); - } - - break; + maxPodsConstraint_ = input.readMessage(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(maxPodsConstraint_); + maxPodsConstraint_ = subBuilder.buildPartial(); } - case 218: - { - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder subBuilder = null; - if (maxPodsConstraint_ != null) { - subBuilder = maxPodsConstraint_.toBuilder(); - } - maxPodsConstraint_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(maxPodsConstraint_); - maxPodsConstraint_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 226: { + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); } - case 226: - { - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); - } - config_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); - } - - break; + config_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsNodeConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -232,52 +192,48 @@ private AwsNodePool( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -286,8 +242,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -296,8 +250,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.
@@ -307,8 +259,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -317,8 +267,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RECONCILING(3), /** - * - * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -327,8 +275,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(4), /** - * - * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -338,8 +284,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.
@@ -352,8 +296,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -362,8 +304,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.
      * 
@@ -372,8 +312,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.
@@ -383,8 +321,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.
      * 
@@ -393,8 +329,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.
      * 
@@ -403,8 +337,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.
@@ -414,8 +346,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.
@@ -425,6 +355,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(
@@ -449,57 +380,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;
@@ -519,8 +446,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of this resource.
    * Node pool names are formatted as
@@ -530,7 +455,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -539,15 +463,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.
    * Node pool names are formatted as
@@ -557,15 +480,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 { @@ -576,8 +500,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object version_; /** - * - * *
    * Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).
    * You can list all supported versions on a given Google Cloud region by
@@ -586,7 +508,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ @java.lang.Override @@ -595,15 +516,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`).
    * You can list all supported versions on a given Google Cloud region by
@@ -612,15 +532,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 { @@ -631,16 +552,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 @@ -648,34 +564,23 @@ 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() { @@ -685,16 +590,11 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder getConfigOrBuild 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 @@ -702,52 +602,37 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { return getAutoscaling(); } public static final int SUBNET_ID_FIELD_NUMBER = 6; 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 @@ -756,29 +641,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 { @@ -789,56 +674,38 @@ public com.google.protobuf.ByteString getSubnetIdBytes() { public static final int STATE_FIELD_NUMBER = 16; private int 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 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() { + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePool.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = - com.google.cloud.gkemulticloud.v1.AwsNodePool.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.State.UNRECOGNIZED : result; } public static final int UID_FIELD_NUMBER = 17; 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 @@ -847,29 +714,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 { @@ -880,15 +747,12 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int RECONCILING_FIELD_NUMBER = 18; 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 @@ -899,15 +763,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 @@ -915,15 +775,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 @@ -931,14 +787,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() { @@ -948,15 +801,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 @@ -964,15 +813,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 @@ -980,14 +825,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() { @@ -997,8 +839,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 21; private volatile java.lang.Object etag_; /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -1007,7 +847,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 21; - * * @return The etag. */ @java.lang.Override @@ -1016,15 +855,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.
@@ -1033,15 +871,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 { @@ -1050,24 +889,24 @@ 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, - ""); - } - - private com.google.protobuf.MapField annotations_; - + 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, + ""); + } + 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_; } @@ -1076,8 +915,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. Annotations on the node pool.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1089,25 +926,24 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1119,16 +955,14 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1140,21 +974,19 @@ 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 getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1166,15 +998,15 @@ public 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(); } @@ -1184,17 +1016,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 @@ -1202,45 +1029,32 @@ 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() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder() { return getMaxPodsConstraint(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1252,7 +1066,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_); } @@ -1262,8 +1077,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_)) { @@ -1281,8 +1095,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()); } @@ -1310,43 +1128,49 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1356,41 +1180,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1422,7 +1257,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(); @@ -1446,147 +1282,140 @@ 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() @@ -1594,15 +1423,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1655,9 +1485,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 @@ -1676,8 +1506,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.version_ = version_; @@ -1721,39 +1550,38 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool buildPartial() { 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; @@ -1800,7 +1628,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodePool other) { etag_ = other.etag_; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); if (other.hasMaxPodsConstraint()) { mergeMaxPodsConstraint(other.getMaxPodsConstraint()); } @@ -1832,13 +1661,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1848,13 +1674,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; @@ -1863,8 +1689,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1874,14 +1698,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 { @@ -1889,8 +1714,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1900,22 +1723,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1925,18 +1746,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1946,16 +1764,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1963,8 +1781,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`).
      * You can list all supported versions on a given Google Cloud region by
@@ -1973,13 +1789,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; @@ -1988,8 +1804,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).
      * You can list all supported versions on a given Google Cloud region by
@@ -1998,14 +1812,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 { @@ -2013,8 +1828,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).
      * You can list all supported versions on a given Google Cloud region by
@@ -2023,22 +1836,20 @@ 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) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).
      * You can list all supported versions on a given Google Cloud region by
@@ -2047,18 +1858,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).
      * You can list all supported versions on a given Google Cloud region by
@@ -2067,16 +1875,16 @@ 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) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -2084,58 +1892,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 configBuilder_ != null || 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. */ 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) { @@ -2151,15 +1940,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) { @@ -2173,23 +1958,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 (config_ != null) { config_ = - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.newBuilder(config_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -2201,15 +1980,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() { if (configBuilder_ == null) { @@ -2223,64 +1998,48 @@ 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() { - + onChanged(); 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_; @@ -2288,58 +2047,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 autoscalingBuilder_ != null || 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. */ 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) { @@ -2355,15 +2095,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) { @@ -2377,24 +2113,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 (autoscaling_ != null) { autoscaling_ = - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.newBuilder(autoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); } else { autoscaling_ = value; } @@ -2406,15 +2135,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() { if (autoscalingBuilder_ == null) { @@ -2428,66 +2153,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() { + 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_; @@ -2495,20 +2202,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; @@ -2517,21 +2222,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 { @@ -2539,61 +2243,54 @@ 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) { + public Builder setSubnetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetId_ = value; 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() { - + subnetId_ = getDefaultInstance().getSubnetId(); onChanged(); 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) { + public Builder setSubnetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetId_ = value; onChanged(); return this; @@ -2601,75 +2298,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = - com.google.cloud.gkemulticloud.v1.AwsNodePool.State.valueOf(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.valueOf(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. */ @@ -2677,26 +2350,21 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AwsNodePool.State valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2704,20 +2372,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; @@ -2726,21 +2392,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 { @@ -2748,77 +2413,67 @@ 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) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); 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 @@ -2826,38 +2481,32 @@ 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. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); 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() { - + reconciling_ = false; onChanged(); return this; @@ -2865,58 +2514,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 createTimeBuilder_ != null || 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. */ 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) { @@ -2932,17 +2562,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(); onChanged(); @@ -2953,21 +2580,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2979,15 +2602,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() { if (createTimeBuilder_ == null) { @@ -3001,64 +2620,48 @@ 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() { - + onChanged(); 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_; @@ -3066,58 +2669,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -3133,17 +2717,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(); onChanged(); @@ -3154,21 +2735,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3180,15 +2757,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() { if (updateTimeBuilder_ == null) { @@ -3202,64 +2775,48 @@ 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() { - + onChanged(); 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_; @@ -3267,8 +2824,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3277,13 +2832,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; @@ -3292,8 +2847,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3302,14 +2855,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 { @@ -3317,8 +2871,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3327,22 +2879,20 @@ 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3351,18 +2901,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 21; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3371,39 +2918,37 @@ 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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); 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() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; 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(); @@ -3415,8 +2960,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3428,25 +2971,24 @@ 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3458,16 +3000,14 @@ 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3479,21 +3019,19 @@ 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 getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3505,15 +3043,15 @@ public 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(); } @@ -3521,12 +3059,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3538,24 +3075,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() { return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3567,23 +3105,21 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableAnnotations().getMutableMap().put(key, value); + internalGetMutableAnnotations().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3595,71 +3131,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); 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 maxPodsConstraintBuilder_ != null || 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. */ 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) { @@ -3675,16 +3194,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) { @@ -3698,25 +3213,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 (maxPodsConstraint_ != null) { maxPodsConstraint_ = - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_).mergeFrom(value).buildPartial(); } else { maxPodsConstraint_ = value; } @@ -3728,16 +3236,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() { if (maxPodsConstraintBuilder_ == null) { @@ -3751,76 +3255,58 @@ 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() { + 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_; } - @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); } @@ -3830,12 +3316,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(); } @@ -3844,16 +3330,16 @@ 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 { - return new AwsNodePool(input, extensionRegistry); - } - }; + 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 { + return new AwsNodePool(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3868,4 +3354,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java index 44b134f..dba4284 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,29 +11,30 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AwsNodePoolAutoscaling(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,23 +53,23 @@ private AwsNodePoolAutoscaling(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              minNodeCount_ = input.readInt32();
-              break;
-            }
-          case 16:
-            {
-              maxNodeCount_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 8: {
+
+            minNodeCount_ = input.readInt32();
+            break;
+          }
+          case 16: {
+
+            maxNodeCount_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,40 +77,35 @@ private AwsNodePoolAutoscaling(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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_;
   /**
-   *
-   *
    * 
    * 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 @@ -137,15 +116,12 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 2; 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 @@ -154,7 +130,6 @@ public int getMaxNodeCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,7 +141,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_); } @@ -183,10 +159,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -196,16 +174,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,104 +206,96 @@ 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.
@@ -332,23 +303,21 @@ 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()
@@ -356,15 +325,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -376,9 +346,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
@@ -397,8 +367,7 @@ 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);
+      com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling result = new com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling(this);
       result.minNodeCount_ = minNodeCount_;
       result.maxNodeCount_ = maxNodeCount_;
       onBuilt();
@@ -409,39 +378,38 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling buildPartial() {
     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;
@@ -449,8 +417,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());
       }
@@ -476,8 +443,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -487,17 +453,14 @@ public Builder mergeFrom(
       return this;
     }
 
-    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 @@ -505,54 +468,45 @@ 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. */ public Builder setMinNodeCount(int value) { - + minNodeCount_ = value; onChanged(); 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() { - + minNodeCount_ = 0; onChanged(); 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 @@ -560,45 +514,39 @@ 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. */ public Builder setMaxNodeCount(int value) { - + maxNodeCount_ = value; onChanged(); 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() { - + maxNodeCount_ = 0; 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); } @@ -608,12 +556,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(); } @@ -622,16 +570,16 @@ 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 { - return new AwsNodePoolAutoscaling(input, extensionRegistry); - } - }; + 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 { + return new AwsNodePoolAutoscaling(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,4 +594,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java similarity index 58% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java index 32e1844..21381e1 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java @@ -1,52 +1,30 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java similarity index 73% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java index 62443dc..adb71bb 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * Node pool names are formatted as
@@ -35,13 +17,10 @@ public interface AwsNodePoolOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this resource.
    * Node pool names are formatted as
@@ -51,14 +30,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`).
    * You can list all supported versions on a given Google Cloud region by
@@ -67,13 +44,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`).
    * You can list all supported versions on a given Google Cloud region by
@@ -82,265 +56,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.
@@ -349,13 +248,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.
@@ -364,14 +260,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -383,13 +277,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -401,16 +292,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -422,13 +314,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -440,18 +330,15 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -463,52 +350,39 @@ 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(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java index fe8e745..1919672 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private AwsProxyConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsProxyConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsProxyConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private AwsProxyConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - secretArn_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + secretArn_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - secretVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + secretVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,40 +80,35 @@ private AwsProxyConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object secretArn_; /** - * - * *
    * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
    * configuration.
    * 
* * string secret_arn = 1; - * * @return The secretArn. */ @java.lang.Override @@ -141,30 +117,30 @@ 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.
    * 
* * 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 { @@ -175,15 +151,12 @@ public com.google.protobuf.ByteString getSecretArnBytes() { public static final int SECRET_VERSION_FIELD_NUMBER = 2; 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 @@ -192,30 +165,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 { @@ -224,7 +197,6 @@ public com.google.protobuf.ByteString getSecretVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(secretArn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secretArn_); } @@ -266,16 +239,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -296,127 +270,118 @@ 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() @@ -424,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +410,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 @@ -465,8 +431,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AwsProxyConfig result = new com.google.cloud.gkemulticloud.v1.AwsProxyConfig(this); result.secretArn_ = secretArn_; result.secretVersion_ = secretVersion_; onBuilt(); @@ -477,39 +442,38 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig buildPartial() { 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; @@ -517,8 +481,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_; onChanged(); @@ -558,21 +521,19 @@ public Builder mergeFrom( private java.lang.Object secretArn_ = ""; /** - * - * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
      * 
* * 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; @@ -581,22 +542,21 @@ public java.lang.String getSecretArn() { } } /** - * - * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
      * 
* * 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 { @@ -604,64 +564,57 @@ public com.google.protobuf.ByteString getSecretArnBytes() { } } /** - * - * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
      * 
* * string secret_arn = 1; - * * @param value The secretArn to set. * @return This builder for chaining. */ - public Builder setSecretArn(java.lang.String value) { + public Builder setSecretArn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secretArn_ = value; onChanged(); return this; } /** - * - * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
      * 
* * string secret_arn = 1; - * * @return This builder for chaining. */ public Builder clearSecretArn() { - + secretArn_ = getDefaultInstance().getSecretArn(); onChanged(); return this; } /** - * - * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
      * 
* * 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) { + public Builder setSecretArnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretArn_ = value; onChanged(); return this; @@ -669,21 +622,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; @@ -692,22 +643,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 { @@ -715,71 +665,64 @@ 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) { + public Builder setSecretVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secretVersion_ = value; 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() { - + secretVersion_ = getDefaultInstance().getSecretVersion(); onChanged(); 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) { + public Builder setSecretVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretVersion_ = 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); } @@ -789,12 +732,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(); } @@ -803,16 +746,16 @@ 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 { - return new AwsProxyConfig(input, extensionRegistry); - } - }; + 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 { + return new AwsProxyConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,4 +770,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java similarity index 60% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java index 30d0d04..b8f757c 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java @@ -1,79 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * 
* * 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.
    * 
* * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java new file mode 100644 index 0000000..fa73a20 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java @@ -0,0 +1,434 @@ +// 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; + + 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\"\260\t\n\nAwsClu" + + "ster\022\014\n\004name\030\001 \001(\t\022\030\n\013description\030\002 \001(\tB" + + "\003\340A\001\022L\n\nnetworking\030\003 \001(\01323.google.cloud." + + "gkemulticloud.v1.AwsClusterNetworkingB\003\340" + + "A\002\022\027\n\naws_region\030\004 \001(\tB\003\340A\002\022J\n\rcontrol_p" + + "lane\030\005 \001(\0132..google.cloud.gkemulticloud." + + "v1.AwsControlPlaneB\003\340A\002\022K\n\rauthorization" + + "\030\017 \001(\0132/.google.cloud.gkemulticloud.v1.A" + + "wsAuthorizationB\003\340A\002\022C\n\005state\030\007 \001(\0162/.go" + + "ogle.cloud.gkemulticloud.v1.AwsCluster.S" + + "tateB\003\340A\003\022\025\n\010endpoint\030\010 \001(\tB\003\340A\003\022\020\n\003uid\030" + + "\t \001(\tB\003\340A\003\022\030\n\013reconciling\030\n \001(\010B\003\340A\003\0224\n\013" + + "create_time\030\013 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0224\n\013update_time\030\014 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\003\022\014\n\004etag\030\r \001(\t\022T" + + "\n\013annotations\030\016 \003(\0132:.google.cloud.gkemu" + + "lticloud.v1.AwsCluster.AnnotationsEntryB" + + "\003\340A\001\022\\\n\030workload_identity_config\030\020 \001(\01325" + + ".google.cloud.gkemulticloud.v1.WorkloadI" + + "dentityConfigB\003\340A\003\022#\n\026cluster_ca_certifi" + + "cate\030\021 \001(\tB\003\340A\003\0228\n\005fleet\030\022 \001(\0132$.google." + + "cloud.gkemulticloud.v1.FleetB\003\340A\001\022I\n\016log" + + "ging_config\030\023 \001(\0132,.google.cloud.gkemult" + + "icloud.v1.LoggingConfigB\003\340A\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}\"\250\007\n\017Aws" + + "ControlPlane\022\024\n\007version\030\001 \001(\tB\003\340A\002\022\032\n\rin" + + "stance_type\030\002 \001(\tB\003\340A\001\022D\n\nssh_config\030\016 \001" + + "(\0132+.google.cloud.gkemulticloud.v1.AwsSs" + + "hConfigB\003\340A\001\022\027\n\nsubnet_ids\030\004 \003(\tB\003\340A\002\022\037\n" + + "\022security_group_ids\030\005 \003(\tB\003\340A\001\022!\n\024iam_in" + + "stance_profile\030\007 \001(\tB\003\340A\002\022J\n\013root_volume" + + "\030\010 \001(\01320.google.cloud.gkemulticloud.v1.A" + + "wsVolumeTemplateB\003\340A\001\022J\n\013main_volume\030\t \001" + + "(\01320.google.cloud.gkemulticloud.v1.AwsVo" + + "lumeTemplateB\003\340A\001\022V\n\023database_encryption" + + "\030\n \001(\01324.google.cloud.gkemulticloud.v1.A" + + "wsDatabaseEncryptionB\003\340A\002\022K\n\004tags\030\013 \003(\0132" + + "8.google.cloud.gkemulticloud.v1.AwsContr" + + "olPlane.TagsEntryB\003\340A\001\022b\n\033aws_services_a" + + "uthentication\030\014 \001(\01328.google.cloud.gkemu" + + "lticloud.v1.AwsServicesAuthenticationB\003\340" + + "A\002\022H\n\014proxy_config\030\020 \001(\0132-.google.cloud." + + "gkemulticloud.v1.AwsProxyConfigB\003\340A\001\022R\n\021" + + "config_encryption\030\021 \001(\01322.google.cloud.g" + + "kemulticloud.v1.AwsConfigEncryptionB\003\340A\002" + + "\022T\n\022instance_placement\030\022 \001(\01323.google.cl" + + "oud.gkemulticloud.v1.AwsInstancePlacemen" + + "tB\003\340A\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001\"R\n\031AwsServicesAuthentication" + + "\022\025\n\010role_arn\030\001 \001(\tB\003\340A\002\022\036\n\021role_session_" + + "name\030\002 \001(\tB\003\340A\001\"[\n\020AwsAuthorization\022G\n\013a" + + "dmin_users\030\001 \003(\0132-.google.cloud.gkemulti" + + "cloud.v1.AwsClusterUserB\003\340A\002\"\'\n\016AwsClust" + + "erUser\022\025\n\010username\030\001 \001(\tB\003\340A\002\"1\n\025AwsData" + + "baseEncryption\022\030\n\013kms_key_arn\030\001 \001(\tB\003\340A\002" + + "\"\353\001\n\021AwsVolumeTemplate\022\025\n\010size_gib\030\001 \001(\005" + + "B\003\340A\001\022U\n\013volume_type\030\002 \001(\0162;.google.clou" + + "d.gkemulticloud.v1.AwsVolumeTemplate.Vol" + + "umeTypeB\003\340A\001\022\021\n\004iops\030\003 \001(\005B\003\340A\001\022\030\n\013kms_k" + + "ey_arn\030\004 \001(\tB\003\340A\001\";\n\nVolumeType\022\033\n\027VOLUM" + + "E_TYPE_UNSPECIFIED\020\000\022\007\n\003GP2\020\001\022\007\n\003GP3\020\002\"{" + + "\n\024AwsClusterNetworking\022\023\n\006vpc_id\030\001 \001(\tB\003" + + "\340A\002\022$\n\027pod_address_cidr_blocks\030\002 \003(\tB\003\340A" + + "\002\022(\n\033service_address_cidr_blocks\030\003 \003(\tB\003" + + "\340A\002\"\260\007\n\013AwsNodePool\022\014\n\004name\030\001 \001(\t\022\024\n\007ver" + + "sion\030\003 \001(\tB\003\340A\002\022A\n\006config\030\034 \001(\0132,.google" + + ".cloud.gkemulticloud.v1.AwsNodeConfigB\003\340" + + "A\002\022O\n\013autoscaling\030\031 \001(\01325.google.cloud.g" + + "kemulticloud.v1.AwsNodePoolAutoscalingB\003" + + "\340A\002\022\026\n\tsubnet_id\030\006 \001(\tB\003\340A\002\022D\n\005state\030\020 \001" + + "(\01620.google.cloud.gkemulticloud.v1.AwsNo" + + "dePool.StateB\003\340A\003\022\020\n\003uid\030\021 \001(\tB\003\340A\003\022\030\n\013r" + + "econciling\030\022 \001(\010B\003\340A\003\0224\n\013create_time\030\023 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" + + "pdate_time\030\024 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022\014\n\004etag\030\025 \001(\t\022U\n\013annotations\030\026" + + " \003(\0132;.google.cloud.gkemulticloud.v1.Aws" + + "NodePool.AnnotationsEntryB\003\340A\001\022R\n\023max_po" + + "ds_constraint\030\033 \001(\01320.google.cloud.gkemu" + + "lticloud.v1.MaxPodsConstraintB\003\340A\002\0322\n\020An" + + "notationsEntry\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\013RECONCI" + + "LING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRA" + + "DED\020\006:\216\001\352A\212\001\n(gkemulticloud.googleapis.c" + + "om/AwsNodePool\022^projects/{project}/locat" + + "ions/{location}/awsClusters/{aws_cluster" + + "}/awsNodePools/{aws_node_pool}\"\303\006\n\rAwsNo" + + "deConfig\022\032\n\rinstance_type\030\001 \001(\tB\003\340A\001\022J\n\013" + + "root_volume\030\002 \001(\01320.google.cloud.gkemult" + + "icloud.v1.AwsVolumeTemplateB\003\340A\001\022=\n\006tain" + + "ts\030\003 \003(\0132(.google.cloud.gkemulticloud.v1" + + ".NodeTaintB\003\340A\001\022M\n\006labels\030\004 \003(\01328.google" + + ".cloud.gkemulticloud.v1.AwsNodeConfig.La" + + "belsEntryB\003\340A\001\022I\n\004tags\030\005 \003(\01326.google.cl" + + "oud.gkemulticloud.v1.AwsNodeConfig.TagsE" + + "ntryB\003\340A\001\022!\n\024iam_instance_profile\030\006 \001(\tB" + + "\003\340A\002\022\027\n\nimage_type\030\013 \001(\tB\003\340A\001\022D\n\nssh_con" + + "fig\030\t \001(\0132+.google.cloud.gkemulticloud.v" + + "1.AwsSshConfigB\003\340A\001\022\037\n\022security_group_id" + + "s\030\n \003(\tB\003\340A\001\022H\n\014proxy_config\030\014 \001(\0132-.goo" + + "gle.cloud.gkemulticloud.v1.AwsProxyConfi" + + "gB\003\340A\001\022R\n\021config_encryption\030\r \001(\01322.goog" + + "le.cloud.gkemulticloud.v1.AwsConfigEncry" + + "ptionB\003\340A\002\022T\n\022instance_placement\030\016 \001(\01323" + + ".google.cloud.gkemulticloud.v1.AwsInstan" + + "cePlacementB\003\340A\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\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"R\n\026AwsNodeP" + + "oolAutoscaling\022\033\n\016min_node_count\030\001 \001(\005B\003" + + "\340A\002\022\033\n\016max_node_count\030\002 \001(\005B\003\340A\002\"\364\001\n\017Aws" + + "ServerConfig\022\014\n\004name\030\001 \001(\t\022H\n\016valid_vers" + + "ions\030\002 \003(\01320.google.cloud.gkemulticloud." + + "v1.AwsK8sVersionInfo\022\035\n\025supported_aws_re" + + "gions\030\003 \003(\t:j\352Ag\n,gkemulticloud.googleap" + + "is.com/AwsServerConfig\0227projects/{projec" + + "t}/locations/{location}/awsServerConfig\"" + + "$\n\021AwsK8sVersionInfo\022\017\n\007version\030\001 \001(\t\")\n" + + "\014AwsSshConfig\022\031\n\014ec2_key_pair\030\001 \001(\tB\003\340A\002" + + "\"<\n\016AwsProxyConfig\022\022\n\nsecret_arn\030\001 \001(\t\022\026" + + "\n\016secret_version\030\002 \001(\t\"/\n\023AwsConfigEncry" + + "ption\022\030\n\013kms_key_arn\030\001 \001(\tB\003\340A\002\"\263\001\n\024AwsI" + + "nstancePlacement\022Q\n\007tenancy\030\001 \001(\0162;.goog" + + "le.cloud.gkemulticloud.v1.AwsInstancePla" + + "cement.TenancyB\003\340A\002\"H\n\007Tenancy\022\027\n\023TENANC" + + "Y_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\r\n\tDEDICATE" + + "D\020\002\022\010\n\004HOST\020\003B\347\001\n!com.google.cloud.gkemu" + + "lticloud.v1B\021AwsResourcesProtoP\001ZJgoogle" + + ".golang.org/genproto/googleapis/cloud/gk" + + "emulticloud/v1;gkemulticloud\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.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", }); + 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", }); + 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", }); + 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", }); + 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java similarity index 75% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java index ac826e4..9fde593 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); @@ -45,15 +27,16 @@ private AwsServerConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsServerConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsServerConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,43 +56,37 @@ private AwsServerConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - validVersions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - validVersions_.add( - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.parser(), - extensionRegistry)); - break; + name_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + validVersions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - supportedAwsRegions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - supportedAwsRegions_.add(s); - break; + validVersions_.add( + input.readMessage(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.parser(), extensionRegistry)); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + supportedAwsRegions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + supportedAwsRegions_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,7 +94,8 @@ private AwsServerConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { validVersions_ = java.util.Collections.unmodifiableList(validVersions_); @@ -129,33 +107,27 @@ private AwsServerConfig( makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * The resource name of the config.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -164,29 +136,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 { @@ -197,8 +169,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALID_VERSIONS_FIELD_NUMBER = 2; private java.util.List validVersions_; /** - * - * *
    * List of valid Kubernetes versions.
    * 
@@ -206,13 +176,10 @@ public com.google.protobuf.ByteString getNameBytes() { * 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.
    * 
@@ -220,13 +187,11 @@ public com.google.protobuf.ByteString getNameBytes() { * 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.
    * 
@@ -238,8 +203,6 @@ public int getValidVersionsCount() { return validVersions_.size(); } /** - * - * *
    * List of valid Kubernetes versions.
    * 
@@ -251,8 +214,6 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int return validVersions_.get(index); } /** - * - * *
    * List of valid Kubernetes versions.
    * 
@@ -268,42 +229,34 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVers public static final int SUPPORTED_AWS_REGIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList supportedAwsRegions_; /** - * - * *
    * 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. */ @@ -311,23 +264,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; @@ -339,7 +289,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_); } @@ -362,7 +313,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; @@ -380,17 +332,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,126 +372,117 @@ 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() @@ -545,17 +490,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getValidVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -573,9 +518,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_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 @@ -594,8 +539,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; if (validVersionsBuilder_ == null) { @@ -620,39 +564,38 @@ public com.google.cloud.gkemulticloud.v1.AwsServerConfig buildPartial() { 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; @@ -660,8 +603,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_; onChanged(); @@ -684,10 +626,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsServerConfig other validVersionsBuilder_ = null; validVersions_ = other.validVersions_; bitField0_ = (bitField0_ & ~0x00000001); - validVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValidVersionsFieldBuilder() - : null; + validVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValidVersionsFieldBuilder() : null; } else { validVersionsBuilder_.addAllMessages(other.validVersions_); } @@ -722,8 +663,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AwsServerConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsServerConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -732,25 +672,22 @@ public Builder mergeFrom( } 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; @@ -759,21 +696,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 { @@ -781,95 +717,79 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the config.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private java.util.List validVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - validVersions_ = - new java.util.ArrayList( - validVersions_); + validVersions_ = new java.util.ArrayList(validVersions_); bitField0_ |= 0x00000001; - } + } } 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.
      * 
* * 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 { @@ -877,8 +797,6 @@ private void ensureValidVersionsIsMutable() { } } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -893,8 +811,6 @@ public int getValidVersionsCount() { } } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -909,8 +825,6 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int } } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -932,8 +846,6 @@ public Builder setValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -952,8 +864,6 @@ public Builder setValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -974,8 +884,6 @@ public Builder addValidVersions(com.google.cloud.gkemulticloud.v1.AwsK8sVersionI return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -997,8 +905,6 @@ public Builder addValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1017,8 +923,6 @@ public Builder addValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1037,8 +941,6 @@ public Builder addValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1049,7 +951,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); @@ -1057,8 +960,6 @@ public Builder addAllValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1076,8 +977,6 @@ public Builder clearValidVersions() { return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1095,8 +994,6 @@ public Builder removeValidVersions(int index) { return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1108,8 +1005,6 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder getValidVersi return getValidVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1119,22 +1014,19 @@ 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.
      * 
* * 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 { @@ -1142,8 +1034,6 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVers } } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1151,12 +1041,10 @@ 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 valid Kubernetes versions.
      * 
@@ -1165,35 +1053,26 @@ 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 valid Kubernetes versions.
      * 
* * 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_ & 0x00000001) != 0), getParentForChildren(), @@ -1203,52 +1082,42 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder addValidVersi return validVersionsBuilder_; } - private com.google.protobuf.LazyStringList supportedAwsRegions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList supportedAwsRegions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSupportedAwsRegionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { supportedAwsRegions_ = new com.google.protobuf.LazyStringArrayList(supportedAwsRegions_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -1256,90 +1125,80 @@ 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) { + public Builder setSupportedAwsRegions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedAwsRegionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.set(index, value); onChanged(); 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) { + public Builder addSupportedAwsRegions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedAwsRegionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.add(value); onChanged(); 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_); onChanged(); return this; } /** - * - * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; - * * @return This builder for chaining. */ public Builder clearSupportedAwsRegions() { @@ -1349,30 +1208,28 @@ public Builder clearSupportedAwsRegions() { 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) { + public Builder addSupportedAwsRegionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.add(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); } @@ -1382,12 +1239,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(); } @@ -1396,16 +1253,16 @@ 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 { - return new AwsServerConfig(input, extensionRegistry); - } - }; + 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 { + return new AwsServerConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1420,4 +1277,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java index 8d6d04e..a90a230 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java @@ -1,66 +1,42 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ - java.util.List getValidVersionsList(); + java.util.List + getValidVersionsList(); /** - * - * *
    * List of valid Kubernetes versions.
    * 
@@ -69,8 +45,6 @@ public interface AwsServerConfigOrBuilder */ com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int index); /** - * - * *
    * List of valid Kubernetes versions.
    * 
@@ -79,75 +53,62 @@ public interface AwsServerConfigOrBuilder */ int getValidVersionsCount(); /** - * - * *
    * List of valid Kubernetes versions.
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ - java.util.List + java.util.List getValidVersionsOrBuilderList(); /** - * - * *
    * List of valid Kubernetes versions.
    * 
* * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java new file mode 100644 index 0000000..54c61b5 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java @@ -0,0 +1,364 @@ +// 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\"\323\001\n\027Creat" + + "eAwsClusterRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372" + + "A)\022\'gkemulticloud.googleapis.com/AwsClus" + + "ter\022C\n\013aws_cluster\030\002 \001(\0132).google.cloud." + + "gkemulticloud.v1.AwsClusterB\003\340A\002\022\033\n\016aws_" + + "cluster_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalidate_only\030\004" + + " \001(\010\"\253\001\n\027UpdateAwsClusterRequest\022C\n\013aws_" + + "cluster\030\001 \001(\0132).google.cloud.gkemulticlo" + + "ud.v1.AwsClusterB\003\340A\002\022\025\n\rvalidate_only\030\002" + + " \001(\010\0224\n\013update_mask\030\004 \001(\0132\032.google.proto" + + "buf.FieldMaskB\003\340A\002\"U\n\024GetAwsClusterReque" + + "st\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'gkemulticloud." + + "googleapis.com/AwsCluster\"\200\001\n\026ListAwsClu" + + "stersRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'gk" + + "emulticloud.googleapis.com/AwsCluster\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"s\n\027" + + "ListAwsClustersResponse\022?\n\014aws_clusters\030" + + "\001 \003(\0132).google.cloud.gkemulticloud.v1.Aw" + + "sCluster\022\027\n\017next_page_token\030\002 \001(\t\"\224\001\n\027De" + + "leteAwsClusterRequest\022=\n\004name\030\001 \001(\tB/\340A\002" + + "\372A)\n\'gkemulticloud.googleapis.com/AwsClu" + + "ster\022\025\n\rvalidate_only\030\002 \001(\010\022\025\n\rallow_mis" + + "sing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\332\001\n\030CreateAwsNo" + + "dePoolRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(g" + + "kemulticloud.googleapis.com/AwsNodePool\022" + + "F\n\raws_node_pool\030\002 \001(\0132*.google.cloud.gk" + + "emulticloud.v1.AwsNodePoolB\003\340A\002\022\035\n\020aws_n" + + "ode_pool_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalidate_only\030" + + "\004 \001(\010\"\257\001\n\030UpdateAwsNodePoolRequest\022F\n\raw" + + "s_node_pool\030\001 \001(\0132*.google.cloud.gkemult" + + "icloud.v1.AwsNodePoolB\003\340A\002\022\025\n\rvalidate_o" + + "nly\030\002 \001(\010\0224\n\013update_mask\030\003 \001(\0132\032.google." + + "protobuf.FieldMaskB\003\340A\002\"W\n\025GetAwsNodePoo" + + "lRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(gkemulti" + + "cloud.googleapis.com/AwsNodePool\"\202\001\n\027Lis" + + "tAwsNodePoolsRequest\022@\n\006parent\030\001 \001(\tB0\340A" + + "\002\372A*\022(gkemulticloud.googleapis.com/AwsNo" + + "dePool\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\"w\n\030ListAwsNodePoolsResponse\022B\n\016aws" + + "_node_pools\030\001 \003(\0132*.google.cloud.gkemult" + + "icloud.v1.AwsNodePool\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\226\001\n\030DeleteAwsNodePoolRequest\022>\n\004n" + + "ame\030\001 \001(\tB0\340A\002\372A*\n(gkemulticloud.googlea" + + "pis.com/AwsNodePool\022\025\n\rvalidate_only\030\002 \001" + + "(\010\022\025\n\rallow_missing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"" + + "_\n\031GetAwsServerConfigRequest\022B\n\004name\030\001 \001" + + "(\tB4\340A\002\372A.\n,gkemulticloud.googleapis.com" + + "/AwsServerConfig\"e\n\035GenerateAwsAccessTok" + + "enRequest\022D\n\013aws_cluster\030\001 \001(\tB/\340A\002\372A)\n\'" + + "gkemulticloud.googleapis.com/AwsCluster\"" + + "u\n\036GenerateAwsAccessTokenResponse\022\031\n\014acc" + + "ess_token\030\001 \001(\tB\003\340A\003\0228\n\017expiration_time\030" + + "\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\0032\376" + + "\025\n\013AwsClusters\022\366\001\n\020CreateAwsCluster\0226.go" + + "ogle.cloud.gkemulticloud.v1.CreateAwsClu" + + "sterRequest\032\035.google.longrunning.Operati" + + "on\"\212\001\202\323\344\223\002>\"//v1/{parent=projects/*/loca" + + "tions/*}/awsClusters:\013aws_cluster\332A!pare" + + "nt,aws_cluster,aws_cluster_id\312A\037\n\nAwsClu" + + "ster\022\021OperationMetadata\022\370\001\n\020UpdateAwsClu" + + "ster\0226.google.cloud.gkemulticloud.v1.Upd" + + "ateAwsClusterRequest\032\035.google.longrunnin" + + "g.Operation\"\214\001\202\323\344\223\002J2;/v1/{aws_cluster.n" + + "ame=projects/*/locations/*/awsClusters/*" + + "}:\013aws_cluster\332A\027aws_cluster,update_mask" + + "\312A\037\n\nAwsCluster\022\021OperationMetadata\022\257\001\n\rG" + + "etAwsCluster\0223.google.cloud.gkemulticlou" + + "d.v1.GetAwsClusterRequest\032).google.cloud" + + ".gkemulticloud.v1.AwsCluster\">\202\323\344\223\0021\022//v" + + "1/{name=projects/*/locations/*/awsCluste" + + "rs/*}\332A\004name\022\302\001\n\017ListAwsClusters\0225.googl" + + "e.cloud.gkemulticloud.v1.ListAwsClusters" + + "Request\0326.google.cloud.gkemulticloud.v1." + + "ListAwsClustersResponse\"@\202\323\344\223\0021\022//v1/{pa" + + "rent=projects/*/locations/*}/awsClusters" + + "\332A\006parent\022\326\001\n\020DeleteAwsCluster\0226.google." + + "cloud.gkemulticloud.v1.DeleteAwsClusterR" + + "equest\032\035.google.longrunning.Operation\"k\202" + + "\323\344\223\0021*//v1/{name=projects/*/locations/*/" + + "awsClusters/*}\332A\004name\312A*\n\025google.protobu" + + "f.Empty\022\021OperationMetadata\022\354\001\n\026GenerateA" + + "wsAccessToken\022<.google.cloud.gkemulticlo" + + "ud.v1.GenerateAwsAccessTokenRequest\032=.go" + + "ogle.cloud.gkemulticloud.v1.GenerateAwsA" + + "ccessTokenResponse\"U\202\323\344\223\002O\022M/v1/{aws_clu" + + "ster=projects/*/locations/*/awsClusters/" + + "*}:generateAwsAccessToken\022\216\002\n\021CreateAwsN" + + "odePool\0227.google.cloud.gkemulticloud.v1." + + "CreateAwsNodePoolRequest\032\035.google.longru" + + "nning.Operation\"\240\001\202\323\344\223\002O\">/v1/{parent=pr" + + "ojects/*/locations/*/awsClusters/*}/awsN" + + "odePools:\raws_node_pool\332A%parent,aws_nod" + + "e_pool,aws_node_pool_id\312A \n\013AwsNodePool\022" + + "\021OperationMetadata\022\220\002\n\021UpdateAwsNodePool" + + "\0227.google.cloud.gkemulticloud.v1.UpdateA" + + "wsNodePoolRequest\032\035.google.longrunning.O" + + "peration\"\242\001\202\323\344\223\002]2L/v1/{aws_node_pool.na" + + "me=projects/*/locations/*/awsClusters/*/" + + "awsNodePools/*}:\raws_node_pool\332A\031aws_nod" + + "e_pool,update_mask\312A \n\013AwsNodePool\022\021Oper" + + "ationMetadata\022\301\001\n\016GetAwsNodePool\0224.googl" + + "e.cloud.gkemulticloud.v1.GetAwsNodePoolR" + + "equest\032*.google.cloud.gkemulticloud.v1.A" + + "wsNodePool\"M\202\323\344\223\002@\022>/v1/{name=projects/*" + + "/locations/*/awsClusters/*/awsNodePools/" + + "*}\332A\004name\022\324\001\n\020ListAwsNodePools\0226.google." + + "cloud.gkemulticloud.v1.ListAwsNodePoolsR" + + "equest\0327.google.cloud.gkemulticloud.v1.L" + + "istAwsNodePoolsResponse\"O\202\323\344\223\002@\022>/v1/{pa" + + "rent=projects/*/locations/*/awsClusters/" + + "*}/awsNodePools\332A\006parent\022\347\001\n\021DeleteAwsNo" + + "dePool\0227.google.cloud.gkemulticloud.v1.D" + + "eleteAwsNodePoolRequest\032\035.google.longrun" + + "ning.Operation\"z\202\323\344\223\002@*>/v1/{name=projec" + + "ts/*/locations/*/awsClusters/*/awsNodePo" + + "ols/*}\332A\004name\312A*\n\025google.protobuf.Empty\022" + + "\021OperationMetadata\022\300\001\n\022GetAwsServerConfi" + + "g\0228.google.cloud.gkemulticloud.v1.GetAws" + + "ServerConfigRequest\032..google.cloud.gkemu" + + "lticloud.v1.AwsServerConfig\"@\202\323\344\223\0023\0221/v1" + + "/{name=projects/*/locations/*/awsServerC" + + "onfig}\332A\004name\032P\312A\034gkemulticloud.googleap" + + "is.com\322A.https://www.googleapis.com/auth" + + "/cloud-platformB\345\001\n!com.google.cloud.gke" + + "multicloud.v1B\017AwsServiceProtoP\001ZJgoogle" + + ".golang.org/genproto/googleapis/cloud/gk" + + "emulticloud/v1;gkemulticloud\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.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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java index 99134ab..e185416 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private AwsServicesAuthentication() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsServicesAuthentication(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsServicesAuthentication( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private AwsServicesAuthentication( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - roleArn_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + roleArn_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - roleSessionName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + roleSessionName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,40 +80,35 @@ private AwsServicesAuthentication( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -141,30 +117,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 { @@ -175,15 +151,12 @@ public com.google.protobuf.ByteString getRoleArnBytes() { public static final int ROLE_SESSION_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object roleSessionName_; /** - * - * *
    * Optional. An identifier for the assumed role session.
    * When unspecified, it defaults to `multicloud-service-agent`.
    * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The roleSessionName. */ @java.lang.Override @@ -192,30 +165,30 @@ 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.
    * When unspecified, it defaults to `multicloud-service-agent`.
    * 
* * 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 { @@ -224,7 +197,6 @@ public com.google.protobuf.ByteString getRoleSessionNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roleArn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roleArn_); } @@ -266,16 +239,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,127 +271,117 @@ 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() @@ -425,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +410,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 @@ -466,8 +431,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication result = new com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication(this); result.roleArn_ = roleArn_; result.roleSessionName_ = roleSessionName_; onBuilt(); @@ -478,39 +442,38 @@ public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication buildPartial( 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; @@ -518,8 +481,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_; onChanged(); @@ -547,8 +509,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,21 +521,19 @@ public Builder mergeFrom( 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; @@ -583,22 +542,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 { @@ -606,64 +564,57 @@ 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) { + public Builder setRoleArn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + roleArn_ = value; 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() { - + roleArn_ = getDefaultInstance().getRoleArn(); 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]; - * * @param value The bytes for roleArn to set. * @return This builder for chaining. */ - public Builder setRoleArnBytes(com.google.protobuf.ByteString value) { + public Builder setRoleArnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + roleArn_ = value; onChanged(); return this; @@ -671,21 +622,19 @@ public Builder setRoleArnBytes(com.google.protobuf.ByteString value) { private java.lang.Object roleSessionName_ = ""; /** - * - * *
      * Optional. An identifier for the assumed role session.
      * When unspecified, it defaults to `multicloud-service-agent`.
      * 
* * 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; @@ -694,22 +643,21 @@ public java.lang.String getRoleSessionName() { } } /** - * - * *
      * Optional. An identifier for the assumed role session.
      * When unspecified, it defaults to `multicloud-service-agent`.
      * 
* * 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 { @@ -717,71 +665,64 @@ public com.google.protobuf.ByteString getRoleSessionNameBytes() { } } /** - * - * *
      * Optional. An identifier for the assumed role session.
      * When unspecified, it defaults to `multicloud-service-agent`.
      * 
* * 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) { + public Builder setRoleSessionName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + roleSessionName_ = value; onChanged(); return this; } /** - * - * *
      * Optional. An identifier for the assumed role session.
      * When unspecified, it defaults to `multicloud-service-agent`.
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRoleSessionName() { - + roleSessionName_ = getDefaultInstance().getRoleSessionName(); onChanged(); return this; } /** - * - * *
      * Optional. An identifier for the assumed role session.
      * When unspecified, it defaults to `multicloud-service-agent`.
      * 
* * 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) { + public Builder setRoleSessionNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + roleSessionName_ = 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); } @@ -791,12 +732,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(); } @@ -805,16 +746,16 @@ 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 { - return new AwsServicesAuthentication(input, extensionRegistry); - } - }; + 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 { + return new AwsServicesAuthentication(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,4 +770,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java similarity index 65% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java index cf9ad1e..979099b 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java @@ -1,79 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * When unspecified, it defaults to `multicloud-service-agent`.
    * 
* * 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.
    * When unspecified, it defaults to `multicloud-service-agent`.
    * 
* * 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java index 719e4ec..a780fe0 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsSshConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AwsSshConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - ec2KeyPair_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + ec2KeyPair_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private AwsSshConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getEc2KeyPairBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,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_); } @@ -199,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,127 +203,118 @@ 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() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,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 @@ -393,8 +362,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AwsSshConfig result = new com.google.cloud.gkemulticloud.v1.AwsSshConfig(this); result.ec2KeyPair_ = ec2KeyPair_; onBuilt(); return result; @@ -404,39 +372,38 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfig buildPartial() { 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; @@ -480,20 +447,18 @@ public Builder mergeFrom( 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; @@ -502,21 +467,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 { @@ -524,68 +488,61 @@ 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) { + public Builder setEc2KeyPair( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ec2KeyPair_ = value; 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() { - + ec2KeyPair_ = getDefaultInstance().getEc2KeyPair(); 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]; - * * @param value The bytes for ec2KeyPair to set. * @return This builder for chaining. */ - public Builder setEc2KeyPairBytes(com.google.protobuf.ByteString value) { + public Builder setEc2KeyPairBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ec2KeyPair_ = 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); } @@ -595,12 +552,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(); } @@ -609,16 +566,16 @@ 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 { - return new AwsSshConfig(input, extensionRegistry); - } - }; + 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 { + return new AwsSshConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -633,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsSshConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java similarity index 52% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java index 1732635..6a9cb26 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java index 26935f4..b268f6b 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private AwsVolumeTemplate() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsVolumeTemplate(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AwsVolumeTemplate( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +54,35 @@ private AwsVolumeTemplate( case 0: done = true; break; - case 8: - { - sizeGib_ = input.readInt32(); - break; - } - case 16: - { - int rawValue = input.readEnum(); + case 8: { - volumeType_ = rawValue; - break; - } - case 24: - { - iops_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + sizeGib_ = input.readInt32(); + break; + } + case 16: { + int rawValue = input.readEnum(); - kmsKeyArn_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + volumeType_ = rawValue; + break; + } + case 24: { + + iops_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + kmsKeyArn_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,31 +90,27 @@ private AwsVolumeTemplate( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
@@ -143,10 +120,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.
      * 
@@ -155,8 +131,6 @@ public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum { */ VOLUME_TYPE_UNSPECIFIED(0), /** - * - * *
      * GP2 (General Purpose SSD volume type).
      * 
@@ -165,8 +139,6 @@ public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum { */ GP2(1), /** - * - * *
      * GP3 (General Purpose SSD volume type).
      * 
@@ -178,8 +150,6 @@ public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set.
      * 
@@ -188,8 +158,6 @@ public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VOLUME_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * GP2 (General Purpose SSD volume type).
      * 
@@ -198,8 +166,6 @@ public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GP2_VALUE = 1; /** - * - * *
      * GP3 (General Purpose SSD volume type).
      * 
@@ -208,6 +174,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( @@ -232,51 +199,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< + VolumeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VolumeType findValueByNumber(int number) { + return VolumeType.forNumber(number); + } + }; - 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() { + 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; @@ -296,8 +261,6 @@ private VolumeType(int value) { public static final int SIZE_GIB_FIELD_NUMBER = 1; private int sizeGib_; /** - * - * *
    * Optional. The size of the volume, in GiBs.
    * When unspecified, a default value is provided. See the specific reference
@@ -305,7 +268,6 @@ private VolumeType(int value) {
    * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sizeGib. */ @java.lang.Override @@ -316,58 +278,40 @@ public int getSizeGib() { public static final int VOLUME_TYPE_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType getVolumeType() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.valueOf(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.valueOf(volumeType_); + return result == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.UNRECOGNIZED : result; } public static final int IOPS_FIELD_NUMBER = 3; 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 @@ -378,8 +322,6 @@ public int getIops() { public static final int KMS_KEY_ARN_FIELD_NUMBER = 4; private volatile java.lang.Object kmsKeyArn_; /** - * - * *
    * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
    * encrypt AWS EBS volumes.
@@ -388,7 +330,6 @@ public int getIops() {
    * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKeyArn. */ @java.lang.Override @@ -397,15 +338,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.
@@ -414,15 +354,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 { @@ -431,7 +372,6 @@ public com.google.protobuf.ByteString getKmsKeyArnBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -443,13 +383,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) { @@ -468,15 +407,16 @@ 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_); @@ -489,18 +429,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.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 (!getKmsKeyArn() + .equals(other.getKmsKeyArn())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -526,126 +468,117 @@ 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() @@ -653,15 +586,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -677,9 +611,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 @@ -698,8 +632,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate result = new com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate(this); result.sizeGib_ = sizeGib_; result.volumeType_ = volumeType_; result.iops_ = iops_; @@ -712,39 +645,38 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate buildPartial() { 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; @@ -752,8 +684,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()); } @@ -786,8 +717,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -797,10 +727,8 @@ public Builder mergeFrom( return this; } - private int sizeGib_; + private int sizeGib_ ; /** - * - * *
      * Optional. The size of the volume, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -808,7 +736,6 @@ public Builder mergeFrom(
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sizeGib. */ @java.lang.Override @@ -816,8 +743,6 @@ public int getSizeGib() { return sizeGib_; } /** - * - * *
      * Optional. The size of the volume, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -825,19 +750,16 @@ public int getSizeGib() {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The sizeGib to set. * @return This builder for chaining. */ public Builder setSizeGib(int value) { - + sizeGib_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The size of the volume, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -845,11 +767,10 @@ public Builder setSizeGib(int value) {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSizeGib() { - + sizeGib_ = 0; onChanged(); return this; @@ -857,123 +778,90 @@ 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. */ public Builder setVolumeTypeValue(int value) { - + volumeType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.valueOf(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.valueOf(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(); } - + volumeType_ = value.getNumber(); onChanged(); 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() { - + volumeType_ = 0; onChanged(); 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 @@ -981,36 +869,30 @@ 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. */ public Builder setIops(int value) { - + iops_ = value; onChanged(); 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() { - + iops_ = 0; onChanged(); return this; @@ -1018,8 +900,6 @@ public Builder clearIops() { private java.lang.Object kmsKeyArn_ = ""; /** - * - * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
      * encrypt AWS EBS volumes.
@@ -1028,13 +908,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; @@ -1043,8 +923,6 @@ public java.lang.String getKmsKeyArn() { } } /** - * - * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
      * encrypt AWS EBS volumes.
@@ -1053,14 +931,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 { @@ -1068,8 +947,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.
@@ -1078,22 +955,20 @@ 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) { + public Builder setKmsKeyArn( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyArn_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
      * encrypt AWS EBS volumes.
@@ -1102,18 +977,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(); onChanged(); return this; } /** - * - * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
      * encrypt AWS EBS volumes.
@@ -1122,23 +994,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) { + public Builder setKmsKeyArnBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyArn_ = 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); } @@ -1148,12 +1020,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(); } @@ -1162,16 +1034,16 @@ 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 { - return new AwsVolumeTemplate(input, extensionRegistry); - } - }; + 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 { + return new AwsVolumeTemplate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1186,4 +1058,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java similarity index 66% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java index 2802560..5556f18 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * When unspecified, a default value is provided. See the specific reference
@@ -33,58 +15,42 @@ 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 Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
    * encrypt AWS EBS volumes.
@@ -93,13 +59,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.
@@ -108,8 +71,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java index 16994a2..5e32569 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureAuthorization(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AzureAuthorization( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,26 +54,22 @@ private AzureAuthorization( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - adminUsers_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - adminUsers_.add( - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClusterUser.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + adminUsers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + adminUsers_.add( + input.readMessage(com.google.cloud.gkemulticloud.v1.AzureClusterUser.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,7 +77,8 @@ private AzureAuthorization( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); @@ -107,27 +87,22 @@ private AzureAuthorization( makeExtensionsImmutable(); } } - - 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; 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
@@ -136,17 +111,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 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]; - * + * 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
@@ -155,18 +126,14 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + 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
@@ -175,17 +142,13 @@ 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) = REQUIRED]; - * + * 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
@@ -194,17 +157,13 @@ 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) = REQUIRED]; - * + * 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
@@ -213,9 +172,7 @@ 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) = REQUIRED]; - * + * 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( @@ -224,7 +181,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsers } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +192,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 < adminUsers_.size(); i++) { output.writeMessage(1, adminUsers_.get(i)); } @@ -250,7 +207,8 @@ 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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -260,15 +218,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.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 (!getAdminUsersList() + .equals(other.getAdminUsersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -290,126 +248,117 @@ 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() @@ -417,17 +366,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAdminUsersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -441,9 +390,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 @@ -462,8 +411,7 @@ 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); int from_bitField0_ = bitField0_; if (adminUsersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -482,39 +430,38 @@ public com.google.cloud.gkemulticloud.v1.AzureAuthorization buildPartial() { 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; @@ -522,8 +469,7 @@ 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()) { @@ -542,10 +488,9 @@ 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_); } @@ -570,8 +515,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AzureAuthorization) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureAuthorization) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -580,30 +524,21 @@ public Builder mergeFrom( } 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_; /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -612,9 +547,7 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getAdminUsersList() { if (adminUsersBuilder_ == null) { @@ -624,8 +557,6 @@ public java.util.List getAdm } } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -634,9 +565,7 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getAdminUsersCount() { if (adminUsersBuilder_ == null) { @@ -646,8 +575,6 @@ public int getAdminUsersCount() { } } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -656,9 +583,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -668,8 +593,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int inde } } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -678,9 +601,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -697,8 +618,6 @@ public Builder setAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -707,9 +626,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -723,8 +640,6 @@ public Builder setAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -733,9 +648,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -751,8 +664,6 @@ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AzureClusterUser return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -761,9 +672,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -780,8 +689,6 @@ public Builder addAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -790,9 +697,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -806,8 +711,6 @@ public Builder addAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -816,9 +719,7 @@ 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) = REQUIRED]; - * + * 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) { @@ -832,8 +733,6 @@ public Builder addAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -842,15 +741,14 @@ 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) = REQUIRED]; - * + * 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_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, adminUsers_); onChanged(); } else { adminUsersBuilder_.addAllMessages(values); @@ -858,8 +756,6 @@ public Builder addAllAdminUsers( return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -868,9 +764,7 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAdminUsers() { if (adminUsersBuilder_ == null) { @@ -883,8 +777,6 @@ public Builder clearAdminUsers() { return this; } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -893,9 +785,7 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeAdminUsers(int index) { if (adminUsersBuilder_ == null) { @@ -908,8 +798,6 @@ public Builder removeAdminUsers(int 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
@@ -918,17 +806,13 @@ 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) = REQUIRED]; - * + * 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
@@ -937,21 +821,16 @@ 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) = REQUIRED]; - * + * 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 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
@@ -960,12 +839,10 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getAdminUsersOrBuilderList() { + public java.util.List + getAdminUsersOrBuilderList() { if (adminUsersBuilder_ != null) { return adminUsersBuilder_.getMessageOrBuilderList(); } else { @@ -973,8 +850,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsers } } /** - * - * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -983,17 +858,13 @@ 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) = REQUIRED]; - * + * 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()); + 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
@@ -1002,19 +873,14 @@ 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) = REQUIRED]; - * + * 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()); + 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
@@ -1023,34 +889,29 @@ 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) = REQUIRED]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ - 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_; } - @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); } @@ -1060,12 +921,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(); } @@ -1074,16 +935,16 @@ 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 { - return new AzureAuthorization(input, extensionRegistry); - } - }; + 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 { + return new AzureAuthorization(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1098,4 +959,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java similarity index 62% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java index 1889eaf..1432fb1 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 { /** - * - * *
    * Required. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -34,14 +16,11 @@ public interface AzureAuthorizationOrBuilder
    * 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]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getAdminUsersList(); + 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
@@ -50,14 +29,10 @@ public interface AzureAuthorizationOrBuilder
    * 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]; - * + * 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
@@ -66,14 +41,10 @@ public interface AzureAuthorizationOrBuilder
    * 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]; - * + * 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
@@ -82,15 +53,11 @@ public interface AzureAuthorizationOrBuilder
    * 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]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + 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
@@ -99,9 +66,8 @@ public interface AzureAuthorizationOrBuilder
    * 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]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder(int index); + com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder( + int index); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java index aa9ce6a..2212978 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
@@ -34,16 +17,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_ = "";
@@ -54,15 +36,16 @@ private AzureClient() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureClient();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AzureClient(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -82,78 +65,69 @@ private AzureClient(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              tenantId_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            tenantId_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              applicationId_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            applicationId_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              uid_ = s;
-              break;
+            uid_ = s;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              pemCertificate_ = s;
-              break;
-            }
-          case 66:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotations_ =
-                    com.google.protobuf.MapField.newMapField(
-                        AnnotationsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry annotations__ =
-                  input.readMessage(
-                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
-              break;
+            break;
+          }
+          case 58: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            pemCertificate_ = s;
+            break;
+          }
+          case 66: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotations_ = com.google.protobuf.MapField.newMapField(
+                  AnnotationsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            annotations__ = input.readMessage(
+                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            annotations_.getMutableMap().put(
+                annotations__.getKey(), annotations__.getValue());
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -161,44 +135,41 @@ private AzureClient(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of this resource.
    * `AzureClient` resource names are formatted as
@@ -208,7 +179,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -217,15 +187,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.
    * `AzureClient` resource names are formatted as
@@ -235,15 +204,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 { @@ -254,14 +224,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TENANT_ID_FIELD_NUMBER = 2; 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 @@ -270,29 +237,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 { @@ -303,14 +270,11 @@ public com.google.protobuf.ByteString getTenantIdBytes() { public static final int APPLICATION_ID_FIELD_NUMBER = 3; 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 @@ -319,29 +283,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 { @@ -350,24 +314,24 @@ public com.google.protobuf.ByteString getApplicationIdBytes() { } 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, + ""); } - - 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_; } @@ -376,8 +340,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. Annotations on the resource.
    * This field has the same restrictions as Kubernetes annotations.
@@ -389,25 +351,24 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -419,16 +380,14 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -440,21 +399,19 @@ 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 getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -466,15 +423,15 @@ public 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(); } @@ -484,14 +441,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { public static final int PEM_CERTIFICATE_FIELD_NUMBER = 7; 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 @@ -500,29 +454,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 { @@ -533,14 +487,11 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { public static final int UID_FIELD_NUMBER = 5; 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 @@ -549,29 +500,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 { @@ -582,15 +533,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 @@ -598,15 +545,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 @@ -614,14 +557,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() { @@ -629,7 +569,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -641,7 +580,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_); } @@ -660,8 +600,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); unknownFields.writeTo(output); } @@ -684,20 +628,21 @@ 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__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -707,23 +652,29 @@ 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 (!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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -759,104 +710,97 @@ 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.
@@ -870,43 +814,43 @@ 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()
@@ -914,15 +858,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -947,9 +892,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
@@ -968,8 +913,7 @@ 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);
+      com.google.cloud.gkemulticloud.v1.AzureClient result = new com.google.cloud.gkemulticloud.v1.AzureClient(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.tenantId_ = tenantId_;
@@ -991,39 +935,38 @@ public com.google.cloud.gkemulticloud.v1.AzureClient buildPartial() {
     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;
@@ -1044,7 +987,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClient other) {
         applicationId_ = other.applicationId_;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       if (!other.getPemCertificate().isEmpty()) {
         pemCertificate_ = other.pemCertificate_;
         onChanged();
@@ -1084,13 +1028,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of this resource.
      * `AzureClient` resource names are formatted as
@@ -1100,13 +1041,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; @@ -1115,8 +1056,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this resource.
      * `AzureClient` resource names are formatted as
@@ -1126,14 +1065,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 { @@ -1141,8 +1081,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this resource.
      * `AzureClient` resource names are formatted as
@@ -1152,22 +1090,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of this resource.
      * `AzureClient` resource names are formatted as
@@ -1177,18 +1113,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of this resource.
      * `AzureClient` resource names are formatted as
@@ -1198,16 +1131,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1215,20 +1148,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; @@ -1237,21 +1168,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 { @@ -1259,61 +1189,54 @@ 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) { + public Builder setTenantId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tenantId_ = value; 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() { - + tenantId_ = getDefaultInstance().getTenantId(); onChanged(); 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) { + public Builder setTenantIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; onChanged(); return this; @@ -1321,20 +1244,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; @@ -1343,21 +1264,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 { @@ -1365,84 +1285,75 @@ 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) { + public Builder setApplicationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + applicationId_ = value; 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() { - + applicationId_ = getDefaultInstance().getApplicationId(); onChanged(); 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) { + public Builder setApplicationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + applicationId_ = value; onChanged(); 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() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; 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(); @@ -1454,8 +1365,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. Annotations on the resource.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1467,25 +1376,24 @@ 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1497,16 +1405,14 @@ 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1518,21 +1424,19 @@ 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 getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1544,15 +1448,15 @@ public 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(); } @@ -1560,12 +1464,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Annotations on the resource.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1577,24 +1480,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() { return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. Annotations on the resource.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1606,23 +1510,21 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableAnnotations().getMutableMap().put(key, value); + internalGetMutableAnnotations().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Optional. Annotations on the resource.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1634,30 +1536,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); 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; @@ -1666,21 +1568,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 { @@ -1688,61 +1589,54 @@ 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) { + public Builder setPemCertificate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pemCertificate_ = value; 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() { - + pemCertificate_ = getDefaultInstance().getPemCertificate(); onChanged(); 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) { + public Builder setPemCertificateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pemCertificate_ = value; onChanged(); return this; @@ -1750,20 +1644,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; @@ -1772,21 +1664,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 { @@ -1794,61 +1685,54 @@ 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) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; @@ -1856,58 +1740,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1923,17 +1788,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(); onChanged(); @@ -1944,21 +1806,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1970,15 +1828,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() { if (createTimeBuilder_ == null) { @@ -1992,71 +1846,55 @@ 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() { - + onChanged(); 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_; } - @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); } @@ -2066,12 +1904,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(); } @@ -2080,16 +1918,16 @@ 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 { - return new AzureClient(input, extensionRegistry); - } - }; + 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 { + return new AzureClient(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2104,4 +1942,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClient getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java similarity index 77% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java index 6a8ff20..abe5e01 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * `AzureClient` resource names are formatted as
@@ -35,13 +17,10 @@ public interface AzureClientOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this resource.
    * `AzureClient` resource names are formatted as
@@ -51,64 +30,52 @@ 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(); /** - * - * *
    * Optional. Annotations on the resource.
    * This field has the same restrictions as Kubernetes annotations.
@@ -120,13 +87,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -138,16 +102,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -159,13 +124,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -177,18 +140,15 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -200,96 +160,76 @@ 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(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java similarity index 66% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java index 7560097..be0834b 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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_ = ""; @@ -52,15 +34,16 @@ private AzureCluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureCluster(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AzureCluster( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -80,250 +63,208 @@ private AzureCluster( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - azureRegion_ = s; - break; + azureRegion_ = s; + break; + } + case 34: { + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder subBuilder = null; + if (networking_ != null) { + subBuilder = networking_.toBuilder(); } - case 34: - { - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder subBuilder = null; - if (networking_ != null) { - subBuilder = networking_.toBuilder(); - } - networking_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(networking_); - networking_ = subBuilder.buildPartial(); - } - - break; + networking_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networking_); + networking_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder subBuilder = null; - if (controlPlane_ != null) { - subBuilder = controlPlane_.toBuilder(); - } - controlPlane_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureControlPlane.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(controlPlane_); - controlPlane_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 42: { + com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder subBuilder = null; + if (controlPlane_ != null) { + subBuilder = controlPlane_.toBuilder(); } - case 50: - { - com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder subBuilder = null; - if (authorization_ != null) { - subBuilder = authorization_.toBuilder(); - } - authorization_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureAuthorization.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authorization_); - authorization_ = subBuilder.buildPartial(); - } - - break; + controlPlane_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureControlPlane.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(controlPlane_); + controlPlane_ = subBuilder.buildPartial(); } - case 56: - { - int rawValue = input.readEnum(); - state_ = rawValue; - break; + break; + } + case 50: { + com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder subBuilder = null; + if (authorization_ != null) { + subBuilder = authorization_.toBuilder(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - - endpoint_ = s; - break; + authorization_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureAuthorization.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authorization_); + authorization_ = subBuilder.buildPartial(); } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); - uid_ = s; - break; + break; + } + case 56: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + endpoint_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + uid_ = s; + break; + } + case 80: { + + reconciling_ = input.readBool(); + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 80: - { - reconciling_ = input.readBool(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 90: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 98: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 98: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - case 114: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = - com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); - break; + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + case 114: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 130: - { - java.lang.String s = input.readStringRequireUtf8(); + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + annotations_.getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + break; + } + case 130: { + java.lang.String s = input.readStringRequireUtf8(); - azureClient_ = s; - break; + azureClient_ = s; + break; + } + case 138: { + java.lang.String s = input.readStringRequireUtf8(); + + resourceGroupId_ = s; + break; + } + case 146: { + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder subBuilder = null; + if (workloadIdentityConfig_ != null) { + subBuilder = workloadIdentityConfig_.toBuilder(); + } + workloadIdentityConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workloadIdentityConfig_); + workloadIdentityConfig_ = subBuilder.buildPartial(); } - case 138: - { - java.lang.String s = input.readStringRequireUtf8(); - resourceGroupId_ = s; - break; + break; + } + case 154: { + java.lang.String s = input.readStringRequireUtf8(); + + clusterCaCertificate_ = s; + break; + } + case 162: { + com.google.cloud.gkemulticloud.v1.Fleet.Builder subBuilder = null; + if (fleet_ != null) { + subBuilder = fleet_.toBuilder(); } - case 146: - { - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder subBuilder = null; - if (workloadIdentityConfig_ != null) { - subBuilder = workloadIdentityConfig_.toBuilder(); - } - workloadIdentityConfig_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workloadIdentityConfig_); - workloadIdentityConfig_ = subBuilder.buildPartial(); - } - - break; + fleet_ = input.readMessage(com.google.cloud.gkemulticloud.v1.Fleet.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fleet_); + fleet_ = subBuilder.buildPartial(); } - case 154: - { - java.lang.String s = input.readStringRequireUtf8(); - clusterCaCertificate_ = s; - break; + break; + } + case 170: { + com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder subBuilder = null; + if (managedResources_ != null) { + subBuilder = managedResources_.toBuilder(); } - case 162: - { - com.google.cloud.gkemulticloud.v1.Fleet.Builder subBuilder = null; - if (fleet_ != null) { - subBuilder = fleet_.toBuilder(); - } - fleet_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.Fleet.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fleet_); - fleet_ = subBuilder.buildPartial(); - } - - break; + managedResources_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureClusterResources.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(managedResources_); + managedResources_ = subBuilder.buildPartial(); } - case 170: - { - com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder subBuilder = null; - if (managedResources_ != null) { - subBuilder = managedResources_.toBuilder(); - } - managedResources_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClusterResources.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(managedResources_); - managedResources_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 186: { + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder subBuilder = null; + if (loggingConfig_ != null) { + subBuilder = loggingConfig_.toBuilder(); } - case 186: - { - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder subBuilder = null; - if (loggingConfig_ != null) { - subBuilder = loggingConfig_.toBuilder(); - } - loggingConfig_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.LoggingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(loggingConfig_); - loggingConfig_ = subBuilder.buildPartial(); - } - - break; + loggingConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.LoggingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(loggingConfig_); + loggingConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -331,52 +272,48 @@ private AzureCluster( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -385,8 +322,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -395,8 +330,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PROVISIONING(1), /** - * - * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -406,8 +339,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.
@@ -417,8 +348,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RECONCILING(3),
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -427,8 +356,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(4), /** - * - * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -438,8 +365,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ERROR(5),
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -452,8 +377,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -462,8 +385,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.
      * 
@@ -472,8 +393,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.
@@ -483,8 +402,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.
@@ -494,8 +411,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.
      * 
@@ -504,8 +419,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.
@@ -515,8 +428,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.
@@ -526,6 +437,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(
@@ -550,57 +462,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;
@@ -620,8 +528,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of this resource.
    * Cluster names are formatted as
@@ -631,7 +537,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -640,15 +545,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.
    * Cluster names are formatted as
@@ -658,15 +562,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 { @@ -677,15 +582,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; 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 @@ -694,30 +596,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 { @@ -728,8 +630,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int AZURE_REGION_FIELD_NUMBER = 3; private volatile java.lang.Object azureRegion_; /** - * - * *
    * Required. The Azure region where the cluster runs.
    * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -739,7 +639,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureRegion. */ @java.lang.Override @@ -748,15 +647,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.
    * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -766,15 +664,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 { @@ -785,8 +684,6 @@ public com.google.protobuf.ByteString getAzureRegionBytes() { public static final int RESOURCE_GROUP_ID_FIELD_NUMBER = 17; private volatile java.lang.Object resourceGroupId_; /** - * - * *
    * Required. The ARM ID of the resource group where the cluster resources are deployed.
    * For example:
@@ -794,7 +691,6 @@ public com.google.protobuf.ByteString getAzureRegionBytes() {
    * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resourceGroupId. */ @java.lang.Override @@ -803,15 +699,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:
@@ -819,15 +714,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 { @@ -838,8 +734,6 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() { public static final int AZURE_CLIENT_FIELD_NUMBER = 16; private volatile java.lang.Object azureClient_; /** - * - * *
    * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
    * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -852,7 +746,6 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() {
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureClient. */ @java.lang.Override @@ -861,15 +754,14 @@ 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; } } /** - * - * *
    * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
    * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -882,15 +774,16 @@ public java.lang.String getAzureClient() {
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -901,16 +794,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 @@ -918,54 +806,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() { + public com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder getNetworkingOrBuilder() { return getNetworking(); } 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 @@ -973,34 +844,23 @@ 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() { @@ -1010,16 +870,11 @@ public com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder getControlPl 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 @@ -1027,34 +882,23 @@ 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() { @@ -1064,56 +908,38 @@ public com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder getAuthoriz public static final int STATE_FIELD_NUMBER = 7; private int 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 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() { + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureCluster.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AzureCluster.State result = - com.google.cloud.gkemulticloud.v1.AzureCluster.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.State.UNRECOGNIZED : result; } public static final int ENDPOINT_FIELD_NUMBER = 8; 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 @@ -1122,29 +948,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 { @@ -1155,14 +981,11 @@ public com.google.protobuf.ByteString getEndpointBytes() { public static final int UID_FIELD_NUMBER = 9; 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 @@ -1171,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 { @@ -1204,14 +1027,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int RECONCILING_FIELD_NUMBER = 10; 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 @@ -1222,15 +1042,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 @@ -1238,15 +1054,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 @@ -1254,14 +1066,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() { @@ -1271,15 +1080,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 @@ -1287,15 +1092,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 @@ -1303,14 +1104,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() { @@ -1320,8 +1118,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 13; private volatile java.lang.Object etag_; /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -1330,7 +1126,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 13; - * * @return The etag. */ @java.lang.Override @@ -1339,15 +1134,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.
@@ -1356,15 +1150,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 { @@ -1373,24 +1168,24 @@ 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, + ""); } - - 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_; } @@ -1399,8 +1194,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. Annotations on the cluster.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1412,25 +1205,24 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1442,16 +1234,14 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1463,21 +1253,19 @@ 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 getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1489,15 +1277,15 @@ public 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(); } @@ -1507,16 +1295,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 @@ -1524,52 +1307,37 @@ 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() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { return getWorkloadIdentityConfig(); } public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 19; 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 @@ -1578,29 +1346,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 { @@ -1611,16 +1379,11 @@ public com.google.protobuf.ByteString getClusterCaCertificateBytes() { public static final int FLEET_FIELD_NUMBER = 20; private com.google.cloud.gkemulticloud.v1.Fleet fleet_; /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the fleet field is set. */ @java.lang.Override @@ -1628,16 +1391,11 @@ public boolean hasFleet() { return fleet_ != null; } /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; * @return The fleet. */ @java.lang.Override @@ -1645,15 +1403,11 @@ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { @@ -1663,16 +1417,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. Mananged 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 @@ -1680,54 +1429,37 @@ public boolean hasManagedResources() { return managedResources_ != null; } /** - * - * *
    * Output only. Mananged 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. Mananged 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() { + public com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder getManagedResourcesOrBuilder() { return getManagedResources(); } 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 @@ -1735,34 +1467,23 @@ 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() { @@ -1770,7 +1491,6 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfig } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1782,7 +1502,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_); } @@ -1801,8 +1522,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_)) { @@ -1823,8 +1543,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_); } @@ -1865,17 +1589,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_); @@ -1884,26 +1611,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_); @@ -1912,20 +1642,23 @@ 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 (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getLoggingConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1935,61 +1668,80 @@ 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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2031,7 +1783,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(); @@ -2069,147 +1822,140 @@ 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() @@ -2217,15 +1963,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2310,9 +2057,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 @@ -2331,8 +2078,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.description_ = description_; @@ -2400,39 +2146,38 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster buildPartial() { 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; @@ -2494,7 +2239,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureCluster other) { etag_ = other.etag_; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); if (other.hasWorkloadIdentityConfig()) { mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig()); } @@ -2539,13 +2285,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2555,13 +2298,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; @@ -2570,8 +2313,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2581,14 +2322,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 { @@ -2596,8 +2338,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2607,22 +2347,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2632,18 +2370,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2653,16 +2388,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2670,21 +2405,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; @@ -2693,22 +2426,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 { @@ -2716,64 +2448,57 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); 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]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2781,8 +2506,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object azureRegion_ = ""; /** - * - * *
      * Required. The Azure region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -2792,13 +2515,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; @@ -2807,8 +2530,6 @@ public java.lang.String getAzureRegion() { } } /** - * - * *
      * Required. The Azure region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -2818,14 +2539,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 { @@ -2833,8 +2555,6 @@ public com.google.protobuf.ByteString getAzureRegionBytes() { } } /** - * - * *
      * Required. The Azure region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -2844,22 +2564,20 @@ 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) { + public Builder setAzureRegion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureRegion_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Azure region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -2869,18 +2587,15 @@ public Builder setAzureRegion(java.lang.String value) {
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAzureRegion() { - + azureRegion_ = getDefaultInstance().getAzureRegion(); onChanged(); return this; } /** - * - * *
      * Required. The Azure region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -2890,16 +2605,16 @@ 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) { + public Builder setAzureRegionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureRegion_ = value; onChanged(); return this; @@ -2907,8 +2622,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:
@@ -2916,13 +2629,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; @@ -2931,8 +2644,6 @@ public java.lang.String getResourceGroupId() { } } /** - * - * *
      * Required. The ARM ID of the resource group where the cluster resources are deployed.
      * For example:
@@ -2940,14 +2651,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 { @@ -2955,8 +2667,6 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() { } } /** - * - * *
      * Required. The ARM ID of the resource group where the cluster resources are deployed.
      * For example:
@@ -2964,22 +2674,20 @@ 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) { + public Builder setResourceGroupId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceGroupId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ARM ID of the resource group where the cluster resources are deployed.
      * For example:
@@ -2987,18 +2695,15 @@ 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() { - + resourceGroupId_ = getDefaultInstance().getResourceGroupId(); onChanged(); return this; } /** - * - * *
      * Required. The ARM ID of the resource group where the cluster resources are deployed.
      * For example:
@@ -3006,16 +2711,16 @@ 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) { + public Builder setResourceGroupIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceGroupId_ = value; onChanged(); return this; @@ -3023,8 +2728,6 @@ public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object azureClient_ = ""; /** - * - * *
      * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
      * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -3037,13 +2740,13 @@ public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -3052,8 +2755,6 @@ public java.lang.String getAzureClient() { } } /** - * - * *
      * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
      * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -3066,14 +2767,15 @@ public java.lang.String getAzureClient() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -3081,8 +2783,6 @@ public com.google.protobuf.ByteString getAzureClientBytes() { } } /** - * - * *
      * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
      * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -3095,22 +2795,20 @@ public com.google.protobuf.ByteString getAzureClientBytes() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The azureClient to set. * @return This builder for chaining. */ - public Builder setAzureClient(java.lang.String value) { + public Builder setAzureClient( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureClient_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
      * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -3123,18 +2821,15 @@ public Builder setAzureClient(java.lang.String value) {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAzureClient() { - + azureClient_ = getDefaultInstance().getAzureClient(); onChanged(); return this; } /** - * - * *
      * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
      * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -3147,16 +2842,16 @@ public Builder clearAzureClient() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for azureClient to set. * @return This builder for chaining. */ - public Builder setAzureClientBytes(com.google.protobuf.ByteString value) { + public Builder setAzureClientBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureClient_ = value; onChanged(); return this; @@ -3164,58 +2859,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 networkingBuilder_ != null || 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. */ 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) { @@ -3231,15 +2907,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) { @@ -3253,23 +2925,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 (networking_ != null) { networking_ = - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.newBuilder(networking_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.newBuilder(networking_).mergeFrom(value).buildPartial(); } else { networking_ = value; } @@ -3281,15 +2947,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() { if (networkingBuilder_ == null) { @@ -3303,65 +2965,48 @@ 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() { - + onChanged(); 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_; @@ -3369,58 +3014,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 controlPlaneBuilder_ != null || 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. */ 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) { @@ -3436,15 +3062,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) { @@ -3458,23 +3080,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 (controlPlane_ != null) { controlPlane_ = - com.google.cloud.gkemulticloud.v1.AzureControlPlane.newBuilder(controlPlane_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureControlPlane.newBuilder(controlPlane_).mergeFrom(value).buildPartial(); } else { controlPlane_ = value; } @@ -3486,15 +3102,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() { if (controlPlaneBuilder_ == null) { @@ -3508,64 +3120,48 @@ 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() { - + onChanged(); 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_; @@ -3573,58 +3169,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 authorizationBuilder_ != null || 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. */ 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) { @@ -3640,15 +3217,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) { @@ -3662,23 +3235,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 (authorization_ != null) { authorization_ = - com.google.cloud.gkemulticloud.v1.AzureAuthorization.newBuilder(authorization_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureAuthorization.newBuilder(authorization_).mergeFrom(value).buildPartial(); } else { authorization_ = value; } @@ -3690,15 +3257,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() { if (authorizationBuilder_ == null) { @@ -3712,65 +3275,48 @@ 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() { - + onChanged(); 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_; @@ -3778,75 +3324,51 @@ public com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder getAuthoriza 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AzureCluster.State result = - com.google.cloud.gkemulticloud.v1.AzureCluster.State.valueOf(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.valueOf(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. */ @@ -3854,26 +3376,21 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AzureCluster.State val if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -3881,20 +3398,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; @@ -3903,21 +3418,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 { @@ -3925,82 +3439,73 @@ 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) { + public Builder setEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpoint_ = value; 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() { - + endpoint_ = getDefaultInstance().getEndpoint(); onChanged(); 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) { + public Builder setEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; onChanged(); return this; } 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; @@ -4009,21 +3514,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 { @@ -4031,76 +3535,66 @@ 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) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); 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 @@ -4108,36 +3602,30 @@ 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. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); 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() { - + reconciling_ = false; onChanged(); return this; @@ -4145,58 +3633,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 createTimeBuilder_ != null || 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. */ 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) { @@ -4212,17 +3681,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(); onChanged(); @@ -4233,21 +3699,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -4259,15 +3721,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() { if (createTimeBuilder_ == null) { @@ -4281,64 +3739,48 @@ 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() { - + onChanged(); 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_; @@ -4346,58 +3788,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -4413,17 +3836,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(); onChanged(); @@ -4434,21 +3854,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4460,15 +3876,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() { if (updateTimeBuilder_ == null) { @@ -4482,64 +3894,48 @@ 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() { - + onChanged(); 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_; @@ -4547,8 +3943,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4557,13 +3951,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; @@ -4572,8 +3966,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4582,14 +3974,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 { @@ -4597,8 +3990,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4607,22 +3998,20 @@ 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4631,18 +4020,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 13; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4651,39 +4037,37 @@ 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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); 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() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; 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(); @@ -4695,8 +4079,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4708,25 +4090,24 @@ 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4738,16 +4119,14 @@ 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4759,21 +4138,19 @@ 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 getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4785,15 +4162,15 @@ public 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(); } @@ -4801,12 +4178,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4818,24 +4194,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() { return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4847,23 +4224,21 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableAnnotations().getMutableMap().put(key, value); + internalGetMutableAnnotations().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4875,71 +4250,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); 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 workloadIdentityConfigBuilder_ != null || 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. */ 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(); @@ -4953,15 +4310,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) { @@ -4975,25 +4328,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 (workloadIdentityConfig_ != null) { workloadIdentityConfig_ = - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.newBuilder( - workloadIdentityConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.newBuilder(workloadIdentityConfig_).mergeFrom(value).buildPartial(); } else { workloadIdentityConfig_ = value; } @@ -5005,15 +4350,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() { if (workloadIdentityConfigBuilder_ == null) { @@ -5027,66 +4368,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() { + 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_; @@ -5094,20 +4417,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; @@ -5116,21 +4437,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 { @@ -5138,61 +4458,54 @@ 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) { + public Builder setClusterCaCertificate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterCaCertificate_ = value; 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() { - + clusterCaCertificate_ = getDefaultInstance().getClusterCaCertificate(); 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]; - * * @param value The bytes for clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { + public Builder setClusterCaCertificateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterCaCertificate_ = value; onChanged(); return this; @@ -5200,58 +4513,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_; /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the fleet field is set. */ public boolean hasFleet() { return fleetBuilder_ != null || fleet_ != null; } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { @@ -5267,17 +4561,14 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; */ - 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(); onChanged(); @@ -5288,23 +4579,17 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderF return this; } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { if (fleet_ != null) { fleet_ = - com.google.cloud.gkemulticloud.v1.Fleet.newBuilder(fleet_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.Fleet.newBuilder(fleet_).mergeFrom(value).buildPartial(); } else { fleet_ = value; } @@ -5316,15 +4601,11 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearFleet() { if (fleetBuilder_ == null) { @@ -5338,64 +4619,48 @@ public Builder clearFleet() { return this; } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { - + onChanged(); return getFleetFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -5403,61 +4668,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. Mananged 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 managedResourcesBuilder_ != null || managedResources_ != null; } /** - * - * *
      * Output only. Mananged 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. Mananged 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(); @@ -5471,15 +4716,11 @@ public Builder setManagedResources( return this; } /** - * - * *
      * Output only. Mananged 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) { @@ -5493,24 +4734,17 @@ public Builder setManagedResources( return this; } /** - * - * *
      * Output only. Mananged 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 (managedResources_ != null) { managedResources_ = - com.google.cloud.gkemulticloud.v1.AzureClusterResources.newBuilder(managedResources_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureClusterResources.newBuilder(managedResources_).mergeFrom(value).buildPartial(); } else { managedResources_ = value; } @@ -5522,15 +4756,11 @@ public Builder mergeManagedResources( return this; } /** - * - * *
      * Output only. Mananged 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() { if (managedResourcesBuilder_ == null) { @@ -5544,66 +4774,48 @@ public Builder clearManagedResources() { return this; } /** - * - * *
      * Output only. Mananged 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() { + onChanged(); return getManagedResourcesFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Mananged 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. Mananged 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_; @@ -5611,58 +4823,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 loggingConfigBuilder_ != null || 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. */ 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) { @@ -5678,15 +4871,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) { @@ -5700,23 +4889,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 (loggingConfig_ != null) { loggingConfig_ = - com.google.cloud.gkemulticloud.v1.LoggingConfig.newBuilder(loggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.LoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); } else { loggingConfig_ = value; } @@ -5728,15 +4911,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() { if (loggingConfigBuilder_ == null) { @@ -5750,71 +4929,55 @@ 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() { - + onChanged(); 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_; } - @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); } @@ -5824,12 +4987,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(); } @@ -5838,16 +5001,16 @@ 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 { - return new AzureCluster(input, extensionRegistry); - } - }; + 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 { + return new AzureCluster(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5862,4 +5025,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java similarity index 74% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java index d4a2a0f..ca077f4 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.EMPTY; @@ -46,15 +28,16 @@ private AzureClusterNetworking() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureClusterNetworking(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AzureClusterNetworking( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,47 +57,43 @@ private AzureClusterNetworking( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - virtualNetworkId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - podAddressCidrBlocks_.add(s); - break; + virtualNetworkId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - serviceAddressCidrBlocks_.add(s); - break; + podAddressCidrBlocks_.add(s); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceAddressCidrBlocks_.add(s); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - serviceLoadBalancerSubnetId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + serviceLoadBalancerSubnetId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,7 +101,8 @@ private AzureClusterNetworking( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { podAddressCidrBlocks_ = podAddressCidrBlocks_.getUnmodifiableView(); @@ -134,27 +114,22 @@ private AzureClusterNetworking( makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object virtualNetworkId_; /** - * - * *
    * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
    * cluster.
@@ -166,7 +141,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 @@ -175,15 +149,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.
@@ -195,15 +168,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 { @@ -214,8 +188,6 @@ public com.google.protobuf.ByteString getVirtualNetworkIdBytes() { public static final int POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList podAddressCidrBlocks_; /** - * - * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -224,17 +196,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`).
@@ -243,17 +212,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`).
@@ -262,9 +227,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. */ @@ -272,8 +235,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`).
@@ -282,21 +243,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); } public static final int SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList serviceAddressCidrBlocks_; /** - * - * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -305,18 +263,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`).
@@ -325,18 +279,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`).
@@ -345,10 +294,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. */ @@ -356,8 +302,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`).
@@ -366,22 +310,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 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; 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
@@ -390,9 +330,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 @@ -401,15 +339,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
@@ -418,17 +355,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 { @@ -437,7 +374,6 @@ public com.google.protobuf.ByteString getServiceLoadBalancerSubnetIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -449,17 +385,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_); @@ -493,8 +428,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -504,20 +438,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -547,127 +482,117 @@ 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() @@ -675,15 +600,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -699,9 +625,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_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 @@ -720,8 +646,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking result = new com.google.cloud.gkemulticloud.v1.AzureClusterNetworking(this); int from_bitField0_ = bitField0_; result.virtualNetworkId_ = virtualNetworkId_; if (((bitField0_ & 0x00000001) != 0)) { @@ -743,39 +668,38 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking buildPartial() { 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; @@ -783,8 +707,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_; onChanged(); @@ -832,8 +755,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -842,13 +764,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object virtualNetworkId_ = ""; /** - * - * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
      * cluster.
@@ -860,13 +779,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; @@ -875,8 +794,6 @@ public java.lang.String getVirtualNetworkId() { } } /** - * - * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
      * cluster.
@@ -888,14 +805,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 { @@ -903,8 +821,6 @@ public com.google.protobuf.ByteString getVirtualNetworkIdBytes() { } } /** - * - * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
      * cluster.
@@ -916,22 +832,20 @@ 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) { + public Builder setVirtualNetworkId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + virtualNetworkId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
      * cluster.
@@ -943,18 +857,15 @@ 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() { - + virtualNetworkId_ = getDefaultInstance().getVirtualNetworkId(); onChanged(); return this; } /** - * - * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
      * cluster.
@@ -966,33 +877,29 @@ 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) { + public Builder setVirtualNetworkIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + virtualNetworkId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList podAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePodAddressCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(podAddressCidrBlocks_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1001,17 +908,14 @@ 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() { return podAddressCidrBlocks_.getUnmodifiableView(); } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1020,17 +924,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`).
@@ -1039,9 +939,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. */ @@ -1049,8 +947,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`).
@@ -1059,18 +955,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`).
@@ -1079,25 +972,22 @@ 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) { + public Builder setPodAddressCidrBlocks( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePodAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1106,24 +996,21 @@ 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) { + public Builder addPodAddressCidrBlocks( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePodAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1132,21 +1019,19 @@ 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_); onChanged(); return this; } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1155,9 +1040,7 @@ 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() { @@ -1167,8 +1050,6 @@ public Builder clearPodAddressCidrBlocks() { return this; } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1177,36 +1058,30 @@ 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) { + public Builder addPodAddressCidrBlocksBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList serviceAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureServiceAddressCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - serviceAddressCidrBlocks_ = - new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); + serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1215,18 +1090,14 @@ 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() { return serviceAddressCidrBlocks_.getUnmodifiableView(); } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1235,18 +1106,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`).
@@ -1255,10 +1121,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. */ @@ -1266,8 +1129,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`).
@@ -1276,19 +1137,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`).
@@ -1297,26 +1154,22 @@ 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) { + public Builder setServiceAddressCidrBlocks( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1325,25 +1178,21 @@ 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) { + public Builder addServiceAddressCidrBlocks( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1352,22 +1201,19 @@ 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_); onChanged(); return this; } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1376,10 +1222,7 @@ 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() {
@@ -1389,8 +1232,6 @@ public Builder clearServiceAddressCidrBlocks() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1399,18 +1240,16 @@ 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) { + public Builder addServiceAddressCidrBlocksBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); onChanged(); @@ -1419,8 +1258,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
@@ -1429,15 +1266,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; @@ -1446,8 +1282,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
@@ -1456,16 +1290,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 { @@ -1473,8 +1307,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
@@ -1483,24 +1315,21 @@ 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) { + public Builder setServiceLoadBalancerSubnetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceLoadBalancerSubnetId_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type load
      * balancers are deployed. When unspecified, it defaults to
@@ -1509,20 +1338,16 @@ 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() { - + serviceLoadBalancerSubnetId_ = getDefaultInstance().getServiceLoadBalancerSubnetId(); onChanged(); return this; } /** - * - * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type load
      * balancers are deployed. When unspecified, it defaults to
@@ -1531,25 +1356,24 @@ 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) { + public Builder setServiceLoadBalancerSubnetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceLoadBalancerSubnetId_ = 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); } @@ -1559,12 +1383,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(); } @@ -1573,16 +1397,16 @@ 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 { - return new AzureClusterNetworking(input, extensionRegistry); - } - }; + 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 { + return new AzureClusterNetworking(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1597,4 +1421,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java similarity index 76% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java index 1c879d7..6a12f15 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
@@ -37,13 +19,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.
@@ -55,14 +34,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`).
@@ -71,15 +48,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`).
@@ -88,15 +62,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`).
@@ -105,16 +75,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`).
@@ -123,17 +89,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`).
@@ -142,16 +105,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`).
@@ -160,16 +119,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`).
@@ -178,17 +132,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`).
@@ -197,18 +146,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
@@ -217,15 +162,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
@@ -234,10 +175,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java index 8c3233d..1202e0a 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * Cluster names are formatted as
@@ -35,13 +17,10 @@ public interface AzureClusterOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this resource.
    * Cluster names are formatted as
@@ -51,41 +30,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.
    * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -95,13 +67,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.
    * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -111,14 +80,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:
@@ -126,13 +93,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:
@@ -140,14 +104,12 @@ 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(); /** - * - * *
    * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
    * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -160,13 +122,10 @@ public interface AzureClusterOrBuilder
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureClient. */ java.lang.String getAzureClient(); /** - * - * *
    * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
    * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -179,305 +138,216 @@ public interface AzureClusterOrBuilder
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @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(); /** - * - * *
    * 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.
@@ -486,13 +356,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.
@@ -501,14 +368,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -520,13 +385,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -538,16 +400,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -559,13 +422,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -577,18 +438,15 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -600,198 +458,137 @@ 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(); /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the fleet field is set. */ boolean hasFleet(); /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; * @return The fleet. */ com.google.cloud.gkemulticloud.v1.Fleet getFleet(); /** - * - * *
    * Optional. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder(); /** - * - * *
    * Output only. Mananged 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. Mananged 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. Mananged 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(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java similarity index 67% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java index d6d0c2a..5a3878e 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
  * The values could change and be empty, depending on the state of the cluster.
@@ -28,16 +11,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_ = "";
@@ -45,15 +27,16 @@ private AzureClusterResources() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureClusterResources();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AzureClusterResources(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private AzureClusterResources(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              networkSecurityGroupId_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            networkSecurityGroupId_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              controlPlaneApplicationSecurityGroupId_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            controlPlaneApplicationSecurityGroupId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,39 +81,34 @@ private AzureClusterResources(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -141,29 +117,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 { @@ -174,16 +150,11 @@ public com.google.protobuf.ByteString getNetworkSecurityGroupIdBytes() { public static final int CONTROL_PLANE_APPLICATION_SECURITY_GROUP_ID_FIELD_NUMBER = 2; 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 @@ -192,31 +163,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 { @@ -225,7 +194,6 @@ public com.google.protobuf.ByteString getControlPlaneApplicationSecurityGroupIdB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,14 +205,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_); } unknownFields.writeTo(output); } @@ -258,11 +225,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -272,15 +236,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -304,104 +268,96 @@ 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.
    * The values could change and be empty, depending on the state of the cluster.
@@ -409,23 +365,21 @@ 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()
@@ -433,15 +387,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -453,9 +408,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
@@ -474,8 +429,7 @@ 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);
+      com.google.cloud.gkemulticloud.v1.AzureClusterResources result = new com.google.cloud.gkemulticloud.v1.AzureClusterResources(this);
       result.networkSecurityGroupId_ = networkSecurityGroupId_;
       result.controlPlaneApplicationSecurityGroupId_ = controlPlaneApplicationSecurityGroupId_;
       onBuilt();
@@ -486,39 +440,38 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterResources buildPartial() {
     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;
@@ -526,8 +479,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_;
         onChanged();
@@ -555,8 +507,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.gkemulticloud.v1.AzureClusterResources) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureClusterResources) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -568,21 +519,18 @@ public Builder mergeFrom(
 
     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; @@ -591,22 +539,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 { @@ -614,64 +560,54 @@ 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) { + public Builder setNetworkSecurityGroupId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + networkSecurityGroupId_ = value; 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() { - + networkSecurityGroupId_ = getDefaultInstance().getNetworkSecurityGroupId(); 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]; * @param value The bytes for networkSecurityGroupId to set. * @return This builder for chaining. */ - public Builder setNetworkSecurityGroupIdBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkSecurityGroupIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + networkSecurityGroupId_ = value; onChanged(); return this; @@ -679,22 +615,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; @@ -703,23 +635,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 { @@ -727,76 +656,61 @@ 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) { + public Builder setControlPlaneApplicationSecurityGroupId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlPlaneApplicationSecurityGroupId_ = value; 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(); 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(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + controlPlaneApplicationSecurityGroupId_ = 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); } @@ -806,12 +720,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(); } @@ -820,16 +734,16 @@ 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 { - return new AzureClusterResources(input, extensionRegistry); - } - }; + 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 { + return new AzureClusterResources(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -844,4 +758,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java similarity index 53% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java index 10af61b..ff122c5 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java index 7830805..c314acd 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AzureClusterUser( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AzureClusterUser( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - username_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + username_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private AzureClusterUser( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getUsernameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,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_); } @@ -199,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,126 +204,117 @@ 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() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,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 @@ -393,8 +362,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AzureClusterUser result = new com.google.cloud.gkemulticloud.v1.AzureClusterUser(this); result.username_ = username_; onBuilt(); return result; @@ -404,39 +372,38 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser buildPartial() { 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; @@ -444,8 +411,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_; onChanged(); @@ -469,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AzureClusterUser) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureClusterUser) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -482,20 +447,18 @@ public Builder mergeFrom( 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; @@ -504,21 +467,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 { @@ -526,68 +488,61 @@ 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) { + public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; 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() { - + username_ = getDefaultInstance().getUsername(); onChanged(); 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) { + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = 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); } @@ -597,12 +552,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(); } @@ -611,16 +566,16 @@ 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 { - return new AzureClusterUser(input, extensionRegistry); - } - }; + 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 { + return new AzureClusterUser(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -635,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java similarity index 51% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java index f024aa2..c319874 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java similarity index 74% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java index d099025..1b6d442 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
  * Azure VM bootstrap secret is envelope encrypted with the provided key vault
@@ -29,16 +12,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_ = "";
@@ -46,15 +28,16 @@ private AzureConfigEncryption() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureConfigEncryption();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AzureConfigEncryption(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,27 +56,25 @@ private AzureConfigEncryption(
           case 0:
             done = true;
             break;
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              keyId_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            keyId_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              publicKey_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            publicKey_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -101,33 +82,29 @@ private AzureConfigEncryption(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private volatile java.lang.Object keyId_;
   /**
-   *
-   *
    * 
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
    * For example:
@@ -135,7 +112,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 @@ -144,15 +120,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.
    * For example:
@@ -160,15 +135,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 { @@ -179,8 +155,6 @@ public com.google.protobuf.ByteString getKeyIdBytes() { public static final int PUBLIC_KEY_FIELD_NUMBER = 3; private volatile java.lang.Object publicKey_; /** - * - * *
    * Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.
    * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -189,7 +163,6 @@ public com.google.protobuf.ByteString getKeyIdBytes() {
    * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ @java.lang.Override @@ -198,15 +171,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.
    * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -215,15 +187,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 { @@ -232,7 +205,6 @@ public com.google.protobuf.ByteString getPublicKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +216,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_); } @@ -274,16 +247,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -305,104 +279,96 @@ 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.
    * Azure VM bootstrap secret is envelope encrypted with the provided key vault
@@ -411,23 +377,21 @@ 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()
@@ -435,15 +399,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -455,9 +420,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
@@ -476,8 +441,7 @@ 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);
+      com.google.cloud.gkemulticloud.v1.AzureConfigEncryption result = new com.google.cloud.gkemulticloud.v1.AzureConfigEncryption(this);
       result.keyId_ = keyId_;
       result.publicKey_ = publicKey_;
       onBuilt();
@@ -488,39 +452,38 @@ public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption buildPartial() {
     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;
@@ -528,8 +491,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_;
         onChanged();
@@ -557,8 +519,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -570,8 +531,6 @@ public Builder mergeFrom(
 
     private java.lang.Object keyId_ = "";
     /**
-     *
-     *
      * 
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
      * For example:
@@ -579,13 +538,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; @@ -594,8 +553,6 @@ public java.lang.String getKeyId() { } } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
      * For example:
@@ -603,14 +560,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 { @@ -618,8 +576,6 @@ public com.google.protobuf.ByteString getKeyIdBytes() { } } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
      * For example:
@@ -627,22 +583,20 @@ 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) { + public Builder setKeyId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
      * For example:
@@ -650,18 +604,15 @@ public Builder setKeyId(java.lang.String value) {
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearKeyId() { - + keyId_ = getDefaultInstance().getKeyId(); onChanged(); return this; } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
      * For example:
@@ -669,16 +620,16 @@ 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) { + public Builder setKeyIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyId_ = value; onChanged(); return this; @@ -686,8 +637,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.
      * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -696,13 +645,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 +660,6 @@ public java.lang.String getPublicKey() { } } /** - * - * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.
      * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -721,14 +668,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 { @@ -736,8 +684,6 @@ public com.google.protobuf.ByteString getPublicKeyBytes() { } } /** - * - * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.
      * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -746,22 +692,20 @@ 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) { + public Builder setPublicKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publicKey_ = value; onChanged(); return this; } /** - * - * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.
      * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -770,18 +714,15 @@ public Builder setPublicKey(java.lang.String value) {
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPublicKey() { - + publicKey_ = getDefaultInstance().getPublicKey(); onChanged(); return this; } /** - * - * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.
      * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -790,23 +731,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) { + public Builder setPublicKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publicKey_ = 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); } @@ -816,12 +757,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(); } @@ -830,16 +771,16 @@ 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 { - return new AzureConfigEncryption(input, extensionRegistry); - } - }; + 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 { + return new AzureConfigEncryption(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,4 +795,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java index 1f634e2..ae95203 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * For example:
@@ -33,13 +15,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.
    * For example:
@@ -47,14 +26,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.
    * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -63,13 +40,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.
    * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -78,8 +52,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java similarity index 67% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java index fb3ae8c..2775937 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +29,16 @@ private AzureControlPlane() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureControlPlane(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AzureControlPlane( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,168 +58,137 @@ private AzureControlPlane( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - subnetId_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + subnetId_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - vmSize_ = s; - break; + vmSize_ = s; + break; + } + case 34: { + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null; + if (rootVolume_ != null) { + subBuilder = rootVolume_.toBuilder(); } - case 34: - { - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null; - if (rootVolume_ != null) { - subBuilder = rootVolume_.toBuilder(); - } - rootVolume_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rootVolume_); - rootVolume_ = subBuilder.buildPartial(); - } - - break; + rootVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rootVolume_); + rootVolume_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null; - if (mainVolume_ != null) { - subBuilder = mainVolume_.toBuilder(); - } - mainVolume_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mainVolume_); - mainVolume_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null; + if (mainVolume_ != null) { + subBuilder = mainVolume_.toBuilder(); } - case 58: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = - com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry tags__ = - input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - tags_.getMutableMap().put(tags__.getKey(), tags__.getValue()); - break; + mainVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mainVolume_); + mainVolume_ = subBuilder.buildPartial(); } - case 82: - { - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder subBuilder = null; - if (databaseEncryption_ != null) { - subBuilder = databaseEncryption_.toBuilder(); - } - databaseEncryption_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(databaseEncryption_); - databaseEncryption_ = subBuilder.buildPartial(); - } - break; + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = com.google.protobuf.MapField.newMapField( + TagsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 90: - { - com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder subBuilder = null; - if (sshConfig_ != null) { - subBuilder = sshConfig_.toBuilder(); - } - sshConfig_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureSshConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sshConfig_); - sshConfig_ = subBuilder.buildPartial(); - } - - break; + com.google.protobuf.MapEntry + tags__ = input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + tags_.getMutableMap().put( + tags__.getKey(), tags__.getValue()); + break; + } + case 82: { + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder subBuilder = null; + if (databaseEncryption_ != null) { + subBuilder = databaseEncryption_.toBuilder(); + } + databaseEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(databaseEncryption_); + databaseEncryption_ = subBuilder.buildPartial(); } - case 98: - { - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder subBuilder = null; - if (proxyConfig_ != null) { - subBuilder = proxyConfig_.toBuilder(); - } - proxyConfig_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(proxyConfig_); - proxyConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 90: { + com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder subBuilder = null; + if (sshConfig_ != null) { + subBuilder = sshConfig_.toBuilder(); } - case 106: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - replicaPlacements_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - replicaPlacements_.add( - input.readMessage( - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.parser(), - extensionRegistry)); - break; + sshConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureSshConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sshConfig_); + sshConfig_ = subBuilder.buildPartial(); } - case 114: - { - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder subBuilder = null; - if (configEncryption_ != null) { - subBuilder = configEncryption_.toBuilder(); - } - configEncryption_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(configEncryption_); - configEncryption_ = subBuilder.buildPartial(); - } - break; + break; + } + case 98: { + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder subBuilder = null; + if (proxyConfig_ != null) { + subBuilder = proxyConfig_.toBuilder(); + } + proxyConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureProxyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(proxyConfig_); + proxyConfig_ = subBuilder.buildPartial(); } - case 122: - { - java.lang.String s = input.readStringRequireUtf8(); - endpointSubnetId_ = s; - break; + break; + } + case 106: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + replicaPlacements_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + replicaPlacements_.add( + input.readMessage(com.google.cloud.gkemulticloud.v1.ReplicaPlacement.parser(), extensionRegistry)); + break; + } + case 114: { + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder subBuilder = null; + if (configEncryption_ != null) { + subBuilder = configEncryption_.toBuilder(); + } + configEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(configEncryption_); + configEncryption_ = subBuilder.buildPartial(); + } + + break; + } + case 122: { + java.lang.String s = input.readStringRequireUtf8(); + + endpointSubnetId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -244,7 +196,8 @@ private AzureControlPlane( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { replicaPlacements_ = java.util.Collections.unmodifiableList(replicaPlacements_); @@ -253,38 +206,34 @@ private AzureControlPlane( makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object version_; /** - * - * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -294,7 +243,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ @java.lang.Override @@ -303,15 +251,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`).
@@ -321,15 +268,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 { @@ -340,8 +288,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int SUBNET_ID_FIELD_NUMBER = 2; 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
@@ -355,7 +301,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The subnetId. */ @java.lang.Override @@ -364,15 +309,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
@@ -386,15 +330,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 { @@ -405,8 +350,6 @@ public com.google.protobuf.ByteString getSubnetIdBytes() { public static final int VM_SIZE_FIELD_NUMBER = 3; private volatile java.lang.Object vmSize_; /** - * - * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    * For available VM sizes, see
@@ -415,7 +358,6 @@ public com.google.protobuf.ByteString getSubnetIdBytes() {
    * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The vmSize. */ @java.lang.Override @@ -424,15 +366,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`.
    * For available VM sizes, see
@@ -441,15 +382,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 { @@ -460,17 +402,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 @@ -478,36 +415,25 @@ 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() { @@ -517,18 +443,13 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB 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.
    * 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 @@ -536,38 +457,27 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
    * 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.
    * 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() { @@ -577,8 +487,6 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum 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.
@@ -586,10 +494,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 @@ -597,8 +502,6 @@ public boolean hasMainVolume() { return mainVolume_ != null; } /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -606,21 +509,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.
@@ -628,9 +524,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]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolumeOrBuilder() { @@ -640,16 +534,11 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolum 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 @@ -657,54 +546,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() { + public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { return getDatabaseEncryption(); } 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 @@ -712,34 +584,23 @@ 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() { @@ -749,16 +610,11 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfi 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 @@ -766,59 +622,48 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { return getConfigEncryption(); } 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, - ""); - } - - private com.google.protobuf.MapField tags_; - - private com.google.protobuf.MapField internalGetTags() { + 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, + ""); + } + 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_; } @@ -827,30 +672,28 @@ public int getTagsCount() { return internalGetTags().getMap().size(); } /** - * - * *
    * Optional. A set of tags to apply to all underlying control plane Azure resources.
    * 
* * 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.
    * 
@@ -858,12 +701,11 @@ public java.util.Map getTags() { * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.util.Map getTagsMap() { return internalGetTags().getMap(); } /** - * - * *
    * Optional. A set of tags to apply to all underlying control plane Azure resources.
    * 
@@ -871,16 +713,16 @@ public java.util.Map getTagsMap() { * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetTags().getMap(); + + public java.lang.String getTagsOrDefault( + java.lang.String key, + 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.
    * 
@@ -888,11 +730,12 @@ public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String * 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(); } @@ -902,8 +745,6 @@ public java.lang.String getTagsOrThrow(java.lang.String key) { public static final int REPLICA_PLACEMENTS_FIELD_NUMBER = 13; private java.util.List replicaPlacements_; /** - * - * *
    * Optional. Configuration for where to place the control plane replicas.
    * Up to three replica placement instances can be specified. If
@@ -911,18 +752,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.
    * Up to three replica placement instances can be specified. If
@@ -930,18 +766,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.
    * Up to three replica placement instances can be specified. If
@@ -949,17 +781,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.
    * Up to three replica placement instances can be specified. If
@@ -967,17 +795,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.
    * Up to three replica placement instances can be specified. If
@@ -985,9 +809,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( @@ -998,8 +820,6 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPla public static final int ENDPOINT_SUBNET_ID_FIELD_NUMBER = 15; 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.
@@ -1008,7 +828,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 @@ -1017,15 +836,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.
@@ -1034,15 +852,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 { @@ -1051,7 +870,6 @@ public com.google.protobuf.ByteString getEndpointSubnetIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1063,7 +881,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_); } @@ -1079,8 +898,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()); } @@ -1118,36 +941,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_); @@ -1160,44 +989,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1255,146 +1095,139 @@ 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() @@ -1402,17 +1235,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getReplicaPlacementsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1471,9 +1304,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 @@ -1492,8 +1325,7 @@ 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); int from_bitField0_ = bitField0_; result.version_ = version_; result.subnetId_ = subnetId_; @@ -1548,39 +1380,38 @@ public com.google.cloud.gkemulticloud.v1.AzureControlPlane buildPartial() { 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; @@ -1588,8 +1419,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_; onChanged(); @@ -1620,7 +1450,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()); if (replicaPlacementsBuilder_ == null) { if (!other.replicaPlacements_.isEmpty()) { if (replicaPlacements_.isEmpty()) { @@ -1639,10 +1470,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureControlPlane oth replicaPlacementsBuilder_ = null; replicaPlacements_ = other.replicaPlacements_; bitField0_ = (bitField0_ & ~0x00000002); - replicaPlacementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getReplicaPlacementsFieldBuilder() - : null; + replicaPlacementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReplicaPlacementsFieldBuilder() : null; } else { replicaPlacementsBuilder_.addAllMessages(other.replicaPlacements_); } @@ -1671,8 +1501,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AzureControlPlane) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureControlPlane) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1681,13 +1510,10 @@ public Builder mergeFrom( } 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`).
@@ -1697,13 +1523,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; @@ -1712,8 +1538,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1723,14 +1547,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 { @@ -1738,8 +1563,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1749,22 +1572,20 @@ 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) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1774,18 +1595,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1795,16 +1613,16 @@ 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) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1812,8 +1630,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
@@ -1827,13 +1643,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; @@ -1842,8 +1658,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
@@ -1857,14 +1671,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 { @@ -1872,8 +1687,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
@@ -1887,22 +1700,20 @@ 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) { + public Builder setSubnetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetId_ = value; 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
@@ -1916,18 +1727,15 @@ public Builder setSubnetId(java.lang.String value) {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSubnetId() { - + subnetId_ = getDefaultInstance().getSubnetId(); 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
@@ -1941,16 +1749,16 @@ 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) { + public Builder setSubnetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetId_ = value; onChanged(); return this; @@ -1958,8 +1766,6 @@ public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object vmSize_ = ""; /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * For available VM sizes, see
@@ -1968,13 +1774,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; @@ -1983,8 +1789,6 @@ public java.lang.String getVmSize() { } } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * For available VM sizes, see
@@ -1993,14 +1797,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 { @@ -2008,8 +1813,6 @@ public com.google.protobuf.ByteString getVmSizeBytes() { } } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * For available VM sizes, see
@@ -2018,22 +1821,20 @@ 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) { + public Builder setVmSize( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * For available VM sizes, see
@@ -2042,18 +1843,15 @@ public Builder setVmSize(java.lang.String value) {
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearVmSize() { - + vmSize_ = getDefaultInstance().getVmSize(); onChanged(); return this; } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * For available VM sizes, see
@@ -2062,16 +1860,16 @@ 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) { + public Builder setVmSizeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmSize_ = value; onChanged(); return this; @@ -2079,61 +1877,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 sshConfigBuilder_ != null || 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. */ 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) { @@ -2149,16 +1928,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) { @@ -2172,24 +1947,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 (sshConfig_ != null) { sshConfig_ = - com.google.cloud.gkemulticloud.v1.AzureSshConfig.newBuilder(sshConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureSshConfig.newBuilder(sshConfig_).mergeFrom(value).buildPartial(); } else { sshConfig_ = value; } @@ -2201,16 +1970,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() { if (sshConfigBuilder_ == null) { @@ -2224,67 +1989,51 @@ 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() { - + onChanged(); 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_; @@ -2292,64 +2041,45 @@ 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.
      * 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 rootVolumeBuilder_ != null || rootVolume_ != null; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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.
      * 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) { @@ -2365,17 +2095,13 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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) { @@ -2389,25 +2115,19 @@ public Builder setRootVolume( return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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 (rootVolume_ != null) { rootVolume_ = - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(rootVolume_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(rootVolume_).mergeFrom(value).buildPartial(); } else { rootVolume_ = value; } @@ -2419,17 +2139,13 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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() { if (rootVolumeBuilder_ == null) { @@ -2443,70 +2159,54 @@ public Builder clearRootVolume() { return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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() { - + onChanged(); return getRootVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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.
      * 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_; @@ -2514,13 +2214,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.
@@ -2528,18 +2223,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 mainVolumeBuilder_ != null || mainVolume_ != null; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2547,24 +2237,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.
@@ -2572,9 +2255,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) { @@ -2590,8 +2271,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.
@@ -2599,9 +2278,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) { @@ -2615,8 +2292,6 @@ public Builder setMainVolume( return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2624,17 +2299,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 (mainVolume_ != null) { mainVolume_ = - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(mainVolume_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(mainVolume_).mergeFrom(value).buildPartial(); } else { mainVolume_ = value; } @@ -2646,8 +2317,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.
@@ -2655,9 +2324,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() { if (mainVolumeBuilder_ == null) { @@ -2671,8 +2338,6 @@ public Builder clearMainVolume() { return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2680,18 +2345,14 @@ 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() { - + onChanged(); return getMainVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2699,22 +2360,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.
@@ -2722,22 +2378,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_; @@ -2745,61 +2396,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 databaseEncryptionBuilder_ != null || 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. */ 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(); @@ -2813,15 +2444,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) { @@ -2835,25 +2462,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 (databaseEncryption_ != null) { databaseEncryption_ = - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.newBuilder( - databaseEncryption_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.newBuilder(databaseEncryption_).mergeFrom(value).buildPartial(); } else { databaseEncryption_ = value; } @@ -2865,15 +2484,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() { if (databaseEncryptionBuilder_ == null) { @@ -2887,66 +2502,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() { + 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_; @@ -2954,58 +2551,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 proxyConfigBuilder_ != null || 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. */ 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) { @@ -3021,15 +2599,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) { @@ -3043,23 +2617,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 (proxyConfig_ != null) { proxyConfig_ = - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.newBuilder(proxyConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.newBuilder(proxyConfig_).mergeFrom(value).buildPartial(); } else { proxyConfig_ = value; } @@ -3071,15 +2639,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() { if (proxyConfigBuilder_ == null) { @@ -3093,64 +2657,48 @@ 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() { - + onChanged(); 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_; @@ -3158,61 +2706,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 configEncryptionBuilder_ != null || 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. */ 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(); @@ -3226,15 +2754,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) { @@ -3248,24 +2772,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 (configEncryption_ != null) { configEncryption_ = - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.newBuilder(configEncryption_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.newBuilder(configEncryption_).mergeFrom(value).buildPartial(); } else { configEncryption_ = value; } @@ -3277,15 +2794,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() { if (configEncryptionBuilder_ == null) { @@ -3299,86 +2812,69 @@ 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() { + 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() { - onChanged(); - ; + internalGetMutableTags() { + onChanged();; 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(); @@ -3390,30 +2886,28 @@ public int getTagsCount() { return internalGetTags().getMap().size(); } /** - * - * *
      * Optional. A set of tags to apply to all underlying control plane Azure resources.
      * 
* * 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.
      * 
@@ -3421,12 +2915,11 @@ public java.util.Map getTags() { * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override + public java.util.Map getTagsMap() { return internalGetTags().getMap(); } /** - * - * *
      * Optional. A set of tags to apply to all underlying control plane Azure resources.
      * 
@@ -3434,16 +2927,16 @@ public java.util.Map getTagsMap() { * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetTags().getMap(); + + public java.lang.String getTagsOrDefault( + java.lang.String key, + 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.
      * 
@@ -3451,11 +2944,12 @@ public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String * 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(); } @@ -3463,85 +2957,80 @@ public java.lang.String getTagsOrThrow(java.lang.String key) { } public Builder clearTags() { - internalGetMutableTags().getMutableMap().clear(); + internalGetMutableTags().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. A set of tags to apply to all underlying control plane Azure resources.
      * 
* * 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() { return internalGetMutableTags().getMutableMap(); } /** - * - * *
      * Optional. A set of tags to apply to all underlying control plane Azure resources.
      * 
* * 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableTags().getMutableMap().put(key, value); + internalGetMutableTags().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Optional. A set of tags to apply to all underlying control plane Azure resources.
      * 
* * 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); return this; } private java.util.List replicaPlacements_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureReplicaPlacementsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - replicaPlacements_ = - new java.util.ArrayList( - replicaPlacements_); + replicaPlacements_ = new java.util.ArrayList(replicaPlacements_); bitField0_ |= 0x00000002; - } + } } 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.
      * Up to three replica placement instances can be specified. If
@@ -3549,12 +3038,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 { @@ -3562,8 +3048,6 @@ private void ensureReplicaPlacementsIsMutable() { } } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3571,9 +3055,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) { @@ -3583,8 +3065,6 @@ public int getReplicaPlacementsCount() { } } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3592,9 +3072,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) { @@ -3604,8 +3082,6 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(i } } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3613,9 +3089,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) { @@ -3632,8 +3106,6 @@ public Builder setReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3641,9 +3113,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) { @@ -3657,8 +3127,6 @@ public Builder setReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3666,9 +3134,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) { @@ -3684,8 +3150,6 @@ public Builder addReplicaPlacements(com.google.cloud.gkemulticloud.v1.ReplicaPla return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3693,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) { @@ -3712,8 +3174,6 @@ public Builder addReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3721,9 +3181,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 +3195,6 @@ public Builder addReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3746,9 +3202,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) { @@ -3762,8 +3216,6 @@ public Builder addReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3771,15 +3223,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); @@ -3787,8 +3238,6 @@ public Builder addAllReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3796,9 +3245,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) { @@ -3811,8 +3258,6 @@ public Builder clearReplicaPlacements() { return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3820,9 +3265,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) { @@ -3835,8 +3278,6 @@ public Builder removeReplicaPlacements(int index) { return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3844,17 +3285,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.
      * Up to three replica placement instances can be specified. If
@@ -3862,21 +3299,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.
      * Up to three replica placement instances can be specified. If
@@ -3884,12 +3316,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 { @@ -3897,8 +3327,6 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder getReplicaPlac } } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3906,18 +3334,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.
      * Up to three replica placement instances can be specified. If
@@ -3925,19 +3348,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.
      * Up to three replica placement instances can be specified. If
@@ -3945,26 +3363,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_ & 0x00000002) != 0), getParentForChildren(), @@ -3976,8 +3386,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.
@@ -3986,13 +3394,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; @@ -4001,8 +3409,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.
@@ -4011,14 +3417,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 { @@ -4026,8 +3433,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.
@@ -4036,22 +3441,20 @@ 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) { + public Builder setEndpointSubnetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpointSubnetId_ = value; 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.
@@ -4060,18 +3463,15 @@ 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() { - + endpointSubnetId_ = getDefaultInstance().getEndpointSubnetId(); 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.
@@ -4080,23 +3480,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) { + public Builder setEndpointSubnetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpointSubnetId_ = 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); } @@ -4106,12 +3506,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(); } @@ -4120,16 +3520,16 @@ 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 { - return new AzureControlPlane(input, extensionRegistry); - } - }; + 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 { + return new AzureControlPlane(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4144,4 +3544,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureControlPlane getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java index 70de895..e77d095 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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`).
@@ -35,13 +17,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`).
@@ -51,14 +30,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
@@ -72,13 +49,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
@@ -92,14 +66,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`.
    * For available VM sizes, see
@@ -108,13 +80,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`.
    * For available VM sizes, see
@@ -123,105 +92,75 @@ 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.
    * 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.
    * 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.
    * 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.
@@ -229,16 +168,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.
@@ -246,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 The mainVolume. */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getMainVolume(); /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -263,139 +192,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.
    * 
@@ -404,31 +286,30 @@ public interface AzureControlPlaneOrBuilder */ int getTagsCount(); /** - * - * *
    * Optional. A set of tags to apply to all underlying control plane Azure resources.
    * 
* * 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.
    * 
* * 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.
    * 
@@ -437,24 +318,22 @@ public interface AzureControlPlaneOrBuilder */ /* 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.
    * 
* * 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.
    * Up to three replica placement instances can be specified. If
@@ -462,14 +341,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.
    * Up to three replica placement instances can be specified. If
@@ -477,14 +353,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.
    * Up to three replica placement instances can be specified. If
@@ -492,14 +364,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.
    * Up to three replica placement instances can be specified. If
@@ -507,15 +375,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.
    * Up to three replica placement instances can be specified. If
@@ -523,16 +387,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.
@@ -541,13 +401,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.
@@ -556,8 +413,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java index bcb6a2e..a91d6a0 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
  * Anthos clusters on Azure encrypts your Kubernetes data at rest
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AzureDatabaseEncryption(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,20 +55,19 @@ private AzureDatabaseEncryption(
           case 0:
             done = true;
             break;
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              keyId_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            keyId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,33 +75,29 @@ private AzureDatabaseEncryption(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private volatile java.lang.Object keyId_;
   /**
-   *
-   *
    * 
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
    * For example:
@@ -129,7 +107,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 @@ -138,15 +115,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.
    * For example:
@@ -156,15 +132,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 { @@ -173,7 +150,6 @@ public com.google.protobuf.ByteString getKeyIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +161,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_); } @@ -209,15 +186,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,104 +214,96 @@ 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.
    * Anthos clusters on Azure encrypts your Kubernetes data at rest
@@ -343,23 +312,21 @@ 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()
@@ -367,15 +334,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -385,9 +353,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
@@ -406,8 +374,7 @@ 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);
+      com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption result = new com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption(this);
       result.keyId_ = keyId_;
       onBuilt();
       return result;
@@ -417,39 +384,38 @@ public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption buildPartial()
     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;
@@ -457,8 +423,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_;
         onChanged();
@@ -482,8 +447,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -495,8 +459,6 @@ public Builder mergeFrom(
 
     private java.lang.Object keyId_ = "";
     /**
-     *
-     *
      * 
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      * For example:
@@ -506,13 +468,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; @@ -521,8 +483,6 @@ public java.lang.String getKeyId() { } } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      * For example:
@@ -532,14 +492,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 { @@ -547,8 +508,6 @@ public com.google.protobuf.ByteString getKeyIdBytes() { } } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      * For example:
@@ -558,22 +517,20 @@ 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) { + public Builder setKeyId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      * For example:
@@ -583,18 +540,15 @@ public Builder setKeyId(java.lang.String value) {
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearKeyId() { - + keyId_ = getDefaultInstance().getKeyId(); onChanged(); return this; } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      * For example:
@@ -604,23 +558,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) { + public Builder setKeyIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyId_ = 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); } @@ -630,12 +584,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(); } @@ -644,16 +598,16 @@ 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 { - return new AzureDatabaseEncryption(input, extensionRegistry); - } - }; + 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 { + return new AzureDatabaseEncryption(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -668,4 +622,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java similarity index 65% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java index 74fa6c0..4533415 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * For example:
@@ -35,13 +17,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.
    * For example:
@@ -51,8 +30,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java index edf9bec..1d6cdd5 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AzureDiskTemplate( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,18 +52,18 @@ private AzureDiskTemplate( case 0: done = true; break; - case 8: - { - sizeGib_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + sizeGib_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,33 +71,29 @@ private AzureDiskTemplate( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * Optional. The size of the disk, in GiBs.
    * When unspecified, a default value is provided. See the specific reference
@@ -121,7 +101,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 @@ -130,7 +109,6 @@ public int getSizeGib() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (sizeGib_ != 0) { output.writeInt32(1, sizeGib_); } @@ -156,7 +135,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -166,15 +146,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -194,126 +174,117 @@ 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() @@ -321,15 +292,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +311,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 @@ -360,8 +332,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate result = new com.google.cloud.gkemulticloud.v1.AzureDiskTemplate(this); result.sizeGib_ = sizeGib_; onBuilt(); return result; @@ -371,39 +342,38 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate buildPartial() { 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; @@ -411,8 +381,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()); } @@ -435,8 +404,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -446,10 +414,8 @@ public Builder mergeFrom( return this; } - private int sizeGib_; + private int sizeGib_ ; /** - * - * *
      * Optional. The size of the disk, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -457,7 +423,6 @@ public Builder mergeFrom(
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sizeGib. */ @java.lang.Override @@ -465,8 +430,6 @@ public int getSizeGib() { return sizeGib_; } /** - * - * *
      * Optional. The size of the disk, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -474,19 +437,16 @@ public int getSizeGib() {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The sizeGib to set. * @return This builder for chaining. */ public Builder setSizeGib(int value) { - + sizeGib_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The size of the disk, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -494,18 +454,17 @@ public Builder setSizeGib(int value) {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSizeGib() { - + sizeGib_ = 0; 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); } @@ -515,12 +474,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(); } @@ -529,16 +488,16 @@ 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 { - return new AzureDiskTemplate(input, extensionRegistry); - } - }; + 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 { + return new AzureDiskTemplate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -553,4 +512,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java new file mode 100644 index 0000000..4a5e8ba --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java @@ -0,0 +1,21 @@ +// 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java similarity index 69% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java index d23a194..811eb74 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 +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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AzureK8sVersionInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AzureK8sVersionInfo( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + version_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private AzureK8sVersionInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -132,29 +109,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; } } /** - * - * *
    * 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() { + 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,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_); } @@ -199,15 +176,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.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 (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ 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; } /** - * - * *
    * 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 + 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() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,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 @@ -394,8 +362,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo result = new com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo(this); result.version_ = version_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo buildPartial() { 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; @@ -445,8 +411,7 @@ 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_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -505,21 +467,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * 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() { + 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * 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) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; 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(); 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) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -598,12 +552,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(); } @@ -612,16 +566,16 @@ 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 { - return new AzureK8sVersionInfo(input, extensionRegistry); - } - }; + 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 { + return new AzureK8sVersionInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java new file mode 100644 index 0000000..3fd9014 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.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 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java similarity index 63% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java index de75c6f..5494e53 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +28,16 @@ private AzureNodeConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureNodeConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AzureNodeConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,131 +57,112 @@ private AzureNodeConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              vmSize_ = s;
-              break;
+            vmSize_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null;
+            if (rootVolume_ != null) {
+              subBuilder = rootVolume_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null;
-              if (rootVolume_ != null) {
-                subBuilder = rootVolume_.toBuilder();
-              }
-              rootVolume_ =
-                  input.readMessage(
-                      com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(rootVolume_);
-                rootVolume_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rootVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(rootVolume_);
+              rootVolume_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                tags_ =
-                    com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry tags__ =
-                  input.readMessage(
-                      TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              tags_.getMutableMap().put(tags__.getKey(), tags__.getValue());
-              break;
+
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              tags_ = com.google.protobuf.MapField.newMapField(
+                  TagsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder subBuilder = null;
-              if (sshConfig_ != null) {
-                subBuilder = sshConfig_.toBuilder();
-              }
-              sshConfig_ =
-                  input.readMessage(
-                      com.google.cloud.gkemulticloud.v1.AzureSshConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(sshConfig_);
-                sshConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            com.google.protobuf.MapEntry
+            tags__ = input.readMessage(
+                TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            tags_.getMutableMap().put(
+                tags__.getKey(), tags__.getValue());
+            break;
+          }
+          case 58: {
+            com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder subBuilder = null;
+            if (sshConfig_ != null) {
+              subBuilder = sshConfig_.toBuilder();
+            }
+            sshConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureSshConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(sshConfig_);
+              sshConfig_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              imageType_ = s;
-              break;
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            imageType_ = s;
+            break;
+          }
+          case 74: {
+            com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder subBuilder = null;
+            if (proxyConfig_ != null) {
+              subBuilder = proxyConfig_.toBuilder();
             }
-          case 74:
-            {
-              com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder subBuilder = null;
-              if (proxyConfig_ != null) {
-                subBuilder = proxyConfig_.toBuilder();
-              }
-              proxyConfig_ =
-                  input.readMessage(
-                      com.google.cloud.gkemulticloud.v1.AzureProxyConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(proxyConfig_);
-                proxyConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            proxyConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureProxyConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(proxyConfig_);
+              proxyConfig_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                taints_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              taints_.add(
-                  input.readMessage(
-                      com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry));
-              break;
+
+            break;
+          }
+          case 82: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              taints_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
+            }
+            taints_.add(
+                input.readMessage(com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry));
+            break;
+          }
+          case 90: {
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000004;
             }
-          case 90:
-            {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000004;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 98: {
+            com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder subBuilder = null;
+            if (configEncryption_ != null) {
+              subBuilder = configEncryption_.toBuilder();
             }
-          case 98:
-            {
-              com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder subBuilder = null;
-              if (configEncryption_ != null) {
-                subBuilder = configEncryption_.toBuilder();
-              }
-              configEncryption_ =
-                  input.readMessage(
-                      com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(configEncryption_);
-                configEncryption_ = subBuilder.buildPartial();
-              }
-
-              break;
+            configEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(configEncryption_);
+              configEncryption_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -206,7 +170,8 @@ private AzureNodeConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         taints_ = java.util.Collections.unmodifiableList(taints_);
@@ -215,40 +180,36 @@ private AzureNodeConfig(
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private volatile java.lang.Object vmSize_;
   /**
-   *
-   *
    * 
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    * See [Supported VM
@@ -257,7 +218,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The vmSize. */ @java.lang.Override @@ -266,15 +226,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`.
    * See [Supported VM
@@ -283,15 +242,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 { @@ -302,18 +262,13 @@ 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.
    * 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 @@ -321,38 +276,27 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
    * 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.
    * 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() { @@ -360,23 +304,24 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum } 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, - ""); - } - - private com.google.protobuf.MapField tags_; - - private com.google.protobuf.MapField internalGetTags() { + 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, + ""); + } + 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_; } @@ -385,8 +330,6 @@ 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.
@@ -397,22 +340,22 @@ 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.
@@ -424,12 +367,11 @@ public java.util.Map getTags() {
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
+
   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.
@@ -441,16 +383,16 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetTags().getMap();
+
+  public java.lang.String getTagsOrDefault(
+      java.lang.String key,
+      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.
@@ -462,11 +404,12 @@ public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String
    * 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();
     }
@@ -476,8 +419,6 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
   public static final int IMAGE_TYPE_FIELD_NUMBER = 8;
   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
@@ -486,7 +427,6 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
    * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The imageType. */ @java.lang.Override @@ -495,15 +435,14 @@ 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
@@ -512,15 +451,16 @@ 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 { @@ -531,16 +471,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 @@ -548,34 +483,23 @@ 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() { @@ -585,16 +509,11 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB 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 @@ -602,34 +521,23 @@ 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() { @@ -639,16 +547,11 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfi 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 @@ -656,138 +559,108 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { return getConfigEncryption(); } public static final int TAINTS_FIELD_NUMBER = 10; 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, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + 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, + ""); + } + 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_; } @@ -796,8 +669,6 @@ 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",
@@ -806,22 +677,22 @@ 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",
@@ -831,12 +702,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
+
   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",
@@ -846,16 +716,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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",
@@ -865,11 +735,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -877,7 +748,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -889,15 +759,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());
     }
@@ -910,8 +785,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());
     }
@@ -928,42 +807,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -973,35 +857,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -1051,103 +943,96 @@ 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.
@@ -1155,47 +1040,47 @@ 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()
@@ -1203,17 +1088,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTaintsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1257,9 +1142,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
@@ -1278,8 +1163,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.vmSize_ = vmSize_;
       if (rootVolumeBuilder_ == null) {
@@ -1324,39 +1208,38 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeConfig buildPartial() {
     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;
@@ -1364,8 +1247,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_;
         onChanged();
@@ -1373,7 +1255,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());
       if (!other.getImageType().isEmpty()) {
         imageType_ = other.imageType_;
         onChanged();
@@ -1405,16 +1288,16 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodeConfig other
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            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());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1434,8 +1317,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.gkemulticloud.v1.AzureNodeConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureNodeConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1444,13 +1326,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object vmSize_ = "";
     /**
-     *
-     *
      * 
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * See [Supported VM
@@ -1459,13 +1338,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; @@ -1474,8 +1353,6 @@ public java.lang.String getVmSize() { } } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * See [Supported VM
@@ -1484,14 +1361,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 { @@ -1499,8 +1377,6 @@ public com.google.protobuf.ByteString getVmSizeBytes() { } } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * See [Supported VM
@@ -1509,22 +1385,20 @@ 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) { + public Builder setVmSize( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * See [Supported VM
@@ -1533,18 +1407,15 @@ public Builder setVmSize(java.lang.String value) {
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearVmSize() { - + vmSize_ = getDefaultInstance().getVmSize(); onChanged(); return this; } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * See [Supported VM
@@ -1553,16 +1424,16 @@ 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) { + public Builder setVmSizeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmSize_ = value; onChanged(); return this; @@ -1570,64 +1441,45 @@ 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.
      * 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 rootVolumeBuilder_ != null || rootVolume_ != null; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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.
      * 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) { @@ -1643,17 +1495,13 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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) { @@ -1667,25 +1515,19 @@ public Builder setRootVolume( return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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 (rootVolume_ != null) { rootVolume_ = - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(rootVolume_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(rootVolume_).mergeFrom(value).buildPartial(); } else { rootVolume_ = value; } @@ -1697,17 +1539,13 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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() { if (rootVolumeBuilder_ == null) { @@ -1721,90 +1559,75 @@ public Builder clearRootVolume() { return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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() { - + onChanged(); return getRootVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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.
      * 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() { - onChanged(); - ; + internalGetMutableTags() { + onChanged();; 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(); @@ -1816,8 +1639,6 @@ 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.
@@ -1828,22 +1649,22 @@ 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.
@@ -1855,12 +1676,11 @@ public java.util.Map getTags() {
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
+
     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.
@@ -1872,16 +1692,16 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetTags().getMap();
+
+    public java.lang.String getTagsOrDefault(
+        java.lang.String key,
+        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.
@@ -1893,11 +1713,12 @@ public java.lang.String getTagsOrDefault(java.lang.String key, java.lang.String
      * 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();
       }
@@ -1905,12 +1726,11 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
     }
 
     public Builder clearTags() {
-      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.
@@ -1921,21 +1741,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() {
       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.
@@ -1946,20 +1768,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableTags().getMutableMap().put(key, value);
+      internalGetMutableTags().getMutableMap()
+          .put(key, value);
       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.
@@ -1970,15 +1791,16 @@ 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);
       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
@@ -1987,13 +1809,13 @@ public Builder putAllTags(java.util.Map valu
      * 
* * 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; @@ -2002,8 +1824,6 @@ 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
@@ -2012,14 +1832,15 @@ 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 { @@ -2027,8 +1848,6 @@ 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
@@ -2037,22 +1856,20 @@ public com.google.protobuf.ByteString getImageTypeBytes() {
      * 
* * 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) { + public Builder setImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; 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
@@ -2061,18 +1878,15 @@ public Builder setImageType(java.lang.String value) {
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); 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
@@ -2081,16 +1895,16 @@ 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) { + public Builder setImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; @@ -2098,58 +1912,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 sshConfigBuilder_ != null || 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. */ 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) { @@ -2165,15 +1960,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) { @@ -2187,23 +1978,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 (sshConfig_ != null) { sshConfig_ = - com.google.cloud.gkemulticloud.v1.AzureSshConfig.newBuilder(sshConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureSshConfig.newBuilder(sshConfig_).mergeFrom(value).buildPartial(); } else { sshConfig_ = value; } @@ -2215,15 +2000,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() { if (sshConfigBuilder_ == null) { @@ -2237,64 +2018,48 @@ 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() { - + onChanged(); 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_; @@ -2302,58 +2067,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 proxyConfigBuilder_ != null || 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. */ 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) { @@ -2369,15 +2115,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) { @@ -2391,23 +2133,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 (proxyConfig_ != null) { proxyConfig_ = - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.newBuilder(proxyConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.newBuilder(proxyConfig_).mergeFrom(value).buildPartial(); } else { proxyConfig_ = value; } @@ -2419,15 +2155,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() { if (proxyConfigBuilder_ == null) { @@ -2441,64 +2173,48 @@ 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() { - + onChanged(); 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_; @@ -2506,61 +2222,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 configEncryptionBuilder_ != null || 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. */ 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(); @@ -2574,15 +2270,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) { @@ -2596,24 +2288,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 (configEncryption_ != null) { configEncryption_ = - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.newBuilder(configEncryption_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.newBuilder(configEncryption_).mergeFrom(value).buildPartial(); } else { configEncryption_ = value; } @@ -2625,15 +2310,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() { if (configEncryptionBuilder_ == null) { @@ -2647,97 +2328,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() { + 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_ & 0x00000002) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000002; - } + } } 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) { @@ -2747,15 +2402,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) { @@ -2765,15 +2416,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) { @@ -2783,17 +2430,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(); @@ -2807,15 +2451,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) { @@ -2829,15 +2469,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) { @@ -2853,17 +2489,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(); @@ -2877,17 +2510,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()); @@ -2898,15 +2528,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) { @@ -2920,21 +2546,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); @@ -2942,15 +2565,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) { @@ -2963,15 +2582,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) { @@ -2984,50 +2599,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 { @@ -3035,83 +2639,70 @@ 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_ & 0x00000002) != 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_ & 0x00000002) != 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -3123,8 +2714,6 @@ 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",
@@ -3133,22 +2722,22 @@ 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",
@@ -3158,12 +2747,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
+
     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",
@@ -3173,17 +2761,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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",
@@ -3193,11 +2780,12 @@ public 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();
       }
@@ -3205,12 +2793,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      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",
@@ -3219,21 +2806,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() {
       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",
@@ -3242,20 +2831,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       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",
@@ -3264,13 +2852,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);
       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);
     }
 
@@ -3280,12 +2871,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();
   }
@@ -3294,16 +2885,16 @@ 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 {
-          return new AzureNodeConfig(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new AzureNodeConfig(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3318,4 +2909,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.gkemulticloud.v1.AzureNodeConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
similarity index 69%
rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
index ec726c5..d176cd7 100644
--- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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`.
    * See [Supported VM
@@ -34,13 +16,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`.
    * See [Supported VM
@@ -49,61 +28,45 @@ 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.
    * 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.
    * 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.
    * 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.
@@ -116,8 +79,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.
@@ -128,13 +89,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.
@@ -145,10 +108,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.
@@ -161,13 +123,11 @@ public interface AzureNodeConfigOrBuilder
    */
 
   /* 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.
@@ -178,11 +138,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 have a value of `ubuntu`, or `windows` if the cluster enables
@@ -191,13 +151,10 @@ java.lang.String getTagsOrDefault(
    * 
* * 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
@@ -206,199 +163,137 @@ java.lang.String getTagsOrDefault(
    * 
* * 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",
@@ -409,8 +304,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",
@@ -419,13 +312,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",
@@ -434,10 +329,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",
@@ -448,13 +342,11 @@ java.lang.String getTagsOrDefault(
    */
 
   /* 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",
@@ -463,5 +355,7 @@ 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java
similarity index 67%
rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java
rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java
index 2ccce88..50fefb1 100644
--- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java
+++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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_ = ""; @@ -49,15 +31,16 @@ private AzureNodePool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureNodePool(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AzureNodePool( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,163 +60,138 @@ private AzureNodePool( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - subnetId_ = s; - break; + subnetId_ = s; + break; + } + case 34: { + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder subBuilder = null; + if (autoscaling_ != null) { + subBuilder = autoscaling_.toBuilder(); } - case 34: - { - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder subBuilder = null; - if (autoscaling_ != null) { - subBuilder = autoscaling_.toBuilder(); - } - autoscaling_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(autoscaling_); - autoscaling_ = subBuilder.buildPartial(); - } - - break; + autoscaling_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(autoscaling_); + autoscaling_ = subBuilder.buildPartial(); } - case 48: - { - int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 48: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + uid_ = s; + break; + } + case 72: { - uid_ = s; - break; + reconciling_ = input.readBool(); + break; + } + case 82: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 72: - { - reconciling_ = input.readBool(); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 82: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 90: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 98: - { - java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - case 106: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = - com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); - break; + break; + } + case 98: { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + case 106: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 170: - { - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder subBuilder = null; - if (maxPodsConstraint_ != null) { - subBuilder = maxPodsConstraint_.toBuilder(); - } - maxPodsConstraint_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(maxPodsConstraint_); - maxPodsConstraint_ = subBuilder.buildPartial(); - } - - break; + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + annotations_.getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + break; + } + case 170: { + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder subBuilder = null; + if (maxPodsConstraint_ != null) { + subBuilder = maxPodsConstraint_.toBuilder(); } - case 178: - { - com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); - } - config_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureNodeConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); - } - - break; + maxPodsConstraint_ = input.readMessage(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(maxPodsConstraint_); + maxPodsConstraint_ = subBuilder.buildPartial(); } - case 186: - { - java.lang.String s = input.readStringRequireUtf8(); - azureAvailabilityZone_ = s; - break; + break; + } + case 178: { + com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + config_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureNodeConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); } + + break; + } + case 186: { + java.lang.String s = input.readStringRequireUtf8(); + + azureAvailabilityZone_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -241,52 +199,48 @@ private AzureNodePool( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -295,8 +249,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -305,8 +257,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.
@@ -316,8 +266,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -326,8 +274,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RECONCILING(3), /** - * - * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -336,8 +282,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(4), /** - * - * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -347,8 +291,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.
@@ -361,8 +303,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -371,8 +311,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.
      * 
@@ -381,8 +319,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.
@@ -392,8 +328,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.
      * 
@@ -402,8 +336,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.
      * 
@@ -412,8 +344,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.
@@ -423,8 +353,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.
@@ -434,6 +362,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(
@@ -458,57 +387,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;
@@ -528,8 +453,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of this resource.
    * Node pool names are formatted as
@@ -539,7 +462,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -548,15 +470,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.
    * Node pool names are formatted as
@@ -566,15 +487,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 { @@ -585,14 +507,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 2; 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 @@ -601,29 +520,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. 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 { @@ -634,16 +553,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 @@ -651,34 +565,23 @@ 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() { @@ -688,15 +591,12 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder getConfigOrBui public static final int SUBNET_ID_FIELD_NUMBER = 3; 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 @@ -705,30 +605,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 { @@ -739,16 +639,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 @@ -756,94 +651,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() { + public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { return getAutoscaling(); } public static final int STATE_FIELD_NUMBER = 6; private int 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 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() { + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePool.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = - com.google.cloud.gkemulticloud.v1.AzureNodePool.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.State.UNRECOGNIZED : result; } public static final int UID_FIELD_NUMBER = 8; 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 @@ -852,29 +717,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 { @@ -885,15 +750,12 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int RECONCILING_FIELD_NUMBER = 9; 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 @@ -904,15 +766,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 @@ -920,15 +778,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 @@ -936,14 +790,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() { @@ -953,15 +804,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 @@ -969,15 +816,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 @@ -985,14 +828,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() { @@ -1002,8 +842,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 12; private volatile java.lang.Object etag_; /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -1012,7 +850,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 12; - * * @return The etag. */ @java.lang.Override @@ -1021,15 +858,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.
@@ -1038,15 +874,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 { @@ -1055,24 +892,24 @@ 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, - ""); - } - - private com.google.protobuf.MapField annotations_; - + 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, + ""); + } + 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_; } @@ -1081,8 +918,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. Annotations on the node pool.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1094,25 +929,24 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1124,16 +958,14 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1145,21 +977,19 @@ 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 getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1171,15 +1001,15 @@ public 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(); } @@ -1189,17 +1019,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 @@ -1207,55 +1032,40 @@ 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() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder() { return getMaxPodsConstraint(); } public static final int AZURE_AVAILABILITY_ZONE_FIELD_NUMBER = 23; private volatile java.lang.Object azureAvailabilityZone_; /** - * - * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    * When unspecified, it defaults to `1`.
    * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The azureAvailabilityZone. */ @java.lang.Override @@ -1264,30 +1074,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; } } /** - * - * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    * When unspecified, it defaults to `1`.
    * 
* * 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 { @@ -1296,7 +1106,6 @@ public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1308,7 +1117,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_); } @@ -1321,8 +1131,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_)) { @@ -1340,8 +1149,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()); } @@ -1370,42 +1183,48 @@ 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_); @@ -1418,43 +1237,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.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 (!getAzureAvailabilityZone() + .equals(other.getAzureAvailabilityZone())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1485,7 +1316,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(); @@ -1511,147 +1343,140 @@ 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() @@ -1659,15 +1484,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1722,9 +1548,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 @@ -1743,8 +1569,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.version_ = version_; @@ -1789,39 +1614,38 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool buildPartial() { 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; @@ -1829,8 +1653,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_; onChanged(); @@ -1869,7 +1692,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePool other) etag_ = other.etag_; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); if (other.hasMaxPodsConstraint()) { mergeMaxPodsConstraint(other.getMaxPodsConstraint()); } @@ -1905,13 +1729,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1921,13 +1742,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; @@ -1936,8 +1757,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1947,14 +1766,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 { @@ -1962,8 +1782,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1973,22 +1791,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1998,18 +1814,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -2019,16 +1832,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2036,20 +1849,18 @@ 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; @@ -2058,21 +1869,20 @@ 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 { @@ -2080,61 +1890,54 @@ 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) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; 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() { - + version_ = getDefaultInstance().getVersion(); 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]; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -2142,58 +1945,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 configBuilder_ != null || 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. */ 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) { @@ -2209,15 +1993,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) { @@ -2231,23 +2011,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 (config_ != null) { config_ = - com.google.cloud.gkemulticloud.v1.AzureNodeConfig.newBuilder(config_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureNodeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -2259,15 +2033,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() { if (configBuilder_ == null) { @@ -2281,64 +2051,48 @@ 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() { - + onChanged(); 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_; @@ -2346,21 +2100,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; @@ -2369,22 +2121,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 { @@ -2392,64 +2143,57 @@ 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) { + public Builder setSubnetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetId_ = value; 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() { - + subnetId_ = getDefaultInstance().getSubnetId(); 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]; - * * @param value The bytes for subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetId_ = value; onChanged(); return this; @@ -2457,61 +2201,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 autoscalingBuilder_ != null || 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. */ 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(); @@ -2525,15 +2249,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) { @@ -2547,24 +2267,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 (autoscaling_ != null) { autoscaling_ = - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.newBuilder(autoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); } else { autoscaling_ = value; } @@ -2576,15 +2289,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() { if (autoscalingBuilder_ == null) { @@ -2598,66 +2307,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() { + 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_; @@ -2665,75 +2356,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = - com.google.cloud.gkemulticloud.v1.AzureNodePool.State.valueOf(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.valueOf(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. */ @@ -2741,26 +2408,21 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AzureNodePool.State va if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2768,20 +2430,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; @@ -2790,21 +2450,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 { @@ -2812,77 +2471,67 @@ 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) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); 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 @@ -2890,38 +2539,32 @@ 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. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); 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() { - + reconciling_ = false; onChanged(); return this; @@ -2929,58 +2572,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 createTimeBuilder_ != null || 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. */ 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) { @@ -2996,17 +2620,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(); onChanged(); @@ -3017,21 +2638,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3043,15 +2660,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() { if (createTimeBuilder_ == null) { @@ -3065,64 +2678,48 @@ 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() { - + onChanged(); 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_; @@ -3130,58 +2727,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -3197,17 +2775,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(); onChanged(); @@ -3218,21 +2793,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3244,15 +2815,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() { if (updateTimeBuilder_ == null) { @@ -3266,64 +2833,48 @@ 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() { - + onChanged(); 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_; @@ -3331,8 +2882,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3341,13 +2890,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; @@ -3356,8 +2905,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3366,14 +2913,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 { @@ -3381,8 +2929,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3391,22 +2937,20 @@ 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3415,18 +2959,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 12; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3435,39 +2976,37 @@ 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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); 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() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; 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(); @@ -3479,8 +3018,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3492,25 +3029,24 @@ 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3522,16 +3058,14 @@ 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3543,21 +3077,19 @@ 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 getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3569,15 +3101,15 @@ public 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(); } @@ -3585,12 +3117,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3602,24 +3133,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() { return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3631,23 +3163,21 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableAnnotations().getMutableMap().put(key, value); + internalGetMutableAnnotations().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3659,71 +3189,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); 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 maxPodsConstraintBuilder_ != null || 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. */ 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) { @@ -3739,16 +3252,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) { @@ -3762,25 +3271,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 (maxPodsConstraint_ != null) { maxPodsConstraint_ = - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_).mergeFrom(value).buildPartial(); } else { maxPodsConstraint_ = value; } @@ -3792,16 +3294,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() { if (maxPodsConstraintBuilder_ == null) { @@ -3815,69 +3313,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() { + 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_; @@ -3885,21 +3365,19 @@ public Builder clearMaxPodsConstraint() { private java.lang.Object azureAvailabilityZone_ = ""; /** - * - * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      * When unspecified, it defaults to `1`.
      * 
* * 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; @@ -3908,22 +3386,21 @@ public java.lang.String getAzureAvailabilityZone() { } } /** - * - * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      * When unspecified, it defaults to `1`.
      * 
* * 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 { @@ -3931,71 +3408,64 @@ public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { } } /** - * - * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      * When unspecified, it defaults to `1`.
      * 
* * 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) { + public Builder setAzureAvailabilityZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureAvailabilityZone_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      * When unspecified, it defaults to `1`.
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAzureAvailabilityZone() { - + azureAvailabilityZone_ = getDefaultInstance().getAzureAvailabilityZone(); onChanged(); return this; } /** - * - * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      * When unspecified, it defaults to `1`.
      * 
* * 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) { + public Builder setAzureAvailabilityZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureAvailabilityZone_ = 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); } @@ -4005,12 +3475,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(); } @@ -4019,16 +3489,16 @@ 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 { - return new AzureNodePool(input, extensionRegistry); - } - }; + 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 { + return new AzureNodePool(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4043,4 +3513,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureNodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java index 68bfc29..312a142 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
  * The Kubernetes cluster autoscaler will automatically adjust the
@@ -29,29 +12,30 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AzureNodePoolAutoscaling(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -70,23 +54,23 @@ private AzureNodePoolAutoscaling(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              minNodeCount_ = input.readInt32();
-              break;
-            }
-          case 16:
-            {
-              maxNodeCount_ = input.readInt32();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 8: {
+
+            minNodeCount_ = input.readInt32();
+            break;
+          }
+          case 16: {
+
+            maxNodeCount_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,40 +78,35 @@ private AzureNodePoolAutoscaling(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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_;
   /**
-   *
-   *
    * 
    * 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 @@ -138,15 +117,12 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 2; 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 @@ -155,7 +131,6 @@ public int getMaxNodeCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,7 +142,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_); } @@ -184,10 +160,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -197,16 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,104 +207,96 @@ 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.
    * The Kubernetes cluster autoscaler will automatically adjust the
@@ -334,23 +305,21 @@ 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()
@@ -358,15 +327,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -378,9 +348,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
@@ -399,8 +369,7 @@ 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);
+      com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling result = new com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling(this);
       result.minNodeCount_ = minNodeCount_;
       result.maxNodeCount_ = maxNodeCount_;
       onBuilt();
@@ -411,39 +380,38 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling buildPartial()
     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;
@@ -451,8 +419,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());
       }
@@ -478,8 +445,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -489,17 +455,14 @@ public Builder mergeFrom(
       return this;
     }
 
-    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 @@ -507,54 +470,45 @@ 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. */ public Builder setMinNodeCount(int value) { - + minNodeCount_ = value; onChanged(); 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() { - + minNodeCount_ = 0; onChanged(); 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 @@ -562,45 +516,39 @@ 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. */ public Builder setMaxNodeCount(int value) { - + maxNodeCount_ = value; onChanged(); 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() { - + maxNodeCount_ = 0; 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); } @@ -610,12 +558,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(); } @@ -624,16 +572,16 @@ 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 { - return new AzureNodePoolAutoscaling(input, extensionRegistry); - } - }; + 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 { + return new AzureNodePoolAutoscaling(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,4 +596,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java similarity index 58% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java index a0481fc..557a5b0 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java @@ -1,52 +1,30 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java similarity index 74% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java index 6133d4f..a83439a 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * Node pool names are formatted as
@@ -35,13 +17,10 @@ public interface AzureNodePoolOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this resource.
    * Node pool names are formatted as
@@ -51,292 +30,212 @@ 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.
@@ -345,13 +244,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.
@@ -360,14 +256,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -379,13 +273,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -397,16 +288,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -418,13 +310,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -436,18 +326,15 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -459,79 +346,61 @@ 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.
    * When unspecified, it defaults to `1`.
    * 
* * 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.
    * When unspecified, it defaults to `1`.
    * 
* * 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(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java index 7a7274a..454d0ab 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private AzureProxyConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureProxyConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AzureProxyConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private AzureProxyConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - resourceGroupId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + resourceGroupId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - secretId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + secretId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private AzureProxyConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object resourceGroupId_; /** - * - * *
    * The ARM ID the of the resource group containing proxy keyvault.
    * Resource group ids are formatted as
@@ -133,7 +110,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string resource_group_id = 1; - * * @return The resourceGroupId. */ @java.lang.Override @@ -142,15 +118,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.
    * Resource group ids are formatted as
@@ -158,15 +133,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 { @@ -177,8 +153,6 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() { public static final int SECRET_ID_FIELD_NUMBER = 2; private volatile java.lang.Object secretId_; /** - * - * *
    * The URL the of the proxy setting secret with its version.
    * Secret ids are formatted as
@@ -186,7 +160,6 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() {
    * 
* * string secret_id = 2; - * * @return The secretId. */ @java.lang.Override @@ -195,15 +168,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.
    * Secret ids are formatted as
@@ -211,15 +183,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 { @@ -228,7 +201,6 @@ public com.google.protobuf.ByteString getSecretIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,7 +212,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_); } @@ -270,16 +243,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,126 +275,117 @@ 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() @@ -428,15 +393,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +414,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 @@ -469,8 +435,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AzureProxyConfig result = new com.google.cloud.gkemulticloud.v1.AzureProxyConfig(this); result.resourceGroupId_ = resourceGroupId_; result.secretId_ = secretId_; onBuilt(); @@ -481,39 +446,38 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig buildPartial() { 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; @@ -521,8 +485,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_; onChanged(); @@ -550,8 +513,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.AzureProxyConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureProxyConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,8 +525,6 @@ public Builder mergeFrom( private java.lang.Object resourceGroupId_ = ""; /** - * - * *
      * The ARM ID the of the resource group containing proxy keyvault.
      * Resource group ids are formatted as
@@ -572,13 +532,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; @@ -587,8 +547,6 @@ public java.lang.String getResourceGroupId() { } } /** - * - * *
      * The ARM ID the of the resource group containing proxy keyvault.
      * Resource group ids are formatted as
@@ -596,14 +554,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 { @@ -611,8 +570,6 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() { } } /** - * - * *
      * The ARM ID the of the resource group containing proxy keyvault.
      * Resource group ids are formatted as
@@ -620,22 +577,20 @@ 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) { + public Builder setResourceGroupId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceGroupId_ = value; onChanged(); return this; } /** - * - * *
      * The ARM ID the of the resource group containing proxy keyvault.
      * Resource group ids are formatted as
@@ -643,18 +598,15 @@ public Builder setResourceGroupId(java.lang.String value) {
      * 
* * string resource_group_id = 1; - * * @return This builder for chaining. */ public Builder clearResourceGroupId() { - + resourceGroupId_ = getDefaultInstance().getResourceGroupId(); onChanged(); return this; } /** - * - * *
      * The ARM ID the of the resource group containing proxy keyvault.
      * Resource group ids are formatted as
@@ -662,16 +614,16 @@ 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) { + public Builder setResourceGroupIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceGroupId_ = value; onChanged(); return this; @@ -679,8 +631,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.
      * Secret ids are formatted as
@@ -688,13 +638,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 +653,6 @@ public java.lang.String getSecretId() { } } /** - * - * *
      * The URL the of the proxy setting secret with its version.
      * Secret ids are formatted as
@@ -712,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 { @@ -727,8 +676,6 @@ public com.google.protobuf.ByteString getSecretIdBytes() { } } /** - * - * *
      * The URL the of the proxy setting secret with its version.
      * Secret ids are formatted as
@@ -736,22 +683,20 @@ 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) { + public Builder setSecretId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secretId_ = value; onChanged(); return this; } /** - * - * *
      * The URL the of the proxy setting secret with its version.
      * Secret ids are formatted as
@@ -759,18 +704,15 @@ public Builder setSecretId(java.lang.String value) {
      * 
* * string secret_id = 2; - * * @return This builder for chaining. */ public Builder clearSecretId() { - + secretId_ = getDefaultInstance().getSecretId(); onChanged(); return this; } /** - * - * *
      * The URL the of the proxy setting secret with its version.
      * Secret ids are formatted as
@@ -778,23 +720,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) { + public Builder setSecretIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretId_ = 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); } @@ -804,12 +746,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(); } @@ -818,16 +760,16 @@ 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 { - return new AzureProxyConfig(input, extensionRegistry); - } - }; + 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 { + return new AzureProxyConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,4 +784,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java similarity index 66% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java index 1741896..1c6e9c6 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * Resource group ids are formatted as
@@ -33,13 +15,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.
    * Resource group ids are formatted as
@@ -47,14 +26,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.
    * Secret ids are formatted as
@@ -62,13 +39,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.
    * Secret ids are formatted as
@@ -76,8 +50,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java new file mode 100644 index 0000000..6aaaeb5 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java @@ -0,0 +1,462 @@ +// 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_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; + + 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\"\325\n\n\014Azur" + + "eCluster\022\014\n\004name\030\001 \001(\t\022\030\n\013description\030\002 " + + "\001(\tB\003\340A\001\022\031\n\014azure_region\030\003 \001(\tB\003\340A\002\022\036\n\021r" + + "esource_group_id\030\021 \001(\tB\003\340A\002\022\031\n\014azure_cli" + + "ent\030\020 \001(\tB\003\340A\002\022N\n\nnetworking\030\004 \001(\01325.goo" + + "gle.cloud.gkemulticloud.v1.AzureClusterN" + + "etworkingB\003\340A\002\022L\n\rcontrol_plane\030\005 \001(\01320." + + "google.cloud.gkemulticloud.v1.AzureContr" + + "olPlaneB\003\340A\002\022M\n\rauthorization\030\006 \001(\01321.go" + + "ogle.cloud.gkemulticloud.v1.AzureAuthori" + + "zationB\003\340A\002\022E\n\005state\030\007 \001(\01621.google.clou" + + "d.gkemulticloud.v1.AzureCluster.StateB\003\340" + + "A\003\022\025\n\010endpoint\030\010 \001(\tB\003\340A\003\022\020\n\003uid\030\t \001(\tB\003" + + "\340A\003\022\030\n\013reconciling\030\n \001(\010B\003\340A\003\0224\n\013create_" + + "time\030\013 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\0224\n\013update_time\030\014 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022\014\n\004etag\030\r \001(\t\022V\n\013annot" + + "ations\030\016 \003(\0132<.google.cloud.gkemulticlou" + + "d.v1.AzureCluster.AnnotationsEntryB\003\340A\001\022" + + "\\\n\030workload_identity_config\030\022 \001(\01325.goog" + + "le.cloud.gkemulticloud.v1.WorkloadIdenti" + + "tyConfigB\003\340A\003\022#\n\026cluster_ca_certificate\030" + + "\023 \001(\tB\003\340A\003\0228\n\005fleet\030\024 \001(\0132$.google.cloud" + + ".gkemulticloud.v1.FleetB\003\340A\001\022T\n\021managed_" + + "resources\030\025 \001(\01324.google.cloud.gkemultic" + + "loud.v1.AzureClusterResourcesB\003\340A\003\022I\n\016lo" + + "gging_config\030\027 \001(\0132,.google.cloud.gkemul" + + "ticloud.v1.LoggingConfigB\003\340A\001\0322\n\020Annotat" + + "ionsEntry\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\014PRO" + + "VISIONING\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/Azur" + + "eCluster\022Eprojects/{project}/locations/{" + + "location}/azureClusters/{azure_cluster}\"" + + "\267\001\n\026AzureClusterNetworking\022\037\n\022virtual_ne" + + "twork_id\030\001 \001(\tB\003\340A\002\022$\n\027pod_address_cidr_" + + "blocks\030\002 \003(\tB\003\340A\002\022(\n\033service_address_cid" + + "r_blocks\030\003 \003(\tB\003\340A\002\022,\n\037service_load_bala" + + "ncer_subnet_id\030\005 \001(\tB\003\340A\001\"\242\006\n\021AzureContr" + + "olPlane\022\024\n\007version\030\001 \001(\tB\003\340A\002\022\026\n\tsubnet_" + + "id\030\002 \001(\tB\003\340A\001\022\024\n\007vm_size\030\003 \001(\tB\003\340A\001\022F\n\ns" + + "sh_config\030\013 \001(\0132-.google.cloud.gkemultic" + + "loud.v1.AzureSshConfigB\003\340A\002\022J\n\013root_volu" + + "me\030\004 \001(\01320.google.cloud.gkemulticloud.v1" + + ".AzureDiskTemplateB\003\340A\001\022J\n\013main_volume\030\005" + + " \001(\01320.google.cloud.gkemulticloud.v1.Azu" + + "reDiskTemplateB\003\340A\001\022X\n\023database_encrypti" + + "on\030\n \001(\01326.google.cloud.gkemulticloud.v1" + + ".AzureDatabaseEncryptionB\003\340A\001\022J\n\014proxy_c" + + "onfig\030\014 \001(\0132/.google.cloud.gkemulticloud" + + ".v1.AzureProxyConfigB\003\340A\001\022T\n\021config_encr" + + "yption\030\016 \001(\01324.google.cloud.gkemulticlou" + + "d.v1.AzureConfigEncryptionB\003\340A\001\022M\n\004tags\030" + + "\007 \003(\0132:.google.cloud.gkemulticloud.v1.Az" + + "ureControlPlane.TagsEntryB\003\340A\001\022P\n\022replic" + + "a_placements\030\r \003(\0132/.google.cloud.gkemul" + + "ticloud.v1.ReplicaPlacementB\003\340A\001\022\037\n\022endp" + + "oint_subnet_id\030\017 \001(\tB\003\340A\001\032+\n\tTagsEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"P\n\020Replic" + + "aPlacement\022\026\n\tsubnet_id\030\001 \001(\tB\003\340A\002\022$\n\027az" + + "ure_availability_zone\030\002 \001(\tB\003\340A\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\023\n\006key_id\030\003 \001(\tB\003\340A\002\"E\n\025AzureConfi" + + "gEncryption\022\023\n\006key_id\030\002 \001(\tB\003\340A\002\022\027\n\npubl" + + "ic_key\030\003 \001(\tB\003\340A\001\"*\n\021AzureDiskTemplate\022\025" + + "\n\010size_gib\030\001 \001(\005B\003\340A\001\"\265\003\n\013AzureClient\022\014\n" + + "\004name\030\001 \001(\t\022\026\n\ttenant_id\030\002 \001(\tB\003\340A\002\022\033\n\016a" + + "pplication_id\030\003 \001(\tB\003\340A\002\022U\n\013annotations\030" + + "\010 \003(\0132;.google.cloud.gkemulticloud.v1.Az" + + "ureClient.AnnotationsEntryB\003\340A\001\022\034\n\017pem_c" + + "ertificate\030\007 \001(\tB\003\340A\003\022\020\n\003uid\030\005 \001(\tB\003\340A\003\022" + + "4\n\013create_time\030\006 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\0322\n\020AnnotationsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:r\352Ao\n(gkemulti" + + "cloud.googleapis.com/AzureClient\022Cprojec" + + "ts/{project}/locations/{location}/azureC" + + "lients/{azure_client}\"_\n\022AzureAuthorizat" + + "ion\022I\n\013admin_users\030\001 \003(\0132/.google.cloud." + + "gkemulticloud.v1.AzureClusterUserB\003\340A\002\")" + + "\n\020AzureClusterUser\022\025\n\010username\030\001 \001(\tB\003\340A" + + "\002\"\352\007\n\rAzureNodePool\022\014\n\004name\030\001 \001(\t\022\024\n\007ver" + + "sion\030\002 \001(\tB\003\340A\002\022C\n\006config\030\026 \001(\0132..google" + + ".cloud.gkemulticloud.v1.AzureNodeConfigB" + + "\003\340A\002\022\026\n\tsubnet_id\030\003 \001(\tB\003\340A\002\022Q\n\013autoscal" + + "ing\030\004 \001(\01327.google.cloud.gkemulticloud.v" + + "1.AzureNodePoolAutoscalingB\003\340A\002\022F\n\005state" + + "\030\006 \001(\01622.google.cloud.gkemulticloud.v1.A" + + "zureNodePool.StateB\003\340A\003\022\020\n\003uid\030\010 \001(\tB\003\340A" + + "\003\022\030\n\013reconciling\030\t \001(\010B\003\340A\003\0224\n\013create_ti" + + "me\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\0224\n\013update_time\030\013 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\014\n\004etag\030\014 \001(\t\022W\n\013annotat" + + "ions\030\r \003(\0132=.google.cloud.gkemulticloud." + + "v1.AzureNodePool.AnnotationsEntryB\003\340A\001\022R" + + "\n\023max_pods_constraint\030\025 \001(\01320.google.clo" + + "ud.gkemulticloud.v1.MaxPodsConstraintB\003\340" + + "A\002\022$\n\027azure_availability_zone\030\027 \001(\tB\003\340A\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:\230\001\352A\224\001\n*gkemulticloud.google" + + "apis.com/AzureNodePool\022fprojects/{projec" + + "t}/locations/{location}/azureClusters/{a" + + "zure_cluster}/azureNodePools/{azure_node" + + "_pool}\"\257\005\n\017AzureNodeConfig\022\024\n\007vm_size\030\001 " + + "\001(\tB\003\340A\001\022J\n\013root_volume\030\002 \001(\01320.google.c" + + "loud.gkemulticloud.v1.AzureDiskTemplateB" + + "\003\340A\001\022K\n\004tags\030\003 \003(\01328.google.cloud.gkemul" + + "ticloud.v1.AzureNodeConfig.TagsEntryB\003\340A" + + "\001\022\027\n\nimage_type\030\010 \001(\tB\003\340A\001\022F\n\nssh_config" + + "\030\007 \001(\0132-.google.cloud.gkemulticloud.v1.A" + + "zureSshConfigB\003\340A\002\022J\n\014proxy_config\030\t \001(\013" + + "2/.google.cloud.gkemulticloud.v1.AzurePr" + + "oxyConfigB\003\340A\001\022T\n\021config_encryption\030\014 \001(" + + "\01324.google.cloud.gkemulticloud.v1.AzureC" + + "onfigEncryptionB\003\340A\001\022=\n\006taints\030\n \003(\0132(.g" + + "oogle.cloud.gkemulticloud.v1.NodeTaintB\003" + + "\340A\001\022O\n\006labels\030\013 \003(\0132:.google.cloud.gkemu" + + "lticloud.v1.AzureNodeConfig.LabelsEntryB" + + "\003\340A\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\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\"T\n\030AzureNodePoolAutosca" + + "ling\022\033\n\016min_node_count\030\001 \001(\005B\003\340A\002\022\033\n\016max" + + "_node_count\030\002 \001(\005B\003\340A\002\"\376\001\n\021AzureServerCo" + + "nfig\022\014\n\004name\030\001 \001(\t\022J\n\016valid_versions\030\002 \003" + + "(\01322.google.cloud.gkemulticloud.v1.Azure" + + "K8sVersionInfo\022\037\n\027supported_azure_region" + + "s\030\003 \003(\t:n\352Ak\n.gkemulticloud.googleapis.c" + + "om/AzureServerConfig\0229projects/{project}" + + "/locations/{location}/azureServerConfig\"" + + "&\n\023AzureK8sVersionInfo\022\017\n\007version\030\001 \001(\t\"" + + "-\n\016AzureSshConfig\022\033\n\016authorized_key\030\001 \001(" + + "\tB\003\340A\002\"y\n\025AzureClusterResources\022&\n\031netwo" + + "rk_security_group_id\030\001 \001(\tB\003\340A\003\0228\n+contr" + + "ol_plane_application_security_group_id\030\002" + + " \001(\tB\003\340A\003B\351\001\n!com.google.cloud.gkemultic" + + "loud.v1B\023AzureResourcesProtoP\001ZJgoogle.g" + + "olang.org/genproto/googleapis/cloud/gkem" + + "ulticloud/v1;gkemulticloud\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.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", "State", "Endpoint", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "Annotations", "WorkloadIdentityConfig", "ClusterCaCertificate", "Fleet", "ManagedResources", "LoggingConfig", }); + 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", "Annotations", "PemCertificate", "Uid", "CreateTime", }); + 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_AzureClusterUser_descriptor = + getDescriptor().getMessageTypes().get(10); + 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(11); + 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", }); + 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(12); + 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(13); + 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(14); + 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(15); + 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(16); + 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(17); + 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", }); + 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java similarity index 76% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java index 2de30bc..325177d 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,16 +11,15 @@
  *
  * 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();
@@ -46,15 +28,16 @@ private AzureServerConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureServerConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AzureServerConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,44 +57,37 @@ private AzureServerConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                validVersions_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              validVersions_.add(
-                  input.readMessage(
-                      com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.parser(),
-                      extensionRegistry));
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              validVersions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                supportedAzureRegions_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              supportedAzureRegions_.add(s);
-              break;
+            validVersions_.add(
+                input.readMessage(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.parser(), extensionRegistry));
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              supportedAzureRegions_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            supportedAzureRegions_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -119,7 +95,8 @@ private AzureServerConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         validVersions_ = java.util.Collections.unmodifiableList(validVersions_);
@@ -131,27 +108,22 @@ private AzureServerConfig(
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The `AzureServerConfig` resource name.
    * `AzureServerConfig` names are formatted as
@@ -161,7 +133,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -170,15 +141,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.
    * `AzureServerConfig` names are formatted as
@@ -188,15 +158,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 { @@ -207,8 +178,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALID_VERSIONS_FIELD_NUMBER = 2; private java.util.List validVersions_; /** - * - * *
    * List of valid Kubernetes versions.
    * 
@@ -216,13 +185,10 @@ public com.google.protobuf.ByteString getNameBytes() { * 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.
    * 
@@ -230,13 +196,11 @@ public com.google.protobuf.ByteString getNameBytes() { * 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.
    * 
@@ -248,8 +212,6 @@ public int getValidVersionsCount() { return validVersions_.size(); } /** - * - * *
    * List of valid Kubernetes versions.
    * 
@@ -261,8 +223,6 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(in return validVersions_.get(index); } /** - * - * *
    * List of valid Kubernetes versions.
    * 
@@ -278,42 +238,34 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVe public static final int SUPPORTED_AZURE_REGIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList supportedAzureRegions_; /** - * - * *
    * 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. */ @@ -321,23 +273,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; @@ -349,7 +298,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_); } @@ -357,8 +307,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)); } unknownFields.writeTo(output); } @@ -373,7 +322,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; @@ -391,17 +341,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -429,103 +381,96 @@ 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.
@@ -533,23 +478,21 @@ 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()
@@ -557,17 +500,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getValidVersionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -585,9 +528,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_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
@@ -606,8 +549,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (validVersionsBuilder_ == null) {
@@ -632,39 +574,38 @@ public com.google.cloud.gkemulticloud.v1.AzureServerConfig buildPartial() {
     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;
@@ -672,8 +613,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_;
         onChanged();
@@ -696,10 +636,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureServerConfig oth
             validVersionsBuilder_ = null;
             validVersions_ = other.validVersions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            validVersionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getValidVersionsFieldBuilder()
-                    : null;
+            validVersionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getValidVersionsFieldBuilder() : null;
           } else {
             validVersionsBuilder_.addAllMessages(other.validVersions_);
           }
@@ -734,8 +673,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.gkemulticloud.v1.AzureServerConfig) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureServerConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -744,13 +682,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The `AzureServerConfig` resource name.
      * `AzureServerConfig` names are formatted as
@@ -760,13 +695,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; @@ -775,8 +710,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The `AzureServerConfig` resource name.
      * `AzureServerConfig` names are formatted as
@@ -786,14 +719,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 { @@ -801,8 +735,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The `AzureServerConfig` resource name.
      * `AzureServerConfig` names are formatted as
@@ -812,22 +744,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The `AzureServerConfig` resource name.
      * `AzureServerConfig` names are formatted as
@@ -837,18 +767,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The `AzureServerConfig` resource name.
      * `AzureServerConfig` names are formatted as
@@ -858,50 +785,41 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private java.util.List validVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - validVersions_ = - new java.util.ArrayList( - validVersions_); + validVersions_ = new java.util.ArrayList(validVersions_); bitField0_ |= 0x00000001; - } + } } 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.
      * 
* * 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 { @@ -909,8 +827,6 @@ private void ensureValidVersionsIsMutable() { } } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -925,8 +841,6 @@ public int getValidVersionsCount() { } } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -941,8 +855,6 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(in } } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -964,8 +876,6 @@ public Builder setValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -984,8 +894,6 @@ public Builder setValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1006,8 +914,6 @@ public Builder addValidVersions(com.google.cloud.gkemulticloud.v1.AzureK8sVersio return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1029,8 +935,6 @@ public Builder addValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1049,8 +953,6 @@ public Builder addValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1069,8 +971,6 @@ public Builder addValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1078,11 +978,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); @@ -1090,8 +990,6 @@ public Builder addAllValidVersions( return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1109,8 +1007,6 @@ public Builder clearValidVersions() { return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1128,8 +1024,6 @@ public Builder removeValidVersions(int index) { return this; } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1141,8 +1035,6 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder getValidVer return getValidVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1152,22 +1044,19 @@ 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.
      * 
* * 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 { @@ -1175,8 +1064,6 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVe } } /** - * - * *
      * List of valid Kubernetes versions.
      * 
@@ -1184,12 +1071,10 @@ 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 valid Kubernetes versions.
      * 
@@ -1198,35 +1083,26 @@ 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 valid Kubernetes versions.
      * 
* * 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_ & 0x00000001) != 0), getParentForChildren(), @@ -1236,53 +1112,42 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder addValidVer return validVersionsBuilder_; } - private com.google.protobuf.LazyStringList supportedAzureRegions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList supportedAzureRegions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSupportedAzureRegionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - supportedAzureRegions_ = - new com.google.protobuf.LazyStringArrayList(supportedAzureRegions_); + supportedAzureRegions_ = new com.google.protobuf.LazyStringArrayList(supportedAzureRegions_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -1290,90 +1155,80 @@ 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) { + public Builder setSupportedAzureRegions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedAzureRegionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.set(index, value); onChanged(); 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) { + public Builder addSupportedAzureRegions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedAzureRegionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.add(value); onChanged(); 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_); onChanged(); return this; } /** - * - * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; - * * @return This builder for chaining. */ public Builder clearSupportedAzureRegions() { @@ -1383,30 +1238,28 @@ public Builder clearSupportedAzureRegions() { 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) { + public Builder addSupportedAzureRegionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.add(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); } @@ -1416,12 +1269,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(); } @@ -1430,16 +1283,16 @@ 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 { - return new AzureServerConfig(input, extensionRegistry); - } - }; + 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 { + return new AzureServerConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1454,4 +1307,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java similarity index 76% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java index 23ee941..5d403d6 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * `AzureServerConfig` names are formatted as
@@ -35,13 +17,10 @@ public interface AzureServerConfigOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The `AzureServerConfig` resource name.
    * `AzureServerConfig` names are formatted as
@@ -51,24 +30,21 @@ 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.
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ - java.util.List getValidVersionsList(); + java.util.List + getValidVersionsList(); /** - * - * *
    * List of valid Kubernetes versions.
    * 
@@ -77,8 +53,6 @@ public interface AzureServerConfigOrBuilder */ com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(int index); /** - * - * *
    * List of valid Kubernetes versions.
    * 
@@ -87,19 +61,15 @@ public interface AzureServerConfigOrBuilder */ int getValidVersionsCount(); /** - * - * *
    * List of valid Kubernetes versions.
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ - java.util.List + java.util.List getValidVersionsOrBuilderList(); /** - * - * *
    * List of valid Kubernetes versions.
    * 
@@ -110,53 +80,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java new file mode 100644 index 0000000..642b024 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java @@ -0,0 +1,463 @@ +// 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\"\335\001\n\031C" + + "reateAzureClusterRequest\022A\n\006parent\030\001 \001(\t" + + "B1\340A\002\372A+\022)gkemulticloud.googleapis.com/A" + + "zureCluster\022G\n\razure_cluster\030\002 \001(\0132+.goo" + + "gle.cloud.gkemulticloud.v1.AzureClusterB" + + "\003\340A\002\022\035\n\020azure_cluster_id\030\003 \001(\tB\003\340A\002\022\025\n\rv" + + "alidate_only\030\004 \001(\010\"\261\001\n\031UpdateAzureCluste" + + "rRequest\022G\n\razure_cluster\030\001 \001(\0132+.google" + + ".cloud.gkemulticloud.v1.AzureClusterB\003\340A" + + "\002\022\025\n\rvalidate_only\030\002 \001(\010\0224\n\013update_mask\030" + + "\004 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"Y" + + "\n\026GetAzureClusterRequest\022?\n\004name\030\001 \001(\tB1" + + "\340A\002\372A+\n)gkemulticloud.googleapis.com/Azu" + + "reCluster\"\204\001\n\030ListAzureClustersRequest\022A" + + "\n\006parent\030\001 \001(\tB1\340A\002\372A+\022)gkemulticloud.go" + + "ogleapis.com/AzureCluster\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"y\n\031ListAzureClu" + + "stersResponse\022C\n\016azure_clusters\030\001 \003(\0132+." + + "google.cloud.gkemulticloud.v1.AzureClust" + + "er\022\027\n\017next_page_token\030\002 \001(\t\"\230\001\n\031DeleteAz" + + "ureClusterRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" + + ")gkemulticloud.googleapis.com/AzureClust" + + "er\022\025\n\rallow_missing\030\002 \001(\010\022\025\n\rvalidate_on" + + "ly\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\344\001\n\032CreateAzureNo" + + "dePoolRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*g" + + "kemulticloud.googleapis.com/AzureNodePoo" + + "l\022J\n\017azure_node_pool\030\002 \001(\0132,.google.clou" + + "d.gkemulticloud.v1.AzureNodePoolB\003\340A\002\022\037\n" + + "\022azure_node_pool_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalida" + + "te_only\030\004 \001(\010\"\265\001\n\032UpdateAzureNodePoolReq" + + "uest\022J\n\017azure_node_pool\030\001 \001(\0132,.google.c" + + "loud.gkemulticloud.v1.AzureNodePoolB\003\340A\002" + + "\022\025\n\rvalidate_only\030\002 \001(\010\0224\n\013update_mask\030\003" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"[\n" + + "\027GetAzureNodePoolRequest\022@\n\004name\030\001 \001(\tB2" + + "\340A\002\372A,\n*gkemulticloud.googleapis.com/Azu" + + "reNodePool\"\206\001\n\031ListAzureNodePoolsRequest" + + "\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*gkemulticloud." + + "googleapis.com/AzureNodePool\022\021\n\tpage_siz" + + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"}\n\032ListAzure" + + "NodePoolsResponse\022F\n\020azure_node_pools\030\001 " + + "\003(\0132,.google.cloud.gkemulticloud.v1.Azur" + + "eNodePool\022\027\n\017next_page_token\030\002 \001(\t\"\232\001\n\032D" + + "eleteAzureNodePoolRequest\022@\n\004name\030\001 \001(\tB" + + "2\340A\002\372A,\n*gkemulticloud.googleapis.com/Az" + + "ureNodePool\022\025\n\rvalidate_only\030\002 \001(\010\022\025\n\ral" + + "low_missing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"c\n\033GetAz" + + "ureServerConfigRequest\022D\n\004name\030\001 \001(\tB6\340A" + + "\002\372A0\n.gkemulticloud.googleapis.com/Azure" + + "ServerConfig\"\330\001\n\030CreateAzureClientReques" + + "t\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(gkemulticloud" + + ".googleapis.com/AzureClient\022E\n\014azure_cli" + + "ent\030\002 \001(\0132*.google.cloud.gkemulticloud.v" + + "1.AzureClientB\003\340A\002\022\034\n\017azure_client_id\030\004 " + + "\001(\tB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010\"W\n\025GetAz" + + "ureClientRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(" + + "gkemulticloud.googleapis.com/AzureClient" + + "\"\202\001\n\027ListAzureClientsRequest\022@\n\006parent\030\001" + + " \001(\tB0\340A\002\372A*\022(gkemulticloud.googleapis.c" + + "om/AzureClient\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + + "e_token\030\003 \001(\t\"v\n\030ListAzureClientsRespons" + + "e\022A\n\razure_clients\030\001 \003(\0132*.google.cloud." + + "gkemulticloud.v1.AzureClient\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"\210\001\n\030DeleteAzureClientReque" + + "st\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(gkemulticloud." + + "googleapis.com/AzureClient\022\025\n\rallow_miss" + + "ing\030\002 \001(\010\022\025\n\rvalidate_only\030\003 \001(\010\"k\n\037Gene" + + "rateAzureAccessTokenRequest\022H\n\razure_clu" + + "ster\030\001 \001(\tB1\340A\002\372A+\n)gkemulticloud.google" + + "apis.com/AzureCluster\"w\n GenerateAzureAc" + + "cessTokenResponse\022\031\n\014access_token\030\001 \001(\tB" + + "\003\340A\003\0228\n\017expiration_time\030\002 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\0032\335\035\n\rAzureClusters" + + "\022\375\001\n\021CreateAzureClient\0227.google.cloud.gk" + + "emulticloud.v1.CreateAzureClientRequest\032" + + "\035.google.longrunning.Operation\"\217\001\202\323\344\223\002@\"" + + "0/v1/{parent=projects/*/locations/*}/azu" + + "reClients:\014azure_client\332A#parent,azure_c" + + "lient,azure_client_id\312A \n\013AzureClient\022\021O" + + "perationMetadata\022\263\001\n\016GetAzureClient\0224.go" + + "ogle.cloud.gkemulticloud.v1.GetAzureClie" + + "ntRequest\032*.google.cloud.gkemulticloud.v" + + "1.AzureClient\"?\202\323\344\223\0022\0220/v1/{name=project" + + "s/*/locations/*/azureClients/*}\332A\004name\022\306" + + "\001\n\020ListAzureClients\0226.google.cloud.gkemu" + + "lticloud.v1.ListAzureClientsRequest\0327.go" + + "ogle.cloud.gkemulticloud.v1.ListAzureCli" + + "entsResponse\"A\202\323\344\223\0022\0220/v1/{parent=projec" + + "ts/*/locations/*}/azureClients\332A\006parent\022" + + "\331\001\n\021DeleteAzureClient\0227.google.cloud.gke" + + "multicloud.v1.DeleteAzureClientRequest\032\035" + + ".google.longrunning.Operation\"l\202\323\344\223\0022*0/" + + "v1/{name=projects/*/locations/*/azureCli" + + "ents/*}\332A\004name\312A*\n\025google.protobuf.Empty" + + "\022\021OperationMetadata\022\204\002\n\022CreateAzureClust" + + "er\0228.google.cloud.gkemulticloud.v1.Creat" + + "eAzureClusterRequest\032\035.google.longrunnin" + + "g.Operation\"\224\001\202\323\344\223\002B\"1/v1/{parent=projec" + + "ts/*/locations/*}/azureClusters:\razure_c" + + "luster\332A%parent,azure_cluster,azure_clus" + + "ter_id\312A!\n\014AzureCluster\022\021OperationMetada" + + "ta\022\206\002\n\022UpdateAzureCluster\0228.google.cloud" + + ".gkemulticloud.v1.UpdateAzureClusterRequ" + + "est\032\035.google.longrunning.Operation\"\226\001\202\323\344" + + "\223\002P2?/v1/{azure_cluster.name=projects/*/" + + "locations/*/azureClusters/*}:\razure_clus" + + "ter\332A\031azure_cluster,update_mask\312A!\n\014Azur" + + "eCluster\022\021OperationMetadata\022\267\001\n\017GetAzure" + + "Cluster\0225.google.cloud.gkemulticloud.v1." + + "GetAzureClusterRequest\032+.google.cloud.gk" + + "emulticloud.v1.AzureCluster\"@\202\323\344\223\0023\0221/v1" + + "/{name=projects/*/locations/*/azureClust" + + "ers/*}\332A\004name\022\312\001\n\021ListAzureClusters\0227.go" + + "ogle.cloud.gkemulticloud.v1.ListAzureClu" + + "stersRequest\0328.google.cloud.gkemulticlou" + + "d.v1.ListAzureClustersResponse\"B\202\323\344\223\0023\0221" + + "/v1/{parent=projects/*/locations/*}/azur" + + "eClusters\332A\006parent\022\334\001\n\022DeleteAzureCluste" + + "r\0228.google.cloud.gkemulticloud.v1.Delete" + + "AzureClusterRequest\032\035.google.longrunning" + + ".Operation\"m\202\323\344\223\0023*1/v1/{name=projects/*" + + "/locations/*/azureClusters/*}\332A\004name\312A*\n" + + "\025google.protobuf.Empty\022\021OperationMetadat" + + "a\022\370\001\n\030GenerateAzureAccessToken\022>.google." + + "cloud.gkemulticloud.v1.GenerateAzureAcce" + + "ssTokenRequest\032?.google.cloud.gkemulticl" + + "oud.v1.GenerateAzureAccessTokenResponse\"" + + "[\202\323\344\223\002U\022S/v1/{azure_cluster=projects/*/l" + + "ocations/*/azureClusters/*}:generateAzur" + + "eAccessToken\022\236\002\n\023CreateAzureNodePool\0229.g" + + "oogle.cloud.gkemulticloud.v1.CreateAzure" + + "NodePoolRequest\032\035.google.longrunning.Ope" + + "ration\"\254\001\202\323\344\223\002U\"B/v1/{parent=projects/*/" + + "locations/*/azureClusters/*}/azureNodePo" + + "ols:\017azure_node_pool\332A)parent,azure_node" + + "_pool,azure_node_pool_id\312A\"\n\rAzureNodePo" + + "ol\022\021OperationMetadata\022\240\002\n\023UpdateAzureNod" + + "ePool\0229.google.cloud.gkemulticloud.v1.Up" + + "dateAzureNodePoolRequest\032\035.google.longru" + + "nning.Operation\"\256\001\202\323\344\223\002e2R/v1/{azure_nod" + + "e_pool.name=projects/*/locations/*/azure" + + "Clusters/*/azureNodePools/*}:\017azure_node" + + "_pool\332A\033azure_node_pool,update_mask\312A\"\n\r" + + "AzureNodePool\022\021OperationMetadata\022\313\001\n\020Get" + + "AzureNodePool\0226.google.cloud.gkemulticlo" + + "ud.v1.GetAzureNodePoolRequest\032,.google.c" + + "loud.gkemulticloud.v1.AzureNodePool\"Q\202\323\344" + + "\223\002D\022B/v1/{name=projects/*/locations/*/az" + + "ureClusters/*/azureNodePools/*}\332A\004name\022\336" + + "\001\n\022ListAzureNodePools\0228.google.cloud.gke" + + "multicloud.v1.ListAzureNodePoolsRequest\032" + + "9.google.cloud.gkemulticloud.v1.ListAzur" + + "eNodePoolsResponse\"S\202\323\344\223\002D\022B/v1/{parent=" + + "projects/*/locations/*/azureClusters/*}/" + + "azureNodePools\332A\006parent\022\357\001\n\023DeleteAzureN" + + "odePool\0229.google.cloud.gkemulticloud.v1." + + "DeleteAzureNodePoolRequest\032\035.google.long" + + "running.Operation\"~\202\323\344\223\002D*B/v1/{name=pro" + + "jects/*/locations/*/azureClusters/*/azur" + + "eNodePools/*}\332A\004name\312A*\n\025google.protobuf" + + ".Empty\022\021OperationMetadata\022\310\001\n\024GetAzureSe" + + "rverConfig\022:.google.cloud.gkemulticloud." + + "v1.GetAzureServerConfigRequest\0320.google." + + "cloud.gkemulticloud.v1.AzureServerConfig" + + "\"B\202\323\344\223\0025\0223/v1/{name=projects/*/locations" + + "/*/azureServerConfig}\332A\004name\032P\312A\034gkemult" + + "icloud.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformB\347\001\n!com.g" + + "oogle.cloud.gkemulticloud.v1B\021AzureServi" + + "ceProtoP\001ZJgoogle.golang.org/genproto/go" + + "ogleapis/cloud/gkemulticloud/v1;gkemulti" + + "cloud\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.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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java index 8da3164..84313f5 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AzureSshConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private AzureSshConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - authorizedKey_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + authorizedKey_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private AzureSshConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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) manual
@@ -125,7 +103,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 @@ -134,15 +111,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) manual
@@ -150,15 +126,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 { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getAuthorizedKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +155,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_); } @@ -203,15 +180,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +207,118 @@ 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() @@ -358,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +345,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 @@ -397,8 +366,7 @@ 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); + com.google.cloud.gkemulticloud.v1.AzureSshConfig result = new com.google.cloud.gkemulticloud.v1.AzureSshConfig(this); result.authorizedKey_ = authorizedKey_; onBuilt(); return result; @@ -408,39 +376,38 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfig buildPartial() { 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; @@ -448,8 +415,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_; onChanged(); @@ -485,8 +451,6 @@ public Builder mergeFrom( 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) manual
@@ -494,13 +458,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; @@ -509,8 +473,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) manual
@@ -518,14 +480,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 { @@ -533,8 +496,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) manual
@@ -542,22 +503,20 @@ 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) { + public Builder setAuthorizedKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authorizedKey_ = value; 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) manual
@@ -565,18 +524,15 @@ public Builder setAuthorizedKey(java.lang.String value) {
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAuthorizedKey() { - + authorizedKey_ = getDefaultInstance().getAuthorizedKey(); 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) manual
@@ -584,23 +540,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) { + public Builder setAuthorizedKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authorizedKey_ = 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); } @@ -610,12 +566,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(); } @@ -624,16 +580,16 @@ 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 { - return new AzureSshConfig(input, extensionRegistry); - } - }; + 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 { + return new AzureSshConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureSshConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java similarity index 58% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java index 4948caf..67a72c8 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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) manual
@@ -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) manual
@@ -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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java new file mode 100644 index 0000000..fe7a6d4 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java @@ -0,0 +1,153 @@ +// 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; + + 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\"3\n\021MaxPodsConstraint\022\036\n\021max_pods" + + "_per_node\030\001 \001(\003B\003\340A\002\"\310\001\n\021OperationMetada" + + "ta\0224\n\013create_time\030\001 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 " + + "\001(\tB\003\340A\003\022\032\n\rstatus_detail\030\004 \001(\tB\003\340A\003\022\031\n\014" + + "error_detail\030\005 \001(\tB\003\340A\003\"\322\001\n\tNodeTaint\022\020\n" + + "\003key\030\001 \001(\tB\003\340A\002\022\022\n\005value\030\002 \001(\tB\003\340A\002\022D\n\006e" + + "ffect\030\003 \001(\0162/.google.cloud.gkemulticloud" + + ".v1.NodeTaint.EffectB\003\340A\002\"Y\n\006Effect\022\026\n\022E" + + "FFECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022" + + "PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECUTE\020\003\"6\n\005" + + "Fleet\022\024\n\007project\030\001 \001(\tB\003\340A\002\022\027\n\nmembershi" + + "p\030\002 \001(\tB\003\340A\003\"`\n\rLoggingConfig\022O\n\020compone" + + "nt_config\030\001 \001(\01325.google.cloud.gkemultic" + + "loud.v1.LoggingComponentConfig\"\302\001\n\026Loggi" + + "ngComponentConfig\022Z\n\021enable_components\030\001" + + " \003(\0162?.google.cloud.gkemulticloud.v1.Log" + + "gingComponentConfig.Component\"L\n\tCompone" + + "nt\022\031\n\025COMPONENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_" + + "COMPONENTS\020\001\022\r\n\tWORKLOADS\020\002B\352\001\n!com.goog" + + "le.cloud.gkemulticloud.v1B\024CommonResourc" + + "esProtoP\001ZJgoogle.golang.org/genproto/go" + + "ogleapis/cloud/gkemulticloud/v1;gkemulti" + + "cloud\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.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", }); + 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", }); + 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java similarity index 69% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java index 4feb40a..264d6fe 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private CreateAwsClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAwsClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateAwsClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,48 +54,43 @@ private CreateAwsClusterRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder subBuilder = null; + if (awsCluster_ != null) { + subBuilder = awsCluster_.toBuilder(); } - case 18: - { - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder subBuilder = null; - if (awsCluster_ != null) { - subBuilder = awsCluster_.toBuilder(); - } - awsCluster_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(awsCluster_); - awsCluster_ = subBuilder.buildPartial(); - } - - break; + awsCluster_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(awsCluster_); + awsCluster_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - awsClusterId_ = s; - break; - } - case 32: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + awsClusterId_ = s; + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,33 +98,29 @@ private CreateAwsClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
    * will be created.
@@ -155,10 +129,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 @@ -167,15 +138,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 created.
@@ -184,18 +154,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 { @@ -206,16 +175,11 @@ 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 @@ -223,34 +187,23 @@ 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() { @@ -260,8 +213,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuil public static final int AWS_CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object awsClusterId_; /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the parent
    * resource.
@@ -272,7 +223,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 @@ -281,15 +231,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.
@@ -300,15 +249,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 { @@ -319,14 +269,11 @@ public com.google.protobuf.ByteString getAwsClusterIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -335,7 +282,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,7 +293,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_); } @@ -373,13 +320,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -389,21 +338,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -424,134 +376,125 @@ 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) + unknownFields.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() @@ -559,15 +502,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -587,9 +531,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 @@ -608,8 +552,7 @@ 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); + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest(this); result.parent_ = parent_; if (awsClusterBuilder_ == null) { result.awsCluster_ = awsCluster_; @@ -626,39 +569,38 @@ public com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest buildPartial() 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; @@ -666,8 +608,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_; onChanged(); @@ -701,8 +642,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -714,8 +654,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
      * will be created.
@@ -724,16 +662,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; @@ -742,8 +678,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
      * will be created.
@@ -752,17 +686,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 { @@ -770,8 +703,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
      * will be created.
@@ -780,25 +711,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
      * will be created.
@@ -807,21 +734,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
      * will be created.
@@ -830,19 +752,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -850,58 +770,39 @@ 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 awsClusterBuilder_ != null || 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. */ 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) { @@ -917,15 +818,11 @@ 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) { @@ -939,23 +836,17 @@ 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 (awsCluster_ != null) { awsCluster_ = - com.google.cloud.gkemulticloud.v1.AwsCluster.newBuilder(awsCluster_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsCluster.newBuilder(awsCluster_).mergeFrom(value).buildPartial(); } else { awsCluster_ = value; } @@ -967,15 +858,11 @@ 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() { if (awsClusterBuilder_ == null) { @@ -989,64 +876,48 @@ 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() { - + onChanged(); 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_; @@ -1054,8 +925,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.
@@ -1066,13 +935,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; @@ -1081,8 +950,6 @@ public java.lang.String getAwsClusterId() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1093,14 +960,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 { @@ -1108,8 +976,6 @@ public com.google.protobuf.ByteString getAwsClusterIdBytes() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1120,22 +986,20 @@ 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) { + public Builder setAwsClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + awsClusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1146,18 +1010,15 @@ 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() { - + awsClusterId_ = getDefaultInstance().getAwsClusterId(); onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1168,31 +1029,28 @@ 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) { + public Builder setAwsClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + awsClusterId_ = value; onChanged(); 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 @@ -1200,43 +1058,37 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1246,12 +1098,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(); } @@ -1260,16 +1112,16 @@ 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 { - return new CreateAwsClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAwsClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,4 +1136,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java index 5f11304..5f2d5e7 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 created.
@@ -34,16 +16,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 created.
@@ -52,58 +29,40 @@ 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.
@@ -114,13 +73,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.
@@ -131,20 +87,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java similarity index 69% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java index 8ff86aa..124eaa4 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private CreateAwsNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAwsNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateAwsNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,48 +54,43 @@ private CreateAwsNodePoolRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder subBuilder = null; + if (awsNodePool_ != null) { + subBuilder = awsNodePool_.toBuilder(); } - case 18: - { - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder subBuilder = null; - if (awsNodePool_ != null) { - subBuilder = awsNodePool_.toBuilder(); - } - awsNodePool_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(awsNodePool_); - awsNodePool_ = subBuilder.buildPartial(); - } - - break; + awsNodePool_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(awsNodePool_); + awsNodePool_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - awsNodePoolId_ = s; - break; - } - case 32: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + awsNodePoolId_ = s; + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,33 +98,29 @@ private CreateAwsNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
    * `AwsCluster` names are formatted as
@@ -155,10 +129,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 @@ -167,15 +138,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.
    * `AwsCluster` names are formatted as
@@ -184,18 +154,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 { @@ -206,16 +175,11 @@ 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 @@ -223,34 +187,23 @@ 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() { @@ -260,8 +213,6 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBu public static final int AWS_NODE_POOL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object awsNodePoolId_; /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the parent
    * resource.
@@ -272,7 +223,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 @@ -281,15 +231,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.
@@ -300,15 +249,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 { @@ -319,15 +269,12 @@ public com.google.protobuf.ByteString getAwsNodePoolIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -336,7 +283,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,7 +294,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_); } @@ -374,13 +321,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -390,21 +339,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -425,134 +377,125 @@ 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) + unknownFields.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() @@ -560,15 +503,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -588,9 +532,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 @@ -609,8 +553,7 @@ 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); + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest(this); result.parent_ = parent_; if (awsNodePoolBuilder_ == null) { result.awsNodePool_ = awsNodePool_; @@ -627,39 +570,38 @@ public com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest buildPartial() 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; @@ -667,8 +609,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_; onChanged(); @@ -702,8 +643,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -715,8 +655,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
      * `AwsCluster` names are formatted as
@@ -725,16 +663,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; @@ -743,8 +679,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
      * `AwsCluster` names are formatted as
@@ -753,17 +687,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 { @@ -771,8 +704,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
      * `AwsCluster` names are formatted as
@@ -781,25 +712,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
      * `AwsCluster` names are formatted as
@@ -808,21 +735,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
      * `AwsCluster` names are formatted as
@@ -831,19 +753,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -851,58 +771,39 @@ 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 awsNodePoolBuilder_ != null || 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. */ 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) { @@ -918,15 +819,11 @@ 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) { @@ -940,23 +837,17 @@ 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 (awsNodePool_ != null) { awsNodePool_ = - com.google.cloud.gkemulticloud.v1.AwsNodePool.newBuilder(awsNodePool_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsNodePool.newBuilder(awsNodePool_).mergeFrom(value).buildPartial(); } else { awsNodePool_ = value; } @@ -968,15 +859,11 @@ 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() { if (awsNodePoolBuilder_ == null) { @@ -990,64 +877,48 @@ 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() { - + onChanged(); 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_; @@ -1055,8 +926,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.
@@ -1067,13 +936,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; @@ -1082,8 +951,6 @@ public java.lang.String getAwsNodePoolId() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1094,14 +961,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 { @@ -1109,8 +977,6 @@ public com.google.protobuf.ByteString getAwsNodePoolIdBytes() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1121,22 +987,20 @@ 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) { + public Builder setAwsNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + awsNodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1147,18 +1011,15 @@ 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() { - + awsNodePoolId_ = getDefaultInstance().getAwsNodePoolId(); onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1169,32 +1030,29 @@ 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) { + public Builder setAwsNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + awsNodePoolId_ = value; onChanged(); 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 @@ -1202,45 +1060,39 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1250,12 +1102,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(); } @@ -1264,16 +1116,16 @@ 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 { - return new CreateAwsNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAwsNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1288,4 +1140,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java index 228adf1..5428209 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * `AwsCluster` names are formatted as
@@ -34,16 +16,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.
    * `AwsCluster` names are formatted as
@@ -52,58 +29,40 @@ 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.
@@ -114,13 +73,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.
@@ -131,21 +87,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java index f245e74..9d87ee0 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private CreateAzureClientRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAzureClientRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateAzureClientRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,48 +54,43 @@ private CreateAzureClientRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - com.google.cloud.gkemulticloud.v1.AzureClient.Builder subBuilder = null; - if (azureClient_ != null) { - subBuilder = azureClient_.toBuilder(); - } - azureClient_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClient.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(azureClient_); - azureClient_ = subBuilder.buildPartial(); - } - - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.gkemulticloud.v1.AzureClient.Builder subBuilder = null; + if (azureClient_ != null) { + subBuilder = azureClient_.toBuilder(); } - case 24: - { - validateOnly_ = input.readBool(); - break; + azureClient_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureClient.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(azureClient_); + azureClient_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - azureClientId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 24: { + + validateOnly_ = input.readBool(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + azureClientId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,33 +98,29 @@ private CreateAzureClientRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
    * will be created.
@@ -155,10 +129,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 @@ -167,15 +138,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 created.
@@ -184,18 +154,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 { @@ -206,16 +175,11 @@ 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 @@ -223,34 +187,23 @@ 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() { @@ -260,8 +213,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBu public static final int AZURE_CLIENT_ID_FIELD_NUMBER = 4; private volatile java.lang.Object azureClientId_; /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the parent
    * resource.
@@ -272,7 +223,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 @@ -281,15 +231,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.
@@ -300,15 +249,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 { @@ -319,14 +269,11 @@ public com.google.protobuf.ByteString getAzureClientIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; 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 @@ -335,7 +282,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,7 +293,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_); } @@ -373,10 +320,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_); @@ -389,21 +338,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -424,134 +376,125 @@ 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) + unknownFields.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() @@ -559,15 +502,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -587,9 +531,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 @@ -608,8 +552,7 @@ 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); + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest result = new com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest(this); result.parent_ = parent_; if (azureClientBuilder_ == null) { result.azureClient_ = azureClient_; @@ -626,39 +569,38 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest buildPartial() 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; @@ -666,8 +608,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_; onChanged(); @@ -701,8 +642,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -714,8 +654,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
      * will be created.
@@ -724,16 +662,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; @@ -742,8 +678,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
      * will be created.
@@ -752,17 +686,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 { @@ -770,8 +703,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
      * will be created.
@@ -780,25 +711,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
      * will be created.
@@ -807,21 +734,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
      * will be created.
@@ -830,19 +752,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -850,58 +770,39 @@ 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 azureClientBuilder_ != null || 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. */ 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) { @@ -917,15 +818,11 @@ 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) { @@ -939,23 +836,17 @@ 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 (azureClient_ != null) { azureClient_ = - com.google.cloud.gkemulticloud.v1.AzureClient.newBuilder(azureClient_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureClient.newBuilder(azureClient_).mergeFrom(value).buildPartial(); } else { azureClient_ = value; } @@ -967,15 +858,11 @@ 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() { if (azureClientBuilder_ == null) { @@ -989,64 +876,48 @@ 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() { - + onChanged(); 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_; @@ -1054,8 +925,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.
@@ -1066,13 +935,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; @@ -1081,8 +950,6 @@ public java.lang.String getAzureClientId() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1093,14 +960,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 { @@ -1108,8 +976,6 @@ public com.google.protobuf.ByteString getAzureClientIdBytes() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1120,22 +986,20 @@ 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) { + public Builder setAzureClientId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureClientId_ = value; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1146,18 +1010,15 @@ 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() { - + azureClientId_ = getDefaultInstance().getAzureClientId(); onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1168,31 +1029,28 @@ 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) { + public Builder setAzureClientIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureClientId_ = value; onChanged(); 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 @@ -1200,43 +1058,37 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1246,12 +1098,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(); } @@ -1260,16 +1112,16 @@ 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 { - return new CreateAzureClientRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAzureClientRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,4 +1136,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java index 49e91ab..7739beb 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 created.
@@ -34,16 +16,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 created.
@@ -52,58 +29,40 @@ 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.
@@ -114,13 +73,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.
@@ -131,20 +87,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java index 7b17ad1..00371b4 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private CreateAzureClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAzureClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateAzureClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,48 +54,43 @@ private CreateAzureClusterRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder subBuilder = null; + if (azureCluster_ != null) { + subBuilder = azureCluster_.toBuilder(); } - case 18: - { - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder subBuilder = null; - if (azureCluster_ != null) { - subBuilder = azureCluster_.toBuilder(); - } - azureCluster_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(azureCluster_); - azureCluster_ = subBuilder.buildPartial(); - } - - break; + azureCluster_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(azureCluster_); + azureCluster_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - azureClusterId_ = s; - break; - } - case 32: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + azureClusterId_ = s; + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,33 +98,29 @@ private CreateAzureClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
    * will be created.
@@ -155,10 +129,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 @@ -167,15 +138,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 created.
@@ -184,18 +154,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 { @@ -206,16 +175,11 @@ 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 @@ -223,34 +187,23 @@ 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() { @@ -260,8 +213,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOr public static final int AZURE_CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object azureClusterId_; /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the parent
    * resource.
@@ -272,7 +223,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 @@ -281,15 +231,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.
@@ -300,15 +249,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 { @@ -319,14 +269,11 @@ public com.google.protobuf.ByteString getAzureClusterIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -335,7 +282,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,7 +293,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_); } @@ -373,13 +320,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -389,21 +338,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -424,134 +376,125 @@ 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) + unknownFields.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() @@ -559,15 +502,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -587,9 +531,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 @@ -608,8 +552,7 @@ 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); + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest(this); result.parent_ = parent_; if (azureClusterBuilder_ == null) { result.azureCluster_ = azureCluster_; @@ -626,39 +569,38 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest buildPartial( 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; @@ -666,8 +608,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_; onChanged(); @@ -701,8 +642,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -714,8 +654,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
      * will be created.
@@ -724,16 +662,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; @@ -742,8 +678,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
      * will be created.
@@ -752,17 +686,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 { @@ -770,8 +703,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
      * will be created.
@@ -780,25 +711,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
      * will be created.
@@ -807,21 +734,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
      * will be created.
@@ -830,19 +752,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -850,58 +770,39 @@ 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 azureClusterBuilder_ != null || 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. */ 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) { @@ -917,15 +818,11 @@ 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) { @@ -939,23 +836,17 @@ 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 (azureCluster_ != null) { azureCluster_ = - com.google.cloud.gkemulticloud.v1.AzureCluster.newBuilder(azureCluster_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureCluster.newBuilder(azureCluster_).mergeFrom(value).buildPartial(); } else { azureCluster_ = value; } @@ -967,15 +858,11 @@ 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() { if (azureClusterBuilder_ == null) { @@ -989,64 +876,48 @@ 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() { - + onChanged(); 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_; @@ -1054,8 +925,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.
@@ -1066,13 +935,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; @@ -1081,8 +950,6 @@ public java.lang.String getAzureClusterId() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1093,14 +960,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 { @@ -1108,8 +976,6 @@ public com.google.protobuf.ByteString getAzureClusterIdBytes() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1120,22 +986,20 @@ 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) { + public Builder setAzureClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureClusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1146,18 +1010,15 @@ 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() { - + azureClusterId_ = getDefaultInstance().getAzureClusterId(); onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1168,31 +1029,28 @@ 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) { + public Builder setAzureClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureClusterId_ = value; onChanged(); 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 @@ -1200,43 +1058,37 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1246,12 +1098,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(); } @@ -1260,16 +1112,16 @@ 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 { - return new CreateAzureClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAzureClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,4 +1136,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java index 1a908c0..49fc42f 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 created.
@@ -34,16 +16,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 created.
@@ -52,58 +29,40 @@ 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.
@@ -114,13 +73,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.
@@ -131,20 +87,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java similarity index 69% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java index 45fee12..21ef543 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private CreateAzureNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAzureNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateAzureNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,48 +54,43 @@ private CreateAzureNodePoolRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder subBuilder = null; + if (azureNodePool_ != null) { + subBuilder = azureNodePool_.toBuilder(); } - case 18: - { - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder subBuilder = null; - if (azureNodePool_ != null) { - subBuilder = azureNodePool_.toBuilder(); - } - azureNodePool_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(azureNodePool_); - azureNodePool_ = subBuilder.buildPartial(); - } - - break; + azureNodePool_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(azureNodePool_); + azureNodePool_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - azureNodePoolId_ = s; - break; - } - case 32: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + azureNodePoolId_ = s; + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,33 +98,29 @@ private CreateAzureNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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>`.
@@ -154,10 +128,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 @@ -166,15 +137,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 [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created.
    * Location names are formatted as `projects/<project-id>/locations/<region>`.
@@ -182,18 +152,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 { @@ -204,16 +173,11 @@ 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 @@ -221,34 +185,23 @@ 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() { @@ -258,8 +211,6 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool public static final int AZURE_NODE_POOL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object azureNodePoolId_; /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the parent
    * resource.
@@ -270,7 +221,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 @@ -279,15 +229,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.
@@ -298,15 +247,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 { @@ -317,15 +267,12 @@ public com.google.protobuf.ByteString getAzureNodePoolIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -334,7 +281,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,7 +292,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_); } @@ -372,13 +319,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -388,21 +337,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,134 +375,125 @@ 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) + unknownFields.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() @@ -558,15 +501,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -586,14 +530,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(); } @@ -608,8 +551,7 @@ 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); + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest(this); result.parent_ = parent_; if (azureNodePoolBuilder_ == null) { result.azureNodePool_ = azureNodePool_; @@ -626,39 +568,38 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest buildPartial 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; @@ -666,9 +607,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_; onChanged(); @@ -702,8 +641,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -715,8 +653,6 @@ public Builder mergeFrom( 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>`.
@@ -724,16 +660,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; @@ -742,8 +676,6 @@ 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>`.
@@ -751,17 +683,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 { @@ -769,8 +700,6 @@ 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>`.
@@ -778,25 +707,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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>`.
@@ -804,21 +729,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); 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>`.
@@ -826,19 +746,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -846,58 +764,39 @@ 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 azureNodePoolBuilder_ != null || 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. */ 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) { @@ -913,15 +812,11 @@ 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) { @@ -935,23 +830,17 @@ 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 (azureNodePool_ != null) { azureNodePool_ = - com.google.cloud.gkemulticloud.v1.AzureNodePool.newBuilder(azureNodePool_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureNodePool.newBuilder(azureNodePool_).mergeFrom(value).buildPartial(); } else { azureNodePool_ = value; } @@ -963,15 +852,11 @@ 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() { if (azureNodePoolBuilder_ == null) { @@ -985,64 +870,48 @@ 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() { - + onChanged(); 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_; @@ -1050,8 +919,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.
@@ -1062,13 +929,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; @@ -1077,8 +944,6 @@ public java.lang.String getAzureNodePoolId() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1089,14 +954,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 { @@ -1104,8 +970,6 @@ public com.google.protobuf.ByteString getAzureNodePoolIdBytes() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1116,22 +980,20 @@ 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) { + public Builder setAzureNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureNodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1142,18 +1004,15 @@ 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() { - + azureNodePoolId_ = getDefaultInstance().getAzureNodePoolId(); onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1164,32 +1023,29 @@ 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) { + public Builder setAzureNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureNodePoolId_ = value; onChanged(); 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 @@ -1197,45 +1053,39 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1245,13 +1095,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(); } @@ -1260,16 +1109,16 @@ 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 { - return new CreateAzureNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAzureNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,4 +1133,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java index fde4038..7c10835 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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>`.
@@ -33,16 +15,11 @@ public interface CreateAzureNodePoolRequestOrBuilder
    * 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>`.
@@ -50,58 +27,40 @@ public interface CreateAzureNodePoolRequestOrBuilder
    * 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.
@@ -112,13 +71,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.
@@ -129,21 +85,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java index 329ba9b..171835d 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private DeleteAwsClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAwsClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteAwsClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +54,35 @@ private DeleteAwsClusterRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - validateOnly_ = input.readBool(); - break; - } - case 24: - { - allowMissing_ = input.readBool(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - etag_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + validateOnly_ = input.readBool(); + break; + } + case 24: { + + allowMissing_ = input.readBool(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,33 +90,29 @@ private DeleteAwsClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
    * `AwsCluster` names are formatted as
@@ -144,10 +121,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on GCP resource names.
    * 
* - * - * 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 @@ -156,15 +130,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.
    * `AwsCluster` names are formatted as
@@ -173,18 +146,17 @@ public java.lang.String getName() {
    * for more details on GCP resource names.
    * 
* - * - * 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 { @@ -195,14 +167,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -213,8 +182,6 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_; /** - * - * *
    * If set to true, and the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not found,
    * the request will succeed but no action will be taken on the server and a
@@ -223,7 +190,6 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -234,8 +200,6 @@ public boolean getAllowMissing() { public static final int ETAG_FIELD_NUMBER = 4; private volatile java.lang.Object etag_; /** - * - * *
    * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -244,7 +208,6 @@ public boolean getAllowMissing() {
    * 
* * string etag = 4; - * * @return The etag. */ @java.lang.Override @@ -253,15 +216,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -270,15 +232,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 { @@ -287,7 +250,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,7 +261,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_); } @@ -325,10 +288,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_); @@ -341,18 +306,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.DeleteAwsClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest other = - (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) 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; + 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,9 +335,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) + unknownFields.hashCode(); @@ -378,127 +348,117 @@ 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() @@ -506,15 +466,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,9 +491,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 @@ -551,8 +512,7 @@ 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); + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest(this); result.name_ = name_; result.validateOnly_ = validateOnly_; result.allowMissing_ = allowMissing_; @@ -565,39 +525,38 @@ public com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest buildPartial() 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; @@ -605,8 +564,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_; onChanged(); @@ -640,8 +598,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -653,8 +610,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
      * `AwsCluster` names are formatted as
@@ -663,16 +618,14 @@ public Builder mergeFrom(
      * for more details on GCP resource names.
      * 
* - * - * 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 +634,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
      * `AwsCluster` names are formatted as
@@ -691,17 +642,16 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * - * 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 { @@ -709,8 +659,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
      * `AwsCluster` names are formatted as
@@ -719,25 +667,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on GCP resource names.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
      * `AwsCluster` names are formatted as
@@ -746,21 +690,16 @@ public Builder setName(java.lang.String value) {
      * for more details on GCP resource names.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
      * `AwsCluster` names are formatted as
@@ -769,34 +708,29 @@ public Builder clearName() {
      * for more details on GCP resource names.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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 @@ -804,45 +738,37 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -851,7 +777,6 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -859,8 +784,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -869,19 +792,16 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -890,11 +810,10 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); return this; @@ -902,8 +821,6 @@ public Builder clearAllowMissing() { private java.lang.Object etag_ = ""; /** - * - * *
      * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -912,13 +829,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; @@ -927,8 +844,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -937,14 +852,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 { @@ -952,8 +868,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -962,22 +876,20 @@ 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -986,18 +898,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -1006,23 +915,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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -1032,12 +941,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(); } @@ -1046,16 +955,16 @@ 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 { - return new DeleteAwsClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAwsClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,4 +979,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java index 8ccdb49..17fc849 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * `AwsCluster` names are formatted as
@@ -34,16 +16,11 @@ public interface DeleteAwsClusterRequestOrBuilder
    * for more details on GCP resource names.
    * 
* - * - * 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.
    * `AwsCluster` names are formatted as
@@ -52,30 +29,23 @@ public interface DeleteAwsClusterRequestOrBuilder
    * for more details on GCP resource names.
    * 
* - * - * 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 found,
    * the request will succeed but no action will be taken on the server and a
@@ -84,14 +54,11 @@ public interface DeleteAwsClusterRequestOrBuilder
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ boolean getAllowMissing(); /** - * - * *
    * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -100,13 +67,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -115,8 +79,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java similarity index 73% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java index 9fa7d94..0444970 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.DeleteNodePool` 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,15 +26,16 @@ private DeleteAwsNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAwsNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteAwsNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +54,35 @@ private DeleteAwsNodePoolRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - validateOnly_ = input.readBool(); - break; - } - case 24: - { - allowMissing_ = input.readBool(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - etag_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + validateOnly_ = input.readBool(); + break; + } + case 24: { + + allowMissing_ = input.readBool(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,33 +90,29 @@ private DeleteAwsNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
    * `AwsNodePool` names are formatted as
@@ -144,10 +121,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 @@ -156,15 +130,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.
    * `AwsNodePool` names are formatted as
@@ -173,18 +146,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 { @@ -195,15 +167,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -214,8 +183,6 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_; /** - * - * *
    * If set to true, and the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not found,
    * the request will succeed but no action will be taken on the server and a
@@ -224,7 +191,6 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -235,8 +201,6 @@ public boolean getAllowMissing() { public static final int ETAG_FIELD_NUMBER = 4; private volatile java.lang.Object etag_; /** - * - * *
    * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -245,7 +209,6 @@ public boolean getAllowMissing() {
    * 
* * string etag = 4; - * * @return The etag. */ @java.lang.Override @@ -254,15 +217,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -271,15 +233,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 { @@ -288,7 +251,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,7 +262,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_); } @@ -326,10 +289,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_); @@ -342,18 +307,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.DeleteAwsNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest other = - (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) 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; + 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -368,9 +336,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) + unknownFields.hashCode(); @@ -379,127 +349,117 @@ 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.DeleteNodePool` 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() @@ -507,15 +467,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -531,9 +492,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 @@ -552,8 +513,7 @@ 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); + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest(this); result.name_ = name_; result.validateOnly_ = validateOnly_; result.allowMissing_ = allowMissing_; @@ -566,39 +526,38 @@ public com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest buildPartial() 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; @@ -606,8 +565,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_; onChanged(); @@ -641,8 +599,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -654,8 +611,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
      * `AwsNodePool` names are formatted as
@@ -664,16 +619,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; @@ -682,8 +635,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
      * `AwsNodePool` names are formatted as
@@ -692,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 { @@ -710,8 +660,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
      * `AwsNodePool` names are formatted as
@@ -720,25 +668,21 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
      * `AwsNodePool` names are formatted as
@@ -747,21 +691,16 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
      * `AwsNodePool` names are formatted as
@@ -770,35 +709,30 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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 @@ -806,47 +740,39 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -855,7 +781,6 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -863,8 +788,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -873,19 +796,16 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -894,11 +814,10 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); return this; @@ -906,8 +825,6 @@ public Builder clearAllowMissing() { private java.lang.Object etag_ = ""; /** - * - * *
      * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -916,13 +833,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; @@ -931,8 +848,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -941,14 +856,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 { @@ -956,8 +872,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -966,22 +880,20 @@ 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -990,18 +902,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -1010,23 +919,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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -1036,12 +945,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(); } @@ -1050,16 +959,16 @@ 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 { - return new DeleteAwsNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAwsNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1074,4 +983,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java index 6cd8cb3..7d80963 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * `AwsNodePool` names are formatted as
@@ -34,16 +16,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.
    * `AwsNodePool` names are formatted as
@@ -52,31 +29,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 found,
    * the request will succeed but no action will be taken on the server and a
@@ -85,14 +55,11 @@ public interface DeleteAwsNodePoolRequestOrBuilder
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ boolean getAllowMissing(); /** - * - * *
    * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -101,13 +68,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -116,8 +80,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java index b7850ff..69412f4 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteAzureClientRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,30 +53,29 @@ private DeleteAzureClientRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - allowMissing_ = input.readBool(); - break; - } - case 24: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + allowMissing_ = input.readBool(); + break; + } + case 24: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,33 +83,29 @@ private DeleteAzureClientRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -136,10 +114,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 @@ -148,15 +123,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.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -165,18 +139,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 { @@ -187,8 +160,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ALLOW_MISSING_FIELD_NUMBER = 2; private boolean allowMissing_; /** - * - * *
    * If set to true, and the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not found,
    * the request will succeed but no action will be taken on the server and a
@@ -197,7 +168,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -208,14 +178,11 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; 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 @@ -224,7 +191,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +202,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_); } @@ -259,10 +226,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -272,17 +241,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,136 +268,128 @@ 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) + unknownFields.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() @@ -434,15 +397,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +420,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 @@ -477,8 +441,7 @@ 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); + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest(this); result.name_ = name_; result.allowMissing_ = allowMissing_; result.validateOnly_ = validateOnly_; @@ -490,39 +453,38 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest buildPartial() 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; @@ -530,8 +492,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_; onChanged(); @@ -561,8 +522,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -574,8 +534,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -584,16 +542,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; @@ -602,8 +558,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -612,17 +566,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 { @@ -630,8 +583,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -640,25 +591,21 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -667,21 +614,16 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -690,28 +632,24 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -720,7 +658,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -728,8 +665,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -738,19 +673,16 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 2; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -759,26 +691,22 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 2; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); 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 @@ -786,43 +714,37 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -832,12 +754,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(); } @@ -846,16 +768,16 @@ 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 { - return new DeleteAzureClientRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAzureClientRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -870,4 +792,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java index 754a1fe..ec257ac 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -34,16 +16,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.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -52,17 +29,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 found,
    * the request will succeed but no action will be taken on the server and a
@@ -71,20 +44,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java similarity index 73% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java index 3041cf0..053b048 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
  * 
* * 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,15 +26,16 @@ private DeleteAzureClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAzureClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteAzureClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +54,35 @@ private DeleteAzureClusterRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - allowMissing_ = input.readBool(); - break; - } - case 24: - { - validateOnly_ = input.readBool(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - etag_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + allowMissing_ = input.readBool(); + break; + } + case 24: { + + validateOnly_ = input.readBool(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,33 +90,29 @@ private DeleteAzureClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
    * `AzureCluster` names are formatted as
@@ -144,10 +121,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on GCP resource names.
    * 
* - * - * 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 @@ -156,15 +130,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.
    * `AzureCluster` names are formatted as
@@ -173,18 +146,17 @@ public java.lang.String getName() {
    * for more details on GCP resource names.
    * 
* - * - * 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 { @@ -195,8 +167,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ALLOW_MISSING_FIELD_NUMBER = 2; private boolean allowMissing_; /** - * - * *
    * If set to true, and the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not found,
    * the request will succeed but no action will be taken on the server and a
@@ -205,7 +175,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -216,14 +185,11 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; 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 @@ -234,8 +200,6 @@ public boolean getValidateOnly() { public static final int ETAG_FIELD_NUMBER = 4; private volatile java.lang.Object etag_; /** - * - * *
    * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -244,7 +208,6 @@ public boolean getValidateOnly() {
    * 
* * string etag = 4; - * * @return The etag. */ @java.lang.Override @@ -253,15 +216,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -270,15 +232,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 { @@ -287,7 +250,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,7 +261,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_); } @@ -325,10 +288,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_); @@ -341,18 +306,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,9 +335,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) + unknownFields.hashCode(); @@ -378,127 +348,117 @@ 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.
    * 
* * 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() @@ -506,15 +466,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,9 +491,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 @@ -551,8 +512,7 @@ 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); + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest(this); result.name_ = name_; result.allowMissing_ = allowMissing_; result.validateOnly_ = validateOnly_; @@ -565,39 +525,38 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest buildPartial( 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; @@ -605,8 +564,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_; onChanged(); @@ -640,8 +598,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -653,8 +610,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
      * `AzureCluster` names are formatted as
@@ -663,16 +618,14 @@ public Builder mergeFrom(
      * for more details on GCP resource names.
      * 
* - * - * 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 +634,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
      * `AzureCluster` names are formatted as
@@ -691,17 +642,16 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * - * 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 { @@ -709,8 +659,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
      * `AzureCluster` names are formatted as
@@ -719,25 +667,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on GCP resource names.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
      * `AzureCluster` names are formatted as
@@ -746,21 +690,16 @@ public Builder setName(java.lang.String value) {
      * for more details on GCP resource names.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
      * `AzureCluster` names are formatted as
@@ -769,28 +708,24 @@ public Builder clearName() {
      * for more details on GCP resource names.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -799,7 +734,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -807,8 +741,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -817,19 +749,16 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 2; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -838,26 +767,22 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 2; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); 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 @@ -865,36 +790,30 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; @@ -902,8 +821,6 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** - * - * *
      * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -912,13 +829,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; @@ -927,8 +844,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -937,14 +852,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 { @@ -952,8 +868,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -962,22 +876,20 @@ 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -986,18 +898,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -1006,23 +915,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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -1032,12 +941,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(); } @@ -1046,16 +955,16 @@ 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 { - return new DeleteAzureClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAzureClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,4 +979,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java index 880bf51..817c684 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * `AzureCluster` names are formatted as
@@ -34,16 +16,11 @@ public interface DeleteAzureClusterRequestOrBuilder
    * for more details on GCP resource names.
    * 
* - * - * 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.
    * `AzureCluster` names are formatted as
@@ -52,17 +29,13 @@ public interface DeleteAzureClusterRequestOrBuilder
    * for more details on GCP resource names.
    * 
* - * - * 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 found,
    * the request will succeed but no action will be taken on the server and a
@@ -71,27 +44,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -100,13 +67,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -115,8 +79,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java similarity index 73% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java index 7d6c422..4403196 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.DeleteNodePool` 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,15 +26,16 @@ private DeleteAzureNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAzureNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteAzureNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +54,35 @@ private DeleteAzureNodePoolRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - validateOnly_ = input.readBool(); - break; - } - case 24: - { - allowMissing_ = input.readBool(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - etag_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + validateOnly_ = input.readBool(); + break; + } + case 24: { + + allowMissing_ = input.readBool(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,33 +90,29 @@ private DeleteAzureNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
    * `AzureNodePool` names are formatted as
@@ -144,10 +121,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 @@ -156,15 +130,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.
    * `AzureNodePool` names are formatted as
@@ -173,18 +146,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 { @@ -195,15 +167,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -214,8 +183,6 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_; /** - * - * *
    * If set to true, and the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is not found,
    * the request will succeed but no action will be taken on the server and a
@@ -224,7 +191,6 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -235,8 +201,6 @@ public boolean getAllowMissing() { public static final int ETAG_FIELD_NUMBER = 4; private volatile java.lang.Object etag_; /** - * - * *
    * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -245,7 +209,6 @@ public boolean getAllowMissing() {
    * 
* * string etag = 4; - * * @return The etag. */ @java.lang.Override @@ -254,15 +217,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -271,15 +233,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 { @@ -288,7 +251,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,7 +262,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_); } @@ -326,10 +289,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_); @@ -342,18 +307,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; + 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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -368,9 +336,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) + unknownFields.hashCode(); @@ -379,127 +349,117 @@ 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.DeleteNodePool` 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() @@ -507,15 +467,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -531,14 +492,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(); } @@ -553,8 +513,7 @@ 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); + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest(this); result.name_ = name_; result.validateOnly_ = validateOnly_; result.allowMissing_ = allowMissing_; @@ -567,39 +526,38 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest buildPartial 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; @@ -607,9 +565,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_; onChanged(); @@ -643,8 +599,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -656,8 +611,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
      * `AzureNodePool` names are formatted as
@@ -666,16 +619,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; @@ -684,8 +635,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
      * `AzureNodePool` names are formatted as
@@ -694,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 { @@ -712,8 +660,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
      * `AzureNodePool` names are formatted as
@@ -722,25 +668,21 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
      * `AzureNodePool` names are formatted as
@@ -749,21 +691,16 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
      * `AzureNodePool` names are formatted as
@@ -772,35 +709,30 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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 @@ -808,47 +740,39 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -857,7 +781,6 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -865,8 +788,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -875,19 +796,16 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -896,11 +814,10 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); return this; @@ -908,8 +825,6 @@ public Builder clearAllowMissing() { private java.lang.Object etag_ = ""; /** - * - * *
      * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -918,13 +833,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; @@ -933,8 +848,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -943,14 +856,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 { @@ -958,8 +872,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -968,22 +880,20 @@ 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -992,18 +902,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -1012,23 +919,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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -1038,13 +945,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(); } @@ -1053,16 +959,16 @@ 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 { - return new DeleteAzureNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAzureNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1077,4 +983,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java index e3269e4..d21120a 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * `AzureNodePool` names are formatted as
@@ -34,16 +16,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.
    * `AzureNodePool` names are formatted as
@@ -52,31 +29,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 not found,
    * the request will succeed but no action will be taken on the server and a
@@ -85,14 +55,11 @@ public interface DeleteAzureNodePoolRequestOrBuilder
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ boolean getAllowMissing(); /** - * - * *
    * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -101,13 +68,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -116,8 +80,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java similarity index 74% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java index 1234639..089f076 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
  * Fleets are a Google Cloud concept for logically organizing clusters,
@@ -33,16 +16,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_ = "";
@@ -50,15 +32,16 @@ private Fleet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Fleet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Fleet(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,27 +60,25 @@ private Fleet(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              project_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            project_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              membership_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            membership_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -105,33 +86,29 @@ private Fleet(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private volatile java.lang.Object project_;
   /**
-   *
-   *
    * 
    * Required. The name of the Fleet host project where this cluster will be registered.
    * Project names are formatted as
@@ -139,7 +116,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The project. */ @java.lang.Override @@ -148,15 +124,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.
    * Project names are formatted as
@@ -164,15 +139,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 { @@ -183,8 +159,6 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int MEMBERSHIP_FIELD_NUMBER = 2; private volatile java.lang.Object membership_; /** - * - * *
    * Output only. The name of the managed Hub Membership resource associated to this cluster.
    * Membership names are formatted as
@@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getProjectBytes() {
    * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The membership. */ @java.lang.Override @@ -201,15 +174,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.
    * Membership names are formatted as
@@ -217,15 +189,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 { @@ -234,7 +207,6 @@ public com.google.protobuf.ByteString getMembershipBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +218,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_); } @@ -276,15 +249,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -305,104 +280,97 @@ 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.
    * Fleets are a Google Cloud concept for logically organizing clusters,
@@ -415,23 +383,21 @@ 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()
@@ -439,15 +405,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +426,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
@@ -480,8 +447,7 @@ 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);
+      com.google.cloud.gkemulticloud.v1.Fleet result = new com.google.cloud.gkemulticloud.v1.Fleet(this);
       result.project_ = project_;
       result.membership_ = membership_;
       onBuilt();
@@ -492,39 +458,38 @@ public com.google.cloud.gkemulticloud.v1.Fleet buildPartial() {
     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;
@@ -572,8 +537,6 @@ public Builder mergeFrom(
 
     private java.lang.Object project_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the Fleet host project where this cluster will be registered.
      * Project names are formatted as
@@ -581,13 +544,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; @@ -596,8 +559,6 @@ public java.lang.String getProject() { } } /** - * - * *
      * Required. The name of the Fleet host project where this cluster will be registered.
      * Project names are formatted as
@@ -605,14 +566,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 { @@ -620,8 +582,6 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * Required. The name of the Fleet host project where this cluster will be registered.
      * Project names are formatted as
@@ -629,22 +589,20 @@ 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) { + public Builder setProject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Fleet host project where this cluster will be registered.
      * Project names are formatted as
@@ -652,18 +610,15 @@ public Builder setProject(java.lang.String value) {
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Fleet host project where this cluster will be registered.
      * Project names are formatted as
@@ -671,16 +626,16 @@ 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) { + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -688,8 +643,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.
      * Membership names are formatted as
@@ -697,13 +650,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; @@ -712,8 +665,6 @@ public java.lang.String getMembership() { } } /** - * - * *
      * Output only. The name of the managed Hub Membership resource associated to this cluster.
      * Membership names are formatted as
@@ -721,14 +672,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 { @@ -736,8 +688,6 @@ public com.google.protobuf.ByteString getMembershipBytes() { } } /** - * - * *
      * Output only. The name of the managed Hub Membership resource associated to this cluster.
      * Membership names are formatted as
@@ -745,22 +695,20 @@ 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) { + public Builder setMembership( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + membership_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The name of the managed Hub Membership resource associated to this cluster.
      * Membership names are formatted as
@@ -768,18 +716,15 @@ public Builder setMembership(java.lang.String value) {
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearMembership() { - + membership_ = getDefaultInstance().getMembership(); onChanged(); return this; } /** - * - * *
      * Output only. The name of the managed Hub Membership resource associated to this cluster.
      * Membership names are formatted as
@@ -787,23 +732,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) { + public Builder setMembershipBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + membership_ = 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); } @@ -813,12 +758,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(); } @@ -827,16 +772,16 @@ 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 { - return new Fleet(input, extensionRegistry); - } - }; + 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 { + return new Fleet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -851,4 +796,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.Fleet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java index fa25a8a..fe7c786 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
    * Project names are formatted as
@@ -33,13 +15,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.
    * Project names are formatted as
@@ -47,14 +26,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.
    * Membership names are formatted as
@@ -62,13 +39,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.
    * Membership names are formatted as
@@ -76,8 +50,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java similarity index 66% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java index e0a14df..bb380a1 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GenerateAwsAccessTokenRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GenerateAwsAccessTokenRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - awsCluster_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + awsCluster_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GenerateAwsAccessTokenRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object awsCluster_; /** - * - * *
    * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
    * `AwsCluster` names are formatted as
@@ -126,10 +104,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 @@ -138,15 +113,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 authenticate to.
    * `AwsCluster` names are formatted as
@@ -155,18 +129,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 { @@ -175,7 +148,6 @@ public com.google.protobuf.ByteString getAwsClusterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +159,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_); } @@ -211,15 +184,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,127 +212,117 @@ 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() @@ -367,15 +330,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,14 +349,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(); } @@ -407,8 +370,7 @@ 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); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest(this); result.awsCluster_ = awsCluster_; onBuilt(); return result; @@ -418,50 +380,46 @@ public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest buildPart 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_; onChanged(); @@ -485,9 +443,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -499,8 +455,6 @@ public Builder mergeFrom( private java.lang.Object awsCluster_ = ""; /** - * - * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
      * `AwsCluster` names are formatted as
@@ -509,16 +463,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; @@ -527,8 +479,6 @@ public java.lang.String getAwsCluster() { } } /** - * - * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
      * `AwsCluster` names are formatted as
@@ -537,17 +487,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 { @@ -555,8 +504,6 @@ public com.google.protobuf.ByteString getAwsClusterBytes() { } } /** - * - * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
      * `AwsCluster` names are formatted as
@@ -565,25 +512,21 @@ 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) { + public Builder setAwsCluster( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + awsCluster_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
      * `AwsCluster` names are formatted as
@@ -592,21 +535,16 @@ 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() { - + awsCluster_ = getDefaultInstance().getAwsCluster(); onChanged(); return this; } /** - * - * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
      * `AwsCluster` names are formatted as
@@ -615,26 +553,24 @@ 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) { + public Builder setAwsClusterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + awsCluster_ = 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); } @@ -644,32 +580,30 @@ 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 { - return new GenerateAwsAccessTokenRequest(input, extensionRegistry); - } - }; + 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 { + return new GenerateAwsAccessTokenRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -681,8 +615,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java index a04cdab..7bc6a41 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 authenticate to.
    * `AwsCluster` names are formatted as
@@ -34,16 +16,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 authenticate to.
    * `AwsCluster` names are formatted as
@@ -52,11 +29,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java similarity index 63% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java index 7d87665..7f51a76 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GenerateAwsAccessTokenResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,35 +53,32 @@ private GenerateAwsAccessTokenResponse( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - accessToken_ = s; - break; + accessToken_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expirationTime_ != null) { + subBuilder = expirationTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expirationTime_ != null) { - subBuilder = expirationTime_.toBuilder(); - } - expirationTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expirationTime_); - expirationTime_ = subBuilder.buildPartial(); - } - - break; + expirationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expirationTime_); + expirationTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,39 +86,34 @@ private GenerateAwsAccessTokenResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -148,29 +122,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 { @@ -181,16 +155,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 @@ -198,34 +167,23 @@ 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() { @@ -233,7 +191,6 @@ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +202,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_); } @@ -265,7 +223,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,18 +234,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -311,127 +271,117 @@ 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() @@ -439,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -463,14 +414,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(); } @@ -485,8 +435,7 @@ 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); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse(this); result.accessToken_ = accessToken_; if (expirationTimeBuilder_ == null) { result.expirationTime_ = expirationTime_; @@ -501,50 +450,46 @@ public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse buildPar 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_; onChanged(); @@ -571,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -585,20 +528,18 @@ public Builder mergeFrom( 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; @@ -607,21 +548,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 { @@ -629,61 +569,54 @@ 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) { + public Builder setAccessToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accessToken_ = value; 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() { - + accessToken_ = getDefaultInstance().getAccessToken(); onChanged(); 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) { + public Builder setAccessTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessToken_ = value; onChanged(); return this; @@ -691,58 +624,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 expirationTimeBuilder_ != null || 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. */ 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) { @@ -758,17 +672,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(); onChanged(); @@ -779,23 +690,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 (expirationTime_ != null) { expirationTime_ = - com.google.protobuf.Timestamp.newBuilder(expirationTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial(); } else { expirationTime_ = value; } @@ -807,15 +712,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() { if (expirationTimeBuilder_ == null) { @@ -829,71 +730,55 @@ 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() { - + onChanged(); 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); } @@ -903,32 +788,30 @@ 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 { - return new GenerateAwsAccessTokenResponse(input, extensionRegistry); - } - }; + 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 { + return new GenerateAwsAccessTokenResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -940,8 +823,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java similarity index 53% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java index 8f16c9a..a866c2f 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java @@ -1,91 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java similarity index 65% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java index d4b82ae..7759e96 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GenerateAzureAccessTokenRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private GenerateAzureAccessTokenRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - azureCluster_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + azureCluster_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,33 +73,29 @@ private GenerateAzureAccessTokenRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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
@@ -127,10 +104,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 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 @@ -139,15 +113,14 @@ 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
@@ -156,18 +129,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. */ @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 { @@ -176,7 +148,6 @@ public com.google.protobuf.ByteString getAzureClusterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +159,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_); } @@ -212,15 +184,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -240,145 +212,134 @@ 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() + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -388,14 +349,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(); } @@ -410,8 +370,7 @@ 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); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest(this); result.azureCluster_ = azureCluster_; onBuilt(); return result; @@ -421,50 +380,46 @@ public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest buildPa 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_; onChanged(); @@ -488,9 +443,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -502,8 +455,6 @@ public Builder mergeFrom( 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
@@ -512,16 +463,14 @@ 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; @@ -530,8 +479,6 @@ 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
@@ -540,17 +487,16 @@ 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 { @@ -558,8 +504,6 @@ 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
@@ -568,25 +512,21 @@ public com.google.protobuf.ByteString getAzureClusterBytes() {
      * 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) { + public Builder setAzureCluster( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureCluster_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to authenticate to.
      * `AzureCluster` names are formatted as
@@ -595,21 +535,16 @@ public Builder setAzureCluster(java.lang.String value) {
      * 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() { - + azureCluster_ = getDefaultInstance().getAzureCluster(); onChanged(); return this; } /** - * - * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to authenticate to.
      * `AzureCluster` names are formatted as
@@ -618,26 +553,24 @@ 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) { + public Builder setAzureClusterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureCluster_ = 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); } @@ -647,32 +580,30 @@ 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 { - return new GenerateAzureAccessTokenRequest(input, extensionRegistry); - } - }; + 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 { + return new GenerateAzureAccessTokenRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -684,8 +615,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java index efa1558..1ad24eb 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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
@@ -34,16 +16,11 @@ public interface GenerateAzureAccessTokenRequestOrBuilder
    * 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
@@ -52,11 +29,9 @@ public interface GenerateAzureAccessTokenRequestOrBuilder
    * 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java similarity index 63% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java index 7a9797a..86d49e7 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GenerateAzureAccessTokenResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,35 +53,32 @@ private GenerateAzureAccessTokenResponse( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - accessToken_ = s; - break; + accessToken_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expirationTime_ != null) { + subBuilder = expirationTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expirationTime_ != null) { - subBuilder = expirationTime_.toBuilder(); - } - expirationTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expirationTime_); - expirationTime_ = subBuilder.buildPartial(); - } - - break; + expirationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expirationTime_); + expirationTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,39 +86,34 @@ private GenerateAzureAccessTokenResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -148,29 +122,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 { @@ -181,16 +155,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 @@ -198,34 +167,23 @@ 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() { @@ -233,7 +191,6 @@ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +202,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_); } @@ -265,7 +223,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -275,18 +234,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -311,145 +271,134 @@ 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() + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -465,16 +414,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 @@ -488,8 +435,7 @@ 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); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse(this); result.accessToken_ = accessToken_; if (expirationTimeBuilder_ == null) { result.expirationTime_ = expirationTime_; @@ -504,51 +450,46 @@ public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse buildP 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_; onChanged(); @@ -575,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -589,20 +528,18 @@ public Builder mergeFrom( 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; @@ -611,21 +548,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 { @@ -633,61 +569,54 @@ 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) { + public Builder setAccessToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accessToken_ = value; 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() { - + accessToken_ = getDefaultInstance().getAccessToken(); onChanged(); 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) { + public Builder setAccessTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessToken_ = value; onChanged(); return this; @@ -695,58 +624,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 expirationTimeBuilder_ != null || 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. */ 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) { @@ -762,17 +672,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(); onChanged(); @@ -783,23 +690,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 (expirationTime_ != null) { expirationTime_ = - com.google.protobuf.Timestamp.newBuilder(expirationTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial(); } else { expirationTime_ = value; } @@ -811,15 +712,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() { if (expirationTimeBuilder_ == null) { @@ -833,71 +730,55 @@ 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() { - + onChanged(); 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); } @@ -907,32 +788,30 @@ 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 { - return new GenerateAzureAccessTokenResponse(input, extensionRegistry); - } - }; + 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 { + return new GenerateAzureAccessTokenResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -944,8 +823,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java similarity index 54% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java index cac940d..0e27d41 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java @@ -1,91 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java similarity index 67% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java index 56c52c7..0fcd77e 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAwsClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetAwsClusterRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GetAwsClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
    * `AwsCluster` names are formatted as
@@ -126,10 +104,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on GCP resource names.
    * 
* - * - * 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 @@ -138,15 +113,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 describe.
    * `AwsCluster` names are formatted as
@@ -155,18 +129,17 @@ public java.lang.String getName() {
    * for more details on GCP resource names.
    * 
* - * - * 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 { @@ -175,7 +148,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +159,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_); } @@ -211,15 +184,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,127 +212,117 @@ 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() @@ -367,15 +330,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +349,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 @@ -406,8 +370,7 @@ 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); + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest(this); result.name_ = name_; onBuilt(); return result; @@ -417,39 +380,38 @@ public com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest buildPartial() { 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; @@ -457,8 +419,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_; onChanged(); @@ -482,8 +443,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,8 +455,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
      * `AwsCluster` names are formatted as
@@ -505,16 +463,14 @@ public Builder mergeFrom(
      * for more details on GCP resource names.
      * 
* - * - * 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; @@ -523,8 +479,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
      * `AwsCluster` names are formatted as
@@ -533,17 +487,16 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * - * 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 { @@ -551,8 +504,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
      * `AwsCluster` names are formatted as
@@ -561,25 +512,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on GCP resource names.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
      * `AwsCluster` names are formatted as
@@ -588,21 +535,16 @@ public Builder setName(java.lang.String value) {
      * for more details on GCP resource names.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
      * `AwsCluster` names are formatted as
@@ -611,26 +553,24 @@ public Builder clearName() {
      * for more details on GCP resource names.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -640,12 +580,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(); } @@ -654,16 +594,16 @@ 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 { - return new GetAwsClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAwsClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -678,4 +618,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java index a7cd216..e1bfe20 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 describe.
    * `AwsCluster` names are formatted as
@@ -34,16 +16,11 @@ public interface GetAwsClusterRequestOrBuilder
    * for more details on GCP resource names.
    * 
* - * - * 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 describe.
    * `AwsCluster` names are formatted as
@@ -52,11 +29,9 @@ public interface GetAwsClusterRequestOrBuilder
    * for more details on GCP resource names.
    * 
* - * - * 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java index a3776cf..b09045c 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAwsNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetAwsNodePoolRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GetAwsNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
    * `AwsNodePool` names are formatted as
@@ -126,10 +104,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 @@ -138,15 +113,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 describe.
    * `AwsNodePool` names are formatted as
@@ -155,18 +129,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 { @@ -175,7 +148,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +159,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_); } @@ -211,15 +184,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,127 +212,117 @@ 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() @@ -367,15 +330,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +349,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 @@ -406,8 +370,7 @@ 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); + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest(this); result.name_ = name_; onBuilt(); return result; @@ -417,39 +380,38 @@ public com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest buildPartial() { 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; @@ -457,8 +419,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_; onChanged(); @@ -482,8 +443,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,8 +455,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
      * `AwsNodePool` names are formatted as
@@ -505,16 +463,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; @@ -523,8 +479,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
      * `AwsNodePool` names are formatted as
@@ -533,17 +487,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 { @@ -551,8 +504,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
      * `AwsNodePool` names are formatted as
@@ -561,25 +512,21 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
      * `AwsNodePool` names are formatted as
@@ -588,21 +535,16 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
      * `AwsNodePool` names are formatted as
@@ -611,26 +553,24 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -640,12 +580,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(); } @@ -654,16 +594,16 @@ 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 { - return new GetAwsNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAwsNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -678,4 +618,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java index 1f2fb73..0b3b827 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 describe.
    * `AwsNodePool` names are formatted as
@@ -34,16 +16,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 describe.
    * `AwsNodePool` names are formatted as
@@ -52,11 +29,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java similarity index 67% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java index 5977351..063f7a1 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAwsServerConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetAwsServerConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GetAwsServerConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
    * `AwsServerConfig` names are formatted as
@@ -126,10 +104,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 @@ -138,15 +113,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 to describe.
    * `AwsServerConfig` names are formatted as
@@ -155,18 +129,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 { @@ -175,7 +148,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +159,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_); } @@ -211,15 +184,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,127 +212,117 @@ 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() @@ -367,15 +330,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +349,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 @@ -406,8 +370,7 @@ 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); + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -417,39 +380,38 @@ public com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest buildPartial( 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; @@ -457,8 +419,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_; onChanged(); @@ -482,8 +443,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,8 +455,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
      * `AwsServerConfig` names are formatted as
@@ -505,16 +463,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; @@ -523,8 +479,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
      * `AwsServerConfig` names are formatted as
@@ -533,17 +487,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 { @@ -551,8 +504,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
      * `AwsServerConfig` names are formatted as
@@ -561,25 +512,21 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
      * `AwsServerConfig` names are formatted as
@@ -588,21 +535,16 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
      * `AwsServerConfig` names are formatted as
@@ -611,26 +553,24 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -640,12 +580,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(); } @@ -654,16 +594,16 @@ 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 { - return new GetAwsServerConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAwsServerConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -678,4 +618,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java index cc6e8f9..d7f6b66 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 to describe.
    * `AwsServerConfig` names are formatted as
@@ -34,16 +16,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 to describe.
    * `AwsServerConfig` names are formatted as
@@ -52,11 +29,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java index 85fb872..590a8a6 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAzureClientRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetAzureClientRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GetAzureClientRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -126,10 +104,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 @@ -138,15 +113,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 describe.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -155,18 +129,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 { @@ -175,7 +148,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +159,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_); } @@ -211,15 +184,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,127 +212,117 @@ 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() @@ -367,15 +330,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +349,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 @@ -406,8 +370,7 @@ 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); + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureClientRequest(this); result.name_ = name_; onBuilt(); return result; @@ -417,39 +380,38 @@ public com.google.cloud.gkemulticloud.v1.GetAzureClientRequest buildPartial() { 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; @@ -457,8 +419,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_; onChanged(); @@ -482,8 +443,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,8 +455,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -505,16 +463,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; @@ -523,8 +479,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -533,17 +487,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 { @@ -551,8 +504,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -561,25 +512,21 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -588,21 +535,16 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -611,26 +553,24 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -640,12 +580,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(); } @@ -654,16 +594,16 @@ 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 { - return new GetAzureClientRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAzureClientRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -678,4 +618,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java index 98fa0d3..4a8525b 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 describe.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -34,16 +16,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 describe.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -52,11 +29,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java index f84e331..5f135f1 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAzureClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetAzureClusterRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GetAzureClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
    * `AzureCluster` names are formatted as
@@ -126,10 +104,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on GCP resource names.
    * 
* - * - * 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 @@ -138,15 +113,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 describe.
    * `AzureCluster` names are formatted as
@@ -155,18 +129,17 @@ public java.lang.String getName() {
    * for more details on GCP resource names.
    * 
* - * - * 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 { @@ -175,7 +148,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +159,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_); } @@ -211,15 +184,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,127 +212,117 @@ 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() @@ -367,15 +330,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +349,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 @@ -406,8 +370,7 @@ 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); + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest(this); result.name_ = name_; onBuilt(); return result; @@ -417,39 +380,38 @@ public com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest buildPartial() { 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; @@ -457,8 +419,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_; onChanged(); @@ -482,8 +443,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,8 +455,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
      * `AzureCluster` names are formatted as
@@ -505,16 +463,14 @@ public Builder mergeFrom(
      * for more details on GCP resource names.
      * 
* - * - * 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; @@ -523,8 +479,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
      * `AzureCluster` names are formatted as
@@ -533,17 +487,16 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * - * 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 { @@ -551,8 +504,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
      * `AzureCluster` names are formatted as
@@ -561,25 +512,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on GCP resource names.
      * 
* - * - * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
      * `AzureCluster` names are formatted as
@@ -588,21 +535,16 @@ public Builder setName(java.lang.String value) {
      * for more details on GCP resource names.
      * 
* - * - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
      * `AzureCluster` names are formatted as
@@ -611,26 +553,24 @@ public Builder clearName() {
      * for more details on GCP resource names.
      * 
* - * - * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -640,12 +580,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(); } @@ -654,16 +594,16 @@ 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 { - return new GetAzureClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAzureClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -678,4 +618,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java index 3900a63..f2799c4 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 describe.
    * `AzureCluster` names are formatted as
@@ -34,16 +16,11 @@ public interface GetAzureClusterRequestOrBuilder
    * for more details on GCP resource names.
    * 
* - * - * 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 describe.
    * `AzureCluster` names are formatted as
@@ -52,11 +29,9 @@ public interface GetAzureClusterRequestOrBuilder
    * for more details on GCP resource names.
    * 
* - * - * 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java index 329d5a7..c420d2a 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAzureNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetAzureNodePoolRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GetAzureNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
    * `AzureNodePool` names are formatted as
@@ -126,10 +104,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 @@ -138,15 +113,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 describe.
    * `AzureNodePool` names are formatted as
@@ -155,18 +129,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 { @@ -175,7 +148,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +159,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_); } @@ -211,15 +184,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,127 +212,117 @@ 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() @@ -367,15 +330,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +349,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 @@ -406,8 +370,7 @@ 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); + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest(this); result.name_ = name_; onBuilt(); return result; @@ -417,39 +380,38 @@ public com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest buildPartial() 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; @@ -457,8 +419,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_; onChanged(); @@ -482,8 +443,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,8 +455,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
      * `AzureNodePool` names are formatted as
@@ -505,16 +463,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; @@ -523,8 +479,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
      * `AzureNodePool` names are formatted as
@@ -533,17 +487,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 { @@ -551,8 +504,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
      * `AzureNodePool` names are formatted as
@@ -561,25 +512,21 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
      * `AzureNodePool` names are formatted as
@@ -588,21 +535,16 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
      * `AzureNodePool` names are formatted as
@@ -611,26 +553,24 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -640,12 +580,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(); } @@ -654,16 +594,16 @@ 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 { - return new GetAzureNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAzureNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -678,4 +618,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java index ca77c4b..f6b4030 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 describe.
    * `AzureNodePool` names are formatted as
@@ -34,16 +16,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 describe.
    * `AzureNodePool` names are formatted as
@@ -52,11 +29,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java similarity index 67% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java index 57a7263..ea884f2 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAzureServerConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetAzureServerConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private GetAzureServerConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
    * `AzureServerConfig` names are formatted as
@@ -126,10 +104,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 @@ -138,15 +113,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] resource to describe.
    * `AzureServerConfig` names are formatted as
@@ -155,18 +129,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 { @@ -175,7 +148,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +159,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_); } @@ -211,15 +184,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,127 +212,117 @@ 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() @@ -367,15 +330,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,14 +349,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(); } @@ -407,8 +370,7 @@ 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); + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -418,39 +380,38 @@ public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest buildPartia 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; @@ -458,9 +419,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_; onChanged(); @@ -484,9 +443,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -498,8 +455,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
      * `AzureServerConfig` names are formatted as
@@ -508,16 +463,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; @@ -526,8 +479,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
      * `AzureServerConfig` names are formatted as
@@ -536,17 +487,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 { @@ -554,8 +504,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
      * `AzureServerConfig` names are formatted as
@@ -564,25 +512,21 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
      * `AzureServerConfig` names are formatted as
@@ -591,21 +535,16 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
      * `AzureServerConfig` names are formatted as
@@ -614,26 +553,24 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -643,13 +580,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(); } @@ -658,16 +594,16 @@ 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 { - return new GetAzureServerConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAzureServerConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -682,4 +618,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java index 06a9ba7..7382cc5 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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] resource to describe.
    * `AzureServerConfig` names are formatted as
@@ -34,16 +16,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] resource to describe.
    * `AzureServerConfig` names are formatted as
@@ -52,11 +29,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java index fffd438..28efed5 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private ListAwsClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAwsClustersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAwsClustersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListAwsClustersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,33 +85,29 @@ private ListAwsClustersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location which owns this collection of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -139,10 +116,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on GCP 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 @@ -151,15 +125,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.
@@ -168,18 +141,17 @@ public java.lang.String getParent() {
    * for more details on GCP 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 { @@ -190,8 +162,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * If not specified, a default value of 50 will be used by the service.
@@ -202,7 +172,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -213,15 +182,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -230,30 +196,30 @@ 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] request, if any.
    * 
* * 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 { @@ -262,7 +228,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,7 +239,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_); } @@ -297,7 +263,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_); @@ -310,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -344,127 +313,117 @@ 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() @@ -472,15 +431,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +454,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 @@ -515,8 +475,7 @@ 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); + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest result = new com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -528,39 +487,38 @@ public com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest buildPartial() { 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; @@ -568,8 +526,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_; onChanged(); @@ -600,8 +557,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -613,8 +569,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -623,16 +577,14 @@ public Builder mergeFrom(
      * for more details on GCP 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; @@ -641,8 +593,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -651,17 +601,16 @@ public java.lang.String getParent() {
      * for more details on GCP 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 { @@ -669,8 +618,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -679,25 +626,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on GCP 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -706,21 +649,16 @@ public Builder setParent(java.lang.String value) {
      * for more details on GCP 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -729,28 +667,24 @@ public Builder clearParent() {
      * for more details on GCP 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -761,7 +695,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -769,8 +702,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -781,19 +712,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -804,11 +732,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -816,21 +743,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
      * 
* * 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; @@ -839,22 +764,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
      * 
* * 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 { @@ -862,71 +786,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -936,12 +853,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(); } @@ -950,16 +867,16 @@ 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 { - return new ListAwsClustersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAwsClustersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -974,4 +891,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java index f585722..92032ab 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
@@ -34,16 +16,11 @@ public interface ListAwsClustersRequestOrBuilder
    * for more details on GCP 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.
@@ -52,17 +29,13 @@ public interface ListAwsClustersRequestOrBuilder
    * for more details on GCP 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.
    * If not specified, a default value of 50 will be used by the service.
@@ -73,35 +46,29 @@ 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] request, if any.
    * 
* * 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] request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java similarity index 74% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java index d3750e8..ced1caa 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private ListAwsClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAwsClustersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAwsClustersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListAwsClustersResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - awsClusters_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - awsClusters_.add( - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + awsClusters_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + awsClusters_.add( + input.readMessage(com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListAwsClustersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { awsClusters_ = java.util.Collections.unmodifiableList(awsClusters_); @@ -114,27 +94,22 @@ private ListAwsClustersResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List awsClusters_; /** - * - * *
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
    * project and region region.
@@ -147,8 +122,6 @@ public java.util.List getAwsCluste
     return awsClusters_;
   }
   /**
-   *
-   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
    * project and region region.
@@ -157,13 +130,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 GCP
    * project and region region.
@@ -176,8 +147,6 @@ public int getAwsClustersCount() {
     return awsClusters_.size();
   }
   /**
-   *
-   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
    * project and region region.
@@ -190,8 +159,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 GCP
    * project and region region.
@@ -200,22 +167,20 @@ 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;
   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 @@ -224,30 +189,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 { @@ -256,7 +221,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,7 +232,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)); } @@ -285,7 +250,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_); @@ -298,16 +264,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -331,127 +298,117 @@ 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() @@ -459,17 +416,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAwsClustersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +442,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 @@ -506,8 +463,7 @@ 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); int from_bitField0_ = bitField0_; if (awsClustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,39 +483,38 @@ public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse buildPartial() 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; @@ -567,8 +522,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()) { @@ -587,10 +541,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_); } @@ -619,8 +572,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -629,29 +581,21 @@ public Builder mergeFrom( } 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 GCP
      * project and region region.
@@ -667,8 +611,6 @@ public java.util.List getAwsCluste
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -684,8 +626,6 @@ public int getAwsClustersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -701,8 +641,6 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -710,7 +648,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();
@@ -724,8 +663,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 GCP
      * project and region region.
@@ -745,8 +682,6 @@ public Builder setAwsClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -768,8 +703,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 GCP
      * project and region region.
@@ -777,7 +710,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();
@@ -791,8 +725,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 GCP
      * project and region region.
@@ -812,8 +744,6 @@ public Builder addAwsClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -833,8 +763,6 @@ public Builder addAwsClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -846,7 +774,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);
@@ -854,8 +783,6 @@ public Builder addAllAwsClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -874,8 +801,6 @@ public Builder clearAwsClusters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -894,8 +819,6 @@ public Builder removeAwsClusters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -903,12 +826,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 GCP
      * project and region region.
@@ -919,14 +841,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 GCP
      * project and region region.
@@ -934,8 +853,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 {
@@ -943,8 +862,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBui
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -953,12 +870,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 GCP
      * project and region region.
@@ -966,13 +881,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 GCP
      * project and region region.
@@ -980,23 +894,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_;
@@ -1004,21 +915,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; @@ -1027,22 +936,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 { @@ -1050,71 +958,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1124,12 +1025,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(); } @@ -1138,16 +1039,16 @@ 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 { - return new ListAwsClustersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAwsClustersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,4 +1063,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java index 20d9c5d..5426119 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 GCP
    * 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 GCP
    * 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 GCP
    * 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 GCP
    * 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 GCP
    * 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java index 63eb81b..197bdb2 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private ListAwsNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAwsNodePoolsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAwsNodePoolsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListAwsNodePoolsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,33 +85,29 @@ private ListAwsNodePoolsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent `AwsCluster` which owns this collection of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -140,10 +117,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 @@ -152,15 +126,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.
@@ -170,18 +143,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 { @@ -192,8 +164,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * If not specified, a default value of 50 will be used by the service.
@@ -204,7 +174,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -215,15 +184,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -232,30 +198,30 @@ 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] request, if any.
    * 
* * 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 { @@ -264,7 +230,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,7 +241,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_); } @@ -299,7 +265,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_); @@ -312,17 +279,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -346,127 +315,117 @@ 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() @@ -474,15 +433,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -496,9 +456,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 @@ -517,8 +477,7 @@ 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); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest result = new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -530,39 +489,38 @@ public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest buildPartial() 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; @@ -570,8 +528,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_; onChanged(); @@ -602,8 +559,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -615,8 +571,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -626,16 +580,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; @@ -644,8 +596,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -655,17 +605,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 { @@ -673,8 +622,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -684,25 +631,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -712,21 +655,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -736,28 +674,24 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -768,7 +702,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -776,8 +709,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -788,19 +719,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -811,11 +739,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -823,21 +750,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
      * 
* * 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; @@ -846,22 +771,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
      * 
* * 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 { @@ -869,71 +793,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -943,12 +860,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(); } @@ -957,16 +874,16 @@ 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 { - return new ListAwsNodePoolsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAwsNodePoolsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -981,4 +898,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java index 1176d75..a308c75 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
@@ -35,16 +17,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.
@@ -54,17 +31,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.
    * If not specified, a default value of 50 will be used by the service.
@@ -75,35 +48,29 @@ 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] request, if any.
    * 
* * 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] request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java similarity index 74% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java index ee2365d..4105380 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private ListAwsNodePoolsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAwsNodePoolsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAwsNodePoolsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListAwsNodePoolsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - awsNodePools_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - awsNodePools_.add( - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + awsNodePools_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + awsNodePools_.add( + input.readMessage(com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListAwsNodePoolsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { awsNodePools_ = java.util.Collections.unmodifiableList(awsNodePools_); @@ -114,27 +94,22 @@ private ListAwsNodePoolsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List awsNodePools_; /** - * - * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
    * 
@@ -146,8 +121,6 @@ public java.util.List getAwsNodeP return awsNodePools_; } /** - * - * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
    * 
@@ -155,13 +128,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`.
    * 
@@ -173,8 +144,6 @@ public int getAwsNodePoolsCount() { return awsNodePools_.size(); } /** - * - * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
    * 
@@ -186,8 +155,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`.
    * 
@@ -203,15 +170,12 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -220,30 +184,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 { @@ -252,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +227,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)); } @@ -281,7 +245,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_); @@ -294,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +293,117 @@ 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() @@ -455,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAwsNodePoolsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +437,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 @@ -502,8 +458,7 @@ 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); int from_bitField0_ = bitField0_; if (awsNodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse buildPartial() 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; @@ -563,8 +517,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()) { @@ -583,10 +536,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_); } @@ -615,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -625,29 +576,21 @@ public Builder mergeFrom( } 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`.
      * 
@@ -662,8 +605,6 @@ public java.util.List getAwsNodeP } } /** - * - * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -678,8 +619,6 @@ public int getAwsNodePoolsCount() { } } /** - * - * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -694,15 +633,14 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePools(int index) } } /** - * - * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
* * 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(); @@ -716,8 +654,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`.
      * 
@@ -736,8 +672,6 @@ public Builder setAwsNodePools( return this; } /** - * - * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -758,15 +692,14 @@ 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`.
      * 
* * 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(); @@ -780,8 +713,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`.
      * 
@@ -800,8 +731,6 @@ public Builder addAwsNodePools( return this; } /** - * - * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -820,8 +749,6 @@ public Builder addAwsNodePools( return this; } /** - * - * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -832,7 +759,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); @@ -840,8 +768,6 @@ public Builder addAllAwsNodePools( return this; } /** - * - * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -859,8 +785,6 @@ public Builder clearAwsNodePools() { return this; } /** - * - * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -878,20 +802,17 @@ public Builder removeAwsNodePools(int index) { return this; } /** - * - * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
* * 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`.
      * 
@@ -901,22 +822,19 @@ 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`.
      * 
* * 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 { @@ -924,8 +842,6 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB } } /** - * - * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -933,48 +849,42 @@ 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`.
      * 
* * 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`.
      * 
* * 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_; @@ -982,21 +892,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; @@ -1005,22 +913,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 { @@ -1028,71 +935,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1102,12 +1002,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(); } @@ -1116,16 +1016,16 @@ 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 { - return new ListAwsNodePoolsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAwsNodePoolsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1140,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java index b6767c3..f912a41 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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`.
    * 
* * 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`.
    * 
@@ -44,8 +25,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`.
    * 
@@ -54,51 +33,43 @@ public interface ListAwsNodePoolsResponseOrBuilder */ int getAwsNodePoolsCount(); /** - * - * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
    * 
* * 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`.
    * 
* * 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java index 0d1d37a..e8f55fe 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private ListAzureClientsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureClientsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAzureClientsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListAzureClientsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,33 +85,29 @@ private ListAzureClientsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location which owns this collection of
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -139,10 +116,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on GCP 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 @@ -151,15 +125,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.
@@ -168,18 +141,17 @@ public java.lang.String getParent() {
    * for more details on GCP 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 { @@ -190,8 +162,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * If not specified, a default value of 50 will be used by the service.
@@ -202,7 +172,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -213,15 +182,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -230,30 +196,30 @@ 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] request, if any.
    * 
* * 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 { @@ -262,7 +228,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,7 +239,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_); } @@ -297,7 +263,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_); @@ -310,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -344,127 +313,117 @@ 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() @@ -472,15 +431,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +454,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 @@ -515,8 +475,7 @@ 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); + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest result = new com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -528,39 +487,38 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest buildPartial() 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; @@ -568,8 +526,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_; onChanged(); @@ -600,8 +557,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -613,8 +569,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -623,16 +577,14 @@ public Builder mergeFrom(
      * for more details on GCP 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; @@ -641,8 +593,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -651,17 +601,16 @@ public java.lang.String getParent() {
      * for more details on GCP 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 { @@ -669,8 +618,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -679,25 +626,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on GCP 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -706,21 +649,16 @@ public Builder setParent(java.lang.String value) {
      * for more details on GCP 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -729,28 +667,24 @@ public Builder clearParent() {
      * for more details on GCP 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -761,7 +695,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -769,8 +702,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -781,19 +712,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -804,11 +732,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -816,21 +743,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
      * 
* * 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; @@ -839,22 +764,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
      * 
* * 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 { @@ -862,71 +786,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -936,12 +853,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(); } @@ -950,16 +867,16 @@ 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 { - return new ListAzureClientsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAzureClientsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -974,4 +891,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java index 712a49e..fc70c32 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
@@ -34,16 +16,11 @@ public interface ListAzureClientsRequestOrBuilder
    * for more details on GCP 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.
@@ -52,17 +29,13 @@ public interface ListAzureClientsRequestOrBuilder
    * for more details on GCP 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.
    * If not specified, a default value of 50 will be used by the service.
@@ -73,35 +46,29 @@ 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] request, if any.
    * 
* * 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] request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java similarity index 75% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java index 49fd621..d3a33ac 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private ListAzureClientsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureClientsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAzureClientsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListAzureClientsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - azureClients_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - azureClients_.add( - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClient.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + azureClients_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + azureClients_.add( + input.readMessage(com.google.cloud.gkemulticloud.v1.AzureClient.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListAzureClientsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { azureClients_ = java.util.Collections.unmodifiableList(azureClients_); @@ -114,27 +94,22 @@ private ListAzureClientsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List azureClients_; /** - * - * *
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources in the specified Google Cloud
    * project and region region.
@@ -147,8 +122,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.
@@ -157,13 +130,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.
@@ -176,8 +147,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.
@@ -190,8 +159,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.
@@ -208,15 +175,12 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrB
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   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 @@ -225,30 +189,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 { @@ -257,7 +221,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +232,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)); } @@ -286,7 +250,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_); @@ -299,16 +264,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,127 +298,117 @@ 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() @@ -460,17 +416,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAzureClientsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +442,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 @@ -507,8 +463,7 @@ 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); int from_bitField0_ = bitField0_; if (azureClientsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +483,38 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse buildPartial() 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; @@ -568,8 +522,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()) { @@ -588,10 +541,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_); } @@ -620,8 +572,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,29 +581,21 @@ public Builder mergeFrom( } 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.
@@ -668,8 +611,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.
@@ -685,8 +626,6 @@ public int getAzureClientsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources in the specified Google Cloud
      * project and region region.
@@ -702,8 +641,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.
@@ -711,7 +648,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();
@@ -725,8 +663,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.
@@ -746,8 +682,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.
@@ -769,8 +703,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.
@@ -778,7 +710,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();
@@ -792,8 +725,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.
@@ -813,8 +744,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.
@@ -834,8 +763,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.
@@ -847,7 +774,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);
@@ -855,8 +783,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.
@@ -875,8 +801,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.
@@ -895,8 +819,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.
@@ -904,12 +826,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.
@@ -920,14 +841,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.
@@ -935,8 +853,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 {
@@ -944,8 +862,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.
@@ -954,12 +870,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.
@@ -967,13 +881,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.
@@ -981,23 +894,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_;
@@ -1005,21 +915,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; @@ -1028,22 +936,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 { @@ -1051,71 +958,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1125,12 +1025,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(); } @@ -1139,16 +1039,16 @@ 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 { - return new ListAzureClientsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAzureClientsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1163,4 +1063,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java similarity index 74% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java index c1ae864..d18934c 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java index ab0e74e..3b82a17 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private ListAzureClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureClustersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAzureClustersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListAzureClustersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,33 +85,29 @@ private ListAzureClustersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent location which owns this collection of
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -139,10 +116,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on GCP 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 @@ -151,15 +125,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.
@@ -168,18 +141,17 @@ public java.lang.String getParent() {
    * for more details on GCP 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 { @@ -190,8 +162,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * If not specified, a default value of 50 will be used by the service.
@@ -202,7 +172,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -213,15 +182,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -230,30 +196,30 @@ 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] request, if any.
    * 
* * 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 { @@ -262,7 +228,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,7 +239,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_); } @@ -297,7 +263,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_); @@ -310,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -344,127 +313,117 @@ 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() @@ -472,15 +431,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +454,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 @@ -515,8 +475,7 @@ 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); + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest result = new com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -528,39 +487,38 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest buildPartial() 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; @@ -568,8 +526,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_; onChanged(); @@ -600,8 +557,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -613,8 +569,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -623,16 +577,14 @@ public Builder mergeFrom(
      * for more details on GCP 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; @@ -641,8 +593,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -651,17 +601,16 @@ public java.lang.String getParent() {
      * for more details on GCP 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 { @@ -669,8 +618,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -679,25 +626,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on GCP 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -706,21 +649,16 @@ public Builder setParent(java.lang.String value) {
      * for more details on GCP 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -729,28 +667,24 @@ public Builder clearParent() {
      * for more details on GCP 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -761,7 +695,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -769,8 +702,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -781,19 +712,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -804,11 +732,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -816,21 +743,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
      * 
* * 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; @@ -839,22 +764,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
      * 
* * 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 { @@ -862,71 +786,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -936,12 +853,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(); } @@ -950,16 +867,16 @@ 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 { - return new ListAzureClustersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAzureClustersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -974,4 +891,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java index e71b0c0..c429a0b 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
@@ -34,16 +16,11 @@ public interface ListAzureClustersRequestOrBuilder
    * for more details on GCP 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.
@@ -52,17 +29,13 @@ public interface ListAzureClustersRequestOrBuilder
    * for more details on GCP 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.
    * If not specified, a default value of 50 will be used by the service.
@@ -73,35 +46,29 @@ 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] request, if any.
    * 
* * 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] request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java similarity index 76% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java index 8ab210b..2d54320 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private ListAzureClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureClustersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAzureClustersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListAzureClustersResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - azureClusters_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - azureClusters_.add( - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + azureClusters_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + azureClusters_.add( + input.readMessage(com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListAzureClustersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { azureClusters_ = java.util.Collections.unmodifiableList(azureClusters_); @@ -114,27 +94,22 @@ private ListAzureClustersResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List azureClusters_; /** - * - * *
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
    * project and region region.
@@ -147,8 +122,6 @@ public java.util.List getAzureCl
     return azureClusters_;
   }
   /**
-   *
-   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
    * project and region region.
@@ -157,13 +130,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 GCP
    * project and region region.
@@ -176,8 +147,6 @@ public int getAzureClustersCount() {
     return azureClusters_.size();
   }
   /**
-   *
-   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
    * project and region region.
@@ -190,8 +159,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 GCP
    * project and region region.
@@ -208,15 +175,12 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   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 @@ -225,30 +189,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 { @@ -257,7 +221,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +232,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)); } @@ -286,7 +250,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_); @@ -299,16 +264,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,127 +298,117 @@ 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() @@ -460,17 +416,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAzureClustersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +442,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 @@ -507,8 +463,7 @@ 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); int from_bitField0_ = bitField0_; if (azureClustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +483,38 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse buildPartial( 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; @@ -568,8 +522,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()) { @@ -588,10 +541,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_); } @@ -620,8 +572,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,29 +581,21 @@ public Builder mergeFrom( } 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 GCP
      * project and region region.
@@ -668,8 +611,6 @@ public java.util.List getAzureCl
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -685,8 +626,6 @@ public int getAzureClustersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -702,8 +641,6 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureClusters(int index
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -726,8 +663,6 @@ public Builder setAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -747,8 +682,6 @@ public Builder setAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -770,8 +703,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 GCP
      * project and region region.
@@ -794,8 +725,6 @@ public Builder addAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -815,8 +744,6 @@ public Builder addAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -836,8 +763,6 @@ public Builder addAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -849,7 +774,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);
@@ -857,8 +783,6 @@ public Builder addAllAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -877,8 +801,6 @@ public Builder clearAzureClusters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -897,8 +819,6 @@ public Builder removeAzureClusters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -911,8 +831,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 GCP
      * project and region region.
@@ -923,14 +841,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 GCP
      * project and region region.
@@ -938,8 +853,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 {
@@ -947,8 +862,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -957,12 +870,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 GCP
      * project and region region.
@@ -972,12 +883,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 GCP
      * project and region region.
@@ -985,22 +894,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(),
@@ -1012,21 +915,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; @@ -1035,22 +936,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 { @@ -1058,71 +958,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1132,12 +1025,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(); } @@ -1146,16 +1039,16 @@ 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 { - return new ListAzureClustersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAzureClustersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1170,4 +1063,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java similarity index 74% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java index c98541b..0ed212f 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 GCP
    * 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 GCP
    * 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 GCP
    * 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 GCP
    * 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 GCP
    * 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java index 5d902f3..452031b 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private ListAzureNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureNodePoolsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAzureNodePoolsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListAzureNodePoolsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,33 +85,29 @@ private ListAzureNodePoolsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent `AzureCluster` which owns this collection of
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -140,10 +117,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 @@ -152,15 +126,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.
@@ -170,18 +143,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 { @@ -192,8 +164,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of items to return.
    * If not specified, a default value of 50 will be used by the service.
@@ -204,7 +174,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -215,15 +184,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -232,30 +198,30 @@ 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] request, if any.
    * 
* * 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 { @@ -264,7 +230,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,7 +241,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_); } @@ -299,7 +265,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_); @@ -312,17 +279,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -346,127 +315,117 @@ 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() @@ -474,15 +433,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -496,9 +456,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 @@ -517,8 +477,7 @@ 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); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest result = new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -530,39 +489,38 @@ public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest buildPartial( 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; @@ -570,8 +528,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_; onChanged(); @@ -602,8 +559,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -615,8 +571,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -626,16 +580,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; @@ -644,8 +596,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -655,17 +605,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 { @@ -673,8 +622,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -684,25 +631,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -712,21 +655,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -736,28 +674,24 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -768,7 +702,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -776,8 +709,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -788,19 +719,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -811,11 +739,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -823,21 +750,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
      * 
* * 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; @@ -846,22 +771,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
      * 
* * 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 { @@ -869,71 +793,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -943,12 +860,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(); } @@ -957,16 +874,16 @@ 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 { - return new ListAzureNodePoolsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAzureNodePoolsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -981,4 +898,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java index 9669b54..49d51f3 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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.
@@ -35,16 +17,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.
@@ -54,17 +31,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.
    * If not specified, a default value of 50 will be used by the service.
@@ -75,35 +48,29 @@ 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] request, if any.
    * 
* * 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] request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java similarity index 75% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java index 55ef3d9..d420719 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private ListAzureNodePoolsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureNodePoolsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAzureNodePoolsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListAzureNodePoolsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - azureNodePools_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - azureNodePools_.add( - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + azureNodePools_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + azureNodePools_.add( + input.readMessage(com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListAzureNodePoolsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { azureNodePools_ = java.util.Collections.unmodifiableList(azureNodePools_); @@ -114,27 +94,22 @@ private ListAzureNodePoolsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List azureNodePools_; /** - * - * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
    * 
@@ -146,8 +121,6 @@ public java.util.List getAzureN return azureNodePools_; } /** - * - * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
    * 
@@ -155,13 +128,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`.
    * 
@@ -173,8 +144,6 @@ public int getAzureNodePoolsCount() { return azureNodePools_.size(); } /** - * - * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
    * 
@@ -186,8 +155,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`.
    * 
@@ -203,15 +170,12 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -220,30 +184,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 { @@ -252,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +227,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)); } @@ -281,7 +245,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_); @@ -294,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +293,117 @@ 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() @@ -455,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAzureNodePoolsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,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_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(); } @@ -503,8 +458,7 @@ 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); int from_bitField0_ = bitField0_; if (azureNodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,39 +478,38 @@ public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse buildPartial 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; @@ -564,9 +517,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()) { @@ -585,10 +536,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_); } @@ -617,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -627,30 +576,21 @@ public Builder mergeFrom( } 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`.
      * 
@@ -665,8 +605,6 @@ public java.util.List getAzureN } } /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -681,8 +619,6 @@ public int getAzureNodePoolsCount() { } } /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -697,8 +633,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`.
      * 
@@ -720,8 +654,6 @@ public Builder setAzureNodePools( return this; } /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -740,8 +672,6 @@ public Builder setAzureNodePools( return this; } /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -762,8 +692,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`.
      * 
@@ -785,8 +713,6 @@ public Builder addAzureNodePools( return this; } /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -805,8 +731,6 @@ public Builder addAzureNodePools( return this; } /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -825,8 +749,6 @@ public Builder addAzureNodePools( return this; } /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -837,7 +759,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); @@ -845,8 +768,6 @@ public Builder addAllAzureNodePools( return this; } /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -864,8 +785,6 @@ public Builder clearAzureNodePools() { return this; } /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -883,8 +802,6 @@ public Builder removeAzureNodePools(int index) { return this; } /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -896,8 +813,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`.
      * 
@@ -907,22 +822,19 @@ 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`.
      * 
* * 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 { @@ -930,8 +842,6 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool } } /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -939,12 +849,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`.
      * 
@@ -953,34 +861,26 @@ 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`.
      * 
* * 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 +892,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 +913,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,71 +935,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1112,13 +1002,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,16 +1016,16 @@ 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 { - return new ListAzureNodePoolsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAzureNodePoolsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java index d55a66f..1b4915e 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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`.
    * 
* * 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`.
    * 
@@ -44,8 +25,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`.
    * 
@@ -54,51 +33,43 @@ public interface ListAzureNodePoolsResponseOrBuilder */ int getAzureNodePoolsCount(); /** - * - * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
    * 
* * 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`.
    * 
* * 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java similarity index 66% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java index ee01e2c..f61f80b 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LoggingComponentConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,38 +54,36 @@ private LoggingComponentConfig( case 0: done = true; break; - case 8: - { + case 8: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + enableComponents_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + enableComponents_.add(rawValue); + break; + } + case 10: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } enableComponents_.add(rawValue); - break; - } - case 10: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - enableComponents_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - enableComponents_.add(rawValue); - } - input.popLimit(oldLimit); - break; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(oldLimit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,7 +91,8 @@ private LoggingComponentConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -119,35 +101,29 @@ private LoggingComponentConfig( makeExtensionsImmutable(); } } - - 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
      * 
@@ -156,8 +132,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ COMPONENT_UNSPECIFIED(0), /** - * - * *
      * This indicates that system logging components is enabled.
      * 
@@ -166,8 +140,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ SYSTEM_COMPONENTS(1), /** - * - * *
      * This indicates that user workload logging component is enabled.
      * 
@@ -179,8 +151,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * No component is specified
      * 
@@ -189,8 +159,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.
      * 
@@ -199,8 +167,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.
      * 
@@ -209,6 +175,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( @@ -233,51 +200,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; @@ -297,52 +262,34 @@ private Component(int value) { public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; 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) { + java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>() { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component result = - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.valueOf(from); - return result == null - ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.UNRECOGNIZED - : result; + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component result = com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.valueOf(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 @@ -350,52 +297,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. */ @@ -403,11 +335,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; @@ -419,7 +349,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); @@ -440,15 +371,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -458,13 +388,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -488,127 +417,117 @@ 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() @@ -616,15 +535,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -634,9 +554,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 @@ -655,8 +575,7 @@ 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); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -671,39 +590,38 @@ public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig buildPartial() { 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; @@ -711,8 +629,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_; @@ -742,8 +659,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,11 +668,10 @@ public Builder mergeFrom( } 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_); @@ -764,69 +679,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. @@ -842,21 +734,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(); } @@ -866,23 +752,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()); @@ -891,16 +770,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() { @@ -910,32 +784,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. */ @@ -943,37 +808,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 of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. * @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. */ @@ -984,20 +840,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); @@ -1005,9 +857,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); } @@ -1017,12 +869,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(); } @@ -1031,16 +883,16 @@ 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 { - return new LoggingComponentConfig(input, extensionRegistry); - } - }; + 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 { + return new LoggingComponentConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1055,4 +907,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java new file mode 100644 index 0000000..13a8f48 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java index 65f82c2..6c8b671 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LoggingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,30 +52,26 @@ private LoggingConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder subBuilder = null; - if (componentConfig_ != null) { - subBuilder = componentConfig_.toBuilder(); - } - componentConfig_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(componentConfig_); - componentConfig_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder subBuilder = null; + if (componentConfig_ != null) { + subBuilder = componentConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + componentConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(componentConfig_); + componentConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +79,34 @@ private LoggingConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -139,25 +114,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;
    * 
@@ -165,13 +133,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() { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder() { return getComponentConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +149,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()); } @@ -197,7 +164,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -207,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -239,127 +207,118 @@ 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() @@ -367,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +349,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 @@ -410,8 +370,7 @@ 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); + com.google.cloud.gkemulticloud.v1.LoggingConfig result = new com.google.cloud.gkemulticloud.v1.LoggingConfig(this); if (componentConfigBuilder_ == null) { result.componentConfig_ = componentConfig_; } else { @@ -425,39 +384,38 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig buildPartial() { 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; @@ -465,8 +423,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()); } @@ -501,55 +458,41 @@ public Builder mergeFrom( 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 componentConfigBuilder_ != null || componentConfig_ != null; } /** - * - * *
      * 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(); @@ -563,8 +506,6 @@ public Builder setComponentConfig( return this; } /** - * - * *
      * The configuration of the logging components;
      * 
@@ -583,22 +524,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 (componentConfig_ != null) { componentConfig_ = - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.newBuilder(componentConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.newBuilder(componentConfig_).mergeFrom(value).buildPartial(); } else { componentConfig_ = value; } @@ -610,8 +546,6 @@ public Builder mergeComponentConfig( return this; } /** - * - * *
      * The configuration of the logging components;
      * 
@@ -630,42 +564,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() { + 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;
      * 
@@ -673,24 +598,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); } @@ -700,12 +622,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(); } @@ -714,16 +636,16 @@ 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 { - return new LoggingConfig(input, extensionRegistry); - } - }; + 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 { + return new LoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,4 +660,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.LoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java similarity index 62% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java index 33a1f8c..70222a1 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java similarity index 69% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java index ac84950..09f322c 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MaxPodsConstraint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,18 +52,18 @@ private MaxPodsConstraint( case 0: done = true; break; - case 8: - { - maxPodsPerNode_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + maxPodsPerNode_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,39 +71,34 @@ private MaxPodsConstraint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * 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 @@ -128,7 +107,6 @@ public long getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,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 (maxPodsPerNode_ != 0L) { output.writeInt64(1, maxPodsPerNode_); } @@ -154,7 +133,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -164,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -185,133 +165,125 @@ 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) + unknownFields.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() @@ -319,15 +291,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -337,9 +310,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 @@ -358,8 +331,7 @@ 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); + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint result = new com.google.cloud.gkemulticloud.v1.MaxPodsConstraint(this); result.maxPodsPerNode_ = maxPodsPerNode_; onBuilt(); return result; @@ -369,39 +341,38 @@ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint buildPartial() { 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; @@ -409,8 +380,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()); } @@ -433,8 +403,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -444,16 +413,13 @@ public Builder mergeFrom( return this; } - 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 @@ -461,43 +427,37 @@ 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. */ public Builder setMaxPodsPerNode(long value) { - + maxPodsPerNode_ = value; onChanged(); 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() { - + maxPodsPerNode_ = 0L; 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); } @@ -507,12 +467,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(); } @@ -521,16 +481,16 @@ 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 { - return new MaxPodsConstraint(input, extensionRegistry); - } - }; + 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 { + return new MaxPodsConstraint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -545,4 +505,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java new file mode 100644 index 0000000..3284635 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java index e5c2531..f301820 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +27,16 @@ private NodeTaint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodeTaint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private NodeTaint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private NodeTaint( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - key_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + key_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - value_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + value_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - effect_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + effect_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,41 +87,36 @@ private NodeTaint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -150,8 +125,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
@@ -163,8 +136,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
@@ -175,8 +146,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.
@@ -189,8 +158,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -199,8 +166,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
@@ -212,8 +177,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
@@ -224,8 +187,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.
@@ -235,6 +196,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(
@@ -259,51 +221,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<
+        Effect> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Effect findValueByNumber(int number) {
+              return Effect.forNumber(number);
+            }
+          };
 
-    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() {
+    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;
@@ -323,14 +284,11 @@ private Effect(int value) {
   public static final int KEY_FIELD_NUMBER = 1;
   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 @@ -339,29 +297,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 { @@ -372,14 +330,11 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int VALUE_FIELD_NUMBER = 2; 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 @@ -388,29 +343,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 { @@ -421,47 +376,31 @@ public com.google.protobuf.ByteString getValueBytes() { public static final int EFFECT_FIELD_NUMBER = 3; private int 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 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() { + @java.lang.Override public com.google.cloud.gkemulticloud.v1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.valueOf(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.valueOf(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; @@ -473,15 +412,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_); } unknownFields.writeTo(output); @@ -499,9 +438,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -511,16 +450,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -544,127 +484,118 @@ 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() @@ -672,15 +603,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -694,9 +626,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 @@ -715,8 +647,7 @@ 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); + com.google.cloud.gkemulticloud.v1.NodeTaint result = new com.google.cloud.gkemulticloud.v1.NodeTaint(this); result.key_ = key_; result.value_ = value_; result.effect_ = effect_; @@ -728,39 +659,38 @@ public com.google.cloud.gkemulticloud.v1.NodeTaint buildPartial() { 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; @@ -811,20 +741,18 @@ public Builder mergeFrom( 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; @@ -833,21 +761,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 { @@ -855,61 +782,54 @@ 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) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); 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) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -917,20 +837,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; @@ -939,21 +857,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 { @@ -961,61 +878,54 @@ 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) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); 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) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; @@ -1023,75 +933,51 @@ 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. */ public Builder setEffectValue(int value) { - + effect_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.valueOf(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.valueOf(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. */ @@ -1099,33 +985,28 @@ public Builder setEffect(com.google.cloud.gkemulticloud.v1.NodeTaint.Effect valu if (value == null) { throw new NullPointerException(); } - + effect_ = value.getNumber(); onChanged(); 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() { - + effect_ = 0; 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); } @@ -1135,12 +1016,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(); } @@ -1149,16 +1030,16 @@ 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 { - return new NodeTaint(input, extensionRegistry); - } - }; + 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 { + return new NodeTaint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1173,4 +1054,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.NodeTaint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java similarity index 56% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java index 6ca7bbd..d1817e3 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java @@ -1,103 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java index 98ceea4..73a094f 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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_ = ""; @@ -45,15 +27,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,64 +55,57 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - statusDetail_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - errorDetail_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + statusDetail_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + errorDetail_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -137,40 +113,34 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -178,15 +148,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 @@ -194,14 +160,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() { @@ -211,15 +174,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 @@ -227,15 +186,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 @@ -243,14 +198,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() { @@ -260,14 +212,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; 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 @@ -276,29 +225,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 { @@ -309,14 +258,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int STATUS_DETAIL_FIELD_NUMBER = 4; 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 @@ -325,29 +271,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 { @@ -358,14 +304,11 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { public static final int ERROR_DETAIL_FIELD_NUMBER = 5; 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 @@ -374,29 +317,29 @@ 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 { @@ -405,7 +348,6 @@ public com.google.protobuf.ByteString getErrorDetailBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,7 +359,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()); } @@ -443,10 +386,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_); @@ -465,25 +410,29 @@ 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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -515,126 +464,117 @@ public int hashCode() { } 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() @@ -642,15 +582,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -676,9 +617,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 @@ -697,8 +638,7 @@ 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); + com.google.cloud.gkemulticloud.v1.OperationMetadata result = new com.google.cloud.gkemulticloud.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -720,39 +660,38 @@ public com.google.cloud.gkemulticloud.v1.OperationMetadata buildPartial() { 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; @@ -760,8 +699,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()); } @@ -799,8 +737,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -812,58 +749,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -879,17 +797,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(); onChanged(); @@ -900,21 +815,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -926,15 +837,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() { if (createTimeBuilder_ == null) { @@ -948,64 +855,48 @@ 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() { - + onChanged(); 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_; @@ -1013,35 +904,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1052,14 +932,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) { @@ -1075,16 +952,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(); onChanged(); @@ -1095,20 +970,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1120,14 +992,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() { if (endTimeBuilder_ == null) { @@ -1141,59 +1010,48 @@ 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() { - + onChanged(); 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_; @@ -1201,20 +1059,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; @@ -1223,21 +1079,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 { @@ -1245,61 +1100,54 @@ 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) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; 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() { - + target_ = getDefaultInstance().getTarget(); onChanged(); 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) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1307,20 +1155,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; @@ -1329,21 +1175,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 { @@ -1351,61 +1196,54 @@ 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) { + public Builder setStatusDetail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; 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() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); 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) { + public Builder setStatusDetailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; @@ -1413,20 +1251,18 @@ 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; @@ -1435,21 +1271,20 @@ 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 { @@ -1457,68 +1292,61 @@ 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) { + public Builder setErrorDetail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorDetail_ = value; 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() { - + errorDetail_ = getDefaultInstance().getErrorDetail(); 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]; - * * @param value The bytes for errorDetail to set. * @return This builder for chaining. */ - public Builder setErrorDetailBytes(com.google.protobuf.ByteString value) { + public Builder setErrorDetailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorDetail_ = 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); } @@ -1528,12 +1356,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(); } @@ -1542,16 +1370,16 @@ 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1566,4 +1394,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java index f631c0f..0f3814b 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java @@ -1,176 +1,123 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java similarity index 73% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java index 1d4133b..e177d11 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +26,16 @@ private ReplicaPlacement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReplicaPlacement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReplicaPlacement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ReplicaPlacement( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - subnetId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + subnetId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - azureAvailabilityZone_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + azureAvailabilityZone_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private ReplicaPlacement( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 the cluster
@@ -133,7 +110,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 @@ -142,15 +118,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 the cluster
@@ -158,15 +133,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 { @@ -177,15 +153,12 @@ public com.google.protobuf.ByteString getSubnetIdBytes() { public static final int AZURE_AVAILABILITY_ZONE_FIELD_NUMBER = 2; 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 @@ -194,30 +167,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 { @@ -226,7 +199,6 @@ public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +210,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_); } @@ -268,16 +241,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,126 +273,117 @@ 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() @@ -426,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +412,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 @@ -467,8 +433,7 @@ 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); + com.google.cloud.gkemulticloud.v1.ReplicaPlacement result = new com.google.cloud.gkemulticloud.v1.ReplicaPlacement(this); result.subnetId_ = subnetId_; result.azureAvailabilityZone_ = azureAvailabilityZone_; onBuilt(); @@ -479,39 +444,38 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement buildPartial() { 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; @@ -519,8 +483,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_; onChanged(); @@ -548,8 +511,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.ReplicaPlacement) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.ReplicaPlacement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -561,8 +523,6 @@ public Builder mergeFrom( 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 the cluster
@@ -570,13 +530,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; @@ -585,8 +545,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 the cluster
@@ -594,14 +552,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 { @@ -609,8 +568,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 the cluster
@@ -618,22 +575,20 @@ 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) { + public Builder setSubnetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetId_ = value; 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 the cluster
@@ -641,18 +596,15 @@ public Builder setSubnetId(java.lang.String value) {
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSubnetId() { - + subnetId_ = getDefaultInstance().getSubnetId(); 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 the cluster
@@ -660,16 +612,16 @@ 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) { + public Builder setSubnetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetId_ = value; onChanged(); return this; @@ -677,21 +629,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; @@ -700,22 +650,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 { @@ -723,71 +672,64 @@ 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) { + public Builder setAzureAvailabilityZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureAvailabilityZone_ = value; 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() { - + azureAvailabilityZone_ = getDefaultInstance().getAzureAvailabilityZone(); 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]; - * * @param value The bytes for azureAvailabilityZone to set. * @return This builder for chaining. */ - public Builder setAzureAvailabilityZoneBytes(com.google.protobuf.ByteString value) { + public Builder setAzureAvailabilityZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureAvailabilityZone_ = 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); } @@ -797,12 +739,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(); } @@ -811,16 +753,16 @@ 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 { - return new ReplicaPlacement(input, extensionRegistry); - } - }; + 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 { + return new ReplicaPlacement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -835,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java similarity index 67% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java index c0c7ba0..c54f91d 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 the cluster
@@ -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 the cluster
@@ -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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java similarity index 74% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java index 4ae803d..dd87158 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateAwsClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,49 +52,44 @@ private UpdateAwsClusterRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder subBuilder = null; - if (awsCluster_ != null) { - subBuilder = awsCluster_.toBuilder(); - } - awsCluster_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(awsCluster_); - awsCluster_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder subBuilder = null; + if (awsCluster_ != null) { + subBuilder = awsCluster_.toBuilder(); } - case 16: - { - validateOnly_ = input.readBool(); - break; + awsCluster_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(awsCluster_); + awsCluster_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 16: { + + validateOnly_ = input.readBool(); + break; + } + case 34: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,41 +97,34 @@ private UpdateAwsClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -160,34 +132,23 @@ 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() { @@ -197,14 +158,11 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuil public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -215,8 +173,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
@@ -243,9 +199,7 @@ public boolean getValidateOnly() {
    *  *   `logging_config`.
    * 
* - * .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 @@ -253,8 +207,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
@@ -281,9 +233,7 @@ public boolean hasUpdateMask() {
    *  *   `logging_config`.
    * 
* - * .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 @@ -291,8 +241,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
@@ -319,8 +267,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `logging_config`.
    * 
* - * .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() { @@ -328,7 +275,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,7 +286,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()); } @@ -360,13 +307,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -376,22 +326,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -409,7 +361,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(); @@ -420,127 +373,117 @@ 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() @@ -548,15 +491,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -578,9 +522,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 @@ -599,8 +543,7 @@ 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); + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest(this); if (awsClusterBuilder_ == null) { result.awsCluster_ = awsCluster_; } else { @@ -620,39 +563,38 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest buildPartial() 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; @@ -660,8 +602,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()); } @@ -690,8 +631,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -703,58 +643,39 @@ public Builder mergeFrom( 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 awsClusterBuilder_ != null || 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. */ 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) { @@ -770,15 +691,11 @@ 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) { @@ -792,23 +709,17 @@ 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 (awsCluster_ != null) { awsCluster_ = - com.google.cloud.gkemulticloud.v1.AwsCluster.newBuilder(awsCluster_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsCluster.newBuilder(awsCluster_).mergeFrom(value).buildPartial(); } else { awsCluster_ = value; } @@ -820,15 +731,11 @@ 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() { if (awsClusterBuilder_ == null) { @@ -842,79 +749,60 @@ 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() { - + onChanged(); 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 @@ -922,36 +810,30 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; @@ -959,13 +841,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
@@ -992,17 +869,13 @@ public Builder clearValidateOnly() {
      *  *   `logging_config`.
      * 
* - * .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 updateMaskBuilder_ != null || 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
@@ -1029,23 +902,17 @@ public boolean hasUpdateMask() {
      *  *   `logging_config`.
      * 
* - * .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
@@ -1072,8 +939,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `logging_config`.
      * 
* - * .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) { @@ -1089,8 +955,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
@@ -1117,10 +981,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `logging_config`.
      * 
* - * .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(); onChanged(); @@ -1131,8 +995,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
@@ -1159,14 +1021,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `logging_config`.
      * 
* - * .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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1178,8 +1039,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
@@ -1206,8 +1065,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `logging_config`.
      * 
* - * .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() { if (updateMaskBuilder_ == null) { @@ -1221,8 +1079,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
@@ -1249,17 +1105,14 @@ public Builder clearUpdateMask() {
      *  *   `logging_config`.
      * 
* - * .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() { - + onChanged(); 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
@@ -1286,21 +1139,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `logging_config`.
      * 
* - * .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
@@ -1327,28 +1176,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `logging_config`.
      * 
* - * .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); } @@ -1358,12 +1203,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(); } @@ -1372,16 +1217,16 @@ 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 { - return new UpdateAwsClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateAwsClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1396,4 +1241,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java similarity index 80% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java index dc87270..9c8ea97 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java @@ -1,85 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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
@@ -106,15 +71,11 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `logging_config`.
    * 
* - * .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
@@ -141,15 +102,11 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `logging_config`.
    * 
* - * .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
@@ -176,8 +133,7 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `logging_config`.
    * 
* - * .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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java similarity index 72% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java index e4c8dcf..cf43a98 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateAwsNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,49 +52,44 @@ private UpdateAwsNodePoolRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder subBuilder = null; - if (awsNodePool_ != null) { - subBuilder = awsNodePool_.toBuilder(); - } - awsNodePool_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(awsNodePool_); - awsNodePool_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder subBuilder = null; + if (awsNodePool_ != null) { + subBuilder = awsNodePool_.toBuilder(); } - case 16: - { - validateOnly_ = input.readBool(); - break; + awsNodePool_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(awsNodePool_); + awsNodePool_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 16: { + + validateOnly_ = input.readBool(); + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,41 +97,34 @@ private UpdateAwsNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -160,34 +132,23 @@ 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() { @@ -197,14 +158,11 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBu public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -215,8 +173,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
@@ -238,9 +194,7 @@ public boolean getValidateOnly() {
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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 @@ -248,8 +202,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
@@ -271,9 +223,7 @@ public boolean hasUpdateMask() {
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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 @@ -281,8 +231,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
@@ -304,8 +252,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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() { @@ -313,7 +260,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,7 +271,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()); } @@ -345,13 +292,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -361,22 +311,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -394,7 +346,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(); @@ -405,127 +358,117 @@ 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() @@ -533,15 +476,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +507,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 @@ -584,8 +528,7 @@ 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); + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest(this); if (awsNodePoolBuilder_ == null) { result.awsNodePool_ = awsNodePool_; } else { @@ -605,39 +548,38 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest buildPartial() 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; @@ -645,8 +587,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()); } @@ -675,8 +616,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,58 +628,39 @@ public Builder mergeFrom( 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 awsNodePoolBuilder_ != null || 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. */ 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) { @@ -755,15 +676,11 @@ 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) { @@ -777,23 +694,17 @@ 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 (awsNodePool_ != null) { awsNodePool_ = - com.google.cloud.gkemulticloud.v1.AwsNodePool.newBuilder(awsNodePool_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsNodePool.newBuilder(awsNodePool_).mergeFrom(value).buildPartial(); } else { awsNodePool_ = value; } @@ -805,15 +716,11 @@ 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() { if (awsNodePoolBuilder_ == null) { @@ -827,79 +734,60 @@ 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() { - + onChanged(); 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 @@ -907,36 +795,30 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; @@ -944,13 +826,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
@@ -972,17 +849,13 @@ public Builder clearValidateOnly() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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 updateMaskBuilder_ != null || 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
@@ -1004,23 +877,17 @@ public boolean hasUpdateMask() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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
@@ -1042,8 +909,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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) { @@ -1059,8 +925,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
@@ -1082,10 +946,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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(); onChanged(); @@ -1096,8 +960,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
@@ -1119,14 +981,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1138,8 +999,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
@@ -1161,8 +1020,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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() { if (updateMaskBuilder_ == null) { @@ -1176,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
@@ -1199,17 +1055,14 @@ public Builder clearUpdateMask() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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() { - + onChanged(); 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
@@ -1231,21 +1084,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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
@@ -1267,28 +1116,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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); } @@ -1298,12 +1143,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(); } @@ -1312,16 +1157,16 @@ 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 { - return new UpdateAwsNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateAwsNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1336,4 +1181,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java similarity index 76% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java index 5037229..cd93317 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java @@ -1,85 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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
@@ -101,15 +66,11 @@ public interface UpdateAwsNodePoolRequestOrBuilder
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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
@@ -131,15 +92,11 @@ public interface UpdateAwsNodePoolRequestOrBuilder
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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
@@ -161,8 +118,7 @@ public interface UpdateAwsNodePoolRequestOrBuilder
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java similarity index 70% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java index 553c825..bee633e 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateAzureClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,49 +52,44 @@ private UpdateAzureClusterRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder subBuilder = null; - if (azureCluster_ != null) { - subBuilder = azureCluster_.toBuilder(); - } - azureCluster_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(azureCluster_); - azureCluster_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder subBuilder = null; + if (azureCluster_ != null) { + subBuilder = azureCluster_.toBuilder(); } - case 16: - { - validateOnly_ = input.readBool(); - break; + azureCluster_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(azureCluster_); + azureCluster_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 16: { + + validateOnly_ = input.readBool(); + break; + } + case 34: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,41 +97,34 @@ private UpdateAzureClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -160,34 +132,23 @@ 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() { @@ -197,14 +158,11 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOr public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -215,8 +173,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
@@ -231,9 +187,7 @@ public boolean getValidateOnly() {
    *  *   `logging_config`
    * 
* - * .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 @@ -241,8 +195,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
@@ -257,9 +209,7 @@ public boolean hasUpdateMask() {
    *  *   `logging_config`
    * 
* - * .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 @@ -267,8 +217,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
@@ -283,8 +231,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `logging_config`
    * 
* - * .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() { @@ -292,7 +239,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -304,7 +250,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()); } @@ -324,13 +271,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -340,22 +290,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -373,7 +325,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(); @@ -384,127 +337,117 @@ 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() @@ -512,15 +455,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -542,9 +486,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 @@ -563,8 +507,7 @@ 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); + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest(this); if (azureClusterBuilder_ == null) { result.azureCluster_ = azureCluster_; } else { @@ -584,39 +527,38 @@ public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest buildPartial( 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; @@ -624,8 +566,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()); } @@ -654,8 +595,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,58 +607,39 @@ public Builder mergeFrom( 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 azureClusterBuilder_ != null || 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. */ 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) { @@ -734,15 +655,11 @@ 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) { @@ -756,23 +673,17 @@ 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 (azureCluster_ != null) { azureCluster_ = - com.google.cloud.gkemulticloud.v1.AzureCluster.newBuilder(azureCluster_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureCluster.newBuilder(azureCluster_).mergeFrom(value).buildPartial(); } else { azureCluster_ = value; } @@ -784,15 +695,11 @@ 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() { if (azureClusterBuilder_ == null) { @@ -806,79 +713,60 @@ 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() { - + onChanged(); 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 @@ -886,36 +774,30 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; @@ -923,13 +805,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
@@ -944,17 +821,13 @@ public Builder clearValidateOnly() {
      *  *   `logging_config`
      * 
* - * .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 updateMaskBuilder_ != null || 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
@@ -969,23 +842,17 @@ public boolean hasUpdateMask() {
      *  *   `logging_config`
      * 
* - * .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
@@ -1000,8 +867,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `logging_config`
      * 
* - * .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) { @@ -1017,8 +883,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
@@ -1033,10 +897,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `logging_config`
      * 
* - * .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(); onChanged(); @@ -1047,8 +911,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
@@ -1063,14 +925,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `logging_config`
      * 
* - * .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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1082,8 +943,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
@@ -1098,8 +957,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `logging_config`
      * 
* - * .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() { if (updateMaskBuilder_ == null) { @@ -1113,8 +971,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
@@ -1129,17 +985,14 @@ public Builder clearUpdateMask() {
      *  *   `logging_config`
      * 
* - * .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() { - + onChanged(); 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
@@ -1154,21 +1007,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `logging_config`
      * 
* - * .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
@@ -1183,28 +1032,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `logging_config`
      * 
* - * .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); } @@ -1214,12 +1059,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(); } @@ -1228,16 +1073,16 @@ 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 { - return new UpdateAzureClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateAzureClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1252,4 +1097,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java index 5871d23..1ff3bf1 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java @@ -1,85 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +59,11 @@ public interface UpdateAzureClusterRequestOrBuilder
    *  *   `logging_config`
    * 
* - * .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
@@ -117,15 +78,11 @@ public interface UpdateAzureClusterRequestOrBuilder
    *  *   `logging_config`
    * 
* - * .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
@@ -140,8 +97,7 @@ public interface UpdateAzureClusterRequestOrBuilder
    *  *   `logging_config`
    * 
* - * .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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java similarity index 69% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java index 2fc63d1..7fb6bc0 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateAzureNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,49 +52,44 @@ private UpdateAzureNodePoolRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder subBuilder = null; - if (azureNodePool_ != null) { - subBuilder = azureNodePool_.toBuilder(); - } - azureNodePool_ = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(azureNodePool_); - azureNodePool_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder subBuilder = null; + if (azureNodePool_ != null) { + subBuilder = azureNodePool_.toBuilder(); } - case 16: - { - validateOnly_ = input.readBool(); - break; + azureNodePool_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(azureNodePool_); + azureNodePool_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 16: { + + validateOnly_ = input.readBool(); + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,41 +97,34 @@ private UpdateAzureNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -160,34 +132,23 @@ 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() { @@ -197,14 +158,11 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -215,8 +173,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
@@ -228,9 +184,7 @@ public boolean getValidateOnly() {
    *  *   `config.vm_size`.
    * 
* - * .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 @@ -238,8 +192,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
@@ -251,9 +203,7 @@ public boolean hasUpdateMask() {
    *  *   `config.vm_size`.
    * 
* - * .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 @@ -261,8 +211,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
@@ -274,8 +222,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `config.vm_size`.
    * 
* - * .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() { @@ -283,7 +230,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,7 +241,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()); } @@ -315,13 +262,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -331,22 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -364,7 +316,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(); @@ -375,127 +328,117 @@ 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() @@ -503,15 +446,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -533,14 +477,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(); } @@ -555,8 +498,7 @@ 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); + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest(this); if (azureNodePoolBuilder_ == null) { result.azureNodePool_ = azureNodePool_; } else { @@ -576,39 +518,38 @@ public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest buildPartial 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; @@ -616,9 +557,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()); } @@ -647,8 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -660,58 +598,39 @@ public Builder mergeFrom( 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 azureNodePoolBuilder_ != null || 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. */ 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) { @@ -727,15 +646,11 @@ 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) { @@ -749,23 +664,17 @@ 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 (azureNodePool_ != null) { azureNodePool_ = - com.google.cloud.gkemulticloud.v1.AzureNodePool.newBuilder(azureNodePool_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureNodePool.newBuilder(azureNodePool_).mergeFrom(value).buildPartial(); } else { azureNodePool_ = value; } @@ -777,15 +686,11 @@ 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() { if (azureNodePoolBuilder_ == null) { @@ -799,79 +704,60 @@ 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() { - + onChanged(); 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 @@ -879,36 +765,30 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; @@ -916,13 +796,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
@@ -934,17 +809,13 @@ public Builder clearValidateOnly() {
      *  *   `config.vm_size`.
      * 
* - * .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 updateMaskBuilder_ != null || 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
@@ -956,23 +827,17 @@ public boolean hasUpdateMask() {
      *  *   `config.vm_size`.
      * 
* - * .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
@@ -984,8 +849,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `config.vm_size`.
      * 
* - * .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) { @@ -1001,8 +865,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
@@ -1014,10 +876,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.vm_size`.
      * 
* - * .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(); onChanged(); @@ -1028,8 +890,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
@@ -1041,14 +901,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `config.vm_size`.
      * 
* - * .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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1060,8 +919,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
@@ -1073,8 +930,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.vm_size`.
      * 
* - * .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() { if (updateMaskBuilder_ == null) { @@ -1088,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
@@ -1101,17 +955,14 @@ public Builder clearUpdateMask() {
      *  *   `config.vm_size`.
      * 
* - * .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() { - + onChanged(); 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
@@ -1123,21 +974,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `config.vm_size`.
      * 
* - * .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
@@ -1149,28 +996,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `config.vm_size`.
      * 
* - * .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); } @@ -1180,13 +1023,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(); } @@ -1195,16 +1037,16 @@ 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 { - return new UpdateAzureNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateAzureNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1219,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java index 6cff924..4cd8733 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java @@ -1,85 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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
@@ -91,15 +56,11 @@ public interface UpdateAzureNodePoolRequestOrBuilder
    *  *   `config.vm_size`.
    * 
* - * .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
@@ -111,15 +72,11 @@ public interface UpdateAzureNodePoolRequestOrBuilder
    *  *   `config.vm_size`.
    * 
* - * .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
@@ -131,8 +88,7 @@ public interface UpdateAzureNodePoolRequestOrBuilder
    *  *   `config.vm_size`.
    * 
* - * .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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java similarity index 71% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java index 95bae54..c3668cc 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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,15 +27,16 @@ private WorkloadIdentityConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WorkloadIdentityConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WorkloadIdentityConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private WorkloadIdentityConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - issuerUri_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + issuerUri_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - workloadPool_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + workloadPool_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - identityProvider_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + identityProvider_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,39 +87,34 @@ private WorkloadIdentityConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object issuerUri_; /** - * - * *
    * The OIDC issuer URL for this cluster.
    * 
* * string issuer_uri = 1; - * * @return The issuerUri. */ @java.lang.Override @@ -148,29 +123,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 { @@ -181,14 +156,11 @@ public com.google.protobuf.ByteString getIssuerUriBytes() { public static final int WORKLOAD_POOL_FIELD_NUMBER = 2; private volatile java.lang.Object workloadPool_; /** - * - * *
    * The Workload Identity Pool associated to the cluster.
    * 
* * string workload_pool = 2; - * * @return The workloadPool. */ @java.lang.Override @@ -197,29 +169,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 { @@ -230,15 +202,12 @@ public com.google.protobuf.ByteString getWorkloadPoolBytes() { public static final int IDENTITY_PROVIDER_FIELD_NUMBER = 3; 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 @@ -247,30 +216,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 { @@ -279,7 +248,6 @@ public com.google.protobuf.ByteString getIdentityProviderBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,7 +259,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_); } @@ -327,17 +296,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -361,127 +332,117 @@ 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() @@ -489,15 +450,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -511,9 +473,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 @@ -532,8 +494,7 @@ 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); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig result = new com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig(this); result.issuerUri_ = issuerUri_; result.workloadPool_ = workloadPool_; result.identityProvider_ = identityProvider_; @@ -545,39 +506,38 @@ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig buildPartial() { 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; @@ -585,8 +545,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_; onChanged(); @@ -618,8 +577,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -631,20 +589,18 @@ public Builder mergeFrom( 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; @@ -653,21 +609,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 { @@ -675,61 +630,54 @@ 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) { + public Builder setIssuerUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issuerUri_ = value; onChanged(); return this; } /** - * - * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; - * * @return This builder for chaining. */ public Builder clearIssuerUri() { - + issuerUri_ = getDefaultInstance().getIssuerUri(); onChanged(); 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) { + public Builder setIssuerUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issuerUri_ = value; onChanged(); return this; @@ -737,20 +685,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; @@ -759,21 +705,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 { @@ -781,61 +726,54 @@ 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) { + public Builder setWorkloadPool( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workloadPool_ = value; onChanged(); return this; } /** - * - * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; - * * @return This builder for chaining. */ public Builder clearWorkloadPool() { - + workloadPool_ = getDefaultInstance().getWorkloadPool(); onChanged(); 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) { + public Builder setWorkloadPoolBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workloadPool_ = value; onChanged(); return this; @@ -843,21 +781,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; @@ -866,22 +802,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 { @@ -889,71 +824,64 @@ 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) { + public Builder setIdentityProvider( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + identityProvider_ = value; 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() { - + identityProvider_ = getDefaultInstance().getIdentityProvider(); onChanged(); 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) { + public Builder setIdentityProviderBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identityProvider_ = 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); } @@ -963,12 +891,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(); } @@ -977,16 +905,16 @@ 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 { - return new WorkloadIdentityConfig(input, extensionRegistry); - } - }; + 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 { + return new WorkloadIdentityConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1001,4 +929,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java similarity index 62% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java index 96e2b50..fda5f36 100644 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java @@ -1,102 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto similarity index 100% rename from proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto rename to owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 0000000..107b79b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsClustersSettings; +import com.google.cloud.gkemulticloud.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + AwsClustersSettings awsClustersSettings = + AwsClustersSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + AwsClustersClient awsClustersClient = AwsClustersClient.create(awsClustersSettings); + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 0000000..b1484b0 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_create_setcredentialsprovider1_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsClustersSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + AwsClustersSettings awsClustersSettings = + AwsClustersSettings.newBuilder() + .setTransportChannelProvider( + AwsClustersSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + AwsClustersClient awsClustersClient = AwsClustersClient.create(awsClustersSettings); + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 0000000..da9cc7f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_create_setendpoint_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsClustersSettings; +import com.google.cloud.gkemulticloud.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + AwsClustersSettings awsClustersSettings = + AwsClustersSettings.newBuilder().setEndpoint(myEndpoint).build(); + AwsClustersClient awsClustersClient = AwsClustersClient.create(awsClustersSettings); + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsCluster.java new file mode 100644 index 0000000..cd67a9f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsCluster.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_createawscluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; +import com.google.longrunning.Operation; + +public class AsyncCreateAwsCluster { + + public static void main(String[] args) throws Exception { + asyncCreateAwsCluster(); + } + + public static void asyncCreateAwsCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + CreateAwsClusterRequest request = + CreateAwsClusterRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setAwsCluster(AwsCluster.newBuilder().build()) + .setAwsClusterId("awsClusterId1988965944") + .setValidateOnly(true) + .build(); + ApiFuture future = + awsClustersClient.createAwsClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_createawscluster_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsClusterLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsClusterLRO.java new file mode 100644 index 0000000..bfe9b41 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsClusterLRO.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_createawscluster_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; + +public class AsyncCreateAwsClusterLRO { + + public static void main(String[] args) throws Exception { + asyncCreateAwsClusterLRO(); + } + + public static void asyncCreateAwsClusterLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + CreateAwsClusterRequest request = + CreateAwsClusterRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setAwsCluster(AwsCluster.newBuilder().build()) + .setAwsClusterId("awsClusterId1988965944") + .setValidateOnly(true) + .build(); + OperationFuture future = + awsClustersClient.createAwsClusterOperationCallable().futureCall(request); + // Do something. + AwsCluster response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_createawscluster_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsCluster.java new file mode 100644 index 0000000..ec90fb9 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsCluster.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_createawscluster_sync] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncCreateAwsCluster { + + public static void main(String[] args) throws Exception { + syncCreateAwsCluster(); + } + + public static void syncCreateAwsCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + CreateAwsClusterRequest request = + CreateAwsClusterRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setAwsCluster(AwsCluster.newBuilder().build()) + .setAwsClusterId("awsClusterId1988965944") + .setValidateOnly(true) + .build(); + AwsCluster response = awsClustersClient.createAwsClusterAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_createawscluster_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java new file mode 100644 index 0000000..35f97db --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_createawscluster_locationnameawsclusterstring_sync] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncCreateAwsClusterLocationnameAwsclusterString { + + public static void main(String[] args) throws Exception { + syncCreateAwsClusterLocationnameAwsclusterString(); + } + + public static void syncCreateAwsClusterLocationnameAwsclusterString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + AwsCluster awsCluster = AwsCluster.newBuilder().build(); + String awsClusterId = "awsClusterId1988965944"; + AwsCluster response = + awsClustersClient.createAwsClusterAsync(parent, awsCluster, awsClusterId).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_createawscluster_locationnameawsclusterstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java new file mode 100644 index 0000000..bb6b77e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_createawscluster_stringawsclusterstring_sync] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncCreateAwsClusterStringAwsclusterString { + + public static void main(String[] args) throws Exception { + syncCreateAwsClusterStringAwsclusterString(); + } + + public static void syncCreateAwsClusterStringAwsclusterString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + AwsCluster awsCluster = AwsCluster.newBuilder().build(); + String awsClusterId = "awsClusterId1988965944"; + AwsCluster response = + awsClustersClient.createAwsClusterAsync(parent, awsCluster, awsClusterId).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_createawscluster_stringawsclusterstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePool.java new file mode 100644 index 0000000..d681f43 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePool.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_createawsnodepool_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.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest; +import com.google.longrunning.Operation; + +public class AsyncCreateAwsNodePool { + + public static void main(String[] args) throws Exception { + asyncCreateAwsNodePool(); + } + + public static void asyncCreateAwsNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + CreateAwsNodePoolRequest request = + CreateAwsNodePoolRequest.newBuilder() + .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setAwsNodePool(AwsNodePool.newBuilder().build()) + .setAwsNodePoolId("awsNodePoolId-1885267498") + .setValidateOnly(true) + .build(); + ApiFuture future = + awsClustersClient.createAwsNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_createawsnodepool_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePoolLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePoolLRO.java new file mode 100644 index 0000000..053c977 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePoolLRO.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_createawsnodepool_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; + +public class AsyncCreateAwsNodePoolLRO { + + public static void main(String[] args) throws Exception { + asyncCreateAwsNodePoolLRO(); + } + + public static void asyncCreateAwsNodePoolLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + CreateAwsNodePoolRequest request = + CreateAwsNodePoolRequest.newBuilder() + .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setAwsNodePool(AwsNodePool.newBuilder().build()) + .setAwsNodePoolId("awsNodePoolId-1885267498") + .setValidateOnly(true) + .build(); + OperationFuture future = + awsClustersClient.createAwsNodePoolOperationCallable().futureCall(request); + // Do something. + AwsNodePool response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_createawsnodepool_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePool.java new file mode 100644 index 0000000..efff780 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePool.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_createawsnodepool_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest; + +public class SyncCreateAwsNodePool { + + public static void main(String[] args) throws Exception { + syncCreateAwsNodePool(); + } + + public static void syncCreateAwsNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + CreateAwsNodePoolRequest request = + CreateAwsNodePoolRequest.newBuilder() + .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setAwsNodePool(AwsNodePool.newBuilder().build()) + .setAwsNodePoolId("awsNodePoolId-1885267498") + .setValidateOnly(true) + .build(); + AwsNodePool response = awsClustersClient.createAwsNodePoolAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_createawsnodepool_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java new file mode 100644 index 0000000..f7bd087 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_createawsnodepool_awsclusternameawsnodepoolstring_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; + +public class SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString { + + public static void main(String[] args) throws Exception { + syncCreateAwsNodePoolAwsclusternameAwsnodepoolString(); + } + + public static void syncCreateAwsNodePoolAwsclusternameAwsnodepoolString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + AwsClusterName parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + AwsNodePool awsNodePool = AwsNodePool.newBuilder().build(); + String awsNodePoolId = "awsNodePoolId-1885267498"; + AwsNodePool response = + awsClustersClient.createAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_createawsnodepool_awsclusternameawsnodepoolstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java new file mode 100644 index 0000000..87c1138 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_createawsnodepool_stringawsnodepoolstring_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; + +public class SyncCreateAwsNodePoolStringAwsnodepoolString { + + public static void main(String[] args) throws Exception { + syncCreateAwsNodePoolStringAwsnodepoolString(); + } + + public static void syncCreateAwsNodePoolStringAwsnodepoolString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + String parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString(); + AwsNodePool awsNodePool = AwsNodePool.newBuilder().build(); + String awsNodePoolId = "awsNodePoolId-1885267498"; + AwsNodePool response = + awsClustersClient.createAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_createawsnodepool_stringawsnodepoolstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsCluster.java new file mode 100644 index 0000000..38de192 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsCluster.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_deleteawscluster_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.DeleteAwsClusterRequest; +import com.google.longrunning.Operation; + +public class AsyncDeleteAwsCluster { + + public static void main(String[] args) throws Exception { + asyncDeleteAwsCluster(); + } + + public static void asyncDeleteAwsCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + DeleteAwsClusterRequest request = + DeleteAwsClusterRequest.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setValidateOnly(true) + .setAllowMissing(true) + .setEtag("etag3123477") + .build(); + ApiFuture future = + awsClustersClient.deleteAwsClusterCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_deleteawscluster_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsClusterLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsClusterLRO.java new file mode 100644 index 0000000..f01dcc1 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsClusterLRO.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_deleteawscluster_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.protobuf.Empty; + +public class AsyncDeleteAwsClusterLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteAwsClusterLRO(); + } + + public static void asyncDeleteAwsClusterLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + DeleteAwsClusterRequest request = + DeleteAwsClusterRequest.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setValidateOnly(true) + .setAllowMissing(true) + .setEtag("etag3123477") + .build(); + OperationFuture future = + awsClustersClient.deleteAwsClusterOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_deleteawscluster_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsCluster.java new file mode 100644 index 0000000..a1a57dd --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsCluster.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_deleteawscluster_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest; +import com.google.protobuf.Empty; + +public class SyncDeleteAwsCluster { + + public static void main(String[] args) throws Exception { + syncDeleteAwsCluster(); + } + + public static void syncDeleteAwsCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + DeleteAwsClusterRequest request = + DeleteAwsClusterRequest.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setValidateOnly(true) + .setAllowMissing(true) + .setEtag("etag3123477") + .build(); + awsClustersClient.deleteAwsClusterAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_deleteawscluster_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java new file mode 100644 index 0000000..795075a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_deleteawscluster_awsclustername_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.protobuf.Empty; + +public class SyncDeleteAwsClusterAwsclustername { + + public static void main(String[] args) throws Exception { + syncDeleteAwsClusterAwsclustername(); + } + + public static void syncDeleteAwsClusterAwsclustername() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + AwsClusterName name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + awsClustersClient.deleteAwsClusterAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_deleteawscluster_awsclustername_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterString.java new file mode 100644 index 0000000..e0021a4 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_deleteawscluster_string_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.protobuf.Empty; + +public class SyncDeleteAwsClusterString { + + public static void main(String[] args) throws Exception { + syncDeleteAwsClusterString(); + } + + public static void syncDeleteAwsClusterString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + String name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString(); + awsClustersClient.deleteAwsClusterAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_deleteawscluster_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePool.java new file mode 100644 index 0000000..6d5560c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePool.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_deleteawsnodepool_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.DeleteAwsNodePoolRequest; +import com.google.longrunning.Operation; + +public class AsyncDeleteAwsNodePool { + + public static void main(String[] args) throws Exception { + asyncDeleteAwsNodePool(); + } + + public static void asyncDeleteAwsNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + DeleteAwsNodePoolRequest request = + DeleteAwsNodePoolRequest.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .setValidateOnly(true) + .setAllowMissing(true) + .setEtag("etag3123477") + .build(); + ApiFuture future = + awsClustersClient.deleteAwsNodePoolCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_deleteawsnodepool_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java new file mode 100644 index 0000000..7805b9e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_deleteawsnodepool_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePoolName; +import com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.protobuf.Empty; + +public class AsyncDeleteAwsNodePoolLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteAwsNodePoolLRO(); + } + + public static void asyncDeleteAwsNodePoolLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + DeleteAwsNodePoolRequest request = + DeleteAwsNodePoolRequest.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .setValidateOnly(true) + .setAllowMissing(true) + .setEtag("etag3123477") + .build(); + OperationFuture future = + awsClustersClient.deleteAwsNodePoolOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_deleteawsnodepool_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePool.java new file mode 100644 index 0000000..694616e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePool.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_deleteawsnodepool_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePoolName; +import com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest; +import com.google.protobuf.Empty; + +public class SyncDeleteAwsNodePool { + + public static void main(String[] args) throws Exception { + syncDeleteAwsNodePool(); + } + + public static void syncDeleteAwsNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + DeleteAwsNodePoolRequest request = + DeleteAwsNodePoolRequest.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .setValidateOnly(true) + .setAllowMissing(true) + .setEtag("etag3123477") + .build(); + awsClustersClient.deleteAwsNodePoolAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_deleteawsnodepool_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java new file mode 100644 index 0000000..19878ba --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_deleteawsnodepool_awsnodepoolname_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePoolName; +import com.google.protobuf.Empty; + +public class SyncDeleteAwsNodePoolAwsnodepoolname { + + public static void main(String[] args) throws Exception { + syncDeleteAwsNodePoolAwsnodepoolname(); + } + + public static void syncDeleteAwsNodePoolAwsnodepoolname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + AwsNodePoolName name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]"); + awsClustersClient.deleteAwsNodePoolAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_deleteawsnodepool_awsnodepoolname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolString.java new file mode 100644 index 0000000..2acf9c0 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_deleteawsnodepool_string_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePoolName; +import com.google.protobuf.Empty; + +public class SyncDeleteAwsNodePoolString { + + public static void main(String[] args) throws Exception { + syncDeleteAwsNodePoolString(); + } + + public static void syncDeleteAwsNodePoolString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + String name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString(); + awsClustersClient.deleteAwsNodePoolAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_deleteawsnodepool_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java new file mode 100644 index 0000000..34a3f3c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_generateawsaccesstoken_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.GenerateAwsAccessTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse; + +public class AsyncGenerateAwsAccessToken { + + public static void main(String[] args) throws Exception { + asyncGenerateAwsAccessToken(); + } + + public static void asyncGenerateAwsAccessToken() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GenerateAwsAccessTokenRequest request = + GenerateAwsAccessTokenRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + ApiFuture future = + awsClustersClient.generateAwsAccessTokenCallable().futureCall(request); + // Do something. + GenerateAwsAccessTokenResponse response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_generateawsaccesstoken_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/SyncGenerateAwsAccessToken.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/SyncGenerateAwsAccessToken.java new file mode 100644 index 0000000..1032507 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/SyncGenerateAwsAccessToken.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_generateawsaccesstoken_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse; + +public class SyncGenerateAwsAccessToken { + + public static void main(String[] args) throws Exception { + syncGenerateAwsAccessToken(); + } + + public static void syncGenerateAwsAccessToken() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GenerateAwsAccessTokenRequest request = + GenerateAwsAccessTokenRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + GenerateAwsAccessTokenResponse response = awsClustersClient.generateAwsAccessToken(request); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_generateawsaccesstoken_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/AsyncGetAwsCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/AsyncGetAwsCluster.java new file mode 100644 index 0000000..f6d25a6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/AsyncGetAwsCluster.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawscluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest; + +public class AsyncGetAwsCluster { + + public static void main(String[] args) throws Exception { + asyncGetAwsCluster(); + } + + public static void asyncGetAwsCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GetAwsClusterRequest request = + GetAwsClusterRequest.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + ApiFuture future = awsClustersClient.getAwsClusterCallable().futureCall(request); + // Do something. + AwsCluster response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawscluster_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsCluster.java new file mode 100644 index 0000000..8a369dd --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsCluster.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawscluster_sync] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest; + +public class SyncGetAwsCluster { + + public static void main(String[] args) throws Exception { + syncGetAwsCluster(); + } + + public static void syncGetAwsCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GetAwsClusterRequest request = + GetAwsClusterRequest.newBuilder() + .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + AwsCluster response = awsClustersClient.getAwsCluster(request); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawscluster_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterAwsclustername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterAwsclustername.java new file mode 100644 index 0000000..dfbeb33 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterAwsclustername.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawscluster_awsclustername_sync] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; + +public class SyncGetAwsClusterAwsclustername { + + public static void main(String[] args) throws Exception { + syncGetAwsClusterAwsclustername(); + } + + public static void syncGetAwsClusterAwsclustername() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + AwsClusterName name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + AwsCluster response = awsClustersClient.getAwsCluster(name); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawscluster_awsclustername_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterString.java new file mode 100644 index 0000000..507447c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawscluster_string_sync] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; + +public class SyncGetAwsClusterString { + + public static void main(String[] args) throws Exception { + syncGetAwsClusterString(); + } + + public static void syncGetAwsClusterString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + String name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString(); + AwsCluster response = awsClustersClient.getAwsCluster(name); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawscluster_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/AsyncGetAwsNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/AsyncGetAwsNodePool.java new file mode 100644 index 0000000..3d35edd --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/AsyncGetAwsNodePool.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawsnodepool_async] +import com.google.api.core.ApiFuture; +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.GetAwsNodePoolRequest; + +public class AsyncGetAwsNodePool { + + public static void main(String[] args) throws Exception { + asyncGetAwsNodePool(); + } + + public static void asyncGetAwsNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GetAwsNodePoolRequest request = + GetAwsNodePoolRequest.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .build(); + ApiFuture future = + awsClustersClient.getAwsNodePoolCallable().futureCall(request); + // Do something. + AwsNodePool response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawsnodepool_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePool.java new file mode 100644 index 0000000..8a8a3e2 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePool.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawsnodepool_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.GetAwsNodePoolRequest; + +public class SyncGetAwsNodePool { + + public static void main(String[] args) throws Exception { + syncGetAwsNodePool(); + } + + public static void syncGetAwsNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GetAwsNodePoolRequest request = + GetAwsNodePoolRequest.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .build(); + AwsNodePool response = awsClustersClient.getAwsNodePool(request); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawsnodepool_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java new file mode 100644 index 0000000..16d8e29 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawsnodepool_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 SyncGetAwsNodePoolAwsnodepoolname { + + public static void main(String[] args) throws Exception { + syncGetAwsNodePoolAwsnodepoolname(); + } + + public static void syncGetAwsNodePoolAwsnodepoolname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + AwsNodePoolName name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]"); + AwsNodePool response = awsClustersClient.getAwsNodePool(name); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawsnodepool_awsnodepoolname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolString.java new file mode 100644 index 0000000..b0138c4 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawsnodepool_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 SyncGetAwsNodePoolString { + + public static void main(String[] args) throws Exception { + syncGetAwsNodePoolString(); + } + + public static void syncGetAwsNodePoolString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + String name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString(); + AwsNodePool response = awsClustersClient.getAwsNodePool(name); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawsnodepool_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/AsyncGetAwsServerConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/AsyncGetAwsServerConfig.java new file mode 100644 index 0000000..11703b3 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/AsyncGetAwsServerConfig.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawsserverconfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsServerConfig; +import com.google.cloud.gkemulticloud.v1.AwsServerConfigName; +import com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest; + +public class AsyncGetAwsServerConfig { + + public static void main(String[] args) throws Exception { + asyncGetAwsServerConfig(); + } + + public static void asyncGetAwsServerConfig() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GetAwsServerConfigRequest request = + GetAwsServerConfigRequest.newBuilder() + .setName(AwsServerConfigName.of("[PROJECT]", "[LOCATION]").toString()) + .build(); + ApiFuture future = + awsClustersClient.getAwsServerConfigCallable().futureCall(request); + // Do something. + AwsServerConfig response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawsserverconfig_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfig.java new file mode 100644 index 0000000..a100ea9 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfig.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawsserverconfig_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsServerConfig; +import com.google.cloud.gkemulticloud.v1.AwsServerConfigName; +import com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest; + +public class SyncGetAwsServerConfig { + + public static void main(String[] args) throws Exception { + syncGetAwsServerConfig(); + } + + public static void syncGetAwsServerConfig() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GetAwsServerConfigRequest request = + GetAwsServerConfigRequest.newBuilder() + .setName(AwsServerConfigName.of("[PROJECT]", "[LOCATION]").toString()) + .build(); + AwsServerConfig response = awsClustersClient.getAwsServerConfig(request); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawsserverconfig_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java new file mode 100644 index 0000000..2fe7dd5 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawsserverconfig_awsserverconfigname_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsServerConfig; +import com.google.cloud.gkemulticloud.v1.AwsServerConfigName; + +public class SyncGetAwsServerConfigAwsserverconfigname { + + public static void main(String[] args) throws Exception { + syncGetAwsServerConfigAwsserverconfigname(); + } + + public static void syncGetAwsServerConfigAwsserverconfigname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + AwsServerConfigName name = AwsServerConfigName.of("[PROJECT]", "[LOCATION]"); + AwsServerConfig response = awsClustersClient.getAwsServerConfig(name); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawsserverconfig_awsserverconfigname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigString.java new file mode 100644 index 0000000..cfd3543 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_getawsserverconfig_string_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsServerConfig; +import com.google.cloud.gkemulticloud.v1.AwsServerConfigName; + +public class SyncGetAwsServerConfigString { + + public static void main(String[] args) throws Exception { + syncGetAwsServerConfigString(); + } + + public static void syncGetAwsServerConfigString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + String name = AwsServerConfigName.of("[PROJECT]", "[LOCATION]").toString(); + AwsServerConfig response = awsClustersClient.getAwsServerConfig(name); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_getawsserverconfig_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClusters.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClusters.java new file mode 100644 index 0000000..59f44f3 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClusters.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_listawsclusters_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class AsyncListAwsClusters { + + public static void main(String[] args) throws Exception { + asyncListAwsClusters(); + } + + public static void asyncListAwsClusters() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + ListAwsClustersRequest request = + ListAwsClustersRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + awsClustersClient.listAwsClustersPagedCallable().futureCall(request); + // Do something. + for (AwsCluster element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_listawsclusters_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClustersPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClustersPaged.java new file mode 100644 index 0000000..9c3e04d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClustersPaged.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_listawsclusters_paged_async] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest; +import com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse; +import com.google.cloud.gkemulticloud.v1.LocationName; +import com.google.common.base.Strings; + +public class AsyncListAwsClustersPaged { + + public static void main(String[] args) throws Exception { + asyncListAwsClustersPaged(); + } + + public static void asyncListAwsClustersPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + ListAwsClustersRequest request = + ListAwsClustersRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListAwsClustersResponse response = + awsClustersClient.listAwsClustersCallable().call(request); + for (AwsCluster element : response.getAwsClustersList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_listawsclusters_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClusters.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClusters.java new file mode 100644 index 0000000..624ac85 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClusters.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_listawsclusters_sync] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncListAwsClusters { + + public static void main(String[] args) throws Exception { + syncListAwsClusters(); + } + + public static void syncListAwsClusters() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + ListAwsClustersRequest request = + ListAwsClustersRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (AwsCluster element : awsClustersClient.listAwsClusters(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_listawsclusters_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersLocationname.java new file mode 100644 index 0000000..24e2089 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersLocationname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_listawsclusters_locationname_sync] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncListAwsClustersLocationname { + + public static void main(String[] args) throws Exception { + syncListAwsClustersLocationname(); + } + + public static void syncListAwsClustersLocationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (AwsCluster element : awsClustersClient.listAwsClusters(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_listawsclusters_locationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersString.java new file mode 100644 index 0000000..5d35714 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_listawsclusters_string_sync] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncListAwsClustersString { + + public static void main(String[] args) throws Exception { + syncListAwsClustersString(); + } + + public static void syncListAwsClustersString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + for (AwsCluster element : awsClustersClient.listAwsClusters(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_listawsclusters_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePools.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePools.java new file mode 100644 index 0000000..26ebfc5 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePools.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_listawsnodepools_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.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest; + +public class AsyncListAwsNodePools { + + public static void main(String[] args) throws Exception { + asyncListAwsNodePools(); + } + + public static void asyncListAwsNodePools() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + ListAwsNodePoolsRequest request = + ListAwsNodePoolsRequest.newBuilder() + .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + awsClustersClient.listAwsNodePoolsPagedCallable().futureCall(request); + // Do something. + for (AwsNodePool element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_listawsnodepools_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePoolsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePoolsPaged.java new file mode 100644 index 0000000..cbbc89f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePoolsPaged.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_listawsnodepools_paged_async] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest; +import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse; +import com.google.common.base.Strings; + +public class AsyncListAwsNodePoolsPaged { + + public static void main(String[] args) throws Exception { + asyncListAwsNodePoolsPaged(); + } + + public static void asyncListAwsNodePoolsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + ListAwsNodePoolsRequest request = + ListAwsNodePoolsRequest.newBuilder() + .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListAwsNodePoolsResponse response = + awsClustersClient.listAwsNodePoolsCallable().call(request); + for (AwsNodePool element : response.getAwsNodePoolsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_listawsnodepools_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePools.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePools.java new file mode 100644 index 0000000..49e9ee1 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePools.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_listawsnodepools_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest; + +public class SyncListAwsNodePools { + + public static void main(String[] args) throws Exception { + syncListAwsNodePools(); + } + + public static void syncListAwsNodePools() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + ListAwsNodePoolsRequest request = + ListAwsNodePoolsRequest.newBuilder() + .setParent(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (AwsNodePool element : awsClustersClient.listAwsNodePools(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_listawsnodepools_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java new file mode 100644 index 0000000..1059e69 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_listawsnodepools_awsclustername_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; + +public class SyncListAwsNodePoolsAwsclustername { + + public static void main(String[] args) throws Exception { + syncListAwsNodePoolsAwsclustername(); + } + + public static void syncListAwsNodePoolsAwsclustername() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + AwsClusterName parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]"); + for (AwsNodePool element : awsClustersClient.listAwsNodePools(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_listawsnodepools_awsclustername_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsString.java new file mode 100644 index 0000000..3025d76 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_listawsnodepools_string_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; + +public class SyncListAwsNodePoolsString { + + public static void main(String[] args) throws Exception { + syncListAwsNodePoolsString(); + } + + public static void syncListAwsNodePoolsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + String parent = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString(); + for (AwsNodePool element : awsClustersClient.listAwsNodePools(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_listawsnodepools_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsCluster.java new file mode 100644 index 0000000..204ff52 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsCluster.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_updateawscluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateAwsCluster { + + public static void main(String[] args) throws Exception { + asyncUpdateAwsCluster(); + } + + public static void asyncUpdateAwsCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + UpdateAwsClusterRequest request = + UpdateAwsClusterRequest.newBuilder() + .setAwsCluster(AwsCluster.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + awsClustersClient.updateAwsClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_updateawscluster_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsClusterLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsClusterLRO.java new file mode 100644 index 0000000..bfeebcf --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsClusterLRO.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_updateawscluster_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateAwsClusterLRO { + + public static void main(String[] args) throws Exception { + asyncUpdateAwsClusterLRO(); + } + + public static void asyncUpdateAwsClusterLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + UpdateAwsClusterRequest request = + UpdateAwsClusterRequest.newBuilder() + .setAwsCluster(AwsCluster.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + OperationFuture future = + awsClustersClient.updateAwsClusterOperationCallable().futureCall(request); + // Do something. + AwsCluster response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_updateawscluster_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsCluster.java new file mode 100644 index 0000000..82d0e86 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsCluster.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_updateawscluster_sync] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateAwsCluster { + + public static void main(String[] args) throws Exception { + syncUpdateAwsCluster(); + } + + public static void syncUpdateAwsCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + UpdateAwsClusterRequest request = + UpdateAwsClusterRequest.newBuilder() + .setAwsCluster(AwsCluster.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + AwsCluster response = awsClustersClient.updateAwsClusterAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_updateawscluster_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java new file mode 100644 index 0000000..b93a115 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_updateawscluster_awsclusterfieldmask_sync] +import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.protobuf.FieldMask; + +public class SyncUpdateAwsClusterAwsclusterFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateAwsClusterAwsclusterFieldmask(); + } + + public static void syncUpdateAwsClusterAwsclusterFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + AwsCluster awsCluster = AwsCluster.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + AwsCluster response = awsClustersClient.updateAwsClusterAsync(awsCluster, updateMask).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_updateawscluster_awsclusterfieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePool.java new file mode 100644 index 0000000..b00ee7a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePool.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_updateawsnodepool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateAwsNodePool { + + public static void main(String[] args) throws Exception { + asyncUpdateAwsNodePool(); + } + + public static void asyncUpdateAwsNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + UpdateAwsNodePoolRequest request = + UpdateAwsNodePoolRequest.newBuilder() + .setAwsNodePool(AwsNodePool.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + awsClustersClient.updateAwsNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_updateawsnodepool_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java new file mode 100644 index 0000000..8f9f264 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_updateawsnodepool_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.OperationMetadata; +import com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateAwsNodePoolLRO { + + public static void main(String[] args) throws Exception { + asyncUpdateAwsNodePoolLRO(); + } + + public static void asyncUpdateAwsNodePoolLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + UpdateAwsNodePoolRequest request = + UpdateAwsNodePoolRequest.newBuilder() + .setAwsNodePool(AwsNodePool.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + OperationFuture future = + awsClustersClient.updateAwsNodePoolOperationCallable().futureCall(request); + // Do something. + AwsNodePool response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_updateawsnodepool_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePool.java new file mode 100644 index 0000000..e132501 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePool.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_updateawsnodepool_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateAwsNodePool { + + public static void main(String[] args) throws Exception { + syncUpdateAwsNodePool(); + } + + public static void syncUpdateAwsNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + UpdateAwsNodePoolRequest request = + UpdateAwsNodePoolRequest.newBuilder() + .setAwsNodePool(AwsNodePool.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + AwsNodePool response = awsClustersClient.updateAwsNodePoolAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_updateawsnodepool_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java new file mode 100644 index 0000000..3f8052b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclustersclient_updateawsnodepool_awsnodepoolfieldmask_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.protobuf.FieldMask; + +public class SyncUpdateAwsNodePoolAwsnodepoolFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateAwsNodePoolAwsnodepoolFieldmask(); + } + + public static void syncUpdateAwsNodePoolAwsnodepoolFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + AwsNodePool awsNodePool = AwsNodePool.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + AwsNodePool response = + awsClustersClient.updateAwsNodePoolAsync(awsNodePool, updateMask).get(); + } + } +} +// [END gkemulticloud_v1_generated_awsclustersclient_updateawsnodepool_awsnodepoolfieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java new file mode 100644 index 0000000..7a72be5 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_awsclusterssettings_getawscluster_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersSettings; +import java.time.Duration; + +public class SyncGetAwsCluster { + + public static void main(String[] args) throws Exception { + syncGetAwsCluster(); + } + + public static void syncGetAwsCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + AwsClustersSettings.Builder awsClustersSettingsBuilder = AwsClustersSettings.newBuilder(); + awsClustersSettingsBuilder + .getAwsClusterSettings() + .setRetrySettings( + awsClustersSettingsBuilder + .getAwsClusterSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + AwsClustersSettings awsClustersSettings = awsClustersSettingsBuilder.build(); + } +} +// [END gkemulticloud_v1_generated_awsclusterssettings_getawscluster_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 0000000..d28792b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersSettings; +import com.google.cloud.gkemulticloud.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + AzureClustersSettings azureClustersSettings = + AzureClustersSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + AzureClustersClient azureClustersClient = AzureClustersClient.create(azureClustersSettings); + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 0000000..c200d79 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_create_setcredentialsprovider1_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + AzureClustersSettings azureClustersSettings = + AzureClustersSettings.newBuilder() + .setTransportChannelProvider( + AzureClustersSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + AzureClustersClient azureClustersClient = AzureClustersClient.create(azureClustersSettings); + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 0000000..f76ac68 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_create_setendpoint_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersSettings; +import com.google.cloud.gkemulticloud.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + AzureClustersSettings azureClustersSettings = + AzureClustersSettings.newBuilder().setEndpoint(myEndpoint).build(); + AzureClustersClient azureClustersClient = AzureClustersClient.create(azureClustersSettings); + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClient.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClient.java new file mode 100644 index 0000000..d8efbf4 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClient.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazureclient_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; +import com.google.longrunning.Operation; + +public class AsyncCreateAzureClient { + + public static void main(String[] args) throws Exception { + asyncCreateAzureClient(); + } + + public static void asyncCreateAzureClient() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + CreateAzureClientRequest request = + CreateAzureClientRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setAzureClient(AzureClient.newBuilder().build()) + .setAzureClientId("azureClientId-1735934475") + .setValidateOnly(true) + .build(); + ApiFuture future = + azureClustersClient.createAzureClientCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazureclient_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClientLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClientLRO.java new file mode 100644 index 0000000..c609eea --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClientLRO.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazureclient_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; + +public class AsyncCreateAzureClientLRO { + + public static void main(String[] args) throws Exception { + asyncCreateAzureClientLRO(); + } + + public static void asyncCreateAzureClientLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + CreateAzureClientRequest request = + CreateAzureClientRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setAzureClient(AzureClient.newBuilder().build()) + .setAzureClientId("azureClientId-1735934475") + .setValidateOnly(true) + .build(); + OperationFuture future = + azureClustersClient.createAzureClientOperationCallable().futureCall(request); + // Do something. + AzureClient response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazureclient_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClient.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClient.java new file mode 100644 index 0000000..03df9f8 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClient.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazureclient_sync] +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncCreateAzureClient { + + public static void main(String[] args) throws Exception { + syncCreateAzureClient(); + } + + public static void syncCreateAzureClient() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + CreateAzureClientRequest request = + CreateAzureClientRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setAzureClient(AzureClient.newBuilder().build()) + .setAzureClientId("azureClientId-1735934475") + .setValidateOnly(true) + .build(); + AzureClient response = azureClustersClient.createAzureClientAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazureclient_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java new file mode 100644 index 0000000..b0fd0ac --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazureclient_locationnameazureclientstring_sync] +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncCreateAzureClientLocationnameAzureclientString { + + public static void main(String[] args) throws Exception { + syncCreateAzureClientLocationnameAzureclientString(); + } + + public static void syncCreateAzureClientLocationnameAzureclientString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + AzureClient azureClient = AzureClient.newBuilder().build(); + String azureClientId = "azureClientId-1735934475"; + AzureClient response = + azureClustersClient.createAzureClientAsync(parent, azureClient, azureClientId).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazureclient_locationnameazureclientstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientStringAzureclientString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientStringAzureclientString.java new file mode 100644 index 0000000..603a898 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientStringAzureclientString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazureclient_stringazureclientstring_sync] +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncCreateAzureClientStringAzureclientString { + + public static void main(String[] args) throws Exception { + syncCreateAzureClientStringAzureclientString(); + } + + public static void syncCreateAzureClientStringAzureclientString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + AzureClient azureClient = AzureClient.newBuilder().build(); + String azureClientId = "azureClientId-1735934475"; + AzureClient response = + azureClustersClient.createAzureClientAsync(parent, azureClient, azureClientId).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazureclient_stringazureclientstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureCluster.java new file mode 100644 index 0000000..327e180 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureCluster.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazurecluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; +import com.google.longrunning.Operation; + +public class AsyncCreateAzureCluster { + + public static void main(String[] args) throws Exception { + asyncCreateAzureCluster(); + } + + public static void asyncCreateAzureCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + CreateAzureClusterRequest request = + CreateAzureClusterRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setAzureCluster(AzureCluster.newBuilder().build()) + .setAzureClusterId("azureClusterId191689446") + .setValidateOnly(true) + .build(); + ApiFuture future = + azureClustersClient.createAzureClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazurecluster_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureClusterLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureClusterLRO.java new file mode 100644 index 0000000..5763903 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureClusterLRO.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazurecluster_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; + +public class AsyncCreateAzureClusterLRO { + + public static void main(String[] args) throws Exception { + asyncCreateAzureClusterLRO(); + } + + public static void asyncCreateAzureClusterLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + CreateAzureClusterRequest request = + CreateAzureClusterRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setAzureCluster(AzureCluster.newBuilder().build()) + .setAzureClusterId("azureClusterId191689446") + .setValidateOnly(true) + .build(); + OperationFuture future = + azureClustersClient.createAzureClusterOperationCallable().futureCall(request); + // Do something. + AzureCluster response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazurecluster_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureCluster.java new file mode 100644 index 0000000..665f95f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureCluster.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazurecluster_sync] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncCreateAzureCluster { + + public static void main(String[] args) throws Exception { + syncCreateAzureCluster(); + } + + public static void syncCreateAzureCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + CreateAzureClusterRequest request = + CreateAzureClusterRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setAzureCluster(AzureCluster.newBuilder().build()) + .setAzureClusterId("azureClusterId191689446") + .setValidateOnly(true) + .build(); + AzureCluster response = azureClustersClient.createAzureClusterAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazurecluster_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java new file mode 100644 index 0000000..f6b5501 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazurecluster_locationnameazureclusterstring_sync] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncCreateAzureClusterLocationnameAzureclusterString { + + public static void main(String[] args) throws Exception { + syncCreateAzureClusterLocationnameAzureclusterString(); + } + + public static void syncCreateAzureClusterLocationnameAzureclusterString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + AzureCluster azureCluster = AzureCluster.newBuilder().build(); + String azureClusterId = "azureClusterId191689446"; + AzureCluster response = + azureClustersClient.createAzureClusterAsync(parent, azureCluster, azureClusterId).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazurecluster_locationnameazureclusterstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java new file mode 100644 index 0000000..18f2985 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazurecluster_stringazureclusterstring_sync] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncCreateAzureClusterStringAzureclusterString { + + public static void main(String[] args) throws Exception { + syncCreateAzureClusterStringAzureclusterString(); + } + + public static void syncCreateAzureClusterStringAzureclusterString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + AzureCluster azureCluster = AzureCluster.newBuilder().build(); + String azureClusterId = "azureClusterId191689446"; + AzureCluster response = + azureClustersClient.createAzureClusterAsync(parent, azureCluster, azureClusterId).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazurecluster_stringazureclusterstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePool.java new file mode 100644 index 0000000..6610ac6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePool.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazurenodepool_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.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest; +import com.google.longrunning.Operation; + +public class AsyncCreateAzureNodePool { + + public static void main(String[] args) throws Exception { + asyncCreateAzureNodePool(); + } + + public static void asyncCreateAzureNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + CreateAzureNodePoolRequest request = + CreateAzureNodePoolRequest.newBuilder() + .setParent( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setAzureNodePool(AzureNodePool.newBuilder().build()) + .setAzureNodePoolId("azureNodePoolId-1766264088") + .setValidateOnly(true) + .build(); + ApiFuture future = + azureClustersClient.createAzureNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazurenodepool_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePoolLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePoolLRO.java new file mode 100644 index 0000000..6481db5 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePoolLRO.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazurenodepool_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; + +public class AsyncCreateAzureNodePoolLRO { + + public static void main(String[] args) throws Exception { + asyncCreateAzureNodePoolLRO(); + } + + public static void asyncCreateAzureNodePoolLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + CreateAzureNodePoolRequest request = + CreateAzureNodePoolRequest.newBuilder() + .setParent( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setAzureNodePool(AzureNodePool.newBuilder().build()) + .setAzureNodePoolId("azureNodePoolId-1766264088") + .setValidateOnly(true) + .build(); + OperationFuture future = + azureClustersClient.createAzureNodePoolOperationCallable().futureCall(request); + // Do something. + AzureNodePool response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazurenodepool_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePool.java new file mode 100644 index 0000000..346ed1a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePool.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazurenodepool_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest; + +public class SyncCreateAzureNodePool { + + public static void main(String[] args) throws Exception { + syncCreateAzureNodePool(); + } + + public static void syncCreateAzureNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + CreateAzureNodePoolRequest request = + CreateAzureNodePoolRequest.newBuilder() + .setParent( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setAzureNodePool(AzureNodePool.newBuilder().build()) + .setAzureNodePoolId("azureNodePoolId-1766264088") + .setValidateOnly(true) + .build(); + AzureNodePool response = azureClustersClient.createAzureNodePoolAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazurenodepool_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java new file mode 100644 index 0000000..5d83303 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazurenodepool_azureclusternameazurenodepoolstring_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; + +public class SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString { + + public static void main(String[] args) throws Exception { + syncCreateAzureNodePoolAzureclusternameAzurenodepoolString(); + } + + public static void syncCreateAzureNodePoolAzureclusternameAzurenodepoolString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureClusterName parent = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + AzureNodePool azureNodePool = AzureNodePool.newBuilder().build(); + String azureNodePoolId = "azureNodePoolId-1766264088"; + AzureNodePool response = + azureClustersClient + .createAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId) + .get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazurenodepool_azureclusternameazurenodepoolstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java new file mode 100644 index 0000000..e3b2742 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_createazurenodepool_stringazurenodepoolstring_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; + +public class SyncCreateAzureNodePoolStringAzurenodepoolString { + + public static void main(String[] args) throws Exception { + syncCreateAzureNodePoolStringAzurenodepoolString(); + } + + public static void syncCreateAzureNodePoolStringAzurenodepoolString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String parent = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString(); + AzureNodePool azureNodePool = AzureNodePool.newBuilder().build(); + String azureNodePoolId = "azureNodePoolId-1766264088"; + AzureNodePool response = + azureClustersClient + .createAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId) + .get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_createazurenodepool_stringazurenodepoolstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClient.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClient.java new file mode 100644 index 0000000..0bb072d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClient.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazureclient_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureClientName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest; +import com.google.longrunning.Operation; + +public class AsyncDeleteAzureClient { + + public static void main(String[] args) throws Exception { + asyncDeleteAzureClient(); + } + + public static void asyncDeleteAzureClient() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + DeleteAzureClientRequest request = + DeleteAzureClientRequest.newBuilder() + .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) + .setAllowMissing(true) + .setValidateOnly(true) + .build(); + ApiFuture future = + azureClustersClient.deleteAzureClientCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazureclient_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClientLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClientLRO.java new file mode 100644 index 0000000..00c8718 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClientLRO.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazureclient_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AzureClientName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.protobuf.Empty; + +public class AsyncDeleteAzureClientLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteAzureClientLRO(); + } + + public static void asyncDeleteAzureClientLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + DeleteAzureClientRequest request = + DeleteAzureClientRequest.newBuilder() + .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) + .setAllowMissing(true) + .setValidateOnly(true) + .build(); + OperationFuture future = + azureClustersClient.deleteAzureClientOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazureclient_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClient.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClient.java new file mode 100644 index 0000000..df1e726 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClient.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazureclient_sync] +import com.google.cloud.gkemulticloud.v1.AzureClientName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest; +import com.google.protobuf.Empty; + +public class SyncDeleteAzureClient { + + public static void main(String[] args) throws Exception { + syncDeleteAzureClient(); + } + + public static void syncDeleteAzureClient() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + DeleteAzureClientRequest request = + DeleteAzureClientRequest.newBuilder() + .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) + .setAllowMissing(true) + .setValidateOnly(true) + .build(); + azureClustersClient.deleteAzureClientAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazureclient_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientAzureclientname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientAzureclientname.java new file mode 100644 index 0000000..2df7f7c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientAzureclientname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazureclient_azureclientname_sync] +import com.google.cloud.gkemulticloud.v1.AzureClientName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.protobuf.Empty; + +public class SyncDeleteAzureClientAzureclientname { + + public static void main(String[] args) throws Exception { + syncDeleteAzureClientAzureclientname(); + } + + public static void syncDeleteAzureClientAzureclientname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureClientName name = AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"); + azureClustersClient.deleteAzureClientAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazureclient_azureclientname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientString.java new file mode 100644 index 0000000..5ac317c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazureclient_string_sync] +import com.google.cloud.gkemulticloud.v1.AzureClientName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.protobuf.Empty; + +public class SyncDeleteAzureClientString { + + public static void main(String[] args) throws Exception { + syncDeleteAzureClientString(); + } + + public static void syncDeleteAzureClientString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String name = AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString(); + azureClustersClient.deleteAzureClientAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazureclient_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureCluster.java new file mode 100644 index 0000000..a7b8e20 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureCluster.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazurecluster_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.DeleteAzureClusterRequest; +import com.google.longrunning.Operation; + +public class AsyncDeleteAzureCluster { + + public static void main(String[] args) throws Exception { + asyncDeleteAzureCluster(); + } + + public static void asyncDeleteAzureCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + DeleteAzureClusterRequest request = + DeleteAzureClusterRequest.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setAllowMissing(true) + .setValidateOnly(true) + .setEtag("etag3123477") + .build(); + ApiFuture future = + azureClustersClient.deleteAzureClusterCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazurecluster_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureClusterLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureClusterLRO.java new file mode 100644 index 0000000..f7a2a73 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureClusterLRO.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazurecluster_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.protobuf.Empty; + +public class AsyncDeleteAzureClusterLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteAzureClusterLRO(); + } + + public static void asyncDeleteAzureClusterLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + DeleteAzureClusterRequest request = + DeleteAzureClusterRequest.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setAllowMissing(true) + .setValidateOnly(true) + .setEtag("etag3123477") + .build(); + OperationFuture future = + azureClustersClient.deleteAzureClusterOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazurecluster_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureCluster.java new file mode 100644 index 0000000..258ffd2 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureCluster.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazurecluster_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest; +import com.google.protobuf.Empty; + +public class SyncDeleteAzureCluster { + + public static void main(String[] args) throws Exception { + syncDeleteAzureCluster(); + } + + public static void syncDeleteAzureCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + DeleteAzureClusterRequest request = + DeleteAzureClusterRequest.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setAllowMissing(true) + .setValidateOnly(true) + .setEtag("etag3123477") + .build(); + azureClustersClient.deleteAzureClusterAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazurecluster_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java new file mode 100644 index 0000000..ecd35d5 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazurecluster_azureclustername_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.protobuf.Empty; + +public class SyncDeleteAzureClusterAzureclustername { + + public static void main(String[] args) throws Exception { + syncDeleteAzureClusterAzureclustername(); + } + + public static void syncDeleteAzureClusterAzureclustername() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureClusterName name = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + azureClustersClient.deleteAzureClusterAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazurecluster_azureclustername_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterString.java new file mode 100644 index 0000000..44c167c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazurecluster_string_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.protobuf.Empty; + +public class SyncDeleteAzureClusterString { + + public static void main(String[] args) throws Exception { + syncDeleteAzureClusterString(); + } + + public static void syncDeleteAzureClusterString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String name = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString(); + azureClustersClient.deleteAzureClusterAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazurecluster_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePool.java new file mode 100644 index 0000000..b30f383 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePool.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazurenodepool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePoolName; +import com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest; +import com.google.longrunning.Operation; + +public class AsyncDeleteAzureNodePool { + + public static void main(String[] args) throws Exception { + asyncDeleteAzureNodePool(); + } + + public static void asyncDeleteAzureNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + DeleteAzureNodePoolRequest request = + DeleteAzureNodePoolRequest.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .setValidateOnly(true) + .setAllowMissing(true) + .setEtag("etag3123477") + .build(); + ApiFuture future = + azureClustersClient.deleteAzureNodePoolCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazurenodepool_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java new file mode 100644 index 0000000..31a4bdc --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazurenodepool_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePoolName; +import com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.protobuf.Empty; + +public class AsyncDeleteAzureNodePoolLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteAzureNodePoolLRO(); + } + + public static void asyncDeleteAzureNodePoolLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + DeleteAzureNodePoolRequest request = + DeleteAzureNodePoolRequest.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .setValidateOnly(true) + .setAllowMissing(true) + .setEtag("etag3123477") + .build(); + OperationFuture future = + azureClustersClient.deleteAzureNodePoolOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazurenodepool_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePool.java new file mode 100644 index 0000000..bbafcd0 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePool.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazurenodepool_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePoolName; +import com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest; +import com.google.protobuf.Empty; + +public class SyncDeleteAzureNodePool { + + public static void main(String[] args) throws Exception { + syncDeleteAzureNodePool(); + } + + public static void syncDeleteAzureNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + DeleteAzureNodePoolRequest request = + DeleteAzureNodePoolRequest.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .setValidateOnly(true) + .setAllowMissing(true) + .setEtag("etag3123477") + .build(); + azureClustersClient.deleteAzureNodePoolAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazurenodepool_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java new file mode 100644 index 0000000..1764166 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazurenodepool_azurenodepoolname_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePoolName; +import com.google.protobuf.Empty; + +public class SyncDeleteAzureNodePoolAzurenodepoolname { + + public static void main(String[] args) throws Exception { + syncDeleteAzureNodePoolAzurenodepoolname(); + } + + public static void syncDeleteAzureNodePoolAzurenodepoolname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureNodePoolName name = + AzureNodePoolName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"); + azureClustersClient.deleteAzureNodePoolAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazurenodepool_azurenodepoolname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolString.java new file mode 100644 index 0000000..b3ad945 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_deleteazurenodepool_string_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePoolName; +import com.google.protobuf.Empty; + +public class SyncDeleteAzureNodePoolString { + + public static void main(String[] args) throws Exception { + syncDeleteAzureNodePoolString(); + } + + public static void syncDeleteAzureNodePoolString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String name = + AzureNodePoolName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString(); + azureClustersClient.deleteAzureNodePoolAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_deleteazurenodepool_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java new file mode 100644 index 0000000..c08a905 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_generateazureaccesstoken_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.GenerateAzureAccessTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse; + +public class AsyncGenerateAzureAccessToken { + + public static void main(String[] args) throws Exception { + asyncGenerateAzureAccessToken(); + } + + public static void asyncGenerateAzureAccessToken() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GenerateAzureAccessTokenRequest request = + GenerateAzureAccessTokenRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .build(); + ApiFuture future = + azureClustersClient.generateAzureAccessTokenCallable().futureCall(request); + // Do something. + GenerateAzureAccessTokenResponse response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_generateazureaccesstoken_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/SyncGenerateAzureAccessToken.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/SyncGenerateAzureAccessToken.java new file mode 100644 index 0000000..cf3099f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/SyncGenerateAzureAccessToken.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_generateazureaccesstoken_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse; + +public class SyncGenerateAzureAccessToken { + + public static void main(String[] args) throws Exception { + syncGenerateAzureAccessToken(); + } + + public static void syncGenerateAzureAccessToken() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GenerateAzureAccessTokenRequest request = + GenerateAzureAccessTokenRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .build(); + GenerateAzureAccessTokenResponse response = + azureClustersClient.generateAzureAccessToken(request); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_generateazureaccesstoken_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/AsyncGetAzureClient.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/AsyncGetAzureClient.java new file mode 100644 index 0000000..0bf9b06 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/AsyncGetAzureClient.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazureclient_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClientName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.GetAzureClientRequest; + +public class AsyncGetAzureClient { + + public static void main(String[] args) throws Exception { + asyncGetAzureClient(); + } + + public static void asyncGetAzureClient() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureClientRequest request = + GetAzureClientRequest.newBuilder() + .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) + .build(); + ApiFuture future = + azureClustersClient.getAzureClientCallable().futureCall(request); + // Do something. + AzureClient response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazureclient_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClient.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClient.java new file mode 100644 index 0000000..e6a4fee --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClient.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazureclient_sync] +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClientName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.GetAzureClientRequest; + +public class SyncGetAzureClient { + + public static void main(String[] args) throws Exception { + syncGetAzureClient(); + } + + public static void syncGetAzureClient() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureClientRequest request = + GetAzureClientRequest.newBuilder() + .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) + .build(); + AzureClient response = azureClustersClient.getAzureClient(request); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazureclient_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientAzureclientname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientAzureclientname.java new file mode 100644 index 0000000..ceb053f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientAzureclientname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazureclient_azureclientname_sync] +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClientName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; + +public class SyncGetAzureClientAzureclientname { + + public static void main(String[] args) throws Exception { + syncGetAzureClientAzureclientname(); + } + + public static void syncGetAzureClientAzureclientname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureClientName name = AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"); + AzureClient response = azureClustersClient.getAzureClient(name); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazureclient_azureclientname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientString.java new file mode 100644 index 0000000..d425e09 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazureclient_string_sync] +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClientName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; + +public class SyncGetAzureClientString { + + public static void main(String[] args) throws Exception { + syncGetAzureClientString(); + } + + public static void syncGetAzureClientString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String name = AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString(); + AzureClient response = azureClustersClient.getAzureClient(name); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazureclient_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/AsyncGetAzureCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/AsyncGetAzureCluster.java new file mode 100644 index 0000000..ca57c9b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/AsyncGetAzureCluster.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazurecluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest; + +public class AsyncGetAzureCluster { + + public static void main(String[] args) throws Exception { + asyncGetAzureCluster(); + } + + public static void asyncGetAzureCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureClusterRequest request = + GetAzureClusterRequest.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .build(); + ApiFuture future = + azureClustersClient.getAzureClusterCallable().futureCall(request); + // Do something. + AzureCluster response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazurecluster_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureCluster.java new file mode 100644 index 0000000..37d615f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureCluster.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazurecluster_sync] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest; + +public class SyncGetAzureCluster { + + public static void main(String[] args) throws Exception { + syncGetAzureCluster(); + } + + public static void syncGetAzureCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureClusterRequest request = + GetAzureClusterRequest.newBuilder() + .setName(AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .build(); + AzureCluster response = azureClustersClient.getAzureCluster(request); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazurecluster_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterAzureclustername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterAzureclustername.java new file mode 100644 index 0000000..37fe7bc --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterAzureclustername.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazurecluster_azureclustername_sync] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; + +public class SyncGetAzureClusterAzureclustername { + + public static void main(String[] args) throws Exception { + syncGetAzureClusterAzureclustername(); + } + + public static void syncGetAzureClusterAzureclustername() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureClusterName name = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + AzureCluster response = azureClustersClient.getAzureCluster(name); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazurecluster_azureclustername_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterString.java new file mode 100644 index 0000000..e533e84 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazurecluster_string_sync] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; + +public class SyncGetAzureClusterString { + + public static void main(String[] args) throws Exception { + syncGetAzureClusterString(); + } + + public static void syncGetAzureClusterString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String name = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString(); + AzureCluster response = azureClustersClient.getAzureCluster(name); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazurecluster_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/AsyncGetAzureNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/AsyncGetAzureNodePool.java new file mode 100644 index 0000000..2645713 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/AsyncGetAzureNodePool.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazurenodepool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.AzureNodePoolName; +import com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest; + +public class AsyncGetAzureNodePool { + + public static void main(String[] args) throws Exception { + asyncGetAzureNodePool(); + } + + public static void asyncGetAzureNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureNodePoolRequest request = + GetAzureNodePoolRequest.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .build(); + ApiFuture future = + azureClustersClient.getAzureNodePoolCallable().futureCall(request); + // Do something. + AzureNodePool response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazurenodepool_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePool.java new file mode 100644 index 0000000..2429727 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePool.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazurenodepool_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.AzureNodePoolName; +import com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest; + +public class SyncGetAzureNodePool { + + public static void main(String[] args) throws Exception { + syncGetAzureNodePool(); + } + + public static void syncGetAzureNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureNodePoolRequest request = + GetAzureNodePoolRequest.newBuilder() + .setName( + AzureNodePoolName.of( + "[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString()) + .build(); + AzureNodePool response = azureClustersClient.getAzureNodePool(request); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazurenodepool_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java new file mode 100644 index 0000000..724f0dc --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazurenodepool_azurenodepoolname_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.AzureNodePoolName; + +public class SyncGetAzureNodePoolAzurenodepoolname { + + public static void main(String[] args) throws Exception { + syncGetAzureNodePoolAzurenodepoolname(); + } + + public static void syncGetAzureNodePoolAzurenodepoolname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureNodePoolName name = + AzureNodePoolName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"); + AzureNodePool response = azureClustersClient.getAzureNodePool(name); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazurenodepool_azurenodepoolname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolString.java new file mode 100644 index 0000000..c1d477c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazurenodepool_string_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.AzureNodePoolName; + +public class SyncGetAzureNodePoolString { + + public static void main(String[] args) throws Exception { + syncGetAzureNodePoolString(); + } + + public static void syncGetAzureNodePoolString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String name = + AzureNodePoolName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]") + .toString(); + AzureNodePool response = azureClustersClient.getAzureNodePool(name); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazurenodepool_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/AsyncGetAzureServerConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/AsyncGetAzureServerConfig.java new file mode 100644 index 0000000..1cd0b9c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/AsyncGetAzureServerConfig.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazureserverconfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureServerConfig; +import com.google.cloud.gkemulticloud.v1.AzureServerConfigName; +import com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest; + +public class AsyncGetAzureServerConfig { + + public static void main(String[] args) throws Exception { + asyncGetAzureServerConfig(); + } + + public static void asyncGetAzureServerConfig() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureServerConfigRequest request = + GetAzureServerConfigRequest.newBuilder() + .setName(AzureServerConfigName.of("[PROJECT]", "[LOCATION]").toString()) + .build(); + ApiFuture future = + azureClustersClient.getAzureServerConfigCallable().futureCall(request); + // Do something. + AzureServerConfig response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazureserverconfig_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfig.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfig.java new file mode 100644 index 0000000..09c0cd1 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfig.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazureserverconfig_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureServerConfig; +import com.google.cloud.gkemulticloud.v1.AzureServerConfigName; +import com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest; + +public class SyncGetAzureServerConfig { + + public static void main(String[] args) throws Exception { + syncGetAzureServerConfig(); + } + + public static void syncGetAzureServerConfig() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureServerConfigRequest request = + GetAzureServerConfigRequest.newBuilder() + .setName(AzureServerConfigName.of("[PROJECT]", "[LOCATION]").toString()) + .build(); + AzureServerConfig response = azureClustersClient.getAzureServerConfig(request); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazureserverconfig_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java new file mode 100644 index 0000000..ceca057 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazureserverconfig_azureserverconfigname_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureServerConfig; +import com.google.cloud.gkemulticloud.v1.AzureServerConfigName; + +public class SyncGetAzureServerConfigAzureserverconfigname { + + public static void main(String[] args) throws Exception { + syncGetAzureServerConfigAzureserverconfigname(); + } + + public static void syncGetAzureServerConfigAzureserverconfigname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureServerConfigName name = AzureServerConfigName.of("[PROJECT]", "[LOCATION]"); + AzureServerConfig response = azureClustersClient.getAzureServerConfig(name); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazureserverconfig_azureserverconfigname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigString.java new file mode 100644 index 0000000..9685e4a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_getazureserverconfig_string_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureServerConfig; +import com.google.cloud.gkemulticloud.v1.AzureServerConfigName; + +public class SyncGetAzureServerConfigString { + + public static void main(String[] args) throws Exception { + syncGetAzureServerConfigString(); + } + + public static void syncGetAzureServerConfigString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String name = AzureServerConfigName.of("[PROJECT]", "[LOCATION]").toString(); + AzureServerConfig response = azureClustersClient.getAzureServerConfig(name); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_getazureserverconfig_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClients.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClients.java new file mode 100644 index 0000000..4d808df --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClients.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazureclients_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class AsyncListAzureClients { + + public static void main(String[] args) throws Exception { + asyncListAzureClients(); + } + + public static void asyncListAzureClients() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + ListAzureClientsRequest request = + ListAzureClientsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + azureClustersClient.listAzureClientsPagedCallable().futureCall(request); + // Do something. + for (AzureClient element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazureclients_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClientsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClientsPaged.java new file mode 100644 index 0000000..9ce4b48 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClientsPaged.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazureclients_paged_async] +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest; +import com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse; +import com.google.cloud.gkemulticloud.v1.LocationName; +import com.google.common.base.Strings; + +public class AsyncListAzureClientsPaged { + + public static void main(String[] args) throws Exception { + asyncListAzureClientsPaged(); + } + + public static void asyncListAzureClientsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + ListAzureClientsRequest request = + ListAzureClientsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListAzureClientsResponse response = + azureClustersClient.listAzureClientsCallable().call(request); + for (AzureClient element : response.getAzureClientsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazureclients_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClients.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClients.java new file mode 100644 index 0000000..4793319 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClients.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazureclients_sync] +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncListAzureClients { + + public static void main(String[] args) throws Exception { + syncListAzureClients(); + } + + public static void syncListAzureClients() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + ListAzureClientsRequest request = + ListAzureClientsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (AzureClient element : azureClustersClient.listAzureClients(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazureclients_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsLocationname.java new file mode 100644 index 0000000..9ceacf6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsLocationname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazureclients_locationname_sync] +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncListAzureClientsLocationname { + + public static void main(String[] args) throws Exception { + syncListAzureClientsLocationname(); + } + + public static void syncListAzureClientsLocationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (AzureClient element : azureClustersClient.listAzureClients(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazureclients_locationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsString.java new file mode 100644 index 0000000..27721fc --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazureclients_string_sync] +import com.google.cloud.gkemulticloud.v1.AzureClient; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncListAzureClientsString { + + public static void main(String[] args) throws Exception { + syncListAzureClientsString(); + } + + public static void syncListAzureClientsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + for (AzureClient element : azureClustersClient.listAzureClients(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazureclients_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClusters.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClusters.java new file mode 100644 index 0000000..a033d1f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClusters.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazureclusters_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class AsyncListAzureClusters { + + public static void main(String[] args) throws Exception { + asyncListAzureClusters(); + } + + public static void asyncListAzureClusters() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + ListAzureClustersRequest request = + ListAzureClustersRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + azureClustersClient.listAzureClustersPagedCallable().futureCall(request); + // Do something. + for (AzureCluster element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazureclusters_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClustersPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClustersPaged.java new file mode 100644 index 0000000..379bcb1 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClustersPaged.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazureclusters_paged_async] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest; +import com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse; +import com.google.cloud.gkemulticloud.v1.LocationName; +import com.google.common.base.Strings; + +public class AsyncListAzureClustersPaged { + + public static void main(String[] args) throws Exception { + asyncListAzureClustersPaged(); + } + + public static void asyncListAzureClustersPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + ListAzureClustersRequest request = + ListAzureClustersRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListAzureClustersResponse response = + azureClustersClient.listAzureClustersCallable().call(request); + for (AzureCluster element : response.getAzureClustersList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazureclusters_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClusters.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClusters.java new file mode 100644 index 0000000..11d421e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClusters.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazureclusters_sync] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncListAzureClusters { + + public static void main(String[] args) throws Exception { + syncListAzureClusters(); + } + + public static void syncListAzureClusters() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + ListAzureClustersRequest request = + ListAzureClustersRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (AzureCluster element : azureClustersClient.listAzureClusters(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazureclusters_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersLocationname.java new file mode 100644 index 0000000..0681f36 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersLocationname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazureclusters_locationname_sync] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncListAzureClustersLocationname { + + public static void main(String[] args) throws Exception { + syncListAzureClustersLocationname(); + } + + public static void syncListAzureClustersLocationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (AzureCluster element : azureClustersClient.listAzureClusters(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazureclusters_locationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersString.java new file mode 100644 index 0000000..638edd7 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazureclusters_string_sync] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.LocationName; + +public class SyncListAzureClustersString { + + public static void main(String[] args) throws Exception { + syncListAzureClustersString(); + } + + public static void syncListAzureClustersString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + for (AzureCluster element : azureClustersClient.listAzureClusters(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazureclusters_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePools.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePools.java new file mode 100644 index 0000000..bf2b761 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePools.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazurenodepools_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.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest; + +public class AsyncListAzureNodePools { + + public static void main(String[] args) throws Exception { + asyncListAzureNodePools(); + } + + public static void asyncListAzureNodePools() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + ListAzureNodePoolsRequest request = + ListAzureNodePoolsRequest.newBuilder() + .setParent( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + azureClustersClient.listAzureNodePoolsPagedCallable().futureCall(request); + // Do something. + for (AzureNodePool element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazurenodepools_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePoolsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePoolsPaged.java new file mode 100644 index 0000000..7313702 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePoolsPaged.java @@ -0,0 +1,60 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazurenodepools_paged_async] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest; +import com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse; +import com.google.common.base.Strings; + +public class AsyncListAzureNodePoolsPaged { + + public static void main(String[] args) throws Exception { + asyncListAzureNodePoolsPaged(); + } + + public static void asyncListAzureNodePoolsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + ListAzureNodePoolsRequest request = + ListAzureNodePoolsRequest.newBuilder() + .setParent( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListAzureNodePoolsResponse response = + azureClustersClient.listAzureNodePoolsCallable().call(request); + for (AzureNodePool element : response.getAzureNodePoolsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazurenodepools_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePools.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePools.java new file mode 100644 index 0000000..ac05fcd --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePools.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazurenodepools_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest; + +public class SyncListAzureNodePools { + + public static void main(String[] args) throws Exception { + syncListAzureNodePools(); + } + + public static void syncListAzureNodePools() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + ListAzureNodePoolsRequest request = + ListAzureNodePoolsRequest.newBuilder() + .setParent( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (AzureNodePool element : azureClustersClient.listAzureNodePools(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazurenodepools_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java new file mode 100644 index 0000000..d336d5e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazurenodepools_azureclustername_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; + +public class SyncListAzureNodePoolsAzureclustername { + + public static void main(String[] args) throws Exception { + syncListAzureNodePoolsAzureclustername(); + } + + public static void syncListAzureNodePoolsAzureclustername() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureClusterName parent = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + for (AzureNodePool element : azureClustersClient.listAzureNodePools(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazurenodepools_azureclustername_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsString.java new file mode 100644 index 0000000..3500b71 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_listazurenodepools_string_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; + +public class SyncListAzureNodePoolsString { + + public static void main(String[] args) throws Exception { + syncListAzureNodePoolsString(); + } + + public static void syncListAzureNodePoolsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String parent = AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString(); + for (AzureNodePool element : azureClustersClient.listAzureNodePools(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_listazurenodepools_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureCluster.java new file mode 100644 index 0000000..f705919 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureCluster.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_updateazurecluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateAzureCluster { + + public static void main(String[] args) throws Exception { + asyncUpdateAzureCluster(); + } + + public static void asyncUpdateAzureCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + UpdateAzureClusterRequest request = + UpdateAzureClusterRequest.newBuilder() + .setAzureCluster(AzureCluster.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + azureClustersClient.updateAzureClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_updateazurecluster_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureClusterLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureClusterLRO.java new file mode 100644 index 0000000..44431d3 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureClusterLRO.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_updateazurecluster_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateAzureClusterLRO { + + public static void main(String[] args) throws Exception { + asyncUpdateAzureClusterLRO(); + } + + public static void asyncUpdateAzureClusterLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + UpdateAzureClusterRequest request = + UpdateAzureClusterRequest.newBuilder() + .setAzureCluster(AzureCluster.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + OperationFuture future = + azureClustersClient.updateAzureClusterOperationCallable().futureCall(request); + // Do something. + AzureCluster response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_updateazurecluster_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureCluster.java new file mode 100644 index 0000000..5e4fe5a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureCluster.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_updateazurecluster_sync] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateAzureCluster { + + public static void main(String[] args) throws Exception { + syncUpdateAzureCluster(); + } + + public static void syncUpdateAzureCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + UpdateAzureClusterRequest request = + UpdateAzureClusterRequest.newBuilder() + .setAzureCluster(AzureCluster.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + AzureCluster response = azureClustersClient.updateAzureClusterAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_updateazurecluster_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java new file mode 100644 index 0000000..a8696ff --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_updateazurecluster_azureclusterfieldmask_sync] +import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.protobuf.FieldMask; + +public class SyncUpdateAzureClusterAzureclusterFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateAzureClusterAzureclusterFieldmask(); + } + + public static void syncUpdateAzureClusterAzureclusterFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureCluster azureCluster = AzureCluster.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + AzureCluster response = + azureClustersClient.updateAzureClusterAsync(azureCluster, updateMask).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_updateazurecluster_azureclusterfieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePool.java new file mode 100644 index 0000000..d9f7745 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePool.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_updateazurenodepool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateAzureNodePool { + + public static void main(String[] args) throws Exception { + asyncUpdateAzureNodePool(); + } + + public static void asyncUpdateAzureNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + UpdateAzureNodePoolRequest request = + UpdateAzureNodePoolRequest.newBuilder() + .setAzureNodePool(AzureNodePool.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + azureClustersClient.updateAzureNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_updateazurenodepool_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java new file mode 100644 index 0000000..1264248 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_updateazurenodepool_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateAzureNodePoolLRO { + + public static void main(String[] args) throws Exception { + asyncUpdateAzureNodePoolLRO(); + } + + public static void asyncUpdateAzureNodePoolLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + UpdateAzureNodePoolRequest request = + UpdateAzureNodePoolRequest.newBuilder() + .setAzureNodePool(AzureNodePool.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + OperationFuture future = + azureClustersClient.updateAzureNodePoolOperationCallable().futureCall(request); + // Do something. + AzureNodePool response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_updateazurenodepool_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePool.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePool.java new file mode 100644 index 0000000..0ea8916 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePool.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_updateazurenodepool_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateAzureNodePool { + + public static void main(String[] args) throws Exception { + syncUpdateAzureNodePool(); + } + + public static void syncUpdateAzureNodePool() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + UpdateAzureNodePoolRequest request = + UpdateAzureNodePoolRequest.newBuilder() + .setAzureNodePool(AzureNodePool.newBuilder().build()) + .setValidateOnly(true) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + AzureNodePool response = azureClustersClient.updateAzureNodePoolAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_updateazurenodepool_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java new file mode 100644 index 0000000..068b965 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclustersclient_updateazurenodepool_azurenodepoolfieldmask_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.protobuf.FieldMask; + +public class SyncUpdateAzureNodePoolAzurenodepoolFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateAzureNodePoolAzurenodepoolFieldmask(); + } + + public static void syncUpdateAzureNodePoolAzurenodepoolFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureNodePool azureNodePool = AzureNodePool.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + AzureNodePool response = + azureClustersClient.updateAzureNodePoolAsync(azureNodePool, updateMask).get(); + } + } +} +// [END gkemulticloud_v1_generated_azureclustersclient_updateazurenodepool_azurenodepoolfieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java new file mode 100644 index 0000000..280a43c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_azureclusterssettings_getazureclient_sync] +import com.google.cloud.gkemulticloud.v1.AzureClustersSettings; +import java.time.Duration; + +public class SyncGetAzureClient { + + public static void main(String[] args) throws Exception { + syncGetAzureClient(); + } + + public static void syncGetAzureClient() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + AzureClustersSettings.Builder azureClustersSettingsBuilder = AzureClustersSettings.newBuilder(); + azureClustersSettingsBuilder + .getAzureClientSettings() + .setRetrySettings( + azureClustersSettingsBuilder + .getAzureClientSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + AzureClustersSettings azureClustersSettings = azureClustersSettingsBuilder.build(); + } +} +// [END gkemulticloud_v1_generated_azureclusterssettings_getazureclient_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java new file mode 100644 index 0000000..d464022 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.stub.samples; + +// [START gkemulticloud_v1_generated_awsclustersstubsettings_getawscluster_sync] +import com.google.cloud.gkemulticloud.v1.stub.AwsClustersStubSettings; +import java.time.Duration; + +public class SyncGetAwsCluster { + + public static void main(String[] args) throws Exception { + syncGetAwsCluster(); + } + + public static void syncGetAwsCluster() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + AwsClustersStubSettings.Builder awsClustersSettingsBuilder = + AwsClustersStubSettings.newBuilder(); + awsClustersSettingsBuilder + .getAwsClusterSettings() + .setRetrySettings( + awsClustersSettingsBuilder + .getAwsClusterSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + AwsClustersStubSettings awsClustersSettings = awsClustersSettingsBuilder.build(); + } +} +// [END gkemulticloud_v1_generated_awsclustersstubsettings_getawscluster_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java new file mode 100644 index 0000000..3f10e3a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.stub.samples; + +// [START gkemulticloud_v1_generated_azureclustersstubsettings_getazureclient_sync] +import com.google.cloud.gkemulticloud.v1.stub.AzureClustersStubSettings; +import java.time.Duration; + +public class SyncGetAzureClient { + + public static void main(String[] args) throws Exception { + syncGetAzureClient(); + } + + public static void syncGetAzureClient() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + AzureClustersStubSettings.Builder azureClustersSettingsBuilder = + AzureClustersStubSettings.newBuilder(); + azureClustersSettingsBuilder + .getAzureClientSettings() + .setRetrySettings( + azureClustersSettingsBuilder + .getAzureClientSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + AzureClustersStubSettings azureClustersSettings = azureClustersSettingsBuilder.build(); + } +} +// [END gkemulticloud_v1_generated_azureclustersstubsettings_getazureclient_sync] diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java deleted file mode 100644 index 5dec536..0000000 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java deleted file mode 100644 index 96d0583..0000000 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java deleted file mode 100644 index 0415142..0000000 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java +++ /dev/null @@ -1,531 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; - - 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\"\260\t\n\nAwsClu" - + "ster\022\014\n\004name\030\001 \001(\t\022\030\n\013description\030\002 \001(\tB" - + "\003\340A\001\022L\n\nnetworking\030\003 \001(\01323.google.cloud." - + "gkemulticloud.v1.AwsClusterNetworkingB\003\340" - + "A\002\022\027\n\naws_region\030\004 \001(\tB\003\340A\002\022J\n\rcontrol_p" - + "lane\030\005 \001(\0132..google.cloud.gkemulticloud." - + "v1.AwsControlPlaneB\003\340A\002\022K\n\rauthorization" - + "\030\017 \001(\0132/.google.cloud.gkemulticloud.v1.A" - + "wsAuthorizationB\003\340A\002\022C\n\005state\030\007 \001(\0162/.go" - + "ogle.cloud.gkemulticloud.v1.AwsCluster.S" - + "tateB\003\340A\003\022\025\n\010endpoint\030\010 \001(\tB\003\340A\003\022\020\n\003uid\030" - + "\t \001(\tB\003\340A\003\022\030\n\013reconciling\030\n \001(\010B\003\340A\003\0224\n\013" - + "create_time\030\013 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0224\n\013update_time\030\014 \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\003\022\014\n\004etag\030\r \001(\t\022T" - + "\n\013annotations\030\016 \003(\0132:.google.cloud.gkemu" - + "lticloud.v1.AwsCluster.AnnotationsEntryB" - + "\003\340A\001\022\\\n\030workload_identity_config\030\020 \001(\01325" - + ".google.cloud.gkemulticloud.v1.WorkloadI" - + "dentityConfigB\003\340A\003\022#\n\026cluster_ca_certifi" - + "cate\030\021 \001(\tB\003\340A\003\0228\n\005fleet\030\022 \001(\0132$.google." - + "cloud.gkemulticloud.v1.FleetB\003\340A\001\022I\n\016log" - + "ging_config\030\023 \001(\0132,.google.cloud.gkemult" - + "icloud.v1.LoggingConfigB\003\340A\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}\"\250\007\n\017Aws" - + "ControlPlane\022\024\n\007version\030\001 \001(\tB\003\340A\002\022\032\n\rin" - + "stance_type\030\002 \001(\tB\003\340A\001\022D\n\nssh_config\030\016 \001" - + "(\0132+.google.cloud.gkemulticloud.v1.AwsSs" - + "hConfigB\003\340A\001\022\027\n\nsubnet_ids\030\004 \003(\tB\003\340A\002\022\037\n" - + "\022security_group_ids\030\005 \003(\tB\003\340A\001\022!\n\024iam_in" - + "stance_profile\030\007 \001(\tB\003\340A\002\022J\n\013root_volume" - + "\030\010 \001(\01320.google.cloud.gkemulticloud.v1.A" - + "wsVolumeTemplateB\003\340A\001\022J\n\013main_volume\030\t \001" - + "(\01320.google.cloud.gkemulticloud.v1.AwsVo" - + "lumeTemplateB\003\340A\001\022V\n\023database_encryption" - + "\030\n \001(\01324.google.cloud.gkemulticloud.v1.A" - + "wsDatabaseEncryptionB\003\340A\002\022K\n\004tags\030\013 \003(\0132" - + "8.google.cloud.gkemulticloud.v1.AwsContr" - + "olPlane.TagsEntryB\003\340A\001\022b\n\033aws_services_a" - + "uthentication\030\014 \001(\01328.google.cloud.gkemu" - + "lticloud.v1.AwsServicesAuthenticationB\003\340" - + "A\002\022H\n\014proxy_config\030\020 \001(\0132-.google.cloud." - + "gkemulticloud.v1.AwsProxyConfigB\003\340A\001\022R\n\021" - + "config_encryption\030\021 \001(\01322.google.cloud.g" - + "kemulticloud.v1.AwsConfigEncryptionB\003\340A\002" - + "\022T\n\022instance_placement\030\022 \001(\01323.google.cl" - + "oud.gkemulticloud.v1.AwsInstancePlacemen" - + "tB\003\340A\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001\"R\n\031AwsServicesAuthentication" - + "\022\025\n\010role_arn\030\001 \001(\tB\003\340A\002\022\036\n\021role_session_" - + "name\030\002 \001(\tB\003\340A\001\"[\n\020AwsAuthorization\022G\n\013a" - + "dmin_users\030\001 \003(\0132-.google.cloud.gkemulti" - + "cloud.v1.AwsClusterUserB\003\340A\002\"\'\n\016AwsClust" - + "erUser\022\025\n\010username\030\001 \001(\tB\003\340A\002\"1\n\025AwsData" - + "baseEncryption\022\030\n\013kms_key_arn\030\001 \001(\tB\003\340A\002" - + "\"\353\001\n\021AwsVolumeTemplate\022\025\n\010size_gib\030\001 \001(\005" - + "B\003\340A\001\022U\n\013volume_type\030\002 \001(\0162;.google.clou" - + "d.gkemulticloud.v1.AwsVolumeTemplate.Vol" - + "umeTypeB\003\340A\001\022\021\n\004iops\030\003 \001(\005B\003\340A\001\022\030\n\013kms_k" - + "ey_arn\030\004 \001(\tB\003\340A\001\";\n\nVolumeType\022\033\n\027VOLUM" - + "E_TYPE_UNSPECIFIED\020\000\022\007\n\003GP2\020\001\022\007\n\003GP3\020\002\"{" - + "\n\024AwsClusterNetworking\022\023\n\006vpc_id\030\001 \001(\tB\003" - + "\340A\002\022$\n\027pod_address_cidr_blocks\030\002 \003(\tB\003\340A" - + "\002\022(\n\033service_address_cidr_blocks\030\003 \003(\tB\003" - + "\340A\002\"\260\007\n\013AwsNodePool\022\014\n\004name\030\001 \001(\t\022\024\n\007ver" - + "sion\030\003 \001(\tB\003\340A\002\022A\n\006config\030\034 \001(\0132,.google" - + ".cloud.gkemulticloud.v1.AwsNodeConfigB\003\340" - + "A\002\022O\n\013autoscaling\030\031 \001(\01325.google.cloud.g" - + "kemulticloud.v1.AwsNodePoolAutoscalingB\003" - + "\340A\002\022\026\n\tsubnet_id\030\006 \001(\tB\003\340A\002\022D\n\005state\030\020 \001" - + "(\01620.google.cloud.gkemulticloud.v1.AwsNo" - + "dePool.StateB\003\340A\003\022\020\n\003uid\030\021 \001(\tB\003\340A\003\022\030\n\013r" - + "econciling\030\022 \001(\010B\003\340A\003\0224\n\013create_time\030\023 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" - + "pdate_time\030\024 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022\014\n\004etag\030\025 \001(\t\022U\n\013annotations\030\026" - + " \003(\0132;.google.cloud.gkemulticloud.v1.Aws" - + "NodePool.AnnotationsEntryB\003\340A\001\022R\n\023max_po" - + "ds_constraint\030\033 \001(\01320.google.cloud.gkemu" - + "lticloud.v1.MaxPodsConstraintB\003\340A\002\0322\n\020An" - + "notationsEntry\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\013RECONCI" - + "LING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRA" - + "DED\020\006:\216\001\352A\212\001\n(gkemulticloud.googleapis.c" - + "om/AwsNodePool\022^projects/{project}/locat" - + "ions/{location}/awsClusters/{aws_cluster" - + "}/awsNodePools/{aws_node_pool}\"\303\006\n\rAwsNo" - + "deConfig\022\032\n\rinstance_type\030\001 \001(\tB\003\340A\001\022J\n\013" - + "root_volume\030\002 \001(\01320.google.cloud.gkemult" - + "icloud.v1.AwsVolumeTemplateB\003\340A\001\022=\n\006tain" - + "ts\030\003 \003(\0132(.google.cloud.gkemulticloud.v1" - + ".NodeTaintB\003\340A\001\022M\n\006labels\030\004 \003(\01328.google" - + ".cloud.gkemulticloud.v1.AwsNodeConfig.La" - + "belsEntryB\003\340A\001\022I\n\004tags\030\005 \003(\01326.google.cl" - + "oud.gkemulticloud.v1.AwsNodeConfig.TagsE" - + "ntryB\003\340A\001\022!\n\024iam_instance_profile\030\006 \001(\tB" - + "\003\340A\002\022\027\n\nimage_type\030\013 \001(\tB\003\340A\001\022D\n\nssh_con" - + "fig\030\t \001(\0132+.google.cloud.gkemulticloud.v" - + "1.AwsSshConfigB\003\340A\001\022\037\n\022security_group_id" - + "s\030\n \003(\tB\003\340A\001\022H\n\014proxy_config\030\014 \001(\0132-.goo" - + "gle.cloud.gkemulticloud.v1.AwsProxyConfi" - + "gB\003\340A\001\022R\n\021config_encryption\030\r \001(\01322.goog" - + "le.cloud.gkemulticloud.v1.AwsConfigEncry" - + "ptionB\003\340A\002\022T\n\022instance_placement\030\016 \001(\01323" - + ".google.cloud.gkemulticloud.v1.AwsInstan" - + "cePlacementB\003\340A\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\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"R\n\026AwsNodeP" - + "oolAutoscaling\022\033\n\016min_node_count\030\001 \001(\005B\003" - + "\340A\002\022\033\n\016max_node_count\030\002 \001(\005B\003\340A\002\"\364\001\n\017Aws" - + "ServerConfig\022\014\n\004name\030\001 \001(\t\022H\n\016valid_vers" - + "ions\030\002 \003(\01320.google.cloud.gkemulticloud." - + "v1.AwsK8sVersionInfo\022\035\n\025supported_aws_re" - + "gions\030\003 \003(\t:j\352Ag\n,gkemulticloud.googleap" - + "is.com/AwsServerConfig\0227projects/{projec" - + "t}/locations/{location}/awsServerConfig\"" - + "$\n\021AwsK8sVersionInfo\022\017\n\007version\030\001 \001(\t\")\n" - + "\014AwsSshConfig\022\031\n\014ec2_key_pair\030\001 \001(\tB\003\340A\002" - + "\"<\n\016AwsProxyConfig\022\022\n\nsecret_arn\030\001 \001(\t\022\026" - + "\n\016secret_version\030\002 \001(\t\"/\n\023AwsConfigEncry" - + "ption\022\030\n\013kms_key_arn\030\001 \001(\tB\003\340A\002\"\263\001\n\024AwsI" - + "nstancePlacement\022Q\n\007tenancy\030\001 \001(\0162;.goog" - + "le.cloud.gkemulticloud.v1.AwsInstancePla" - + "cement.TenancyB\003\340A\002\"H\n\007Tenancy\022\027\n\023TENANC" - + "Y_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\r\n\tDEDICATE" - + "D\020\002\022\010\n\004HOST\020\003B\347\001\n!com.google.cloud.gkemu" - + "lticloud.v1B\021AwsResourcesProtoP\001ZJgoogle" - + ".golang.org/genproto/googleapis/cloud/gk" - + "emulticloud/v1;gkemulticloud\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.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", - }); - 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", - }); - 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", - }); - 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", - }); - 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java deleted file mode 100644 index 41e5639..0000000 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java +++ /dev/null @@ -1,393 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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\"\323\001\n\027Creat" - + "eAwsClusterRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372" - + "A)\022\'gkemulticloud.googleapis.com/AwsClus" - + "ter\022C\n\013aws_cluster\030\002 \001(\0132).google.cloud." - + "gkemulticloud.v1.AwsClusterB\003\340A\002\022\033\n\016aws_" - + "cluster_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalidate_only\030\004" - + " \001(\010\"\253\001\n\027UpdateAwsClusterRequest\022C\n\013aws_" - + "cluster\030\001 \001(\0132).google.cloud.gkemulticlo" - + "ud.v1.AwsClusterB\003\340A\002\022\025\n\rvalidate_only\030\002" - + " \001(\010\0224\n\013update_mask\030\004 \001(\0132\032.google.proto" - + "buf.FieldMaskB\003\340A\002\"U\n\024GetAwsClusterReque" - + "st\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'gkemulticloud." - + "googleapis.com/AwsCluster\"\200\001\n\026ListAwsClu" - + "stersRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'gk" - + "emulticloud.googleapis.com/AwsCluster\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"s\n\027" - + "ListAwsClustersResponse\022?\n\014aws_clusters\030" - + "\001 \003(\0132).google.cloud.gkemulticloud.v1.Aw" - + "sCluster\022\027\n\017next_page_token\030\002 \001(\t\"\224\001\n\027De" - + "leteAwsClusterRequest\022=\n\004name\030\001 \001(\tB/\340A\002" - + "\372A)\n\'gkemulticloud.googleapis.com/AwsClu" - + "ster\022\025\n\rvalidate_only\030\002 \001(\010\022\025\n\rallow_mis" - + "sing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\332\001\n\030CreateAwsNo" - + "dePoolRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(g" - + "kemulticloud.googleapis.com/AwsNodePool\022" - + "F\n\raws_node_pool\030\002 \001(\0132*.google.cloud.gk" - + "emulticloud.v1.AwsNodePoolB\003\340A\002\022\035\n\020aws_n" - + "ode_pool_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalidate_only\030" - + "\004 \001(\010\"\257\001\n\030UpdateAwsNodePoolRequest\022F\n\raw" - + "s_node_pool\030\001 \001(\0132*.google.cloud.gkemult" - + "icloud.v1.AwsNodePoolB\003\340A\002\022\025\n\rvalidate_o" - + "nly\030\002 \001(\010\0224\n\013update_mask\030\003 \001(\0132\032.google." - + "protobuf.FieldMaskB\003\340A\002\"W\n\025GetAwsNodePoo" - + "lRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(gkemulti" - + "cloud.googleapis.com/AwsNodePool\"\202\001\n\027Lis" - + "tAwsNodePoolsRequest\022@\n\006parent\030\001 \001(\tB0\340A" - + "\002\372A*\022(gkemulticloud.googleapis.com/AwsNo" - + "dePool\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" - + "\003 \001(\t\"w\n\030ListAwsNodePoolsResponse\022B\n\016aws" - + "_node_pools\030\001 \003(\0132*.google.cloud.gkemult" - + "icloud.v1.AwsNodePool\022\027\n\017next_page_token" - + "\030\002 \001(\t\"\226\001\n\030DeleteAwsNodePoolRequest\022>\n\004n" - + "ame\030\001 \001(\tB0\340A\002\372A*\n(gkemulticloud.googlea" - + "pis.com/AwsNodePool\022\025\n\rvalidate_only\030\002 \001" - + "(\010\022\025\n\rallow_missing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"" - + "_\n\031GetAwsServerConfigRequest\022B\n\004name\030\001 \001" - + "(\tB4\340A\002\372A.\n,gkemulticloud.googleapis.com" - + "/AwsServerConfig\"e\n\035GenerateAwsAccessTok" - + "enRequest\022D\n\013aws_cluster\030\001 \001(\tB/\340A\002\372A)\n\'" - + "gkemulticloud.googleapis.com/AwsCluster\"" - + "u\n\036GenerateAwsAccessTokenResponse\022\031\n\014acc" - + "ess_token\030\001 \001(\tB\003\340A\003\0228\n\017expiration_time\030" - + "\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\0032\376" - + "\025\n\013AwsClusters\022\366\001\n\020CreateAwsCluster\0226.go" - + "ogle.cloud.gkemulticloud.v1.CreateAwsClu" - + "sterRequest\032\035.google.longrunning.Operati" - + "on\"\212\001\202\323\344\223\002>\"//v1/{parent=projects/*/loca" - + "tions/*}/awsClusters:\013aws_cluster\332A!pare" - + "nt,aws_cluster,aws_cluster_id\312A\037\n\nAwsClu" - + "ster\022\021OperationMetadata\022\370\001\n\020UpdateAwsClu" - + "ster\0226.google.cloud.gkemulticloud.v1.Upd" - + "ateAwsClusterRequest\032\035.google.longrunnin" - + "g.Operation\"\214\001\202\323\344\223\002J2;/v1/{aws_cluster.n" - + "ame=projects/*/locations/*/awsClusters/*" - + "}:\013aws_cluster\332A\027aws_cluster,update_mask" - + "\312A\037\n\nAwsCluster\022\021OperationMetadata\022\257\001\n\rG" - + "etAwsCluster\0223.google.cloud.gkemulticlou" - + "d.v1.GetAwsClusterRequest\032).google.cloud" - + ".gkemulticloud.v1.AwsCluster\">\202\323\344\223\0021\022//v" - + "1/{name=projects/*/locations/*/awsCluste" - + "rs/*}\332A\004name\022\302\001\n\017ListAwsClusters\0225.googl" - + "e.cloud.gkemulticloud.v1.ListAwsClusters" - + "Request\0326.google.cloud.gkemulticloud.v1." - + "ListAwsClustersResponse\"@\202\323\344\223\0021\022//v1/{pa" - + "rent=projects/*/locations/*}/awsClusters" - + "\332A\006parent\022\326\001\n\020DeleteAwsCluster\0226.google." - + "cloud.gkemulticloud.v1.DeleteAwsClusterR" - + "equest\032\035.google.longrunning.Operation\"k\202" - + "\323\344\223\0021*//v1/{name=projects/*/locations/*/" - + "awsClusters/*}\332A\004name\312A*\n\025google.protobu" - + "f.Empty\022\021OperationMetadata\022\354\001\n\026GenerateA" - + "wsAccessToken\022<.google.cloud.gkemulticlo" - + "ud.v1.GenerateAwsAccessTokenRequest\032=.go" - + "ogle.cloud.gkemulticloud.v1.GenerateAwsA" - + "ccessTokenResponse\"U\202\323\344\223\002O\022M/v1/{aws_clu" - + "ster=projects/*/locations/*/awsClusters/" - + "*}:generateAwsAccessToken\022\216\002\n\021CreateAwsN" - + "odePool\0227.google.cloud.gkemulticloud.v1." - + "CreateAwsNodePoolRequest\032\035.google.longru" - + "nning.Operation\"\240\001\202\323\344\223\002O\">/v1/{parent=pr" - + "ojects/*/locations/*/awsClusters/*}/awsN" - + "odePools:\raws_node_pool\332A%parent,aws_nod" - + "e_pool,aws_node_pool_id\312A \n\013AwsNodePool\022" - + "\021OperationMetadata\022\220\002\n\021UpdateAwsNodePool" - + "\0227.google.cloud.gkemulticloud.v1.UpdateA" - + "wsNodePoolRequest\032\035.google.longrunning.O" - + "peration\"\242\001\202\323\344\223\002]2L/v1/{aws_node_pool.na" - + "me=projects/*/locations/*/awsClusters/*/" - + "awsNodePools/*}:\raws_node_pool\332A\031aws_nod" - + "e_pool,update_mask\312A \n\013AwsNodePool\022\021Oper" - + "ationMetadata\022\301\001\n\016GetAwsNodePool\0224.googl" - + "e.cloud.gkemulticloud.v1.GetAwsNodePoolR" - + "equest\032*.google.cloud.gkemulticloud.v1.A" - + "wsNodePool\"M\202\323\344\223\002@\022>/v1/{name=projects/*" - + "/locations/*/awsClusters/*/awsNodePools/" - + "*}\332A\004name\022\324\001\n\020ListAwsNodePools\0226.google." - + "cloud.gkemulticloud.v1.ListAwsNodePoolsR" - + "equest\0327.google.cloud.gkemulticloud.v1.L" - + "istAwsNodePoolsResponse\"O\202\323\344\223\002@\022>/v1/{pa" - + "rent=projects/*/locations/*/awsClusters/" - + "*}/awsNodePools\332A\006parent\022\347\001\n\021DeleteAwsNo" - + "dePool\0227.google.cloud.gkemulticloud.v1.D" - + "eleteAwsNodePoolRequest\032\035.google.longrun" - + "ning.Operation\"z\202\323\344\223\002@*>/v1/{name=projec" - + "ts/*/locations/*/awsClusters/*/awsNodePo" - + "ols/*}\332A\004name\312A*\n\025google.protobuf.Empty\022" - + "\021OperationMetadata\022\300\001\n\022GetAwsServerConfi" - + "g\0228.google.cloud.gkemulticloud.v1.GetAws" - + "ServerConfigRequest\032..google.cloud.gkemu" - + "lticloud.v1.AwsServerConfig\"@\202\323\344\223\0023\0221/v1" - + "/{name=projects/*/locations/*/awsServerC" - + "onfig}\332A\004name\032P\312A\034gkemulticloud.googleap" - + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformB\345\001\n!com.google.cloud.gke" - + "multicloud.v1B\017AwsServiceProtoP\001ZJgoogle" - + ".golang.org/genproto/googleapis/cloud/gk" - + "emulticloud/v1;gkemulticloud\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.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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java deleted file mode 100644 index 9d4fdeb..0000000 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java deleted file mode 100644 index 61b1b23..0000000 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java deleted file mode 100644 index 542959c..0000000 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java +++ /dev/null @@ -1,573 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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_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; - - 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\"\325\n\n\014Azur" - + "eCluster\022\014\n\004name\030\001 \001(\t\022\030\n\013description\030\002 " - + "\001(\tB\003\340A\001\022\031\n\014azure_region\030\003 \001(\tB\003\340A\002\022\036\n\021r" - + "esource_group_id\030\021 \001(\tB\003\340A\002\022\031\n\014azure_cli" - + "ent\030\020 \001(\tB\003\340A\002\022N\n\nnetworking\030\004 \001(\01325.goo" - + "gle.cloud.gkemulticloud.v1.AzureClusterN" - + "etworkingB\003\340A\002\022L\n\rcontrol_plane\030\005 \001(\01320." - + "google.cloud.gkemulticloud.v1.AzureContr" - + "olPlaneB\003\340A\002\022M\n\rauthorization\030\006 \001(\01321.go" - + "ogle.cloud.gkemulticloud.v1.AzureAuthori" - + "zationB\003\340A\002\022E\n\005state\030\007 \001(\01621.google.clou" - + "d.gkemulticloud.v1.AzureCluster.StateB\003\340" - + "A\003\022\025\n\010endpoint\030\010 \001(\tB\003\340A\003\022\020\n\003uid\030\t \001(\tB\003" - + "\340A\003\022\030\n\013reconciling\030\n \001(\010B\003\340A\003\0224\n\013create_" - + "time\030\013 \001(\0132\032.google.protobuf.TimestampB\003" - + "\340A\003\0224\n\013update_time\030\014 \001(\0132\032.google.protob" - + "uf.TimestampB\003\340A\003\022\014\n\004etag\030\r \001(\t\022V\n\013annot" - + "ations\030\016 \003(\0132<.google.cloud.gkemulticlou" - + "d.v1.AzureCluster.AnnotationsEntryB\003\340A\001\022" - + "\\\n\030workload_identity_config\030\022 \001(\01325.goog" - + "le.cloud.gkemulticloud.v1.WorkloadIdenti" - + "tyConfigB\003\340A\003\022#\n\026cluster_ca_certificate\030" - + "\023 \001(\tB\003\340A\003\0228\n\005fleet\030\024 \001(\0132$.google.cloud" - + ".gkemulticloud.v1.FleetB\003\340A\001\022T\n\021managed_" - + "resources\030\025 \001(\01324.google.cloud.gkemultic" - + "loud.v1.AzureClusterResourcesB\003\340A\003\022I\n\016lo" - + "gging_config\030\027 \001(\0132,.google.cloud.gkemul" - + "ticloud.v1.LoggingConfigB\003\340A\001\0322\n\020Annotat" - + "ionsEntry\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\014PRO" - + "VISIONING\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/Azur" - + "eCluster\022Eprojects/{project}/locations/{" - + "location}/azureClusters/{azure_cluster}\"" - + "\267\001\n\026AzureClusterNetworking\022\037\n\022virtual_ne" - + "twork_id\030\001 \001(\tB\003\340A\002\022$\n\027pod_address_cidr_" - + "blocks\030\002 \003(\tB\003\340A\002\022(\n\033service_address_cid" - + "r_blocks\030\003 \003(\tB\003\340A\002\022,\n\037service_load_bala" - + "ncer_subnet_id\030\005 \001(\tB\003\340A\001\"\242\006\n\021AzureContr" - + "olPlane\022\024\n\007version\030\001 \001(\tB\003\340A\002\022\026\n\tsubnet_" - + "id\030\002 \001(\tB\003\340A\001\022\024\n\007vm_size\030\003 \001(\tB\003\340A\001\022F\n\ns" - + "sh_config\030\013 \001(\0132-.google.cloud.gkemultic" - + "loud.v1.AzureSshConfigB\003\340A\002\022J\n\013root_volu" - + "me\030\004 \001(\01320.google.cloud.gkemulticloud.v1" - + ".AzureDiskTemplateB\003\340A\001\022J\n\013main_volume\030\005" - + " \001(\01320.google.cloud.gkemulticloud.v1.Azu" - + "reDiskTemplateB\003\340A\001\022X\n\023database_encrypti" - + "on\030\n \001(\01326.google.cloud.gkemulticloud.v1" - + ".AzureDatabaseEncryptionB\003\340A\001\022J\n\014proxy_c" - + "onfig\030\014 \001(\0132/.google.cloud.gkemulticloud" - + ".v1.AzureProxyConfigB\003\340A\001\022T\n\021config_encr" - + "yption\030\016 \001(\01324.google.cloud.gkemulticlou" - + "d.v1.AzureConfigEncryptionB\003\340A\001\022M\n\004tags\030" - + "\007 \003(\0132:.google.cloud.gkemulticloud.v1.Az" - + "ureControlPlane.TagsEntryB\003\340A\001\022P\n\022replic" - + "a_placements\030\r \003(\0132/.google.cloud.gkemul" - + "ticloud.v1.ReplicaPlacementB\003\340A\001\022\037\n\022endp" - + "oint_subnet_id\030\017 \001(\tB\003\340A\001\032+\n\tTagsEntry\022\013" - + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"P\n\020Replic" - + "aPlacement\022\026\n\tsubnet_id\030\001 \001(\tB\003\340A\002\022$\n\027az" - + "ure_availability_zone\030\002 \001(\tB\003\340A\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\023\n\006key_id\030\003 \001(\tB\003\340A\002\"E\n\025AzureConfi" - + "gEncryption\022\023\n\006key_id\030\002 \001(\tB\003\340A\002\022\027\n\npubl" - + "ic_key\030\003 \001(\tB\003\340A\001\"*\n\021AzureDiskTemplate\022\025" - + "\n\010size_gib\030\001 \001(\005B\003\340A\001\"\265\003\n\013AzureClient\022\014\n" - + "\004name\030\001 \001(\t\022\026\n\ttenant_id\030\002 \001(\tB\003\340A\002\022\033\n\016a" - + "pplication_id\030\003 \001(\tB\003\340A\002\022U\n\013annotations\030" - + "\010 \003(\0132;.google.cloud.gkemulticloud.v1.Az" - + "ureClient.AnnotationsEntryB\003\340A\001\022\034\n\017pem_c" - + "ertificate\030\007 \001(\tB\003\340A\003\022\020\n\003uid\030\005 \001(\tB\003\340A\003\022" - + "4\n\013create_time\030\006 \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\0322\n\020AnnotationsEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:r\352Ao\n(gkemulti" - + "cloud.googleapis.com/AzureClient\022Cprojec" - + "ts/{project}/locations/{location}/azureC" - + "lients/{azure_client}\"_\n\022AzureAuthorizat" - + "ion\022I\n\013admin_users\030\001 \003(\0132/.google.cloud." - + "gkemulticloud.v1.AzureClusterUserB\003\340A\002\")" - + "\n\020AzureClusterUser\022\025\n\010username\030\001 \001(\tB\003\340A" - + "\002\"\352\007\n\rAzureNodePool\022\014\n\004name\030\001 \001(\t\022\024\n\007ver" - + "sion\030\002 \001(\tB\003\340A\002\022C\n\006config\030\026 \001(\0132..google" - + ".cloud.gkemulticloud.v1.AzureNodeConfigB" - + "\003\340A\002\022\026\n\tsubnet_id\030\003 \001(\tB\003\340A\002\022Q\n\013autoscal" - + "ing\030\004 \001(\01327.google.cloud.gkemulticloud.v" - + "1.AzureNodePoolAutoscalingB\003\340A\002\022F\n\005state" - + "\030\006 \001(\01622.google.cloud.gkemulticloud.v1.A" - + "zureNodePool.StateB\003\340A\003\022\020\n\003uid\030\010 \001(\tB\003\340A" - + "\003\022\030\n\013reconciling\030\t \001(\010B\003\340A\003\0224\n\013create_ti" - + "me\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\003\0224\n\013update_time\030\013 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022\014\n\004etag\030\014 \001(\t\022W\n\013annotat" - + "ions\030\r \003(\0132=.google.cloud.gkemulticloud." - + "v1.AzureNodePool.AnnotationsEntryB\003\340A\001\022R" - + "\n\023max_pods_constraint\030\025 \001(\01320.google.clo" - + "ud.gkemulticloud.v1.MaxPodsConstraintB\003\340" - + "A\002\022$\n\027azure_availability_zone\030\027 \001(\tB\003\340A\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:\230\001\352A\224\001\n*gkemulticloud.google" - + "apis.com/AzureNodePool\022fprojects/{projec" - + "t}/locations/{location}/azureClusters/{a" - + "zure_cluster}/azureNodePools/{azure_node" - + "_pool}\"\257\005\n\017AzureNodeConfig\022\024\n\007vm_size\030\001 " - + "\001(\tB\003\340A\001\022J\n\013root_volume\030\002 \001(\01320.google.c" - + "loud.gkemulticloud.v1.AzureDiskTemplateB" - + "\003\340A\001\022K\n\004tags\030\003 \003(\01328.google.cloud.gkemul" - + "ticloud.v1.AzureNodeConfig.TagsEntryB\003\340A" - + "\001\022\027\n\nimage_type\030\010 \001(\tB\003\340A\001\022F\n\nssh_config" - + "\030\007 \001(\0132-.google.cloud.gkemulticloud.v1.A" - + "zureSshConfigB\003\340A\002\022J\n\014proxy_config\030\t \001(\013" - + "2/.google.cloud.gkemulticloud.v1.AzurePr" - + "oxyConfigB\003\340A\001\022T\n\021config_encryption\030\014 \001(" - + "\01324.google.cloud.gkemulticloud.v1.AzureC" - + "onfigEncryptionB\003\340A\001\022=\n\006taints\030\n \003(\0132(.g" - + "oogle.cloud.gkemulticloud.v1.NodeTaintB\003" - + "\340A\001\022O\n\006labels\030\013 \003(\0132:.google.cloud.gkemu" - + "lticloud.v1.AzureNodeConfig.LabelsEntryB" - + "\003\340A\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\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"T\n\030AzureNodePoolAutosca" - + "ling\022\033\n\016min_node_count\030\001 \001(\005B\003\340A\002\022\033\n\016max" - + "_node_count\030\002 \001(\005B\003\340A\002\"\376\001\n\021AzureServerCo" - + "nfig\022\014\n\004name\030\001 \001(\t\022J\n\016valid_versions\030\002 \003" - + "(\01322.google.cloud.gkemulticloud.v1.Azure" - + "K8sVersionInfo\022\037\n\027supported_azure_region" - + "s\030\003 \003(\t:n\352Ak\n.gkemulticloud.googleapis.c" - + "om/AzureServerConfig\0229projects/{project}" - + "/locations/{location}/azureServerConfig\"" - + "&\n\023AzureK8sVersionInfo\022\017\n\007version\030\001 \001(\t\"" - + "-\n\016AzureSshConfig\022\033\n\016authorized_key\030\001 \001(" - + "\tB\003\340A\002\"y\n\025AzureClusterResources\022&\n\031netwo" - + "rk_security_group_id\030\001 \001(\tB\003\340A\003\0228\n+contr" - + "ol_plane_application_security_group_id\030\002" - + " \001(\tB\003\340A\003B\351\001\n!com.google.cloud.gkemultic" - + "loud.v1B\023AzureResourcesProtoP\001ZJgoogle.g" - + "olang.org/genproto/googleapis/cloud/gkem" - + "ulticloud/v1;gkemulticloud\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.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", - "State", - "Endpoint", - "Uid", - "Reconciling", - "CreateTime", - "UpdateTime", - "Etag", - "Annotations", - "WorkloadIdentityConfig", - "ClusterCaCertificate", - "Fleet", - "ManagedResources", - "LoggingConfig", - }); - 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", - "Annotations", - "PemCertificate", - "Uid", - "CreateTime", - }); - 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_AzureClusterUser_descriptor = - getDescriptor().getMessageTypes().get(10); - 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(11); - 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", - }); - 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(12); - 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(13); - 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(14); - 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(15); - 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(16); - 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(17); - 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", - }); - 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java deleted file mode 100644 index 93b6745..0000000 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java +++ /dev/null @@ -1,497 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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\"\335\001\n\031C" - + "reateAzureClusterRequest\022A\n\006parent\030\001 \001(\t" - + "B1\340A\002\372A+\022)gkemulticloud.googleapis.com/A" - + "zureCluster\022G\n\razure_cluster\030\002 \001(\0132+.goo" - + "gle.cloud.gkemulticloud.v1.AzureClusterB" - + "\003\340A\002\022\035\n\020azure_cluster_id\030\003 \001(\tB\003\340A\002\022\025\n\rv" - + "alidate_only\030\004 \001(\010\"\261\001\n\031UpdateAzureCluste" - + "rRequest\022G\n\razure_cluster\030\001 \001(\0132+.google" - + ".cloud.gkemulticloud.v1.AzureClusterB\003\340A" - + "\002\022\025\n\rvalidate_only\030\002 \001(\010\0224\n\013update_mask\030" - + "\004 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"Y" - + "\n\026GetAzureClusterRequest\022?\n\004name\030\001 \001(\tB1" - + "\340A\002\372A+\n)gkemulticloud.googleapis.com/Azu" - + "reCluster\"\204\001\n\030ListAzureClustersRequest\022A" - + "\n\006parent\030\001 \001(\tB1\340A\002\372A+\022)gkemulticloud.go" - + "ogleapis.com/AzureCluster\022\021\n\tpage_size\030\002" - + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"y\n\031ListAzureClu" - + "stersResponse\022C\n\016azure_clusters\030\001 \003(\0132+." - + "google.cloud.gkemulticloud.v1.AzureClust" - + "er\022\027\n\017next_page_token\030\002 \001(\t\"\230\001\n\031DeleteAz" - + "ureClusterRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" - + ")gkemulticloud.googleapis.com/AzureClust" - + "er\022\025\n\rallow_missing\030\002 \001(\010\022\025\n\rvalidate_on" - + "ly\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\344\001\n\032CreateAzureNo" - + "dePoolRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*g" - + "kemulticloud.googleapis.com/AzureNodePoo" - + "l\022J\n\017azure_node_pool\030\002 \001(\0132,.google.clou" - + "d.gkemulticloud.v1.AzureNodePoolB\003\340A\002\022\037\n" - + "\022azure_node_pool_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalida" - + "te_only\030\004 \001(\010\"\265\001\n\032UpdateAzureNodePoolReq" - + "uest\022J\n\017azure_node_pool\030\001 \001(\0132,.google.c" - + "loud.gkemulticloud.v1.AzureNodePoolB\003\340A\002" - + "\022\025\n\rvalidate_only\030\002 \001(\010\0224\n\013update_mask\030\003" - + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"[\n" - + "\027GetAzureNodePoolRequest\022@\n\004name\030\001 \001(\tB2" - + "\340A\002\372A,\n*gkemulticloud.googleapis.com/Azu" - + "reNodePool\"\206\001\n\031ListAzureNodePoolsRequest" - + "\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*gkemulticloud." - + "googleapis.com/AzureNodePool\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"}\n\032ListAzure" - + "NodePoolsResponse\022F\n\020azure_node_pools\030\001 " - + "\003(\0132,.google.cloud.gkemulticloud.v1.Azur" - + "eNodePool\022\027\n\017next_page_token\030\002 \001(\t\"\232\001\n\032D" - + "eleteAzureNodePoolRequest\022@\n\004name\030\001 \001(\tB" - + "2\340A\002\372A,\n*gkemulticloud.googleapis.com/Az" - + "ureNodePool\022\025\n\rvalidate_only\030\002 \001(\010\022\025\n\ral" - + "low_missing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"c\n\033GetAz" - + "ureServerConfigRequest\022D\n\004name\030\001 \001(\tB6\340A" - + "\002\372A0\n.gkemulticloud.googleapis.com/Azure" - + "ServerConfig\"\330\001\n\030CreateAzureClientReques" - + "t\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(gkemulticloud" - + ".googleapis.com/AzureClient\022E\n\014azure_cli" - + "ent\030\002 \001(\0132*.google.cloud.gkemulticloud.v" - + "1.AzureClientB\003\340A\002\022\034\n\017azure_client_id\030\004 " - + "\001(\tB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010\"W\n\025GetAz" - + "ureClientRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(" - + "gkemulticloud.googleapis.com/AzureClient" - + "\"\202\001\n\027ListAzureClientsRequest\022@\n\006parent\030\001" - + " \001(\tB0\340A\002\372A*\022(gkemulticloud.googleapis.c" - + "om/AzureClient\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" - + "e_token\030\003 \001(\t\"v\n\030ListAzureClientsRespons" - + "e\022A\n\razure_clients\030\001 \003(\0132*.google.cloud." - + "gkemulticloud.v1.AzureClient\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"\210\001\n\030DeleteAzureClientReque" - + "st\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(gkemulticloud." - + "googleapis.com/AzureClient\022\025\n\rallow_miss" - + "ing\030\002 \001(\010\022\025\n\rvalidate_only\030\003 \001(\010\"k\n\037Gene" - + "rateAzureAccessTokenRequest\022H\n\razure_clu" - + "ster\030\001 \001(\tB1\340A\002\372A+\n)gkemulticloud.google" - + "apis.com/AzureCluster\"w\n GenerateAzureAc" - + "cessTokenResponse\022\031\n\014access_token\030\001 \001(\tB" - + "\003\340A\003\0228\n\017expiration_time\030\002 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\0032\335\035\n\rAzureClusters" - + "\022\375\001\n\021CreateAzureClient\0227.google.cloud.gk" - + "emulticloud.v1.CreateAzureClientRequest\032" - + "\035.google.longrunning.Operation\"\217\001\202\323\344\223\002@\"" - + "0/v1/{parent=projects/*/locations/*}/azu" - + "reClients:\014azure_client\332A#parent,azure_c" - + "lient,azure_client_id\312A \n\013AzureClient\022\021O" - + "perationMetadata\022\263\001\n\016GetAzureClient\0224.go" - + "ogle.cloud.gkemulticloud.v1.GetAzureClie" - + "ntRequest\032*.google.cloud.gkemulticloud.v" - + "1.AzureClient\"?\202\323\344\223\0022\0220/v1/{name=project" - + "s/*/locations/*/azureClients/*}\332A\004name\022\306" - + "\001\n\020ListAzureClients\0226.google.cloud.gkemu" - + "lticloud.v1.ListAzureClientsRequest\0327.go" - + "ogle.cloud.gkemulticloud.v1.ListAzureCli" - + "entsResponse\"A\202\323\344\223\0022\0220/v1/{parent=projec" - + "ts/*/locations/*}/azureClients\332A\006parent\022" - + "\331\001\n\021DeleteAzureClient\0227.google.cloud.gke" - + "multicloud.v1.DeleteAzureClientRequest\032\035" - + ".google.longrunning.Operation\"l\202\323\344\223\0022*0/" - + "v1/{name=projects/*/locations/*/azureCli" - + "ents/*}\332A\004name\312A*\n\025google.protobuf.Empty" - + "\022\021OperationMetadata\022\204\002\n\022CreateAzureClust" - + "er\0228.google.cloud.gkemulticloud.v1.Creat" - + "eAzureClusterRequest\032\035.google.longrunnin" - + "g.Operation\"\224\001\202\323\344\223\002B\"1/v1/{parent=projec" - + "ts/*/locations/*}/azureClusters:\razure_c" - + "luster\332A%parent,azure_cluster,azure_clus" - + "ter_id\312A!\n\014AzureCluster\022\021OperationMetada" - + "ta\022\206\002\n\022UpdateAzureCluster\0228.google.cloud" - + ".gkemulticloud.v1.UpdateAzureClusterRequ" - + "est\032\035.google.longrunning.Operation\"\226\001\202\323\344" - + "\223\002P2?/v1/{azure_cluster.name=projects/*/" - + "locations/*/azureClusters/*}:\razure_clus" - + "ter\332A\031azure_cluster,update_mask\312A!\n\014Azur" - + "eCluster\022\021OperationMetadata\022\267\001\n\017GetAzure" - + "Cluster\0225.google.cloud.gkemulticloud.v1." - + "GetAzureClusterRequest\032+.google.cloud.gk" - + "emulticloud.v1.AzureCluster\"@\202\323\344\223\0023\0221/v1" - + "/{name=projects/*/locations/*/azureClust" - + "ers/*}\332A\004name\022\312\001\n\021ListAzureClusters\0227.go" - + "ogle.cloud.gkemulticloud.v1.ListAzureClu" - + "stersRequest\0328.google.cloud.gkemulticlou" - + "d.v1.ListAzureClustersResponse\"B\202\323\344\223\0023\0221" - + "/v1/{parent=projects/*/locations/*}/azur" - + "eClusters\332A\006parent\022\334\001\n\022DeleteAzureCluste" - + "r\0228.google.cloud.gkemulticloud.v1.Delete" - + "AzureClusterRequest\032\035.google.longrunning" - + ".Operation\"m\202\323\344\223\0023*1/v1/{name=projects/*" - + "/locations/*/azureClusters/*}\332A\004name\312A*\n" - + "\025google.protobuf.Empty\022\021OperationMetadat" - + "a\022\370\001\n\030GenerateAzureAccessToken\022>.google." - + "cloud.gkemulticloud.v1.GenerateAzureAcce" - + "ssTokenRequest\032?.google.cloud.gkemulticl" - + "oud.v1.GenerateAzureAccessTokenResponse\"" - + "[\202\323\344\223\002U\022S/v1/{azure_cluster=projects/*/l" - + "ocations/*/azureClusters/*}:generateAzur" - + "eAccessToken\022\236\002\n\023CreateAzureNodePool\0229.g" - + "oogle.cloud.gkemulticloud.v1.CreateAzure" - + "NodePoolRequest\032\035.google.longrunning.Ope" - + "ration\"\254\001\202\323\344\223\002U\"B/v1/{parent=projects/*/" - + "locations/*/azureClusters/*}/azureNodePo" - + "ols:\017azure_node_pool\332A)parent,azure_node" - + "_pool,azure_node_pool_id\312A\"\n\rAzureNodePo" - + "ol\022\021OperationMetadata\022\240\002\n\023UpdateAzureNod" - + "ePool\0229.google.cloud.gkemulticloud.v1.Up" - + "dateAzureNodePoolRequest\032\035.google.longru" - + "nning.Operation\"\256\001\202\323\344\223\002e2R/v1/{azure_nod" - + "e_pool.name=projects/*/locations/*/azure" - + "Clusters/*/azureNodePools/*}:\017azure_node" - + "_pool\332A\033azure_node_pool,update_mask\312A\"\n\r" - + "AzureNodePool\022\021OperationMetadata\022\313\001\n\020Get" - + "AzureNodePool\0226.google.cloud.gkemulticlo" - + "ud.v1.GetAzureNodePoolRequest\032,.google.c" - + "loud.gkemulticloud.v1.AzureNodePool\"Q\202\323\344" - + "\223\002D\022B/v1/{name=projects/*/locations/*/az" - + "ureClusters/*/azureNodePools/*}\332A\004name\022\336" - + "\001\n\022ListAzureNodePools\0228.google.cloud.gke" - + "multicloud.v1.ListAzureNodePoolsRequest\032" - + "9.google.cloud.gkemulticloud.v1.ListAzur" - + "eNodePoolsResponse\"S\202\323\344\223\002D\022B/v1/{parent=" - + "projects/*/locations/*/azureClusters/*}/" - + "azureNodePools\332A\006parent\022\357\001\n\023DeleteAzureN" - + "odePool\0229.google.cloud.gkemulticloud.v1." - + "DeleteAzureNodePoolRequest\032\035.google.long" - + "running.Operation\"~\202\323\344\223\002D*B/v1/{name=pro" - + "jects/*/locations/*/azureClusters/*/azur" - + "eNodePools/*}\332A\004name\312A*\n\025google.protobuf" - + ".Empty\022\021OperationMetadata\022\310\001\n\024GetAzureSe" - + "rverConfig\022:.google.cloud.gkemulticloud." - + "v1.GetAzureServerConfigRequest\0320.google." - + "cloud.gkemulticloud.v1.AzureServerConfig" - + "\"B\202\323\344\223\0025\0223/v1/{name=projects/*/locations" - + "/*/azureServerConfig}\332A\004name\032P\312A\034gkemult" - + "icloud.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\347\001\n!com.g" - + "oogle.cloud.gkemulticloud.v1B\021AzureServi" - + "ceProtoP\001ZJgoogle.golang.org/genproto/go" - + "ogleapis/cloud/gkemulticloud/v1;gkemulti" - + "cloud\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.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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java deleted file mode 100644 index 872a1d8..0000000 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; - - 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\"3\n\021MaxPodsConstraint\022\036\n\021max_pods" - + "_per_node\030\001 \001(\003B\003\340A\002\"\310\001\n\021OperationMetada" - + "ta\0224\n\013create_time\030\001 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 " - + "\001(\tB\003\340A\003\022\032\n\rstatus_detail\030\004 \001(\tB\003\340A\003\022\031\n\014" - + "error_detail\030\005 \001(\tB\003\340A\003\"\322\001\n\tNodeTaint\022\020\n" - + "\003key\030\001 \001(\tB\003\340A\002\022\022\n\005value\030\002 \001(\tB\003\340A\002\022D\n\006e" - + "ffect\030\003 \001(\0162/.google.cloud.gkemulticloud" - + ".v1.NodeTaint.EffectB\003\340A\002\"Y\n\006Effect\022\026\n\022E" - + "FFECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022" - + "PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECUTE\020\003\"6\n\005" - + "Fleet\022\024\n\007project\030\001 \001(\tB\003\340A\002\022\027\n\nmembershi" - + "p\030\002 \001(\tB\003\340A\003\"`\n\rLoggingConfig\022O\n\020compone" - + "nt_config\030\001 \001(\01325.google.cloud.gkemultic" - + "loud.v1.LoggingComponentConfig\"\302\001\n\026Loggi" - + "ngComponentConfig\022Z\n\021enable_components\030\001" - + " \003(\0162?.google.cloud.gkemulticloud.v1.Log" - + "gingComponentConfig.Component\"L\n\tCompone" - + "nt\022\031\n\025COMPONENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_" - + "COMPONENTS\020\001\022\r\n\tWORKLOADS\020\002B\352\001\n!com.goog" - + "le.cloud.gkemulticloud.v1B\024CommonResourc" - + "esProtoP\001ZJgoogle.golang.org/genproto/go" - + "ogleapis/cloud/gkemulticloud/v1;gkemulti" - + "cloud\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.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", - }); - 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", - }); - 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java deleted file mode 100644 index 1697049..0000000 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java deleted file mode 100644 index c1d60d8..0000000 --- a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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(); -} From 5f8d7974f2d7bc7b0e3921c09e4c6b1165f62c0c Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 02:33:12 +0000 Subject: [PATCH 2/4] =?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 --- .../gkemulticloud/v1/AwsClustersClient.java | 26 +- .../gkemulticloud/v1/AwsClustersSettings.java | 8 +- .../gkemulticloud/v1/AzureClustersClient.java | 48 +- .../v1/AzureClustersSettings.java | 8 +- .../gkemulticloud/v1/gapic_metadata.json | 0 .../cloud/gkemulticloud/v1/package-info.java | 0 .../v1/stub/AwsClustersStub.java | 0 .../v1/stub/AwsClustersStubSettings.java | 7 +- .../v1/stub/AzureClustersStub.java | 0 .../v1/stub/AzureClustersStubSettings.java | 13 +- .../stub/GrpcAwsClustersCallableFactory.java | 0 .../v1/stub/GrpcAwsClustersStub.java | 1 - .../GrpcAzureClustersCallableFactory.java | 0 .../v1/stub/GrpcAzureClustersStub.java | 1 - .../HttpJsonAwsClustersCallableFactory.java | 0 .../v1/stub/HttpJsonAwsClustersStub.java | 1 - .../HttpJsonAzureClustersCallableFactory.java | 0 .../v1/stub/HttpJsonAzureClustersStub.java | 1 - .../v1/AwsClustersClientHttpJsonTest.java | 0 .../v1/AwsClustersClientTest.java | 0 .../v1/AzureClustersClientHttpJsonTest.java | 0 .../v1/AzureClustersClientTest.java | 0 .../gkemulticloud/v1/MockAwsClusters.java | 0 .../gkemulticloud/v1/MockAwsClustersImpl.java | 0 .../gkemulticloud/v1/MockAzureClusters.java | 0 .../v1/MockAzureClustersImpl.java | 0 .../gkemulticloud/v1/AwsClustersGrpc.java | 1736 ++++++++++ .../gkemulticloud/v1/AzureClustersGrpc.java | 2273 +++++++++++++ .../gkemulticloud/v1/AwsClustersGrpc.java | 1322 -------- .../gkemulticloud/v1/AzureClustersGrpc.java | 1718 ---------- .../v1/AwsInstancePlacementOrBuilder.java | 28 - .../v1/AwsK8sVersionInfoOrBuilder.java | 29 - .../gkemulticloud/v1/AwsResourcesProto.java | 434 --- .../gkemulticloud/v1/AwsServiceProto.java | 364 --- .../v1/AzureDiskTemplateOrBuilder.java | 21 - .../v1/AzureK8sVersionInfoOrBuilder.java | 29 - .../gkemulticloud/v1/AzureResourcesProto.java | 462 --- .../gkemulticloud/v1/AzureServiceProto.java | 463 --- .../v1/CommonResourcesProto.java | 153 - .../v1/LoggingComponentConfigOrBuilder.java | 58 - .../v1/MaxPodsConstraintOrBuilder.java | 19 - .../gkemulticloud/v1/AwsAuthorization.java | 457 ++- .../v1/AwsAuthorizationOrBuilder.java | 56 +- .../cloud/gkemulticloud/v1/AwsCluster.java | 2475 ++++++++++----- .../gkemulticloud/v1/AwsClusterName.java | 0 .../v1/AwsClusterNetworking.java | 638 ++-- .../v1/AwsClusterNetworkingOrBuilder.java | 91 +- .../gkemulticloud/v1/AwsClusterOrBuilder.java | 301 +- .../gkemulticloud/v1/AwsClusterUser.java | 308 +- .../v1/AwsClusterUserOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsConfigEncryption.java | 314 +- .../v1/AwsConfigEncryptionOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsControlPlane.java | 2230 ++++++++----- .../v1/AwsControlPlaneOrBuilder.java | 275 +- .../v1/AwsDatabaseEncryption.java | 314 +- .../v1/AwsDatabaseEncryptionOrBuilder.java | 27 +- .../v1/AwsInstancePlacement.java | 413 ++- .../v1/AwsInstancePlacementOrBuilder.java | 54 + .../gkemulticloud/v1/AwsK8sVersionInfo.java | 311 +- .../v1/AwsK8sVersionInfoOrBuilder.java | 50 + .../cloud/gkemulticloud/v1/AwsNodeConfig.java | 2115 ++++++++----- .../v1/AwsNodeConfigOrBuilder.java | 263 +- .../cloud/gkemulticloud/v1/AwsNodePool.java | 1884 +++++++---- .../v1/AwsNodePoolAutoscaling.java | 306 +- .../v1/AwsNodePoolAutoscalingOrBuilder.java | 24 +- .../gkemulticloud/v1/AwsNodePoolName.java | 0 .../v1/AwsNodePoolOrBuilder.java | 220 +- .../gkemulticloud/v1/AwsProxyConfig.java | 387 ++- .../v1/AwsProxyConfigOrBuilder.java | 36 +- .../gkemulticloud/v1/AwsResourcesProto.java | 531 ++++ .../gkemulticloud/v1/AwsServerConfig.java | 557 ++-- .../gkemulticloud/v1/AwsServerConfigName.java | 0 .../v1/AwsServerConfigOrBuilder.java | 63 +- .../gkemulticloud/v1/AwsServiceProto.java | 393 +++ .../v1/AwsServicesAuthentication.java | 393 ++- .../AwsServicesAuthenticationOrBuilder.java | 36 +- .../cloud/gkemulticloud/v1/AwsSshConfig.java | 301 +- .../v1/AwsSshConfigOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsVolumeTemplate.java | 550 ++-- .../v1/AwsVolumeTemplateOrBuilder.java | 47 +- .../gkemulticloud/v1/AzureAuthorization.java | 459 ++- .../v1/AzureAuthorizationOrBuilder.java | 56 +- .../cloud/gkemulticloud/v1/AzureClient.java | 1050 +++--- .../gkemulticloud/v1/AzureClientName.java | 0 .../v1/AzureClientOrBuilder.java | 126 +- .../cloud/gkemulticloud/v1/AzureCluster.java | 2803 +++++++++++------ .../gkemulticloud/v1/AzureClusterName.java | 0 .../v1/AzureClusterNetworking.java | 740 +++-- .../v1/AzureClusterNetworkingOrBuilder.java | 106 +- .../v1/AzureClusterOrBuilder.java | 339 +- .../v1/AzureClusterResources.java | 446 +-- .../v1/AzureClusterResourcesOrBuilder.java | 44 +- .../gkemulticloud/v1/AzureClusterUser.java | 311 +- .../v1/AzureClusterUserOrBuilder.java | 27 +- .../v1/AzureConfigEncryption.java | 393 ++- .../v1/AzureConfigEncryptionOrBuilder.java | 36 +- .../gkemulticloud/v1/AzureControlPlane.java | 1964 ++++++++---- .../v1/AzureControlPlaneOrBuilder.java | 243 +- .../v1/AzureDatabaseEncryption.java | 314 +- .../v1/AzureDatabaseEncryptionOrBuilder.java | 27 +- .../gkemulticloud/v1/AzureDiskTemplate.java | 269 +- .../v1/AzureDiskTemplateOrBuilder.java | 40 + .../gkemulticloud/v1/AzureK8sVersionInfo.java | 314 +- .../v1/AzureK8sVersionInfoOrBuilder.java | 50 + .../gkemulticloud/v1/AzureNodeConfig.java | 1747 ++++++---- .../v1/AzureNodeConfigOrBuilder.java | 216 +- .../cloud/gkemulticloud/v1/AzureNodePool.java | 1968 +++++++----- .../v1/AzureNodePoolAutoscaling.java | 306 +- .../v1/AzureNodePoolAutoscalingOrBuilder.java | 24 +- .../gkemulticloud/v1/AzureNodePoolName.java | 0 .../v1/AzureNodePoolOrBuilder.java | 229 +- .../gkemulticloud/v1/AzureProxyConfig.java | 390 ++- .../v1/AzureProxyConfigOrBuilder.java | 36 +- .../gkemulticloud/v1/AzureResourcesProto.java | 573 ++++ .../gkemulticloud/v1/AzureServerConfig.java | 567 ++-- .../v1/AzureServerConfigName.java | 0 .../v1/AzureServerConfigOrBuilder.java | 60 +- .../gkemulticloud/v1/AzureServiceProto.java | 497 +++ .../gkemulticloud/v1/AzureSshConfig.java | 308 +- .../v1/AzureSshConfigOrBuilder.java | 27 +- .../v1/CommonResourcesProto.java | 174 + .../v1/CreateAwsClusterRequest.java | 604 ++-- .../v1/CreateAwsClusterRequestOrBuilder.java | 67 +- .../v1/CreateAwsNodePoolRequest.java | 604 ++-- .../v1/CreateAwsNodePoolRequestOrBuilder.java | 67 +- .../v1/CreateAzureClientRequest.java | 604 ++-- .../v1/CreateAzureClientRequestOrBuilder.java | 67 +- .../v1/CreateAzureClusterRequest.java | 604 ++-- .../CreateAzureClusterRequestOrBuilder.java | 67 +- .../v1/CreateAzureNodePoolRequest.java | 611 ++-- .../CreateAzureNodePoolRequestOrBuilder.java | 67 +- .../v1/DeleteAwsClusterRequest.java | 495 +-- .../v1/DeleteAwsClusterRequestOrBuilder.java | 50 +- .../v1/DeleteAwsNodePoolRequest.java | 495 +-- .../v1/DeleteAwsNodePoolRequestOrBuilder.java | 50 +- .../v1/DeleteAzureClientRequest.java | 416 ++- .../v1/DeleteAzureClientRequestOrBuilder.java | 41 +- .../v1/DeleteAzureClusterRequest.java | 495 +-- .../DeleteAzureClusterRequestOrBuilder.java | 50 +- .../v1/DeleteAzureNodePoolRequest.java | 502 +-- .../DeleteAzureNodePoolRequestOrBuilder.java | 50 +- .../google/cloud/gkemulticloud/v1/Fleet.java | 377 ++- .../gkemulticloud/v1/FleetOrBuilder.java | 36 +- .../v1/GenerateAwsAccessTokenRequest.java | 363 ++- ...enerateAwsAccessTokenRequestOrBuilder.java | 35 +- .../v1/GenerateAwsAccessTokenResponse.java | 486 +-- ...nerateAwsAccessTokenResponseOrBuilder.java | 47 +- .../v1/GenerateAzureAccessTokenRequest.java | 374 ++- ...erateAzureAccessTokenRequestOrBuilder.java | 35 +- .../v1/GenerateAzureAccessTokenResponse.java | 498 +-- ...rateAzureAccessTokenResponseOrBuilder.java | 47 +- .../v1/GetAwsClusterRequest.java | 342 +- .../v1/GetAwsClusterRequestOrBuilder.java | 35 +- .../v1/GetAwsNodePoolRequest.java | 342 +- .../v1/GetAwsNodePoolRequestOrBuilder.java | 35 +- .../v1/GetAwsServerConfigRequest.java | 342 +- .../GetAwsServerConfigRequestOrBuilder.java | 35 +- .../v1/GetAzureClientRequest.java | 342 +- .../v1/GetAzureClientRequestOrBuilder.java | 35 +- .../v1/GetAzureClusterRequest.java | 342 +- .../v1/GetAzureClusterRequestOrBuilder.java | 35 +- .../v1/GetAzureNodePoolRequest.java | 342 +- .../v1/GetAzureNodePoolRequestOrBuilder.java | 35 +- .../v1/GetAzureServerConfigRequest.java | 350 +- .../GetAzureServerConfigRequestOrBuilder.java | 35 +- .../v1/ListAwsClustersRequest.java | 455 +-- .../v1/ListAwsClustersRequestOrBuilder.java | 47 +- .../v1/ListAwsClustersResponse.java | 461 +-- .../v1/ListAwsClustersResponseOrBuilder.java | 45 +- .../v1/ListAwsNodePoolsRequest.java | 455 +-- .../v1/ListAwsNodePoolsRequestOrBuilder.java | 47 +- .../v1/ListAwsNodePoolsResponse.java | 458 +-- .../v1/ListAwsNodePoolsResponseOrBuilder.java | 45 +- .../v1/ListAzureClientsRequest.java | 455 +-- .../v1/ListAzureClientsRequestOrBuilder.java | 47 +- .../v1/ListAzureClientsResponse.java | 458 +-- .../v1/ListAzureClientsResponseOrBuilder.java | 45 +- .../v1/ListAzureClustersRequest.java | 455 +-- .../v1/ListAzureClustersRequestOrBuilder.java | 47 +- .../v1/ListAzureClustersResponse.java | 441 ++- .../ListAzureClustersResponseOrBuilder.java | 45 +- .../v1/ListAzureNodePoolsRequest.java | 455 +-- .../ListAzureNodePoolsRequestOrBuilder.java | 47 +- .../v1/ListAzureNodePoolsResponse.java | 449 ++- .../ListAzureNodePoolsResponseOrBuilder.java | 45 +- .../cloud/gkemulticloud/v1/LocationName.java | 0 .../v1/LoggingComponentConfig.java | 528 ++-- .../v1/LoggingComponentConfigOrBuilder.java | 99 + .../cloud/gkemulticloud/v1/LoggingConfig.java | 344 +- .../v1/LoggingConfigOrBuilder.java | 26 +- .../gkemulticloud/v1/MaxPodsConstraint.java | 272 +- .../v1/MaxPodsConstraintOrBuilder.java | 38 + .../cloud/gkemulticloud/v1/NodeTaint.java | 549 ++-- .../gkemulticloud/v1/NodeTaintOrBuilder.java | 50 +- .../gkemulticloud/v1/OperationMetadata.java | 736 +++-- .../v1/OperationMetadataOrBuilder.java | 79 +- .../gkemulticloud/v1/ReplicaPlacement.java | 390 ++- .../v1/ReplicaPlacementOrBuilder.java | 36 +- .../v1/UpdateAwsClusterRequest.java | 551 ++-- .../v1/UpdateAwsClusterRequestOrBuilder.java | 58 +- .../v1/UpdateAwsNodePoolRequest.java | 551 ++-- .../v1/UpdateAwsNodePoolRequestOrBuilder.java | 58 +- .../v1/UpdateAzureClusterRequest.java | 551 ++-- .../UpdateAzureClusterRequestOrBuilder.java | 58 +- .../v1/UpdateAzureNodePoolRequest.java | 558 ++-- .../UpdateAzureNodePoolRequestOrBuilder.java | 58 +- .../v1/WorkloadIdentityConfig.java | 472 +-- .../v1/WorkloadIdentityConfigOrBuilder.java | 45 +- .../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 .../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 .../getawscluster/AsyncGetAwsCluster.java | 0 .../getawscluster/SyncGetAwsCluster.java | 0 .../SyncGetAwsClusterAwsclustername.java | 0 .../SyncGetAwsClusterString.java | 0 .../getawsnodepool/AsyncGetAwsNodePool.java | 0 .../getawsnodepool/SyncGetAwsNodePool.java | 0 .../SyncGetAwsNodePoolAwsnodepoolname.java | 0 .../SyncGetAwsNodePoolString.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 .../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 .../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 .../AsyncGetAzureNodePool.java | 0 .../SyncGetAzureNodePool.java | 0 ...SyncGetAzureNodePoolAzurenodepoolname.java | 0 .../SyncGetAzureNodePoolString.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 .../getawscluster/SyncGetAwsCluster.java | 0 .../getazureclient/SyncGetAzureClient.java | 0 346 files changed, 40450 insertions(+), 24613 deletions(-) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java (99%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java (98%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java (99%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java (99%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java (99%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java (99%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java (100%) rename {owl-bot-staging/v1/google-cloud-gke-multi-cloud => google-cloud-gke-multi-cloud}/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java (100%) create mode 100644 grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java create mode 100644 grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java (65%) create mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java (68%) create mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java (60%) create mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java (72%) create mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java (70%) create mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java (69%) create mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java (66%) create mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java (76%) create mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-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 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java (66%) create mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java (69%) create mode 100644 proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1 => proto-google-cloud-gke-multi-cloud-v1}/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsClusterLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePoolLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsClusterLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/SyncGenerateAwsAccessToken.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/AsyncGetAwsCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterAwsclustername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/AsyncGetAwsNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/AsyncGetAwsServerConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClusters.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClustersPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClusters.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePools.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePoolsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePools.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsClusterLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClient.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClientLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClient.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientStringAzureclientString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureClusterLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePoolLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClient.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClientLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClient.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientAzureclientname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureClusterLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/SyncGenerateAzureAccessToken.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/AsyncGetAzureClient.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClient.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientAzureclientname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/AsyncGetAzureCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterAzureclustername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/AsyncGetAzureNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/AsyncGetAzureServerConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfig.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClients.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClientsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClients.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClusters.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClustersPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClusters.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePools.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePoolsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePools.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureClusterLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePool.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java index 2f8317b..b03b742 100644 --- a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java +++ b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java @@ -62,13 +62,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1946,7 +1946,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAwsClustersPagedResponse extends AbstractPagedListResponse< - ListAwsClustersRequest, ListAwsClustersResponse, AwsCluster, ListAwsClustersPage, + ListAwsClustersRequest, + ListAwsClustersResponse, + AwsCluster, + ListAwsClustersPage, ListAwsClustersFixedSizeCollection> { public static ApiFuture createAsync( @@ -1996,7 +1999,10 @@ public ApiFuture createPageAsync( public static class ListAwsClustersFixedSizeCollection extends AbstractFixedSizeCollection< - ListAwsClustersRequest, ListAwsClustersResponse, AwsCluster, ListAwsClustersPage, + ListAwsClustersRequest, + ListAwsClustersResponse, + AwsCluster, + ListAwsClustersPage, ListAwsClustersFixedSizeCollection> { private ListAwsClustersFixedSizeCollection( @@ -2017,7 +2023,10 @@ protected ListAwsClustersFixedSizeCollection createCollection( public static class ListAwsNodePoolsPagedResponse extends AbstractPagedListResponse< - ListAwsNodePoolsRequest, ListAwsNodePoolsResponse, AwsNodePool, ListAwsNodePoolsPage, + ListAwsNodePoolsRequest, + ListAwsNodePoolsResponse, + AwsNodePool, + ListAwsNodePoolsPage, ListAwsNodePoolsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2067,7 +2076,10 @@ public ApiFuture createPageAsync( public static class ListAwsNodePoolsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAwsNodePoolsRequest, ListAwsNodePoolsResponse, AwsNodePool, ListAwsNodePoolsPage, + ListAwsNodePoolsRequest, + ListAwsNodePoolsResponse, + AwsNodePool, + ListAwsNodePoolsPage, ListAwsNodePoolsFixedSizeCollection> { private ListAwsNodePoolsFixedSizeCollection( diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java index 2f7c630..5a8579a 100644 --- a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java +++ b/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; @@ -47,10 +46,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are - * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java index 71a6249..bc36485 100644 --- a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java +++ b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java @@ -62,13 +62,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2619,7 +2619,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAzureClientsPagedResponse extends AbstractPagedListResponse< - ListAzureClientsRequest, ListAzureClientsResponse, AzureClient, ListAzureClientsPage, + ListAzureClientsRequest, + ListAzureClientsResponse, + AzureClient, + ListAzureClientsPage, ListAzureClientsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2669,7 +2672,10 @@ public ApiFuture createPageAsync( public static class ListAzureClientsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAzureClientsRequest, ListAzureClientsResponse, AzureClient, ListAzureClientsPage, + ListAzureClientsRequest, + ListAzureClientsResponse, + AzureClient, + ListAzureClientsPage, ListAzureClientsFixedSizeCollection> { private ListAzureClientsFixedSizeCollection( @@ -2690,7 +2696,10 @@ protected ListAzureClientsFixedSizeCollection createCollection( public static class ListAzureClustersPagedResponse extends AbstractPagedListResponse< - ListAzureClustersRequest, ListAzureClustersResponse, AzureCluster, ListAzureClustersPage, + ListAzureClustersRequest, + ListAzureClustersResponse, + AzureCluster, + ListAzureClustersPage, ListAzureClustersFixedSizeCollection> { public static ApiFuture createAsync( @@ -2711,7 +2720,9 @@ private ListAzureClustersPagedResponse(ListAzureClustersPage page) { public static class ListAzureClustersPage extends AbstractPage< - ListAzureClustersRequest, ListAzureClustersResponse, AzureCluster, + ListAzureClustersRequest, + ListAzureClustersResponse, + AzureCluster, ListAzureClustersPage> { private ListAzureClustersPage( @@ -2741,7 +2752,10 @@ public ApiFuture createPageAsync( public static class ListAzureClustersFixedSizeCollection extends AbstractFixedSizeCollection< - ListAzureClustersRequest, ListAzureClustersResponse, AzureCluster, ListAzureClustersPage, + ListAzureClustersRequest, + ListAzureClustersResponse, + AzureCluster, + ListAzureClustersPage, ListAzureClustersFixedSizeCollection> { private ListAzureClustersFixedSizeCollection( @@ -2762,8 +2776,11 @@ protected ListAzureClustersFixedSizeCollection createCollection( public static class ListAzureNodePoolsPagedResponse extends AbstractPagedListResponse< - ListAzureNodePoolsRequest, ListAzureNodePoolsResponse, AzureNodePool, - ListAzureNodePoolsPage, ListAzureNodePoolsFixedSizeCollection> { + ListAzureNodePoolsRequest, + ListAzureNodePoolsResponse, + AzureNodePool, + ListAzureNodePoolsPage, + ListAzureNodePoolsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -2783,7 +2800,9 @@ private ListAzureNodePoolsPagedResponse(ListAzureNodePoolsPage page) { public static class ListAzureNodePoolsPage extends AbstractPage< - ListAzureNodePoolsRequest, ListAzureNodePoolsResponse, AzureNodePool, + ListAzureNodePoolsRequest, + ListAzureNodePoolsResponse, + AzureNodePool, ListAzureNodePoolsPage> { private ListAzureNodePoolsPage( @@ -2813,8 +2832,11 @@ public ApiFuture createPageAsync( public static class ListAzureNodePoolsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAzureNodePoolsRequest, ListAzureNodePoolsResponse, AzureNodePool, - ListAzureNodePoolsPage, ListAzureNodePoolsFixedSizeCollection> { + ListAzureNodePoolsRequest, + ListAzureNodePoolsResponse, + AzureNodePool, + ListAzureNodePoolsPage, + ListAzureNodePoolsFixedSizeCollection> { private ListAzureNodePoolsFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java index a2b5df7..77c4b90 100644 --- a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java +++ b/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; @@ -48,10 +47,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are - * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java index 72bbf4b..2a33709 100644 --- a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java +++ b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java @@ -85,10 +85,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are - * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java index d069df3..359848f 100644 --- a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java +++ b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java @@ -92,10 +92,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are - * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (gkemulticloud.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -313,7 +312,8 @@ public ApiFuture getFuturePagedResponse( ListAzureClustersRequest, ListAzureClustersResponse, ListAzureClustersPagedResponse> LIST_AZURE_CLUSTERS_PAGE_STR_FACT = new PagedListResponseFactory< - ListAzureClustersRequest, ListAzureClustersResponse, + ListAzureClustersRequest, + ListAzureClustersResponse, ListAzureClustersPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -333,7 +333,8 @@ public ApiFuture getFuturePagedResponse( ListAzureNodePoolsRequest, ListAzureNodePoolsResponse, ListAzureNodePoolsPagedResponse> LIST_AZURE_NODE_POOLS_PAGE_STR_FACT = new PagedListResponseFactory< - ListAzureNodePoolsRequest, ListAzureNodePoolsResponse, + ListAzureNodePoolsRequest, + ListAzureNodePoolsResponse, ListAzureNodePoolsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java index 8c4416e..190b73c 100644 --- a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java +++ b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java @@ -52,7 +52,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/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java index 00b10ec..61526bb 100644 --- a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java +++ b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.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/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java index 10e69bc..7bf2af1 100644 --- a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java +++ b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.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.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java rename to google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java index bd0bdbe..6855663 100644 --- a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java +++ b/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.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.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java b/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java rename to google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java b/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java rename to google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java b/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java rename to google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java b/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java rename to google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java b/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java rename to google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java b/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java rename to google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java b/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java rename to google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java diff --git a/owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java b/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java rename to google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java diff --git a/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java b/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java new file mode 100644 index 0000000..3c3b5ea --- /dev/null +++ b/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java @@ -0,0 +1,1736 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 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 abstract static class AwsClustersImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAwsClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAwsClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getGetAwsClusterMethod(), 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.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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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].
+     * 
+ */ + public 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.
+     * 
+ */ + public 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].
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void getAwsServerConfig( + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAwsServerConfigMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>(this, METHODID_CREATE_AWS_CLUSTER))) + .addMethod( + getUpdateAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, + com.google.longrunning.Operation>(this, 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>( + this, 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>( + this, METHODID_LIST_AWS_CLUSTERS))) + .addMethod( + getDeleteAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, + com.google.longrunning.Operation>(this, 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>( + this, METHODID_GENERATE_AWS_ACCESS_TOKEN))) + .addMethod( + getCreateAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_AWS_NODE_POOL))) + .addMethod( + getUpdateAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, + com.google.longrunning.Operation>(this, 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>( + this, 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>( + this, METHODID_LIST_AWS_NODE_POOLS))) + .addMethod( + getDeleteAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, + com.google.longrunning.Operation>(this, 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>( + this, METHODID_GET_AWS_SERVER_CONFIG))) + .build(); + } + } + + /** + * + * + *
+   * 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 GCP 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); + } + } + + /** + * + * + *
+   * 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 GCP 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); + } + } + + /** + * + * + *
+   * 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 GCP 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 AwsClustersImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AwsClustersImplBase 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(); + } + } + } + + 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 String methodName; + + AwsClustersMethodDescriptorSupplier(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/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java b/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java new file mode 100644 index 0000000..d340927 --- /dev/null +++ b/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java @@ -0,0 +1,2273 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 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 abstract static class AzureClustersImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAzureClientMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getGetAzureClientMethod(), 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.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.
+     * 
+ */ + public 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 GCP 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAzureClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAzureClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getGetAzureClusterMethod(), 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.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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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].
+     * 
+ */ + public 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.
+     * 
+ */ + public 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].
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void getAzureServerConfig( + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAzureServerConfigMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>(this, 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>( + this, 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>( + this, METHODID_LIST_AZURE_CLIENTS))) + .addMethod( + getDeleteAzureClientMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_AZURE_CLIENT))) + .addMethod( + getCreateAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_AZURE_CLUSTER))) + .addMethod( + getUpdateAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, + com.google.longrunning.Operation>(this, 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>( + this, 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>( + this, METHODID_LIST_AZURE_CLUSTERS))) + .addMethod( + getDeleteAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, + com.google.longrunning.Operation>(this, 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>( + this, METHODID_GENERATE_AZURE_ACCESS_TOKEN))) + .addMethod( + getCreateAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_AZURE_NODE_POOL))) + .addMethod( + getUpdateAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, + com.google.longrunning.Operation>(this, 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>( + this, 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>( + this, METHODID_LIST_AZURE_NODE_POOLS))) + .addMethod( + getDeleteAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, + com.google.longrunning.Operation>(this, 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>( + this, METHODID_GET_AZURE_SERVER_CONFIG))) + .build(); + } + } + + /** + * + * + *
+   * 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 GCP 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); + } + } + + /** + * + * + *
+   * 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 GCP 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); + } + } + + /** + * + * + *
+   * 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 GCP 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 AzureClustersImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AzureClustersImplBase 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(); + } + } + } + + 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 String methodName; + + AzureClustersMethodDescriptorSupplier(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/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java deleted file mode 100644 index d9f84b0..0000000 --- a/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java +++ /dev/null @@ -1,1322 +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 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 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 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 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 static abstract class AwsClustersImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateAwsClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAwsClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsClusterMethod(), 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.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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void getAwsServerConfig(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsServerConfigMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_CREATE_AWS_CLUSTER))) - .addMethod( - getUpdateAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, - com.google.longrunning.Operation>( - this, 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>( - this, 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>( - this, METHODID_LIST_AWS_CLUSTERS))) - .addMethod( - getDeleteAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, - com.google.longrunning.Operation>( - this, 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>( - this, METHODID_GENERATE_AWS_ACCESS_TOKEN))) - .addMethod( - getCreateAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_AWS_NODE_POOL))) - .addMethod( - getUpdateAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, - com.google.longrunning.Operation>( - this, 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>( - this, 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>( - this, METHODID_LIST_AWS_NODE_POOLS))) - .addMethod( - getDeleteAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, - com.google.longrunning.Operation>( - this, 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>( - this, METHODID_GET_AWS_SERVER_CONFIG))) - .build(); - } - } - - /** - *
-   * 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 GCP 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 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); - } - } - - /** - *
-   * 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 GCP 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); - } - } - - /** - *
-   * 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 GCP 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 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); - } - - /** - *
-     * 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); - } - - /** - *
-     * 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_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 AwsClustersImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AwsClustersImplBase 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_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_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_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(); - } - } - } - - 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 String methodName; - - AwsClustersMethodDescriptorSupplier(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/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java deleted file mode 100644 index 071dee6..0000000 --- a/owl-bot-staging/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java +++ /dev/null @@ -1,1718 +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 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 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 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 static abstract class AzureClustersImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateAzureClientMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureClientMethod(), 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.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.
-     * 
- */ - public 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 GCP 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateAzureClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAzureClusterMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureClusterMethod(), 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.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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void getAzureServerConfig(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureServerConfigMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, METHODID_LIST_AZURE_CLIENTS))) - .addMethod( - getDeleteAzureClientMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_AZURE_CLIENT))) - .addMethod( - getCreateAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_AZURE_CLUSTER))) - .addMethod( - getUpdateAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, - com.google.longrunning.Operation>( - this, 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>( - this, 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>( - this, METHODID_LIST_AZURE_CLUSTERS))) - .addMethod( - getDeleteAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, - com.google.longrunning.Operation>( - this, 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>( - this, METHODID_GENERATE_AZURE_ACCESS_TOKEN))) - .addMethod( - getCreateAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_AZURE_NODE_POOL))) - .addMethod( - getUpdateAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, - com.google.longrunning.Operation>( - this, 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>( - this, 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>( - this, METHODID_LIST_AZURE_NODE_POOLS))) - .addMethod( - getDeleteAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, - com.google.longrunning.Operation>( - this, 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>( - this, METHODID_GET_AZURE_SERVER_CONFIG))) - .build(); - } - } - - /** - *
-   * 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 GCP 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 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); - } - } - - /** - *
-   * 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 GCP 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); - } - } - - /** - *
-   * 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 GCP 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 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); - } - - /** - *
-     * 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_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 AzureClustersImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AzureClustersImplBase 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_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_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(); - } - } - } - - 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 String methodName; - - AzureClustersMethodDescriptorSupplier(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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java deleted file mode 100644 index fe2dbc6..0000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java deleted file mode 100644 index 6fc5077..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.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 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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java deleted file mode 100644 index fa73a20..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java +++ /dev/null @@ -1,434 +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_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; - - 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\"\260\t\n\nAwsClu" + - "ster\022\014\n\004name\030\001 \001(\t\022\030\n\013description\030\002 \001(\tB" + - "\003\340A\001\022L\n\nnetworking\030\003 \001(\01323.google.cloud." + - "gkemulticloud.v1.AwsClusterNetworkingB\003\340" + - "A\002\022\027\n\naws_region\030\004 \001(\tB\003\340A\002\022J\n\rcontrol_p" + - "lane\030\005 \001(\0132..google.cloud.gkemulticloud." + - "v1.AwsControlPlaneB\003\340A\002\022K\n\rauthorization" + - "\030\017 \001(\0132/.google.cloud.gkemulticloud.v1.A" + - "wsAuthorizationB\003\340A\002\022C\n\005state\030\007 \001(\0162/.go" + - "ogle.cloud.gkemulticloud.v1.AwsCluster.S" + - "tateB\003\340A\003\022\025\n\010endpoint\030\010 \001(\tB\003\340A\003\022\020\n\003uid\030" + - "\t \001(\tB\003\340A\003\022\030\n\013reconciling\030\n \001(\010B\003\340A\003\0224\n\013" + - "create_time\030\013 \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\003\0224\n\013update_time\030\014 \001(\0132\032.google" + - ".protobuf.TimestampB\003\340A\003\022\014\n\004etag\030\r \001(\t\022T" + - "\n\013annotations\030\016 \003(\0132:.google.cloud.gkemu" + - "lticloud.v1.AwsCluster.AnnotationsEntryB" + - "\003\340A\001\022\\\n\030workload_identity_config\030\020 \001(\01325" + - ".google.cloud.gkemulticloud.v1.WorkloadI" + - "dentityConfigB\003\340A\003\022#\n\026cluster_ca_certifi" + - "cate\030\021 \001(\tB\003\340A\003\0228\n\005fleet\030\022 \001(\0132$.google." + - "cloud.gkemulticloud.v1.FleetB\003\340A\001\022I\n\016log" + - "ging_config\030\023 \001(\0132,.google.cloud.gkemult" + - "icloud.v1.LoggingConfigB\003\340A\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}\"\250\007\n\017Aws" + - "ControlPlane\022\024\n\007version\030\001 \001(\tB\003\340A\002\022\032\n\rin" + - "stance_type\030\002 \001(\tB\003\340A\001\022D\n\nssh_config\030\016 \001" + - "(\0132+.google.cloud.gkemulticloud.v1.AwsSs" + - "hConfigB\003\340A\001\022\027\n\nsubnet_ids\030\004 \003(\tB\003\340A\002\022\037\n" + - "\022security_group_ids\030\005 \003(\tB\003\340A\001\022!\n\024iam_in" + - "stance_profile\030\007 \001(\tB\003\340A\002\022J\n\013root_volume" + - "\030\010 \001(\01320.google.cloud.gkemulticloud.v1.A" + - "wsVolumeTemplateB\003\340A\001\022J\n\013main_volume\030\t \001" + - "(\01320.google.cloud.gkemulticloud.v1.AwsVo" + - "lumeTemplateB\003\340A\001\022V\n\023database_encryption" + - "\030\n \001(\01324.google.cloud.gkemulticloud.v1.A" + - "wsDatabaseEncryptionB\003\340A\002\022K\n\004tags\030\013 \003(\0132" + - "8.google.cloud.gkemulticloud.v1.AwsContr" + - "olPlane.TagsEntryB\003\340A\001\022b\n\033aws_services_a" + - "uthentication\030\014 \001(\01328.google.cloud.gkemu" + - "lticloud.v1.AwsServicesAuthenticationB\003\340" + - "A\002\022H\n\014proxy_config\030\020 \001(\0132-.google.cloud." + - "gkemulticloud.v1.AwsProxyConfigB\003\340A\001\022R\n\021" + - "config_encryption\030\021 \001(\01322.google.cloud.g" + - "kemulticloud.v1.AwsConfigEncryptionB\003\340A\002" + - "\022T\n\022instance_placement\030\022 \001(\01323.google.cl" + - "oud.gkemulticloud.v1.AwsInstancePlacemen" + - "tB\003\340A\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + - "e\030\002 \001(\t:\0028\001\"R\n\031AwsServicesAuthentication" + - "\022\025\n\010role_arn\030\001 \001(\tB\003\340A\002\022\036\n\021role_session_" + - "name\030\002 \001(\tB\003\340A\001\"[\n\020AwsAuthorization\022G\n\013a" + - "dmin_users\030\001 \003(\0132-.google.cloud.gkemulti" + - "cloud.v1.AwsClusterUserB\003\340A\002\"\'\n\016AwsClust" + - "erUser\022\025\n\010username\030\001 \001(\tB\003\340A\002\"1\n\025AwsData" + - "baseEncryption\022\030\n\013kms_key_arn\030\001 \001(\tB\003\340A\002" + - "\"\353\001\n\021AwsVolumeTemplate\022\025\n\010size_gib\030\001 \001(\005" + - "B\003\340A\001\022U\n\013volume_type\030\002 \001(\0162;.google.clou" + - "d.gkemulticloud.v1.AwsVolumeTemplate.Vol" + - "umeTypeB\003\340A\001\022\021\n\004iops\030\003 \001(\005B\003\340A\001\022\030\n\013kms_k" + - "ey_arn\030\004 \001(\tB\003\340A\001\";\n\nVolumeType\022\033\n\027VOLUM" + - "E_TYPE_UNSPECIFIED\020\000\022\007\n\003GP2\020\001\022\007\n\003GP3\020\002\"{" + - "\n\024AwsClusterNetworking\022\023\n\006vpc_id\030\001 \001(\tB\003" + - "\340A\002\022$\n\027pod_address_cidr_blocks\030\002 \003(\tB\003\340A" + - "\002\022(\n\033service_address_cidr_blocks\030\003 \003(\tB\003" + - "\340A\002\"\260\007\n\013AwsNodePool\022\014\n\004name\030\001 \001(\t\022\024\n\007ver" + - "sion\030\003 \001(\tB\003\340A\002\022A\n\006config\030\034 \001(\0132,.google" + - ".cloud.gkemulticloud.v1.AwsNodeConfigB\003\340" + - "A\002\022O\n\013autoscaling\030\031 \001(\01325.google.cloud.g" + - "kemulticloud.v1.AwsNodePoolAutoscalingB\003" + - "\340A\002\022\026\n\tsubnet_id\030\006 \001(\tB\003\340A\002\022D\n\005state\030\020 \001" + - "(\01620.google.cloud.gkemulticloud.v1.AwsNo" + - "dePool.StateB\003\340A\003\022\020\n\003uid\030\021 \001(\tB\003\340A\003\022\030\n\013r" + - "econciling\030\022 \001(\010B\003\340A\003\0224\n\013create_time\030\023 \001" + - "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" + - "pdate_time\030\024 \001(\0132\032.google.protobuf.Times" + - "tampB\003\340A\003\022\014\n\004etag\030\025 \001(\t\022U\n\013annotations\030\026" + - " \003(\0132;.google.cloud.gkemulticloud.v1.Aws" + - "NodePool.AnnotationsEntryB\003\340A\001\022R\n\023max_po" + - "ds_constraint\030\033 \001(\01320.google.cloud.gkemu" + - "lticloud.v1.MaxPodsConstraintB\003\340A\002\0322\n\020An" + - "notationsEntry\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\013RECONCI" + - "LING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRA" + - "DED\020\006:\216\001\352A\212\001\n(gkemulticloud.googleapis.c" + - "om/AwsNodePool\022^projects/{project}/locat" + - "ions/{location}/awsClusters/{aws_cluster" + - "}/awsNodePools/{aws_node_pool}\"\303\006\n\rAwsNo" + - "deConfig\022\032\n\rinstance_type\030\001 \001(\tB\003\340A\001\022J\n\013" + - "root_volume\030\002 \001(\01320.google.cloud.gkemult" + - "icloud.v1.AwsVolumeTemplateB\003\340A\001\022=\n\006tain" + - "ts\030\003 \003(\0132(.google.cloud.gkemulticloud.v1" + - ".NodeTaintB\003\340A\001\022M\n\006labels\030\004 \003(\01328.google" + - ".cloud.gkemulticloud.v1.AwsNodeConfig.La" + - "belsEntryB\003\340A\001\022I\n\004tags\030\005 \003(\01326.google.cl" + - "oud.gkemulticloud.v1.AwsNodeConfig.TagsE" + - "ntryB\003\340A\001\022!\n\024iam_instance_profile\030\006 \001(\tB" + - "\003\340A\002\022\027\n\nimage_type\030\013 \001(\tB\003\340A\001\022D\n\nssh_con" + - "fig\030\t \001(\0132+.google.cloud.gkemulticloud.v" + - "1.AwsSshConfigB\003\340A\001\022\037\n\022security_group_id" + - "s\030\n \003(\tB\003\340A\001\022H\n\014proxy_config\030\014 \001(\0132-.goo" + - "gle.cloud.gkemulticloud.v1.AwsProxyConfi" + - "gB\003\340A\001\022R\n\021config_encryption\030\r \001(\01322.goog" + - "le.cloud.gkemulticloud.v1.AwsConfigEncry" + - "ptionB\003\340A\002\022T\n\022instance_placement\030\016 \001(\01323" + - ".google.cloud.gkemulticloud.v1.AwsInstan" + - "cePlacementB\003\340A\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\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"R\n\026AwsNodeP" + - "oolAutoscaling\022\033\n\016min_node_count\030\001 \001(\005B\003" + - "\340A\002\022\033\n\016max_node_count\030\002 \001(\005B\003\340A\002\"\364\001\n\017Aws" + - "ServerConfig\022\014\n\004name\030\001 \001(\t\022H\n\016valid_vers" + - "ions\030\002 \003(\01320.google.cloud.gkemulticloud." + - "v1.AwsK8sVersionInfo\022\035\n\025supported_aws_re" + - "gions\030\003 \003(\t:j\352Ag\n,gkemulticloud.googleap" + - "is.com/AwsServerConfig\0227projects/{projec" + - "t}/locations/{location}/awsServerConfig\"" + - "$\n\021AwsK8sVersionInfo\022\017\n\007version\030\001 \001(\t\")\n" + - "\014AwsSshConfig\022\031\n\014ec2_key_pair\030\001 \001(\tB\003\340A\002" + - "\"<\n\016AwsProxyConfig\022\022\n\nsecret_arn\030\001 \001(\t\022\026" + - "\n\016secret_version\030\002 \001(\t\"/\n\023AwsConfigEncry" + - "ption\022\030\n\013kms_key_arn\030\001 \001(\tB\003\340A\002\"\263\001\n\024AwsI" + - "nstancePlacement\022Q\n\007tenancy\030\001 \001(\0162;.goog" + - "le.cloud.gkemulticloud.v1.AwsInstancePla" + - "cement.TenancyB\003\340A\002\"H\n\007Tenancy\022\027\n\023TENANC" + - "Y_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\r\n\tDEDICATE" + - "D\020\002\022\010\n\004HOST\020\003B\347\001\n!com.google.cloud.gkemu" + - "lticloud.v1B\021AwsResourcesProtoP\001ZJgoogle" + - ".golang.org/genproto/googleapis/cloud/gk" + - "emulticloud/v1;gkemulticloud\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.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", }); - 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", }); - 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", }); - 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", }); - 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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java deleted file mode 100644 index 54c61b5..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java +++ /dev/null @@ -1,364 +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_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\"\323\001\n\027Creat" + - "eAwsClusterRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372" + - "A)\022\'gkemulticloud.googleapis.com/AwsClus" + - "ter\022C\n\013aws_cluster\030\002 \001(\0132).google.cloud." + - "gkemulticloud.v1.AwsClusterB\003\340A\002\022\033\n\016aws_" + - "cluster_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalidate_only\030\004" + - " \001(\010\"\253\001\n\027UpdateAwsClusterRequest\022C\n\013aws_" + - "cluster\030\001 \001(\0132).google.cloud.gkemulticlo" + - "ud.v1.AwsClusterB\003\340A\002\022\025\n\rvalidate_only\030\002" + - " \001(\010\0224\n\013update_mask\030\004 \001(\0132\032.google.proto" + - "buf.FieldMaskB\003\340A\002\"U\n\024GetAwsClusterReque" + - "st\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'gkemulticloud." + - "googleapis.com/AwsCluster\"\200\001\n\026ListAwsClu" + - "stersRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'gk" + - "emulticloud.googleapis.com/AwsCluster\022\021\n" + - "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"s\n\027" + - "ListAwsClustersResponse\022?\n\014aws_clusters\030" + - "\001 \003(\0132).google.cloud.gkemulticloud.v1.Aw" + - "sCluster\022\027\n\017next_page_token\030\002 \001(\t\"\224\001\n\027De" + - "leteAwsClusterRequest\022=\n\004name\030\001 \001(\tB/\340A\002" + - "\372A)\n\'gkemulticloud.googleapis.com/AwsClu" + - "ster\022\025\n\rvalidate_only\030\002 \001(\010\022\025\n\rallow_mis" + - "sing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\332\001\n\030CreateAwsNo" + - "dePoolRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(g" + - "kemulticloud.googleapis.com/AwsNodePool\022" + - "F\n\raws_node_pool\030\002 \001(\0132*.google.cloud.gk" + - "emulticloud.v1.AwsNodePoolB\003\340A\002\022\035\n\020aws_n" + - "ode_pool_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalidate_only\030" + - "\004 \001(\010\"\257\001\n\030UpdateAwsNodePoolRequest\022F\n\raw" + - "s_node_pool\030\001 \001(\0132*.google.cloud.gkemult" + - "icloud.v1.AwsNodePoolB\003\340A\002\022\025\n\rvalidate_o" + - "nly\030\002 \001(\010\0224\n\013update_mask\030\003 \001(\0132\032.google." + - "protobuf.FieldMaskB\003\340A\002\"W\n\025GetAwsNodePoo" + - "lRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(gkemulti" + - "cloud.googleapis.com/AwsNodePool\"\202\001\n\027Lis" + - "tAwsNodePoolsRequest\022@\n\006parent\030\001 \001(\tB0\340A" + - "\002\372A*\022(gkemulticloud.googleapis.com/AwsNo" + - "dePool\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + - "\003 \001(\t\"w\n\030ListAwsNodePoolsResponse\022B\n\016aws" + - "_node_pools\030\001 \003(\0132*.google.cloud.gkemult" + - "icloud.v1.AwsNodePool\022\027\n\017next_page_token" + - "\030\002 \001(\t\"\226\001\n\030DeleteAwsNodePoolRequest\022>\n\004n" + - "ame\030\001 \001(\tB0\340A\002\372A*\n(gkemulticloud.googlea" + - "pis.com/AwsNodePool\022\025\n\rvalidate_only\030\002 \001" + - "(\010\022\025\n\rallow_missing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"" + - "_\n\031GetAwsServerConfigRequest\022B\n\004name\030\001 \001" + - "(\tB4\340A\002\372A.\n,gkemulticloud.googleapis.com" + - "/AwsServerConfig\"e\n\035GenerateAwsAccessTok" + - "enRequest\022D\n\013aws_cluster\030\001 \001(\tB/\340A\002\372A)\n\'" + - "gkemulticloud.googleapis.com/AwsCluster\"" + - "u\n\036GenerateAwsAccessTokenResponse\022\031\n\014acc" + - "ess_token\030\001 \001(\tB\003\340A\003\0228\n\017expiration_time\030" + - "\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\0032\376" + - "\025\n\013AwsClusters\022\366\001\n\020CreateAwsCluster\0226.go" + - "ogle.cloud.gkemulticloud.v1.CreateAwsClu" + - "sterRequest\032\035.google.longrunning.Operati" + - "on\"\212\001\202\323\344\223\002>\"//v1/{parent=projects/*/loca" + - "tions/*}/awsClusters:\013aws_cluster\332A!pare" + - "nt,aws_cluster,aws_cluster_id\312A\037\n\nAwsClu" + - "ster\022\021OperationMetadata\022\370\001\n\020UpdateAwsClu" + - "ster\0226.google.cloud.gkemulticloud.v1.Upd" + - "ateAwsClusterRequest\032\035.google.longrunnin" + - "g.Operation\"\214\001\202\323\344\223\002J2;/v1/{aws_cluster.n" + - "ame=projects/*/locations/*/awsClusters/*" + - "}:\013aws_cluster\332A\027aws_cluster,update_mask" + - "\312A\037\n\nAwsCluster\022\021OperationMetadata\022\257\001\n\rG" + - "etAwsCluster\0223.google.cloud.gkemulticlou" + - "d.v1.GetAwsClusterRequest\032).google.cloud" + - ".gkemulticloud.v1.AwsCluster\">\202\323\344\223\0021\022//v" + - "1/{name=projects/*/locations/*/awsCluste" + - "rs/*}\332A\004name\022\302\001\n\017ListAwsClusters\0225.googl" + - "e.cloud.gkemulticloud.v1.ListAwsClusters" + - "Request\0326.google.cloud.gkemulticloud.v1." + - "ListAwsClustersResponse\"@\202\323\344\223\0021\022//v1/{pa" + - "rent=projects/*/locations/*}/awsClusters" + - "\332A\006parent\022\326\001\n\020DeleteAwsCluster\0226.google." + - "cloud.gkemulticloud.v1.DeleteAwsClusterR" + - "equest\032\035.google.longrunning.Operation\"k\202" + - "\323\344\223\0021*//v1/{name=projects/*/locations/*/" + - "awsClusters/*}\332A\004name\312A*\n\025google.protobu" + - "f.Empty\022\021OperationMetadata\022\354\001\n\026GenerateA" + - "wsAccessToken\022<.google.cloud.gkemulticlo" + - "ud.v1.GenerateAwsAccessTokenRequest\032=.go" + - "ogle.cloud.gkemulticloud.v1.GenerateAwsA" + - "ccessTokenResponse\"U\202\323\344\223\002O\022M/v1/{aws_clu" + - "ster=projects/*/locations/*/awsClusters/" + - "*}:generateAwsAccessToken\022\216\002\n\021CreateAwsN" + - "odePool\0227.google.cloud.gkemulticloud.v1." + - "CreateAwsNodePoolRequest\032\035.google.longru" + - "nning.Operation\"\240\001\202\323\344\223\002O\">/v1/{parent=pr" + - "ojects/*/locations/*/awsClusters/*}/awsN" + - "odePools:\raws_node_pool\332A%parent,aws_nod" + - "e_pool,aws_node_pool_id\312A \n\013AwsNodePool\022" + - "\021OperationMetadata\022\220\002\n\021UpdateAwsNodePool" + - "\0227.google.cloud.gkemulticloud.v1.UpdateA" + - "wsNodePoolRequest\032\035.google.longrunning.O" + - "peration\"\242\001\202\323\344\223\002]2L/v1/{aws_node_pool.na" + - "me=projects/*/locations/*/awsClusters/*/" + - "awsNodePools/*}:\raws_node_pool\332A\031aws_nod" + - "e_pool,update_mask\312A \n\013AwsNodePool\022\021Oper" + - "ationMetadata\022\301\001\n\016GetAwsNodePool\0224.googl" + - "e.cloud.gkemulticloud.v1.GetAwsNodePoolR" + - "equest\032*.google.cloud.gkemulticloud.v1.A" + - "wsNodePool\"M\202\323\344\223\002@\022>/v1/{name=projects/*" + - "/locations/*/awsClusters/*/awsNodePools/" + - "*}\332A\004name\022\324\001\n\020ListAwsNodePools\0226.google." + - "cloud.gkemulticloud.v1.ListAwsNodePoolsR" + - "equest\0327.google.cloud.gkemulticloud.v1.L" + - "istAwsNodePoolsResponse\"O\202\323\344\223\002@\022>/v1/{pa" + - "rent=projects/*/locations/*/awsClusters/" + - "*}/awsNodePools\332A\006parent\022\347\001\n\021DeleteAwsNo" + - "dePool\0227.google.cloud.gkemulticloud.v1.D" + - "eleteAwsNodePoolRequest\032\035.google.longrun" + - "ning.Operation\"z\202\323\344\223\002@*>/v1/{name=projec" + - "ts/*/locations/*/awsClusters/*/awsNodePo" + - "ols/*}\332A\004name\312A*\n\025google.protobuf.Empty\022" + - "\021OperationMetadata\022\300\001\n\022GetAwsServerConfi" + - "g\0228.google.cloud.gkemulticloud.v1.GetAws" + - "ServerConfigRequest\032..google.cloud.gkemu" + - "lticloud.v1.AwsServerConfig\"@\202\323\344\223\0023\0221/v1" + - "/{name=projects/*/locations/*/awsServerC" + - "onfig}\332A\004name\032P\312A\034gkemulticloud.googleap" + - "is.com\322A.https://www.googleapis.com/auth" + - "/cloud-platformB\345\001\n!com.google.cloud.gke" + - "multicloud.v1B\017AwsServiceProtoP\001ZJgoogle" + - ".golang.org/genproto/googleapis/cloud/gk" + - "emulticloud/v1;gkemulticloud\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.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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java deleted file mode 100644 index 4a5e8ba..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java +++ /dev/null @@ -1,21 +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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java deleted file mode 100644 index 3fd9014..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.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 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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java deleted file mode 100644 index 6aaaeb5..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java +++ /dev/null @@ -1,462 +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_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; - - 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\"\325\n\n\014Azur" + - "eCluster\022\014\n\004name\030\001 \001(\t\022\030\n\013description\030\002 " + - "\001(\tB\003\340A\001\022\031\n\014azure_region\030\003 \001(\tB\003\340A\002\022\036\n\021r" + - "esource_group_id\030\021 \001(\tB\003\340A\002\022\031\n\014azure_cli" + - "ent\030\020 \001(\tB\003\340A\002\022N\n\nnetworking\030\004 \001(\01325.goo" + - "gle.cloud.gkemulticloud.v1.AzureClusterN" + - "etworkingB\003\340A\002\022L\n\rcontrol_plane\030\005 \001(\01320." + - "google.cloud.gkemulticloud.v1.AzureContr" + - "olPlaneB\003\340A\002\022M\n\rauthorization\030\006 \001(\01321.go" + - "ogle.cloud.gkemulticloud.v1.AzureAuthori" + - "zationB\003\340A\002\022E\n\005state\030\007 \001(\01621.google.clou" + - "d.gkemulticloud.v1.AzureCluster.StateB\003\340" + - "A\003\022\025\n\010endpoint\030\010 \001(\tB\003\340A\003\022\020\n\003uid\030\t \001(\tB\003" + - "\340A\003\022\030\n\013reconciling\030\n \001(\010B\003\340A\003\0224\n\013create_" + - "time\030\013 \001(\0132\032.google.protobuf.TimestampB\003" + - "\340A\003\0224\n\013update_time\030\014 \001(\0132\032.google.protob" + - "uf.TimestampB\003\340A\003\022\014\n\004etag\030\r \001(\t\022V\n\013annot" + - "ations\030\016 \003(\0132<.google.cloud.gkemulticlou" + - "d.v1.AzureCluster.AnnotationsEntryB\003\340A\001\022" + - "\\\n\030workload_identity_config\030\022 \001(\01325.goog" + - "le.cloud.gkemulticloud.v1.WorkloadIdenti" + - "tyConfigB\003\340A\003\022#\n\026cluster_ca_certificate\030" + - "\023 \001(\tB\003\340A\003\0228\n\005fleet\030\024 \001(\0132$.google.cloud" + - ".gkemulticloud.v1.FleetB\003\340A\001\022T\n\021managed_" + - "resources\030\025 \001(\01324.google.cloud.gkemultic" + - "loud.v1.AzureClusterResourcesB\003\340A\003\022I\n\016lo" + - "gging_config\030\027 \001(\0132,.google.cloud.gkemul" + - "ticloud.v1.LoggingConfigB\003\340A\001\0322\n\020Annotat" + - "ionsEntry\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\014PRO" + - "VISIONING\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/Azur" + - "eCluster\022Eprojects/{project}/locations/{" + - "location}/azureClusters/{azure_cluster}\"" + - "\267\001\n\026AzureClusterNetworking\022\037\n\022virtual_ne" + - "twork_id\030\001 \001(\tB\003\340A\002\022$\n\027pod_address_cidr_" + - "blocks\030\002 \003(\tB\003\340A\002\022(\n\033service_address_cid" + - "r_blocks\030\003 \003(\tB\003\340A\002\022,\n\037service_load_bala" + - "ncer_subnet_id\030\005 \001(\tB\003\340A\001\"\242\006\n\021AzureContr" + - "olPlane\022\024\n\007version\030\001 \001(\tB\003\340A\002\022\026\n\tsubnet_" + - "id\030\002 \001(\tB\003\340A\001\022\024\n\007vm_size\030\003 \001(\tB\003\340A\001\022F\n\ns" + - "sh_config\030\013 \001(\0132-.google.cloud.gkemultic" + - "loud.v1.AzureSshConfigB\003\340A\002\022J\n\013root_volu" + - "me\030\004 \001(\01320.google.cloud.gkemulticloud.v1" + - ".AzureDiskTemplateB\003\340A\001\022J\n\013main_volume\030\005" + - " \001(\01320.google.cloud.gkemulticloud.v1.Azu" + - "reDiskTemplateB\003\340A\001\022X\n\023database_encrypti" + - "on\030\n \001(\01326.google.cloud.gkemulticloud.v1" + - ".AzureDatabaseEncryptionB\003\340A\001\022J\n\014proxy_c" + - "onfig\030\014 \001(\0132/.google.cloud.gkemulticloud" + - ".v1.AzureProxyConfigB\003\340A\001\022T\n\021config_encr" + - "yption\030\016 \001(\01324.google.cloud.gkemulticlou" + - "d.v1.AzureConfigEncryptionB\003\340A\001\022M\n\004tags\030" + - "\007 \003(\0132:.google.cloud.gkemulticloud.v1.Az" + - "ureControlPlane.TagsEntryB\003\340A\001\022P\n\022replic" + - "a_placements\030\r \003(\0132/.google.cloud.gkemul" + - "ticloud.v1.ReplicaPlacementB\003\340A\001\022\037\n\022endp" + - "oint_subnet_id\030\017 \001(\tB\003\340A\001\032+\n\tTagsEntry\022\013" + - "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"P\n\020Replic" + - "aPlacement\022\026\n\tsubnet_id\030\001 \001(\tB\003\340A\002\022$\n\027az" + - "ure_availability_zone\030\002 \001(\tB\003\340A\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\023\n\006key_id\030\003 \001(\tB\003\340A\002\"E\n\025AzureConfi" + - "gEncryption\022\023\n\006key_id\030\002 \001(\tB\003\340A\002\022\027\n\npubl" + - "ic_key\030\003 \001(\tB\003\340A\001\"*\n\021AzureDiskTemplate\022\025" + - "\n\010size_gib\030\001 \001(\005B\003\340A\001\"\265\003\n\013AzureClient\022\014\n" + - "\004name\030\001 \001(\t\022\026\n\ttenant_id\030\002 \001(\tB\003\340A\002\022\033\n\016a" + - "pplication_id\030\003 \001(\tB\003\340A\002\022U\n\013annotations\030" + - "\010 \003(\0132;.google.cloud.gkemulticloud.v1.Az" + - "ureClient.AnnotationsEntryB\003\340A\001\022\034\n\017pem_c" + - "ertificate\030\007 \001(\tB\003\340A\003\022\020\n\003uid\030\005 \001(\tB\003\340A\003\022" + - "4\n\013create_time\030\006 \001(\0132\032.google.protobuf.T" + - "imestampB\003\340A\003\0322\n\020AnnotationsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:r\352Ao\n(gkemulti" + - "cloud.googleapis.com/AzureClient\022Cprojec" + - "ts/{project}/locations/{location}/azureC" + - "lients/{azure_client}\"_\n\022AzureAuthorizat" + - "ion\022I\n\013admin_users\030\001 \003(\0132/.google.cloud." + - "gkemulticloud.v1.AzureClusterUserB\003\340A\002\")" + - "\n\020AzureClusterUser\022\025\n\010username\030\001 \001(\tB\003\340A" + - "\002\"\352\007\n\rAzureNodePool\022\014\n\004name\030\001 \001(\t\022\024\n\007ver" + - "sion\030\002 \001(\tB\003\340A\002\022C\n\006config\030\026 \001(\0132..google" + - ".cloud.gkemulticloud.v1.AzureNodeConfigB" + - "\003\340A\002\022\026\n\tsubnet_id\030\003 \001(\tB\003\340A\002\022Q\n\013autoscal" + - "ing\030\004 \001(\01327.google.cloud.gkemulticloud.v" + - "1.AzureNodePoolAutoscalingB\003\340A\002\022F\n\005state" + - "\030\006 \001(\01622.google.cloud.gkemulticloud.v1.A" + - "zureNodePool.StateB\003\340A\003\022\020\n\003uid\030\010 \001(\tB\003\340A" + - "\003\022\030\n\013reconciling\030\t \001(\010B\003\340A\003\0224\n\013create_ti" + - "me\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A" + - "\003\0224\n\013update_time\030\013 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\022\014\n\004etag\030\014 \001(\t\022W\n\013annotat" + - "ions\030\r \003(\0132=.google.cloud.gkemulticloud." + - "v1.AzureNodePool.AnnotationsEntryB\003\340A\001\022R" + - "\n\023max_pods_constraint\030\025 \001(\01320.google.clo" + - "ud.gkemulticloud.v1.MaxPodsConstraintB\003\340" + - "A\002\022$\n\027azure_availability_zone\030\027 \001(\tB\003\340A\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:\230\001\352A\224\001\n*gkemulticloud.google" + - "apis.com/AzureNodePool\022fprojects/{projec" + - "t}/locations/{location}/azureClusters/{a" + - "zure_cluster}/azureNodePools/{azure_node" + - "_pool}\"\257\005\n\017AzureNodeConfig\022\024\n\007vm_size\030\001 " + - "\001(\tB\003\340A\001\022J\n\013root_volume\030\002 \001(\01320.google.c" + - "loud.gkemulticloud.v1.AzureDiskTemplateB" + - "\003\340A\001\022K\n\004tags\030\003 \003(\01328.google.cloud.gkemul" + - "ticloud.v1.AzureNodeConfig.TagsEntryB\003\340A" + - "\001\022\027\n\nimage_type\030\010 \001(\tB\003\340A\001\022F\n\nssh_config" + - "\030\007 \001(\0132-.google.cloud.gkemulticloud.v1.A" + - "zureSshConfigB\003\340A\002\022J\n\014proxy_config\030\t \001(\013" + - "2/.google.cloud.gkemulticloud.v1.AzurePr" + - "oxyConfigB\003\340A\001\022T\n\021config_encryption\030\014 \001(" + - "\01324.google.cloud.gkemulticloud.v1.AzureC" + - "onfigEncryptionB\003\340A\001\022=\n\006taints\030\n \003(\0132(.g" + - "oogle.cloud.gkemulticloud.v1.NodeTaintB\003" + - "\340A\001\022O\n\006labels\030\013 \003(\0132:.google.cloud.gkemu" + - "lticloud.v1.AzureNodeConfig.LabelsEntryB" + - "\003\340A\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\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\t:\0028\001\"T\n\030AzureNodePoolAutosca" + - "ling\022\033\n\016min_node_count\030\001 \001(\005B\003\340A\002\022\033\n\016max" + - "_node_count\030\002 \001(\005B\003\340A\002\"\376\001\n\021AzureServerCo" + - "nfig\022\014\n\004name\030\001 \001(\t\022J\n\016valid_versions\030\002 \003" + - "(\01322.google.cloud.gkemulticloud.v1.Azure" + - "K8sVersionInfo\022\037\n\027supported_azure_region" + - "s\030\003 \003(\t:n\352Ak\n.gkemulticloud.googleapis.c" + - "om/AzureServerConfig\0229projects/{project}" + - "/locations/{location}/azureServerConfig\"" + - "&\n\023AzureK8sVersionInfo\022\017\n\007version\030\001 \001(\t\"" + - "-\n\016AzureSshConfig\022\033\n\016authorized_key\030\001 \001(" + - "\tB\003\340A\002\"y\n\025AzureClusterResources\022&\n\031netwo" + - "rk_security_group_id\030\001 \001(\tB\003\340A\003\0228\n+contr" + - "ol_plane_application_security_group_id\030\002" + - " \001(\tB\003\340A\003B\351\001\n!com.google.cloud.gkemultic" + - "loud.v1B\023AzureResourcesProtoP\001ZJgoogle.g" + - "olang.org/genproto/googleapis/cloud/gkem" + - "ulticloud/v1;gkemulticloud\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.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", "State", "Endpoint", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "Annotations", "WorkloadIdentityConfig", "ClusterCaCertificate", "Fleet", "ManagedResources", "LoggingConfig", }); - 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", "Annotations", "PemCertificate", "Uid", "CreateTime", }); - 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_AzureClusterUser_descriptor = - getDescriptor().getMessageTypes().get(10); - 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(11); - 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", }); - 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(12); - 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(13); - 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(14); - 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(15); - 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(16); - 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(17); - 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", }); - 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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java deleted file mode 100644 index 642b024..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java +++ /dev/null @@ -1,463 +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_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\"\335\001\n\031C" + - "reateAzureClusterRequest\022A\n\006parent\030\001 \001(\t" + - "B1\340A\002\372A+\022)gkemulticloud.googleapis.com/A" + - "zureCluster\022G\n\razure_cluster\030\002 \001(\0132+.goo" + - "gle.cloud.gkemulticloud.v1.AzureClusterB" + - "\003\340A\002\022\035\n\020azure_cluster_id\030\003 \001(\tB\003\340A\002\022\025\n\rv" + - "alidate_only\030\004 \001(\010\"\261\001\n\031UpdateAzureCluste" + - "rRequest\022G\n\razure_cluster\030\001 \001(\0132+.google" + - ".cloud.gkemulticloud.v1.AzureClusterB\003\340A" + - "\002\022\025\n\rvalidate_only\030\002 \001(\010\0224\n\013update_mask\030" + - "\004 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"Y" + - "\n\026GetAzureClusterRequest\022?\n\004name\030\001 \001(\tB1" + - "\340A\002\372A+\n)gkemulticloud.googleapis.com/Azu" + - "reCluster\"\204\001\n\030ListAzureClustersRequest\022A" + - "\n\006parent\030\001 \001(\tB1\340A\002\372A+\022)gkemulticloud.go" + - "ogleapis.com/AzureCluster\022\021\n\tpage_size\030\002" + - " \001(\005\022\022\n\npage_token\030\003 \001(\t\"y\n\031ListAzureClu" + - "stersResponse\022C\n\016azure_clusters\030\001 \003(\0132+." + - "google.cloud.gkemulticloud.v1.AzureClust" + - "er\022\027\n\017next_page_token\030\002 \001(\t\"\230\001\n\031DeleteAz" + - "ureClusterRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" + - ")gkemulticloud.googleapis.com/AzureClust" + - "er\022\025\n\rallow_missing\030\002 \001(\010\022\025\n\rvalidate_on" + - "ly\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\344\001\n\032CreateAzureNo" + - "dePoolRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*g" + - "kemulticloud.googleapis.com/AzureNodePoo" + - "l\022J\n\017azure_node_pool\030\002 \001(\0132,.google.clou" + - "d.gkemulticloud.v1.AzureNodePoolB\003\340A\002\022\037\n" + - "\022azure_node_pool_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalida" + - "te_only\030\004 \001(\010\"\265\001\n\032UpdateAzureNodePoolReq" + - "uest\022J\n\017azure_node_pool\030\001 \001(\0132,.google.c" + - "loud.gkemulticloud.v1.AzureNodePoolB\003\340A\002" + - "\022\025\n\rvalidate_only\030\002 \001(\010\0224\n\013update_mask\030\003" + - " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"[\n" + - "\027GetAzureNodePoolRequest\022@\n\004name\030\001 \001(\tB2" + - "\340A\002\372A,\n*gkemulticloud.googleapis.com/Azu" + - "reNodePool\"\206\001\n\031ListAzureNodePoolsRequest" + - "\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*gkemulticloud." + - "googleapis.com/AzureNodePool\022\021\n\tpage_siz" + - "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"}\n\032ListAzure" + - "NodePoolsResponse\022F\n\020azure_node_pools\030\001 " + - "\003(\0132,.google.cloud.gkemulticloud.v1.Azur" + - "eNodePool\022\027\n\017next_page_token\030\002 \001(\t\"\232\001\n\032D" + - "eleteAzureNodePoolRequest\022@\n\004name\030\001 \001(\tB" + - "2\340A\002\372A,\n*gkemulticloud.googleapis.com/Az" + - "ureNodePool\022\025\n\rvalidate_only\030\002 \001(\010\022\025\n\ral" + - "low_missing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"c\n\033GetAz" + - "ureServerConfigRequest\022D\n\004name\030\001 \001(\tB6\340A" + - "\002\372A0\n.gkemulticloud.googleapis.com/Azure" + - "ServerConfig\"\330\001\n\030CreateAzureClientReques" + - "t\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(gkemulticloud" + - ".googleapis.com/AzureClient\022E\n\014azure_cli" + - "ent\030\002 \001(\0132*.google.cloud.gkemulticloud.v" + - "1.AzureClientB\003\340A\002\022\034\n\017azure_client_id\030\004 " + - "\001(\tB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010\"W\n\025GetAz" + - "ureClientRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(" + - "gkemulticloud.googleapis.com/AzureClient" + - "\"\202\001\n\027ListAzureClientsRequest\022@\n\006parent\030\001" + - " \001(\tB0\340A\002\372A*\022(gkemulticloud.googleapis.c" + - "om/AzureClient\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + - "e_token\030\003 \001(\t\"v\n\030ListAzureClientsRespons" + - "e\022A\n\razure_clients\030\001 \003(\0132*.google.cloud." + - "gkemulticloud.v1.AzureClient\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"\210\001\n\030DeleteAzureClientReque" + - "st\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(gkemulticloud." + - "googleapis.com/AzureClient\022\025\n\rallow_miss" + - "ing\030\002 \001(\010\022\025\n\rvalidate_only\030\003 \001(\010\"k\n\037Gene" + - "rateAzureAccessTokenRequest\022H\n\razure_clu" + - "ster\030\001 \001(\tB1\340A\002\372A+\n)gkemulticloud.google" + - "apis.com/AzureCluster\"w\n GenerateAzureAc" + - "cessTokenResponse\022\031\n\014access_token\030\001 \001(\tB" + - "\003\340A\003\0228\n\017expiration_time\030\002 \001(\0132\032.google.p" + - "rotobuf.TimestampB\003\340A\0032\335\035\n\rAzureClusters" + - "\022\375\001\n\021CreateAzureClient\0227.google.cloud.gk" + - "emulticloud.v1.CreateAzureClientRequest\032" + - "\035.google.longrunning.Operation\"\217\001\202\323\344\223\002@\"" + - "0/v1/{parent=projects/*/locations/*}/azu" + - "reClients:\014azure_client\332A#parent,azure_c" + - "lient,azure_client_id\312A \n\013AzureClient\022\021O" + - "perationMetadata\022\263\001\n\016GetAzureClient\0224.go" + - "ogle.cloud.gkemulticloud.v1.GetAzureClie" + - "ntRequest\032*.google.cloud.gkemulticloud.v" + - "1.AzureClient\"?\202\323\344\223\0022\0220/v1/{name=project" + - "s/*/locations/*/azureClients/*}\332A\004name\022\306" + - "\001\n\020ListAzureClients\0226.google.cloud.gkemu" + - "lticloud.v1.ListAzureClientsRequest\0327.go" + - "ogle.cloud.gkemulticloud.v1.ListAzureCli" + - "entsResponse\"A\202\323\344\223\0022\0220/v1/{parent=projec" + - "ts/*/locations/*}/azureClients\332A\006parent\022" + - "\331\001\n\021DeleteAzureClient\0227.google.cloud.gke" + - "multicloud.v1.DeleteAzureClientRequest\032\035" + - ".google.longrunning.Operation\"l\202\323\344\223\0022*0/" + - "v1/{name=projects/*/locations/*/azureCli" + - "ents/*}\332A\004name\312A*\n\025google.protobuf.Empty" + - "\022\021OperationMetadata\022\204\002\n\022CreateAzureClust" + - "er\0228.google.cloud.gkemulticloud.v1.Creat" + - "eAzureClusterRequest\032\035.google.longrunnin" + - "g.Operation\"\224\001\202\323\344\223\002B\"1/v1/{parent=projec" + - "ts/*/locations/*}/azureClusters:\razure_c" + - "luster\332A%parent,azure_cluster,azure_clus" + - "ter_id\312A!\n\014AzureCluster\022\021OperationMetada" + - "ta\022\206\002\n\022UpdateAzureCluster\0228.google.cloud" + - ".gkemulticloud.v1.UpdateAzureClusterRequ" + - "est\032\035.google.longrunning.Operation\"\226\001\202\323\344" + - "\223\002P2?/v1/{azure_cluster.name=projects/*/" + - "locations/*/azureClusters/*}:\razure_clus" + - "ter\332A\031azure_cluster,update_mask\312A!\n\014Azur" + - "eCluster\022\021OperationMetadata\022\267\001\n\017GetAzure" + - "Cluster\0225.google.cloud.gkemulticloud.v1." + - "GetAzureClusterRequest\032+.google.cloud.gk" + - "emulticloud.v1.AzureCluster\"@\202\323\344\223\0023\0221/v1" + - "/{name=projects/*/locations/*/azureClust" + - "ers/*}\332A\004name\022\312\001\n\021ListAzureClusters\0227.go" + - "ogle.cloud.gkemulticloud.v1.ListAzureClu" + - "stersRequest\0328.google.cloud.gkemulticlou" + - "d.v1.ListAzureClustersResponse\"B\202\323\344\223\0023\0221" + - "/v1/{parent=projects/*/locations/*}/azur" + - "eClusters\332A\006parent\022\334\001\n\022DeleteAzureCluste" + - "r\0228.google.cloud.gkemulticloud.v1.Delete" + - "AzureClusterRequest\032\035.google.longrunning" + - ".Operation\"m\202\323\344\223\0023*1/v1/{name=projects/*" + - "/locations/*/azureClusters/*}\332A\004name\312A*\n" + - "\025google.protobuf.Empty\022\021OperationMetadat" + - "a\022\370\001\n\030GenerateAzureAccessToken\022>.google." + - "cloud.gkemulticloud.v1.GenerateAzureAcce" + - "ssTokenRequest\032?.google.cloud.gkemulticl" + - "oud.v1.GenerateAzureAccessTokenResponse\"" + - "[\202\323\344\223\002U\022S/v1/{azure_cluster=projects/*/l" + - "ocations/*/azureClusters/*}:generateAzur" + - "eAccessToken\022\236\002\n\023CreateAzureNodePool\0229.g" + - "oogle.cloud.gkemulticloud.v1.CreateAzure" + - "NodePoolRequest\032\035.google.longrunning.Ope" + - "ration\"\254\001\202\323\344\223\002U\"B/v1/{parent=projects/*/" + - "locations/*/azureClusters/*}/azureNodePo" + - "ols:\017azure_node_pool\332A)parent,azure_node" + - "_pool,azure_node_pool_id\312A\"\n\rAzureNodePo" + - "ol\022\021OperationMetadata\022\240\002\n\023UpdateAzureNod" + - "ePool\0229.google.cloud.gkemulticloud.v1.Up" + - "dateAzureNodePoolRequest\032\035.google.longru" + - "nning.Operation\"\256\001\202\323\344\223\002e2R/v1/{azure_nod" + - "e_pool.name=projects/*/locations/*/azure" + - "Clusters/*/azureNodePools/*}:\017azure_node" + - "_pool\332A\033azure_node_pool,update_mask\312A\"\n\r" + - "AzureNodePool\022\021OperationMetadata\022\313\001\n\020Get" + - "AzureNodePool\0226.google.cloud.gkemulticlo" + - "ud.v1.GetAzureNodePoolRequest\032,.google.c" + - "loud.gkemulticloud.v1.AzureNodePool\"Q\202\323\344" + - "\223\002D\022B/v1/{name=projects/*/locations/*/az" + - "ureClusters/*/azureNodePools/*}\332A\004name\022\336" + - "\001\n\022ListAzureNodePools\0228.google.cloud.gke" + - "multicloud.v1.ListAzureNodePoolsRequest\032" + - "9.google.cloud.gkemulticloud.v1.ListAzur" + - "eNodePoolsResponse\"S\202\323\344\223\002D\022B/v1/{parent=" + - "projects/*/locations/*/azureClusters/*}/" + - "azureNodePools\332A\006parent\022\357\001\n\023DeleteAzureN" + - "odePool\0229.google.cloud.gkemulticloud.v1." + - "DeleteAzureNodePoolRequest\032\035.google.long" + - "running.Operation\"~\202\323\344\223\002D*B/v1/{name=pro" + - "jects/*/locations/*/azureClusters/*/azur" + - "eNodePools/*}\332A\004name\312A*\n\025google.protobuf" + - ".Empty\022\021OperationMetadata\022\310\001\n\024GetAzureSe" + - "rverConfig\022:.google.cloud.gkemulticloud." + - "v1.GetAzureServerConfigRequest\0320.google." + - "cloud.gkemulticloud.v1.AzureServerConfig" + - "\"B\202\323\344\223\0025\0223/v1/{name=projects/*/locations" + - "/*/azureServerConfig}\332A\004name\032P\312A\034gkemult" + - "icloud.googleapis.com\322A.https://www.goog" + - "leapis.com/auth/cloud-platformB\347\001\n!com.g" + - "oogle.cloud.gkemulticloud.v1B\021AzureServi" + - "ceProtoP\001ZJgoogle.golang.org/genproto/go" + - "ogleapis/cloud/gkemulticloud/v1;gkemulti" + - "cloud\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.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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java deleted file mode 100644 index fe7a6d4..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java +++ /dev/null @@ -1,153 +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_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; - - 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\"3\n\021MaxPodsConstraint\022\036\n\021max_pods" + - "_per_node\030\001 \001(\003B\003\340A\002\"\310\001\n\021OperationMetada" + - "ta\0224\n\013create_time\030\001 \001(\0132\032.google.protobu" + - "f.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goo" + - "gle.protobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 " + - "\001(\tB\003\340A\003\022\032\n\rstatus_detail\030\004 \001(\tB\003\340A\003\022\031\n\014" + - "error_detail\030\005 \001(\tB\003\340A\003\"\322\001\n\tNodeTaint\022\020\n" + - "\003key\030\001 \001(\tB\003\340A\002\022\022\n\005value\030\002 \001(\tB\003\340A\002\022D\n\006e" + - "ffect\030\003 \001(\0162/.google.cloud.gkemulticloud" + - ".v1.NodeTaint.EffectB\003\340A\002\"Y\n\006Effect\022\026\n\022E" + - "FFECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022" + - "PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECUTE\020\003\"6\n\005" + - "Fleet\022\024\n\007project\030\001 \001(\tB\003\340A\002\022\027\n\nmembershi" + - "p\030\002 \001(\tB\003\340A\003\"`\n\rLoggingConfig\022O\n\020compone" + - "nt_config\030\001 \001(\01325.google.cloud.gkemultic" + - "loud.v1.LoggingComponentConfig\"\302\001\n\026Loggi" + - "ngComponentConfig\022Z\n\021enable_components\030\001" + - " \003(\0162?.google.cloud.gkemulticloud.v1.Log" + - "gingComponentConfig.Component\"L\n\tCompone" + - "nt\022\031\n\025COMPONENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_" + - "COMPONENTS\020\001\022\r\n\tWORKLOADS\020\002B\352\001\n!com.goog" + - "le.cloud.gkemulticloud.v1B\024CommonResourc" + - "esProtoP\001ZJgoogle.golang.org/genproto/go" + - "ogleapis/cloud/gkemulticloud/v1;gkemulti" + - "cloud\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.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", }); - 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", }); - 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java deleted file mode 100644 index 13a8f48..0000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java deleted file mode 100644 index 3284635..0000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java index aceab69..1b1c7f5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsAuthorization(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsAuthorization( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,26 @@ private AwsAuthorization( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - adminUsers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + adminUsers_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + adminUsers_.add( + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsClusterUser.parser(), + extensionRegistry)); + break; } - adminUsers_.add( - input.readMessage(com.google.cloud.gkemulticloud.v1.AwsClusterUser.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +98,7 @@ private AwsAuthorization( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); @@ -87,22 +107,27 @@ private AwsAuthorization( makeExtensionsImmutable(); } } - 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; 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
@@ -111,13 +136,17 @@ private AwsAuthorization(
    * 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]; + * + * 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
@@ -126,14 +155,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + 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
@@ -142,13 +175,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) = REQUIRED]; + * + * 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
@@ -157,13 +194,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) = REQUIRED]; + * + * 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
@@ -172,7 +213,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) = REQUIRED]; + * + * 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( @@ -181,6 +224,7 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,8 +236,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)); } @@ -207,8 +250,7 @@ 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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -218,15 +260,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.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 (!getAdminUsersList().equals(other.getAdminUsersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -248,117 +290,126 @@ 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() @@ -366,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAdminUsersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -390,9 +441,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 @@ -411,7 +462,8 @@ 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); int from_bitField0_ = bitField0_; if (adminUsersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -430,38 +482,39 @@ public com.google.cloud.gkemulticloud.v1.AwsAuthorization buildPartial() { 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; @@ -469,7 +522,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()) { @@ -488,9 +542,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_); } @@ -515,7 +570,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsAuthorization) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AwsAuthorization) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -524,21 +580,29 @@ public Builder mergeFrom( } 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_; /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -547,7 +611,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getAdminUsersList() { if (adminUsersBuilder_ == null) { @@ -557,6 +623,8 @@ public java.util.List getAdmin } } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -565,7 +633,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getAdminUsersCount() { if (adminUsersBuilder_ == null) { @@ -575,6 +645,8 @@ public int getAdminUsersCount() { } } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -583,7 +655,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) = REQUIRED]; + * + * 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) { @@ -593,6 +667,8 @@ public 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
@@ -601,7 +677,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) = REQUIRED]; + * + * 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) { @@ -618,6 +696,8 @@ public Builder setAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -626,7 +706,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) = REQUIRED]; + * + * 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) { @@ -640,6 +722,8 @@ public Builder setAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -648,7 +732,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) = REQUIRED]; + * + * 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) { @@ -664,6 +750,8 @@ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AwsClusterUser va return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -672,7 +760,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) = REQUIRED]; + * + * 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) { @@ -689,6 +779,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -697,7 +789,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) = REQUIRED]; + * + * 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) { @@ -711,6 +805,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -719,7 +815,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) = REQUIRED]; + * + * 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) { @@ -733,6 +831,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -741,14 +841,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) = REQUIRED]; + * + * 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_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminUsers_); onChanged(); } else { adminUsersBuilder_.addAllMessages(values); @@ -756,6 +857,8 @@ public Builder addAllAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -764,7 +867,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAdminUsers() { if (adminUsersBuilder_ == null) { @@ -777,6 +882,8 @@ public Builder clearAdminUsers() { return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -785,7 +892,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeAdminUsers(int index) { if (adminUsersBuilder_ == null) { @@ -798,6 +907,8 @@ public Builder removeAdminUsers(int 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
@@ -806,13 +917,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) = REQUIRED]; + * + * 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
@@ -821,16 +936,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) = REQUIRED]; + * + * 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 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
@@ -839,10 +959,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getAdminUsersOrBuilderList() { + public java.util.List + getAdminUsersOrBuilderList() { if (adminUsersBuilder_ != null) { return adminUsersBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +972,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOr } } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -858,13 +982,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) = REQUIRED]; + * + * 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()); + 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
@@ -873,14 +1001,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) = REQUIRED]; + * + * 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()); + 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
@@ -889,29 +1021,34 @@ 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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - 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_; } + @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); } @@ -921,12 +1058,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(); } @@ -935,16 +1072,16 @@ 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 { - return new AwsAuthorization(input, extensionRegistry); - } - }; + 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 { + return new AwsAuthorization(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -959,6 +1096,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java index 1468d5c..e5b98f9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 { /** + * + * *
    * Required. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -16,11 +34,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getAdminUsersList(); + 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
@@ -29,10 +50,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) = REQUIRED]; + * + * 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
@@ -41,10 +66,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) = REQUIRED]; + * + * 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
@@ -53,11 +82,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + 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
@@ -66,8 +99,9 @@ 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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java index 1cf0e88..f17b3ac 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = ""; @@ -32,16 +50,15 @@ private AwsCluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsCluster(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsCluster( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -61,183 +78,219 @@ private AwsCluster( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; - } - case 26: { - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder subBuilder = null; - if (networking_ != null) { - subBuilder = networking_.toBuilder(); - } - networking_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(networking_); - networking_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - awsRegion_ = s; - break; - } - case 42: { - com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder subBuilder = null; - if (controlPlane_ != null) { - subBuilder = controlPlane_.toBuilder(); + description_ = s; + break; } - controlPlane_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsControlPlane.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(controlPlane_); - controlPlane_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder subBuilder = null; + if (networking_ != null) { + subBuilder = networking_.toBuilder(); + } + networking_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networking_); + networking_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 56: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - - endpoint_ = s; - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - - uid_ = s; - break; - } - case 80: { - - reconciling_ = input.readBool(); - break; - } - case 90: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + awsRegion_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder subBuilder = null; + if (controlPlane_ != null) { + subBuilder = controlPlane_.toBuilder(); + } + controlPlane_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsControlPlane.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(controlPlane_); + controlPlane_ = subBuilder.buildPartial(); + } + + break; } + case 56: + { + int rawValue = input.readEnum(); - break; - } - case 98: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + state_ = rawValue; + break; } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); + endpoint_ = s; + break; + } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - case 114: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + uid_ = s; + break; } - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - annotations_.getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - break; - } - case 122: { - com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder subBuilder = null; - if (authorization_ != null) { - subBuilder = authorization_.toBuilder(); + case 80: + { + reconciling_ = input.readBool(); + break; + } + case 90: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - authorization_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsAuthorization.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authorization_); - authorization_ = subBuilder.buildPartial(); + case 98: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 130: { - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder subBuilder = null; - if (workloadIdentityConfig_ != null) { - subBuilder = workloadIdentityConfig_.toBuilder(); + etag_ = s; + break; } - workloadIdentityConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workloadIdentityConfig_); - workloadIdentityConfig_ = subBuilder.buildPartial(); + case 114: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = + com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); + break; } - - break; - } - case 138: { - java.lang.String s = input.readStringRequireUtf8(); - - clusterCaCertificate_ = s; - break; - } - case 146: { - com.google.cloud.gkemulticloud.v1.Fleet.Builder subBuilder = null; - if (fleet_ != null) { - subBuilder = fleet_.toBuilder(); + case 122: + { + com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder subBuilder = null; + if (authorization_ != null) { + subBuilder = authorization_.toBuilder(); + } + authorization_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsAuthorization.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authorization_); + authorization_ = subBuilder.buildPartial(); + } + + break; } - fleet_ = input.readMessage(com.google.cloud.gkemulticloud.v1.Fleet.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fleet_); - fleet_ = subBuilder.buildPartial(); + case 130: + { + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder subBuilder = null; + if (workloadIdentityConfig_ != null) { + subBuilder = workloadIdentityConfig_.toBuilder(); + } + workloadIdentityConfig_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workloadIdentityConfig_); + workloadIdentityConfig_ = subBuilder.buildPartial(); + } + + break; } + case 138: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 154: { - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder subBuilder = null; - if (loggingConfig_ != null) { - subBuilder = loggingConfig_.toBuilder(); + clusterCaCertificate_ = s; + break; } - loggingConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.LoggingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(loggingConfig_); - loggingConfig_ = subBuilder.buildPartial(); + case 146: + { + com.google.cloud.gkemulticloud.v1.Fleet.Builder subBuilder = null; + if (fleet_ != null) { + subBuilder = fleet_.toBuilder(); + } + fleet_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.Fleet.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fleet_); + fleet_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 154: + { + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder subBuilder = null; + if (loggingConfig_ != null) { + subBuilder = loggingConfig_.toBuilder(); + } + loggingConfig_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.LoggingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(loggingConfig_); + loggingConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -245,48 +298,52 @@ private AwsCluster( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -295,6 +352,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -303,6 +362,8 @@ public enum State */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -312,6 +373,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.
@@ -321,6 +384,8 @@ public enum State
      */
     RECONCILING(3),
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -329,6 +394,8 @@ public enum State */ STOPPING(4), /** + * + * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -338,6 +405,8 @@ public enum State
      */
     ERROR(5),
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -350,6 +419,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -358,6 +429,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -366,6 +439,8 @@ public enum State */ public static final int PROVISIONING_VALUE = 1; /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -375,6 +450,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.
@@ -384,6 +461,8 @@ public enum State
      */
     public static final int RECONCILING_VALUE = 3;
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -392,6 +471,8 @@ public enum State */ public static final int STOPPING_VALUE = 4; /** + * + * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -401,6 +482,8 @@ public enum State
      */
     public static final int ERROR_VALUE = 5;
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -410,7 +493,6 @@ public enum State
      */
     public static final int DEGRADED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -435,53 +517,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;
@@ -501,6 +587,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of this resource.
    * Cluster names are formatted as
@@ -510,6 +598,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -518,14 +607,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.
    * Cluster names are formatted as
@@ -535,16 +625,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 { @@ -555,12 +644,15 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; 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 @@ -569,30 +661,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 { @@ -603,11 +695,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 @@ -615,23 +712,34 @@ 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() { @@ -641,6 +749,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetwor public static final int AWS_REGION_FIELD_NUMBER = 4; private volatile java.lang.Object awsRegion_; /** + * + * *
    * Required. The AWS region where the cluster runs.
    * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -650,6 +760,7 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetwor
    * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The awsRegion. */ @java.lang.Override @@ -658,14 +769,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.
    * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -675,16 +787,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 { @@ -695,11 +806,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 @@ -707,23 +823,34 @@ 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() { @@ -733,11 +860,16 @@ public com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder getControlPlan 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 @@ -745,23 +877,34 @@ 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() { @@ -771,38 +914,56 @@ public com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder getAuthorizat public static final int STATE_FIELD_NUMBER = 7; private int 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 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() { + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsCluster.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsCluster.State result = com.google.cloud.gkemulticloud.v1.AwsCluster.State.valueOf(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.valueOf(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AwsCluster.State.UNRECOGNIZED + : result; } public static final int ENDPOINT_FIELD_NUMBER = 8; 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 @@ -811,29 +972,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 { @@ -844,11 +1005,14 @@ public java.lang.String getEndpoint() { public static final int UID_FIELD_NUMBER = 9; 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 @@ -857,29 +1021,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 { @@ -890,11 +1054,14 @@ public java.lang.String getUid() { public static final int RECONCILING_FIELD_NUMBER = 10; 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 @@ -905,11 +1072,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 @@ -917,11 +1088,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 @@ -929,11 +1104,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() { @@ -943,11 +1121,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 @@ -955,11 +1137,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 @@ -967,11 +1153,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() { @@ -981,6 +1170,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 13; private volatile java.lang.Object etag_; /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -989,6 +1180,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 13; + * * @return The etag. */ @java.lang.Override @@ -997,14 +1189,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.
@@ -1013,16 +1206,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 { @@ -1031,24 +1223,24 @@ 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, + ""); } - 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_; } @@ -1057,6 +1249,8 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. Annotations on the cluster.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1068,24 +1262,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1097,14 +1292,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1116,19 +1313,21 @@ 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 getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String key, 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1140,15 +1339,15 @@ public 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(); } @@ -1158,11 +1357,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 @@ -1170,37 +1374,52 @@ 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() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder + getWorkloadIdentityConfigOrBuilder() { return getWorkloadIdentityConfig(); } public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 17; 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 @@ -1209,29 +1428,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 { @@ -1242,11 +1461,16 @@ public java.lang.String getClusterCaCertificate() { public static final int FLEET_FIELD_NUMBER = 18; private com.google.cloud.gkemulticloud.v1.Fleet fleet_; /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the fleet field is set. */ @java.lang.Override @@ -1254,11 +1478,16 @@ public boolean hasFleet() { return fleet_ != null; } /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The fleet. */ @java.lang.Override @@ -1266,11 +1495,15 @@ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { @@ -1280,11 +1513,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 @@ -1292,23 +1530,34 @@ 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() { @@ -1316,6 +1565,7 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfig } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1327,8 +1577,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_); } @@ -1344,7 +1593,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_)) { @@ -1365,12 +1615,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()); } @@ -1402,19 +1648,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_); @@ -1423,48 +1667,42 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1474,71 +1712,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1576,8 +1798,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(); @@ -1611,140 +1832,147 @@ 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() @@ -1752,16 +1980,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1836,9 +2063,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 @@ -1857,7 +2084,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.description_ = description_; @@ -1918,38 +2146,39 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster buildPartial() { 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; @@ -2003,8 +2232,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsCluster other) { etag_ = other.etag_; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); if (other.hasWorkloadIdentityConfig()) { mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig()); } @@ -2046,10 +2274,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2059,13 +2290,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; @@ -2074,6 +2305,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2083,15 +2316,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 { @@ -2099,6 +2331,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2108,20 +2342,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2131,15 +2367,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2149,16 +2388,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2166,19 +2405,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; @@ -2187,21 +2428,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 { @@ -2209,57 +2451,64 @@ 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); 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]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2267,39 +2516,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 networkingBuilder_ != null || 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. */ 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) { @@ -2315,11 +2583,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) { @@ -2333,17 +2605,23 @@ 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 (networking_ != null) { networking_ = - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.newBuilder(networking_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.newBuilder(networking_) + .mergeFrom(value) + .buildPartial(); } else { networking_ = value; } @@ -2355,11 +2633,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() { if (networkingBuilder_ == null) { @@ -2373,48 +2655,65 @@ 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() { - + onChanged(); 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_; @@ -2422,6 +2721,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetwor private java.lang.Object awsRegion_ = ""; /** + * + * *
      * Required. The AWS region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -2431,13 +2732,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; @@ -2446,6 +2747,8 @@ public java.lang.String getAwsRegion() { } } /** + * + * *
      * Required. The AWS region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -2455,15 +2758,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 { @@ -2471,6 +2773,8 @@ public java.lang.String getAwsRegion() { } } /** + * + * *
      * Required. The AWS region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -2480,20 +2784,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) { + public Builder setAwsRegion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + awsRegion_ = value; onChanged(); return this; } /** + * + * *
      * Required. The AWS region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -2503,15 +2809,18 @@ public Builder setAwsRegion(
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAwsRegion() { - + awsRegion_ = getDefaultInstance().getAwsRegion(); onChanged(); return this; } /** + * + * *
      * Required. The AWS region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -2521,16 +2830,16 @@ 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) { + public Builder setAwsRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + awsRegion_ = value; onChanged(); return this; @@ -2538,39 +2847,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 controlPlaneBuilder_ != null || 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. */ 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) { @@ -2586,11 +2914,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) { @@ -2604,17 +2936,23 @@ 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 (controlPlane_ != null) { controlPlane_ = - com.google.cloud.gkemulticloud.v1.AwsControlPlane.newBuilder(controlPlane_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsControlPlane.newBuilder(controlPlane_) + .mergeFrom(value) + .buildPartial(); } else { controlPlane_ = value; } @@ -2626,11 +2964,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() { if (controlPlaneBuilder_ == null) { @@ -2644,48 +2986,64 @@ 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() { - + onChanged(); 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_; @@ -2693,39 +3051,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 authorizationBuilder_ != null || 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. */ 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) { @@ -2741,11 +3118,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) { @@ -2759,17 +3140,23 @@ 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 (authorization_ != null) { authorization_ = - com.google.cloud.gkemulticloud.v1.AwsAuthorization.newBuilder(authorization_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsAuthorization.newBuilder(authorization_) + .mergeFrom(value) + .buildPartial(); } else { authorization_ = value; } @@ -2781,11 +3168,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() { if (authorizationBuilder_ == null) { @@ -2799,48 +3190,64 @@ 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() { - + onChanged(); 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_; @@ -2848,51 +3255,75 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsCluster.State result = com.google.cloud.gkemulticloud.v1.AwsCluster.State.valueOf(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.valueOf(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. */ @@ -2900,21 +3331,26 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AwsCluster.State value if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2922,18 +3358,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; @@ -2942,20 +3380,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 { @@ -2963,54 +3402,61 @@ 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) { + public Builder setEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpoint_ = value; 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() { - + endpoint_ = getDefaultInstance().getEndpoint(); onChanged(); 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) { + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; onChanged(); return this; @@ -3018,18 +3464,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; @@ -3038,20 +3486,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 { @@ -3059,66 +3508,76 @@ 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) { + public Builder setUid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); 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 @@ -3126,30 +3585,36 @@ 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. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); 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() { - + reconciling_ = false; onChanged(); return this; @@ -3157,39 +3622,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 createTimeBuilder_ != null || 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. */ 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) { @@ -3205,14 +3689,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(); onChanged(); @@ -3223,17 +3710,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3245,11 +3736,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() { if (createTimeBuilder_ == null) { @@ -3263,48 +3758,64 @@ 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() { - + onChanged(); 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_; @@ -3312,39 +3823,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -3360,14 +3890,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(); onChanged(); @@ -3378,17 +3911,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3400,11 +3937,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() { if (updateTimeBuilder_ == null) { @@ -3418,48 +3959,64 @@ 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() { - + onChanged(); 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_; @@ -3467,6 +4024,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3475,13 +4034,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; @@ -3490,6 +4049,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3498,15 +4059,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 { @@ -3514,6 +4074,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3522,20 +4084,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) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3544,15 +4108,18 @@ public Builder setEtag(
      * 
* * string etag = 13; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3561,37 +4128,39 @@ 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) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); 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() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged();; + internalGetMutableAnnotations() { + onChanged(); + ; 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(); @@ -3603,6 +4172,8 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3614,24 +4185,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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3643,14 +4215,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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3662,19 +4236,21 @@ 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 getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String key, 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3686,15 +4262,15 @@ public 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(); } @@ -3702,11 +4278,12 @@ public java.lang.String getAnnotationsOrThrow( } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3718,25 +4295,24 @@ 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() { return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3748,21 +4324,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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + internalGetMutableAnnotations().getMutableMap().put(key, value); return this; } /** + * + * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3774,53 +4352,71 @@ 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); 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 workloadIdentityConfigBuilder_ != null || 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. */ 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(); @@ -3834,11 +4430,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) { @@ -3852,17 +4452,25 @@ 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 (workloadIdentityConfig_ != null) { workloadIdentityConfig_ = - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.newBuilder(workloadIdentityConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.newBuilder( + workloadIdentityConfig_) + .mergeFrom(value) + .buildPartial(); } else { workloadIdentityConfig_ = value; } @@ -3874,11 +4482,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() { if (workloadIdentityConfigBuilder_ == null) { @@ -3892,48 +4504,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() { + 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_; @@ -3941,18 +4571,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; @@ -3961,20 +4593,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 { @@ -3982,54 +4615,61 @@ 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) { + public Builder setClusterCaCertificate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterCaCertificate_ = value; 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() { - + clusterCaCertificate_ = getDefaultInstance().getClusterCaCertificate(); 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]; + * * @param value The bytes for clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificateBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterCaCertificate_ = value; onChanged(); return this; @@ -4037,39 +4677,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_; /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the fleet field is set. */ public boolean hasFleet() { return fleetBuilder_ != null || fleet_ != null; } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { @@ -4085,14 +4744,17 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ - 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(); onChanged(); @@ -4103,17 +4765,23 @@ public Builder setFleet( return this; } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { if (fleet_ != null) { fleet_ = - com.google.cloud.gkemulticloud.v1.Fleet.newBuilder(fleet_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.Fleet.newBuilder(fleet_) + .mergeFrom(value) + .buildPartial(); } else { fleet_ = value; } @@ -4125,11 +4793,15 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearFleet() { if (fleetBuilder_ == null) { @@ -4143,48 +4815,64 @@ public Builder clearFleet() { return this; } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { - + onChanged(); return getFleetFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -4192,39 +4880,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 loggingConfigBuilder_ != null || 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. */ 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) { @@ -4240,11 +4947,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) { @@ -4258,17 +4969,23 @@ 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 (loggingConfig_ != null) { loggingConfig_ = - com.google.cloud.gkemulticloud.v1.LoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.LoggingConfig.newBuilder(loggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { loggingConfig_ = value; } @@ -4280,11 +4997,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() { if (loggingConfigBuilder_ == null) { @@ -4298,55 +5019,71 @@ 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() { - + onChanged(); 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_; } + @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); } @@ -4356,12 +5093,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(); } @@ -4370,16 +5107,16 @@ 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 { - return new AwsCluster(input, extensionRegistry); - } - }; + 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 { + return new AwsCluster(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4394,6 +5131,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java index 517a893..8b9873f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * Anthos clusters on AWS run on a single VPC. This includes control
@@ -12,15 +29,16 @@
  *
  * 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.EMPTY;
@@ -29,16 +47,15 @@ private AwsClusterNetworking() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AwsClusterNetworking();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AwsClusterNetworking(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,37 +75,40 @@ private AwsClusterNetworking(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            vpcId_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              vpcId_ = s;
+              break;
             }
-            podAddressCidrBlocks_.add(s);
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              podAddressCidrBlocks_.add(s);
+              break;
             }
-            serviceAddressCidrBlocks_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              serviceAddressCidrBlocks_.add(s);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -96,8 +116,7 @@ private AwsClusterNetworking(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         podAddressCidrBlocks_ = podAddressCidrBlocks_.getUnmodifiableView();
@@ -109,22 +128,27 @@ private AwsClusterNetworking(
       makeExtensionsImmutable();
     }
   }
-  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;
   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.
@@ -132,6 +156,7 @@ private AwsClusterNetworking(
    * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The vpcId. */ @java.lang.Override @@ -140,14 +165,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.
@@ -155,16 +181,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 { @@ -175,40 +200,51 @@ public java.lang.String getVpcId() { public static final int POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList 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 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. */ @@ -216,58 +252,75 @@ 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; private com.google.protobuf.LazyStringList 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 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. */ @@ -275,22 +328,27 @@ 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; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,16 +360,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)); } unknownFields.writeTo(output); } @@ -349,19 +408,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -389,96 +447,104 @@ public int hashCode() { } 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.
    * Anthos clusters on AWS run on a single VPC. This includes control
@@ -487,21 +553,23 @@ 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()
@@ -509,16 +577,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -532,9 +599,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_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
@@ -553,7 +620,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);
+      com.google.cloud.gkemulticloud.v1.AwsClusterNetworking result =
+          new com.google.cloud.gkemulticloud.v1.AwsClusterNetworking(this);
       int from_bitField0_ = bitField0_;
       result.vpcId_ = vpcId_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -574,38 +642,39 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking buildPartial() {
     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,7 +682,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_;
         onChanged();
@@ -657,7 +727,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -666,10 +737,13 @@ public Builder mergeFrom(
       }
       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.
@@ -677,13 +751,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; @@ -692,6 +766,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.
@@ -699,15 +775,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 { @@ -715,6 +790,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.
@@ -722,20 +799,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) { + public Builder setVpcId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vpcId_ = value; 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.
@@ -743,15 +822,18 @@ public Builder setVpcId(
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVpcId() { - + vpcId_ = getDefaultInstance().getVpcId(); 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.
@@ -759,63 +841,76 @@ 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) { + public Builder setVpcIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vpcId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList podAddressCidrBlocks_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePodAddressCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(podAddressCidrBlocks_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -823,90 +918,105 @@ 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) { + public Builder setPodAddressCidrBlocks(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePodAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.set(index, value); 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 podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addPodAddressCidrBlocks( - java.lang.String value) { + public Builder addPodAddressCidrBlocks(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePodAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); 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 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_); 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() { @@ -916,70 +1026,90 @@ public Builder clearPodAddressCidrBlocks() { 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) { + public Builder addPodAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList serviceAddressCidrBlocks_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureServiceAddressCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); + serviceAddressCidrBlocks_ = + new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * 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_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -987,90 +1117,110 @@ 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) { + public Builder setServiceAddressCidrBlocks(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.set(index, value); 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 serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addServiceAddressCidrBlocks( - java.lang.String value) { + public Builder addServiceAddressCidrBlocks(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); 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 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_); 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() { @@ -1080,30 +1230,34 @@ public Builder clearServiceAddressCidrBlocks() { 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) { + public Builder addServiceAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(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); } @@ -1113,12 +1267,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(); } @@ -1127,16 +1281,16 @@ 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 { - return new AwsClusterNetworking(input, extensionRegistry); - } - }; + 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 { + return new AwsClusterNetworking(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,6 +1305,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java index a6870ed..42e4e2e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -15,10 +33,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.
@@ -26,106 +47,138 @@ 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); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java index 4771d88..e1b42c4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Cluster names are formatted as
@@ -17,10 +35,13 @@ public interface AwsClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this resource.
    * Cluster names are formatted as
@@ -30,61 +51,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.
    * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -94,10 +136,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.
    * Each Google Cloud region supports a subset of nearby AWS regions.
@@ -107,189 +152,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.
@@ -298,10 +418,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.
@@ -310,12 +433,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -327,10 +452,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -342,17 +470,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -364,11 +491,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -380,15 +509,18 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -400,110 +532,157 @@ 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(); /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the fleet field is set. */ boolean hasFleet(); /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The fleet. */ com.google.cloud.gkemulticloud.v1.Fleet getFleet(); /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java index 9b2d0d5..48ce8d0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsClusterUser( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AwsClusterUser( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - username_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + username_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private AwsClusterUser( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +132,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 { @@ -140,6 +163,7 @@ public java.lang.String getUsername() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,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_); } @@ -176,15 +199,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +226,127 @@ 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() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,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_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 @@ -362,7 +393,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); + com.google.cloud.gkemulticloud.v1.AwsClusterUser result = + new com.google.cloud.gkemulticloud.v1.AwsClusterUser(this); result.username_ = username_; onBuilt(); return result; @@ -372,38 +404,39 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUser buildPartial() { 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; @@ -411,7 +444,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_; onChanged(); @@ -447,18 +481,20 @@ public Builder mergeFrom( 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; @@ -467,20 +503,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 { @@ -488,61 +525,68 @@ 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) { + public Builder setUsername(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; 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() { - + username_ = getDefaultInstance().getUsername(); onChanged(); 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) { + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = 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); } @@ -552,12 +596,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(); } @@ -566,16 +610,16 @@ 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 { - return new AwsClusterUser(input, extensionRegistry); - } - }; + 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 { + return new AwsClusterUser(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +634,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsClusterUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java index 607d0f5..3393288 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java index f112396..bfa3c77 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsConfigEncryption( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AwsConfigEncryption( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyArn_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + kmsKeyArn_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private AwsConfigEncryption( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +132,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 { @@ -140,6 +163,7 @@ public java.lang.String getKmsKeyArn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,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_); } @@ -176,15 +199,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ 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() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,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 @@ -362,7 +394,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); + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption result = + new com.google.cloud.gkemulticloud.v1.AwsConfigEncryption(this); result.kmsKeyArn_ = kmsKeyArn_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption buildPartial() { 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; @@ -411,7 +445,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_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( 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; @@ -467,20 +505,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 { @@ -488,61 +527,68 @@ 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) { + public Builder setKmsKeyArn(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyArn_ = value; 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() { - + kmsKeyArn_ = getDefaultInstance().getKmsKeyArn(); 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]; + * * @param value The bytes for kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArnBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyArnBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyArn_ = 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); } @@ -552,12 +598,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(); } @@ -566,16 +612,16 @@ 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 { - return new AwsConfigEncryption(input, extensionRegistry); - } - }; + 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 { + return new AwsConfigEncryption(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java index c97c1de..1302181 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java index 668f26d..addd87b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = ""; @@ -29,16 +47,15 @@ private AwsControlPlane() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsControlPlane(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsControlPlane( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,166 +75,201 @@ private AwsControlPlane( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - instanceType_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - subnetIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - subnetIds_.add(s); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + version_ = s; + break; } - securityGroupIds_.add(s); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - iamInstanceProfile_ = s; - break; - } - case 66: { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; - if (rootVolume_ != null) { - subBuilder = rootVolume_.toBuilder(); - } - rootVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rootVolume_); - rootVolume_ = subBuilder.buildPartial(); + instanceType_ = s; + break; } - - break; - } - case 74: { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; - if (mainVolume_ != null) { - subBuilder = mainVolume_.toBuilder(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + subnetIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + subnetIds_.add(s); + break; } - mainVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mainVolume_); - mainVolume_ = subBuilder.buildPartial(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + securityGroupIds_.add(s); + break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 82: { - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder subBuilder = null; - if (databaseEncryption_ != null) { - subBuilder = databaseEncryption_.toBuilder(); - } - databaseEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(databaseEncryption_); - databaseEncryption_ = subBuilder.buildPartial(); + iamInstanceProfile_ = s; + break; } + case 66: + { + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; + if (rootVolume_ != null) { + subBuilder = rootVolume_.toBuilder(); + } + rootVolume_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rootVolume_); + rootVolume_ = subBuilder.buildPartial(); + } - break; - } - case 90: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - tags_ = com.google.protobuf.MapField.newMapField( - TagsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry - tags__ = input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - tags_.getMutableMap().put( - tags__.getKey(), tags__.getValue()); - break; - } - case 98: { - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder subBuilder = null; - if (awsServicesAuthentication_ != null) { - subBuilder = awsServicesAuthentication_.toBuilder(); - } - awsServicesAuthentication_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(awsServicesAuthentication_); - awsServicesAuthentication_ = subBuilder.buildPartial(); + break; } + case 74: + { + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; + if (mainVolume_ != null) { + subBuilder = mainVolume_.toBuilder(); + } + mainVolume_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mainVolume_); + mainVolume_ = subBuilder.buildPartial(); + } - break; - } - case 114: { - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder subBuilder = null; - if (sshConfig_ != null) { - subBuilder = sshConfig_.toBuilder(); - } - sshConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsSshConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sshConfig_); - sshConfig_ = subBuilder.buildPartial(); + break; } + case 82: + { + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder subBuilder = null; + if (databaseEncryption_ != null) { + subBuilder = databaseEncryption_.toBuilder(); + } + databaseEncryption_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(databaseEncryption_); + databaseEncryption_ = subBuilder.buildPartial(); + } - break; - } - case 130: { - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder subBuilder = null; - if (proxyConfig_ != null) { - subBuilder = proxyConfig_.toBuilder(); + break; } - proxyConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsProxyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(proxyConfig_); - proxyConfig_ = subBuilder.buildPartial(); + case 90: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + tags_ = + com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry tags__ = + input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + tags_.getMutableMap().put(tags__.getKey(), tags__.getValue()); + break; } + case 98: + { + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder subBuilder = null; + if (awsServicesAuthentication_ != null) { + subBuilder = awsServicesAuthentication_.toBuilder(); + } + awsServicesAuthentication_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(awsServicesAuthentication_); + awsServicesAuthentication_ = subBuilder.buildPartial(); + } - break; - } - case 138: { - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder subBuilder = null; - if (configEncryption_ != null) { - subBuilder = configEncryption_.toBuilder(); + break; } - configEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(configEncryption_); - configEncryption_ = subBuilder.buildPartial(); + case 114: + { + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder subBuilder = null; + if (sshConfig_ != null) { + subBuilder = sshConfig_.toBuilder(); + } + sshConfig_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsSshConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sshConfig_); + sshConfig_ = subBuilder.buildPartial(); + } + + break; } + case 130: + { + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder subBuilder = null; + if (proxyConfig_ != null) { + subBuilder = proxyConfig_.toBuilder(); + } + proxyConfig_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(proxyConfig_); + proxyConfig_ = subBuilder.buildPartial(); + } - break; - } - case 146: { - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder subBuilder = null; - if (instancePlacement_ != null) { - subBuilder = instancePlacement_.toBuilder(); + break; } - instancePlacement_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instancePlacement_); - instancePlacement_ = subBuilder.buildPartial(); + case 138: + { + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder subBuilder = null; + if (configEncryption_ != null) { + subBuilder = configEncryption_.toBuilder(); + } + configEncryption_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(configEncryption_); + configEncryption_ = subBuilder.buildPartial(); + } + + break; } + case 146: + { + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder subBuilder = null; + if (instancePlacement_ != null) { + subBuilder = instancePlacement_.toBuilder(); + } + instancePlacement_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instancePlacement_); + instancePlacement_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -225,8 +277,7 @@ private AwsControlPlane( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { subnetIds_ = subnetIds_.getUnmodifiableView(); @@ -238,34 +289,38 @@ private AwsControlPlane( makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object version_; /** + * + * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -275,6 +330,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ @java.lang.Override @@ -283,14 +339,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`).
@@ -300,16 +357,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 { @@ -320,12 +376,15 @@ public java.lang.String getVersion() { public static final int INSTANCE_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object instanceType_; /** + * + * *
    * Optional. The AWS instance type.
    * When unspecified, it uses a default based on the cluster's version.
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The instanceType. */ @java.lang.Override @@ -334,30 +393,30 @@ 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.
    * When unspecified, it uses a default based on the cluster's version.
    * 
* * 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 { @@ -368,12 +427,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 @@ -381,25 +445,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() { @@ -409,6 +484,8 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui public static final int SUBNET_IDS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList 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
@@ -417,13 +494,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
@@ -432,12 +511,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
@@ -446,6 +528,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. */ @@ -453,6 +536,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
@@ -461,17 +546,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; private com.google.protobuf.LazyStringList securityGroupIds_; /** + * + * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -479,13 +566,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
@@ -493,12 +582,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
@@ -506,6 +598,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. */ @@ -513,6 +606,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
@@ -520,23 +615,26 @@ 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; 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 @@ -545,30 +643,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 { @@ -579,6 +677,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.
@@ -587,7 +687,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 @@ -595,6 +698,8 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -603,14 +708,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.
@@ -619,7 +731,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]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { @@ -629,6 +743,8 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum 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.
@@ -638,7 +754,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 @@ -646,6 +765,8 @@ public boolean hasMainVolume() { return mainVolume_ != null; } /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -655,14 +776,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.
@@ -672,7 +800,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]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolumeOrBuilder() { @@ -682,11 +812,16 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolum 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 @@ -694,48 +829,59 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder + getDatabaseEncryptionOrBuilder() { return getDatabaseEncryption(); } 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, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { + 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, + ""); + } + + 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_; } @@ -744,6 +890,8 @@ public int getTagsCount() { return internalGetTags().getMap().size(); } /** + * + * *
    * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
    * resources.
@@ -754,22 +902,22 @@ 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.
@@ -781,11 +929,12 @@ public java.util.Map getTags() {
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-
   public java.util.Map getTagsMap() {
     return internalGetTags().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
    * resources.
@@ -797,16 +946,16 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-
-  public java.lang.String getTagsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTags().getMap();
+  public java.lang.String getTagsOrDefault(java.lang.String key, 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.
@@ -818,12 +967,11 @@ public 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();
     }
@@ -833,11 +981,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 @@ -845,37 +998,55 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder + getAwsServicesAuthenticationOrBuilder() { return getAwsServicesAuthentication(); } 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 @@ -883,23 +1054,34 @@ 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() { @@ -909,11 +1091,16 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigO 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 @@ -921,38 +1108,55 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { return getConfigEncryption(); } 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 @@ -960,32 +1164,45 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder + getInstancePlacementOrBuilder() { return getInstancePlacement(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -997,8 +1214,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_); } @@ -1023,12 +1239,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()); } @@ -1079,46 +1291,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1128,64 +1334,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1254,139 +1448,146 @@ 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() @@ -1394,16 +1595,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1470,9 +1670,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 @@ -1491,7 +1691,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); + com.google.cloud.gkemulticloud.v1.AwsControlPlane result = + new com.google.cloud.gkemulticloud.v1.AwsControlPlane(this); int from_bitField0_ = bitField0_; result.version_ = version_; result.instanceType_ = instanceType_; @@ -1556,38 +1757,39 @@ public com.google.cloud.gkemulticloud.v1.AwsControlPlane buildPartial() { 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; @@ -1595,7 +1797,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_; onChanged(); @@ -1640,8 +1843,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()); if (other.hasAwsServicesAuthentication()) { mergeAwsServicesAuthentication(other.getAwsServicesAuthentication()); } @@ -1673,7 +1875,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsControlPlane) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AwsControlPlane) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1682,10 +1885,13 @@ public Builder mergeFrom( } 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`).
@@ -1695,13 +1901,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; @@ -1710,6 +1916,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1719,15 +1927,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 { @@ -1735,6 +1942,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1744,20 +1953,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) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1767,15 +1978,18 @@ public Builder setVersion(
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1785,16 +1999,16 @@ 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) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1802,19 +2016,21 @@ public Builder setVersionBytes( private java.lang.Object instanceType_ = ""; /** + * + * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the cluster's version.
      * 
* * 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; @@ -1823,21 +2039,22 @@ public java.lang.String getInstanceType() { } } /** + * + * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the cluster's version.
      * 
* * 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 { @@ -1845,57 +2062,64 @@ public java.lang.String getInstanceType() { } } /** + * + * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the cluster's version.
      * 
* * 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) { + public Builder setInstanceType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceType_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the cluster's version.
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearInstanceType() { - + instanceType_ = getDefaultInstance().getInstanceType(); onChanged(); return this; } /** + * + * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the cluster's version.
      * 
* * 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) { + public Builder setInstanceTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceType_ = value; onChanged(); return this; @@ -1903,42 +2127,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 sshConfigBuilder_ != null || 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. */ 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) { @@ -1954,12 +2197,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) { @@ -1973,18 +2220,24 @@ 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 (sshConfig_ != null) { sshConfig_ = - com.google.cloud.gkemulticloud.v1.AwsSshConfig.newBuilder(sshConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsSshConfig.newBuilder(sshConfig_) + .mergeFrom(value) + .buildPartial(); } else { sshConfig_ = value; } @@ -1996,12 +2249,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() { if (sshConfigBuilder_ == null) { @@ -2015,64 +2272,84 @@ 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() { - + onChanged(); 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_; } - private com.google.protobuf.LazyStringList subnetIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList subnetIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSubnetIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { subnetIds_ = new com.google.protobuf.LazyStringArrayList(subnetIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2081,13 +2358,15 @@ 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() { return subnetIds_.getUnmodifiableView(); } /** + * + * *
      * 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 +2375,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
@@ -2110,6 +2392,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. */ @@ -2117,6 +2400,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
@@ -2125,14 +2410,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
@@ -2141,21 +2428,23 @@ 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) { + public Builder setSubnetIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubnetIdsIsMutable(); + throw new NullPointerException(); + } + ensureSubnetIdsIsMutable(); subnetIds_.set(index, value); 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
@@ -2164,20 +2453,22 @@ 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) { + public Builder addSubnetIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubnetIdsIsMutable(); + throw new NullPointerException(); + } + ensureSubnetIdsIsMutable(); subnetIds_.add(value); 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
@@ -2186,18 +2477,19 @@ 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_); 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
@@ -2206,6 +2498,7 @@ public Builder addAllSubnetIds(
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubnetIds() { @@ -2215,6 +2508,8 @@ public Builder clearSubnetIds() { 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
@@ -2223,63 +2518,76 @@ 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) { + public Builder addSubnetIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSubnetIdsIsMutable(); subnetIds_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList securityGroupIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSecurityGroupIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(securityGroupIds_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * 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() { return securityGroupIds_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -2287,90 +2595,105 @@ 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) { + public Builder setSecurityGroupIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSecurityGroupIdsIsMutable(); + throw new NullPointerException(); + } + ensureSecurityGroupIdsIsMutable(); securityGroupIds_.set(index, value); 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 securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIds( - java.lang.String value) { + public Builder addSecurityGroupIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSecurityGroupIdsIsMutable(); + throw new NullPointerException(); + } + ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); 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 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_); 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() { @@ -2380,22 +2703,25 @@ public Builder clearSecurityGroupIds() { 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) { + public Builder addSecurityGroupIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); onChanged(); @@ -2404,19 +2730,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; @@ -2425,21 +2753,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 { @@ -2447,57 +2776,64 @@ 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) { + public Builder setIamInstanceProfile(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + iamInstanceProfile_ = value; 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() { - + iamInstanceProfile_ = getDefaultInstance().getIamInstanceProfile(); 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]; + * * @param value The bytes for iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfileBytes( - com.google.protobuf.ByteString value) { + public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + iamInstanceProfile_ = value; onChanged(); return this; @@ -2505,8 +2841,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.
@@ -2515,13 +2856,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 rootVolumeBuilder_ != null || rootVolume_ != null; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2530,17 +2876,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.
@@ -2549,7 +2902,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) { @@ -2565,6 +2920,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.
@@ -2573,7 +2930,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) { @@ -2587,6 +2946,8 @@ public Builder setRootVolume( return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2595,13 +2956,17 @@ 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 (rootVolume_ != null) { rootVolume_ = - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(rootVolume_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(rootVolume_) + .mergeFrom(value) + .buildPartial(); } else { rootVolume_ = value; } @@ -2613,6 +2978,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.
@@ -2621,7 +2988,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() { if (rootVolumeBuilder_ == null) { @@ -2635,6 +3004,8 @@ public Builder clearRootVolume() { return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2643,14 +3014,18 @@ 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() { - + onChanged(); return getRootVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2659,17 +3034,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.
@@ -2678,17 +3058,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_; @@ -2696,8 +3081,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.
@@ -2707,13 +3097,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 mainVolumeBuilder_ != null || mainVolume_ != null; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2723,17 +3118,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.
@@ -2743,7 +3145,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) { @@ -2759,6 +3163,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.
@@ -2768,7 +3174,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) { @@ -2782,6 +3190,8 @@ public Builder setMainVolume( return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2791,13 +3201,17 @@ 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 (mainVolume_ != null) { mainVolume_ = - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(mainVolume_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(mainVolume_) + .mergeFrom(value) + .buildPartial(); } else { mainVolume_ = value; } @@ -2809,6 +3223,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.
@@ -2818,7 +3234,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() { if (mainVolumeBuilder_ == null) { @@ -2832,6 +3250,8 @@ public Builder clearMainVolume() { return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2841,14 +3261,18 @@ 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() { - + onChanged(); return getMainVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2858,17 +3282,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.
@@ -2878,17 +3307,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_; @@ -2896,41 +3330,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 databaseEncryptionBuilder_ != null || 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. */ 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(); @@ -2944,11 +3398,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) { @@ -2962,17 +3420,25 @@ 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 (databaseEncryption_ != null) { databaseEncryption_ = - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.newBuilder(databaseEncryption_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.newBuilder( + databaseEncryption_) + .mergeFrom(value) + .buildPartial(); } else { databaseEncryption_ = value; } @@ -2984,11 +3450,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() { if (databaseEncryptionBuilder_ == null) { @@ -3002,69 +3472,86 @@ 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() { + 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() { - onChanged();; + internalGetMutableTags() { + onChanged(); + ; 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(); @@ -3076,6 +3563,8 @@ public int getTagsCount() { return internalGetTags().getMap().size(); } /** + * + * *
      * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
      * resources.
@@ -3086,22 +3575,22 @@ 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.
@@ -3113,11 +3602,12 @@ public java.util.Map getTags() {
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
     public java.util.Map getTagsMap() {
       return internalGetTags().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
      * resources.
@@ -3129,16 +3619,16 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
-    public java.lang.String getTagsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTags().getMap();
+    public java.lang.String getTagsOrDefault(java.lang.String key, 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.
@@ -3150,12 +3640,11 @@ public 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();
       }
@@ -3163,11 +3652,12 @@ public java.lang.String getTagsOrThrow(
     }
 
     public Builder clearTags() {
-      internalGetMutableTags().getMutableMap()
-          .clear();
+      internalGetMutableTags().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
      * resources.
@@ -3178,23 +3668,21 @@ 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() {
       return internalGetMutableTags().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
      * resources.
@@ -3205,19 +3693,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableTags().getMutableMap()
-          .put(key, value);
+      internalGetMutableTags().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
      * resources.
@@ -3228,51 +3717,69 @@ 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);
       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 awsServicesAuthenticationBuilder_ != null || 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. */ - 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(); @@ -3286,11 +3793,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) { @@ -3304,17 +3815,25 @@ 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 (awsServicesAuthentication_ != null) { awsServicesAuthentication_ = - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.newBuilder(awsServicesAuthentication_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.newBuilder( + awsServicesAuthentication_) + .mergeFrom(value) + .buildPartial(); } else { awsServicesAuthentication_ = value; } @@ -3326,11 +3845,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() { if (awsServicesAuthenticationBuilder_ == null) { @@ -3344,48 +3867,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() { + 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_; @@ -3393,39 +3934,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 proxyConfigBuilder_ != null || 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. */ 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) { @@ -3441,11 +4001,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) { @@ -3459,17 +4023,23 @@ 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 (proxyConfig_ != null) { proxyConfig_ = - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.newBuilder(proxyConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.newBuilder(proxyConfig_) + .mergeFrom(value) + .buildPartial(); } else { proxyConfig_ = value; } @@ -3481,11 +4051,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() { if (proxyConfigBuilder_ == null) { @@ -3499,48 +4073,64 @@ 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() { - + onChanged(); 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_; @@ -3548,41 +4138,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 configEncryptionBuilder_ != null || 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. */ 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(); @@ -3596,11 +4206,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) { @@ -3614,17 +4228,24 @@ 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 (configEncryption_ != null) { configEncryption_ = - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.newBuilder(configEncryption_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.newBuilder(configEncryption_) + .mergeFrom(value) + .buildPartial(); } else { configEncryption_ = value; } @@ -3636,11 +4257,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() { if (configEncryptionBuilder_ == null) { @@ -3654,48 +4279,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() { + 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_; @@ -3703,44 +4346,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 instancePlacementBuilder_ != null || 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. */ 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(); @@ -3754,12 +4417,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) { @@ -3773,18 +4440,25 @@ 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 (instancePlacement_ != null) { instancePlacement_ = - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.newBuilder(instancePlacement_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.newBuilder(instancePlacement_) + .mergeFrom(value) + .buildPartial(); } else { instancePlacement_ = value; } @@ -3796,12 +4470,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() { if (instancePlacementBuilder_ == null) { @@ -3815,58 +4493,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() { + 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); } @@ -3876,12 +4572,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(); } @@ -3890,16 +4586,16 @@ 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 { - return new AwsControlPlane(input, extensionRegistry); - } - }; + 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 { + return new AwsControlPlane(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3914,6 +4610,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsControlPlane getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java index 5a267cd..491a896 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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`).
@@ -17,10 +35,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`).
@@ -30,64 +51,85 @@ 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.
    * When unspecified, it uses a default based on the cluster's version.
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The instanceType. */ java.lang.String getInstanceType(); /** + * + * *
    * Optional. The AWS instance type.
    * When unspecified, it uses a default based on the cluster's version.
    * 
* * 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
@@ -96,11 +138,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
@@ -109,10 +153,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
@@ -121,11 +168,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
@@ -134,13 +184,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
@@ -148,11 +200,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
@@ -160,10 +214,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
@@ -171,11 +228,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
@@ -183,35 +243,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.
@@ -220,11 +287,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.
@@ -233,11 +305,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.
@@ -246,11 +323,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.
@@ -260,11 +341,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.
@@ -274,11 +360,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.
@@ -288,38 +379,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.
@@ -332,6 +441,8 @@ public interface AwsControlPlaneOrBuilder extends
    */
   int getTagsCount();
   /**
+   *
+   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed AWS
    * resources.
@@ -342,15 +453,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.
@@ -361,9 +470,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.
@@ -376,11 +486,13 @@ boolean containsTags(
    */
 
   /* 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.
@@ -391,118 +503,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java index 125f636..9a7020a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsDatabaseEncryption( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AwsDatabaseEncryption( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyArn_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + kmsKeyArn_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private AwsDatabaseEncryption( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +132,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 { @@ -140,6 +163,7 @@ public java.lang.String getKmsKeyArn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,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_); } @@ -176,15 +199,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ 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() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,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 @@ -362,7 +394,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); + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption result = + new com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption(this); result.kmsKeyArn_ = kmsKeyArn_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption buildPartial() { 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; @@ -411,7 +445,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_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( 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; @@ -467,20 +505,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 { @@ -488,61 +527,68 @@ 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) { + public Builder setKmsKeyArn(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyArn_ = value; 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() { - + kmsKeyArn_ = getDefaultInstance().getKmsKeyArn(); 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]; + * * @param value The bytes for kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArnBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyArnBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyArn_ = 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); } @@ -552,12 +598,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(); } @@ -566,16 +612,16 @@ 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 { - return new AwsDatabaseEncryption(input, extensionRegistry); - } - }; + 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 { + return new AwsDatabaseEncryption(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java index e5f6536..aa3ef04 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java index 060eb0f..d11d694 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
@@ -13,31 +30,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AwsInstancePlacement(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,19 +73,20 @@ private AwsInstancePlacement(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            tenancy_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              tenancy_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -76,36 +94,41 @@ private AwsInstancePlacement(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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.
      * 
@@ -114,6 +137,8 @@ public enum Tenancy */ TENANCY_UNSPECIFIED(0), /** + * + * *
      * Use default VPC tenancy.
      * 
@@ -122,6 +147,8 @@ public enum Tenancy */ DEFAULT(1), /** + * + * *
      * Run a dedicated instance.
      * 
@@ -130,6 +157,8 @@ public enum Tenancy */ DEDICATED(2), /** + * + * *
      * Launch this instance to a dedicated host.
      * 
@@ -141,6 +170,8 @@ public enum Tenancy ; /** + * + * *
      * Not set.
      * 
@@ -149,6 +180,8 @@ public enum Tenancy */ public static final int TENANCY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Use default VPC tenancy.
      * 
@@ -157,6 +190,8 @@ public enum Tenancy */ public static final int DEFAULT_VALUE = 1; /** + * + * *
      * Run a dedicated instance.
      * 
@@ -165,6 +200,8 @@ public enum Tenancy */ public static final int DEDICATED_VALUE = 2; /** + * + * *
      * Launch this instance to a dedicated host.
      * 
@@ -173,7 +210,6 @@ public enum Tenancy */ public static final int HOST_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -198,50 +234,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; @@ -261,31 +300,47 @@ private Tenancy(int value) { public static final int TENANCY_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.valueOf(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.valueOf(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; @@ -297,9 +352,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_); } unknownFields.writeTo(output); @@ -311,9 +367,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -323,12 +380,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -350,96 +408,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:
@@ -449,21 +515,23 @@ 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()
@@ -471,16 +539,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -490,9 +557,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
@@ -511,7 +578,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);
+      com.google.cloud.gkemulticloud.v1.AwsInstancePlacement result =
+          new com.google.cloud.gkemulticloud.v1.AwsInstancePlacement(this);
       result.tenancy_ = tenancy_;
       onBuilt();
       return result;
@@ -521,38 +589,39 @@ public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement buildPartial() {
     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;
@@ -560,7 +629,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());
       }
@@ -583,7 +653,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -595,80 +666,110 @@ public Builder mergeFrom(
 
     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. */ public Builder setTenancyValue(int value) { - + tenancy_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.valueOf(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.valueOf(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(); } - + tenancy_ = value.getNumber(); onChanged(); 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() { - + tenancy_ = 0; 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); } @@ -678,12 +779,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(); } @@ -692,16 +793,16 @@ 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 { - return new AwsInstancePlacement(input, extensionRegistry); - } - }; + 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 { + return new AwsInstancePlacement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -716,6 +817,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java new file mode 100644 index 0000000..5dec536 --- /dev/null +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java index 427def8..cf286e4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsK8sVersionInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AwsK8sVersionInfo( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + version_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private AwsK8sVersionInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object version_; /** + * + * *
    * Kubernetes version name.
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -109,29 +132,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 { @@ -140,6 +163,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,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_); } @@ -176,15 +199,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.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 (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,126 @@ 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() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,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_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 @@ -362,7 +393,8 @@ 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); + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo result = + new com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo(this); result.version_ = version_; onBuilt(); return result; @@ -372,38 +404,39 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo buildPartial() { 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; @@ -411,7 +444,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_; onChanged(); @@ -435,7 +469,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +482,20 @@ public Builder mergeFrom( 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; @@ -467,20 +504,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 { @@ -488,61 +526,68 @@ 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) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Kubernetes version name.
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); 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) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -552,12 +597,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(); } @@ -566,16 +611,16 @@ 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 { - return new AwsK8sVersionInfo(input, extensionRegistry); - } - }; + 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 { + return new AwsK8sVersionInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +635,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java new file mode 100644 index 0000000..96d0583 --- /dev/null +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java index 134f7bd..2538b4c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); @@ -29,16 +47,15 @@ private AwsNodeConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsNodeConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsNodeConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,140 +75,164 @@ private AwsNodeConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - instanceType_ = s; - break; - } - case 18: { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; - if (rootVolume_ != null) { - subBuilder = rootVolume_.toBuilder(); - } - rootVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rootVolume_); - rootVolume_ = subBuilder.buildPartial(); + instanceType_ = s; + break; } + case 18: + { + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder subBuilder = null; + if (rootVolume_ != null) { + subBuilder = rootVolume_.toBuilder(); + } + rootVolume_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rootVolume_); + rootVolume_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - taints_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - taints_.add( - input.readMessage(com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - tags_ = com.google.protobuf.MapField.newMapField( - TagsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + taints_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + taints_.add( + input.readMessage( + com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry)); + break; } - com.google.protobuf.MapEntry - tags__ = input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - tags_.getMutableMap().put( - tags__.getKey(), tags__.getValue()); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - iamInstanceProfile_ = s; - break; - } - case 74: { - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder subBuilder = null; - if (sshConfig_ != null) { - subBuilder = sshConfig_.toBuilder(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } - sshConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsSshConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sshConfig_); - sshConfig_ = subBuilder.buildPartial(); + case 42: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + tags_ = + com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry tags__ = + input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + tags_.getMutableMap().put(tags__.getKey(), tags__.getValue()); + break; } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + iamInstanceProfile_ = s; + break; } - securityGroupIds_.add(s); - break; - } - case 90: { - java.lang.String s = input.readStringRequireUtf8(); + case 74: + { + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder subBuilder = null; + if (sshConfig_ != null) { + subBuilder = sshConfig_.toBuilder(); + } + sshConfig_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsSshConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sshConfig_); + sshConfig_ = subBuilder.buildPartial(); + } - imageType_ = s; - break; - } - case 98: { - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder subBuilder = null; - if (proxyConfig_ != null) { - subBuilder = proxyConfig_.toBuilder(); + break; } - proxyConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsProxyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(proxyConfig_); - proxyConfig_ = subBuilder.buildPartial(); + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000008; + } + securityGroupIds_.add(s); + break; } + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 106: { - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder subBuilder = null; - if (configEncryption_ != null) { - subBuilder = configEncryption_.toBuilder(); - } - configEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(configEncryption_); - configEncryption_ = subBuilder.buildPartial(); + imageType_ = s; + break; } + case 98: + { + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder subBuilder = null; + if (proxyConfig_ != null) { + subBuilder = proxyConfig_.toBuilder(); + } + proxyConfig_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(proxyConfig_); + proxyConfig_ = subBuilder.buildPartial(); + } - break; - } - case 114: { - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder subBuilder = null; - if (instancePlacement_ != null) { - subBuilder = instancePlacement_.toBuilder(); + break; } - instancePlacement_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instancePlacement_); - instancePlacement_ = subBuilder.buildPartial(); + case 106: + { + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder subBuilder = null; + if (configEncryption_ != null) { + subBuilder = configEncryption_.toBuilder(); + } + configEncryption_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(configEncryption_); + configEncryption_ = subBuilder.buildPartial(); + } + + break; } + case 114: + { + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder subBuilder = null; + if (instancePlacement_ != null) { + subBuilder = instancePlacement_.toBuilder(); + } + instancePlacement_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instancePlacement_); + instancePlacement_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -199,8 +240,7 @@ private AwsNodeConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { taints_ = java.util.Collections.unmodifiableList(taints_); @@ -212,42 +252,47 @@ private AwsNodeConfig( makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object instanceType_; /** + * + * *
    * Optional. The AWS instance type.
    * When unspecified, it uses a default based on the node pool's version.
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The instanceType. */ @java.lang.Override @@ -256,30 +301,30 @@ 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.
    * When unspecified, it uses a default based on the node pool's version.
    * 
* * 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 { @@ -290,6 +335,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
@@ -297,7 +344,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 @@ -305,6 +355,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
@@ -312,14 +364,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
@@ -327,7 +386,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]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { @@ -337,82 +398,100 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum public static final int TAINTS_FIELD_NUMBER = 3; 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, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + 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, + ""); + } + + 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_; } @@ -421,6 +500,8 @@ 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",
@@ -429,22 +510,22 @@ 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",
@@ -454,11 +535,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-
   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",
@@ -468,16 +550,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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",
@@ -487,12 +569,11 @@ public 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();
     }
@@ -500,24 +581,23 @@ 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,
-                "");
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> tags_;
-  private com.google.protobuf.MapField
-  internalGetTags() {
+    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,
+            "");
+  }
+
+  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_;
   }
@@ -526,6 +606,8 @@ 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 (.+-=_:@/).
@@ -535,22 +617,22 @@ 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 (.+-=_:@/).
@@ -561,11 +643,12 @@ public java.util.Map getTags() {
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-
   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 (.+-=_:@/).
@@ -576,16 +659,16 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-
-  public java.lang.String getTagsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTags().getMap();
+  public java.lang.String getTagsOrDefault(java.lang.String key, 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 (.+-=_:@/).
@@ -596,12 +679,11 @@ public 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();
     }
@@ -611,11 +693,14 @@ public java.lang.String getTagsOrThrow(
   public static final int IAM_INSTANCE_PROFILE_FIELD_NUMBER = 6;
   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 @@ -624,29 +709,29 @@ 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 { @@ -657,6 +742,8 @@ public java.lang.String getIamInstanceProfile() { public static final int IMAGE_TYPE_FIELD_NUMBER = 11; 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
@@ -665,6 +752,7 @@ public java.lang.String getIamInstanceProfile() {
    * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The imageType. */ @java.lang.Override @@ -673,14 +761,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 have a value of `ubuntu`, or `windows` if the cluster enables
@@ -689,16 +778,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 { @@ -709,11 +797,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 @@ -721,23 +814,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() { @@ -747,6 +851,8 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui public static final int SECURITY_GROUP_IDS_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList 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
@@ -754,13 +860,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 rules
@@ -768,12 +876,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 rules
@@ -781,6 +892,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. */ @@ -788,6 +900,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 rules
@@ -795,22 +909,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 @@ -818,23 +937,34 @@ 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() { @@ -844,11 +974,16 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigO 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 @@ -856,38 +991,55 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { return getConfigEncryption(); } 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 @@ -895,32 +1047,45 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder + getInstancePlacementOrBuilder() { return getInstancePlacement(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -932,8 +1097,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_); } @@ -943,18 +1107,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_); } @@ -989,39 +1145,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; @@ -1035,16 +1188,13 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1054,51 +1204,40 @@ 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1158,144 +1297,151 @@ 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() @@ -1303,17 +1449,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTaintsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1367,9 +1513,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 @@ -1388,7 +1534,8 @@ 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); int from_bitField0_ = bitField0_; result.instanceType_ = instanceType_; if (rootVolumeBuilder_ == null) { @@ -1444,38 +1591,39 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeConfig buildPartial() { 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; @@ -1483,7 +1631,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_; onChanged(); @@ -1509,18 +1658,17 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodeConfig other) taintsBuilder_ = null; taints_ = other.taints_; bitField0_ = (bitField0_ & ~0x00000001); - 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()); - internalGetMutableTags().mergeFrom( - other.internalGetTags()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableTags().mergeFrom(other.internalGetTags()); if (!other.getIamInstanceProfile().isEmpty()) { iamInstanceProfile_ = other.iamInstanceProfile_; onChanged(); @@ -1579,23 +1727,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object instanceType_ = ""; /** + * + * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the node pool's version.
      * 
* * 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; @@ -1604,21 +1755,22 @@ public java.lang.String getInstanceType() { } } /** + * + * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the node pool's version.
      * 
* * 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 { @@ -1626,57 +1778,64 @@ public java.lang.String getInstanceType() { } } /** + * + * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the node pool's version.
      * 
* * 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) { + public Builder setInstanceType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceType_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the node pool's version.
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearInstanceType() { - + instanceType_ = getDefaultInstance().getInstanceType(); onChanged(); return this; } /** + * + * *
      * Optional. The AWS instance type.
      * When unspecified, it uses a default based on the node pool's version.
      * 
* * 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) { + public Builder setInstanceTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceType_ = value; onChanged(); return this; @@ -1684,8 +1843,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
@@ -1693,13 +1857,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 rootVolumeBuilder_ != null || rootVolume_ != null; } /** + * + * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1707,17 +1876,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
@@ -1725,7 +1901,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) { @@ -1741,6 +1919,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
@@ -1748,7 +1928,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) { @@ -1762,6 +1944,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
@@ -1769,13 +1953,17 @@ 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 (rootVolume_ != null) { rootVolume_ = - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(rootVolume_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder(rootVolume_) + .mergeFrom(value) + .buildPartial(); } else { rootVolume_ = value; } @@ -1787,6 +1975,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
@@ -1794,7 +1984,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() { if (rootVolumeBuilder_ == null) { @@ -1808,6 +2000,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
@@ -1815,14 +2009,18 @@ 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() { - + onChanged(); return getRootVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1830,17 +2028,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
@@ -1848,40 +2051,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_ & 0x00000001) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000001; - } + } } 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) { @@ -1891,11 +2107,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) { @@ -1905,11 +2125,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) { @@ -1919,14 +2143,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(); @@ -1940,11 +2167,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) { @@ -1958,11 +2189,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) { @@ -1978,14 +2213,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(); @@ -1999,14 +2237,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()); @@ -2017,11 +2258,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) { @@ -2035,18 +2280,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); @@ -2054,11 +2302,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) { @@ -2071,11 +2323,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) { @@ -2088,39 +2344,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 { @@ -2128,70 +2395,83 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -2203,6 +2483,8 @@ 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",
@@ -2211,22 +2493,22 @@ 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",
@@ -2236,11 +2518,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
     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",
@@ -2250,16 +2533,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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",
@@ -2269,12 +2553,11 @@ public 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();
       }
@@ -2282,11 +2565,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      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",
@@ -2295,23 +2579,21 @@ 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() {
       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",
@@ -2320,19 +2602,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       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",
@@ -2341,30 +2624,26 @@ 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);
       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() {
-      onChanged();;
+        internalGetMutableTags() {
+      onChanged();
+      ;
       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();
@@ -2376,6 +2655,8 @@ 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 (.+-=_:@/).
@@ -2385,22 +2666,22 @@ 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 (.+-=_:@/).
@@ -2411,11 +2692,12 @@ public java.util.Map getTags() {
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
     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 (.+-=_:@/).
@@ -2426,16 +2708,16 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
-    public java.lang.String getTagsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTags().getMap();
+    public java.lang.String getTagsOrDefault(java.lang.String key, 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 (.+-=_:@/).
@@ -2446,12 +2728,11 @@ public 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();
       }
@@ -2459,11 +2740,12 @@ public java.lang.String getTagsOrThrow(
     }
 
     public Builder clearTags() {
-      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 (.+-=_:@/).
@@ -2473,23 +2755,21 @@ 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() {
       return internalGetMutableTags().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource. Specify at
      * most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/).
@@ -2499,19 +2779,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableTags().getMutableMap()
-          .put(key, value);
+      internalGetMutableTags().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource. Specify at
      * most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/).
@@ -2521,28 +2802,27 @@ 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);
       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; @@ -2551,20 +2831,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 { @@ -2572,54 +2853,61 @@ 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) { + public Builder setIamInstanceProfile(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + iamInstanceProfile_ = value; 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() { - + iamInstanceProfile_ = getDefaultInstance().getIamInstanceProfile(); 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]; + * * @param value The bytes for iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfileBytes( - com.google.protobuf.ByteString value) { + public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + iamInstanceProfile_ = value; onChanged(); return this; @@ -2627,6 +2915,8 @@ public Builder setIamInstanceProfileBytes( 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
@@ -2635,13 +2925,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; @@ -2650,6 +2940,8 @@ 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
@@ -2658,15 +2950,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 { @@ -2674,6 +2965,8 @@ 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
@@ -2682,20 +2975,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) { + public Builder setImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; 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
@@ -2704,15 +2999,18 @@ public Builder setImageType(
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); 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
@@ -2721,16 +3019,16 @@ 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) { + public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; @@ -2738,39 +3036,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 sshConfigBuilder_ != null || 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. */ 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) { @@ -2786,11 +3103,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) { @@ -2804,17 +3125,23 @@ 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 (sshConfig_ != null) { sshConfig_ = - com.google.cloud.gkemulticloud.v1.AwsSshConfig.newBuilder(sshConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsSshConfig.newBuilder(sshConfig_) + .mergeFrom(value) + .buildPartial(); } else { sshConfig_ = value; } @@ -2826,11 +3153,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() { if (sshConfigBuilder_ == null) { @@ -2844,95 +3175,124 @@ 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() { - + onChanged(); 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_; } - private com.google.protobuf.LazyStringList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList securityGroupIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSecurityGroupIdsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(securityGroupIds_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * 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() { return securityGroupIds_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -2940,90 +3300,105 @@ 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) { + public Builder setSecurityGroupIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSecurityGroupIdsIsMutable(); + throw new NullPointerException(); + } + ensureSecurityGroupIdsIsMutable(); securityGroupIds_.set(index, value); 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 securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIds( - java.lang.String value) { + public Builder addSecurityGroupIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSecurityGroupIdsIsMutable(); + throw new NullPointerException(); + } + ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); 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 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_); 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() { @@ -3033,22 +3408,25 @@ public Builder clearSecurityGroupIds() { 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) { + public Builder addSecurityGroupIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); onChanged(); @@ -3057,39 +3435,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 proxyConfigBuilder_ != null || 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. */ 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) { @@ -3105,11 +3502,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) { @@ -3123,17 +3524,23 @@ 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 (proxyConfig_ != null) { proxyConfig_ = - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.newBuilder(proxyConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.newBuilder(proxyConfig_) + .mergeFrom(value) + .buildPartial(); } else { proxyConfig_ = value; } @@ -3145,11 +3552,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() { if (proxyConfigBuilder_ == null) { @@ -3163,48 +3574,64 @@ 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() { - + onChanged(); 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_; @@ -3212,41 +3639,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 configEncryptionBuilder_ != null || 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. */ 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(); @@ -3260,11 +3707,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) { @@ -3278,17 +3729,24 @@ 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 (configEncryption_ != null) { configEncryption_ = - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.newBuilder(configEncryption_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.newBuilder(configEncryption_) + .mergeFrom(value) + .buildPartial(); } else { configEncryption_ = value; } @@ -3300,11 +3758,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() { if (configEncryptionBuilder_ == null) { @@ -3318,48 +3780,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() { + 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_; @@ -3367,44 +3847,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 instancePlacementBuilder_ != null || 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. */ 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(); @@ -3418,12 +3918,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) { @@ -3437,18 +3941,25 @@ 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 (instancePlacement_ != null) { instancePlacement_ = - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.newBuilder(instancePlacement_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.newBuilder(instancePlacement_) + .mergeFrom(value) + .buildPartial(); } else { instancePlacement_ = value; } @@ -3460,12 +3971,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() { if (instancePlacementBuilder_ == null) { @@ -3479,58 +3994,76 @@ 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() { + 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_; } + @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); } @@ -3540,12 +4073,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(); } @@ -3554,16 +4087,16 @@ 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 { - return new AwsNodeConfig(input, extensionRegistry); - } - }; + 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 { + return new AwsNodeConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3578,6 +4111,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java index 8750e97..44f3a20 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * When unspecified, it uses a default based on the node pool's version.
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The instanceType. */ java.lang.String getInstanceType(); /** + * + * *
    * Optional. The AWS instance type.
    * When unspecified, it uses a default based on the node pool's version.
    * 
* * 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
@@ -37,11 +60,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
@@ -49,11 +77,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
@@ -61,55 +94,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",
@@ -120,6 +175,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",
@@ -128,15 +185,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",
@@ -145,9 +200,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",
@@ -158,11 +214,13 @@ boolean containsLabels(
    */
 
   /* 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",
@@ -171,11 +229,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 (.+-=_:@/).
@@ -187,6 +245,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 (.+-=_:@/).
@@ -196,15 +256,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 (.+-=_:@/).
@@ -214,9 +272,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 (.+-=_:@/).
@@ -228,11 +287,13 @@ boolean containsTags(
    */
 
   /* 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 (.+-=_:@/).
@@ -242,31 +303,36 @@ 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
@@ -275,10 +341,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 have a value of `ubuntu`, or `windows` if the cluster enables
@@ -287,39 +356,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 rules
@@ -327,11 +412,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 rules
@@ -339,10 +426,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 rules
@@ -350,11 +440,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 rules
@@ -362,93 +455,135 @@ 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java index f379515..7ecc3a2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = ""; @@ -30,16 +48,15 @@ private AwsNodePool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsNodePool(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsNodePool( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -59,132 +76,155 @@ private AwsNodePool( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - version_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - - subnetId_ = s; - break; - } - case 128: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 138: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - uid_ = s; - break; - } - case 144: { - - reconciling_ = input.readBool(); - break; - } - case 154: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 162: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + version_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + subnetId_ = s; + break; } + case 128: + { + int rawValue = input.readEnum(); - break; - } - case 170: { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 138: + { + java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - case 178: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + uid_ = s; + break; } - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - annotations_.getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - break; - } - case 202: { - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder subBuilder = null; - if (autoscaling_ != null) { - subBuilder = autoscaling_.toBuilder(); + case 144: + { + reconciling_ = input.readBool(); + break; } - autoscaling_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(autoscaling_); - autoscaling_ = subBuilder.buildPartial(); + case 154: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 162: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 170: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 218: { - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder subBuilder = null; - if (maxPodsConstraint_ != null) { - subBuilder = maxPodsConstraint_.toBuilder(); + etag_ = s; + break; } - maxPodsConstraint_ = input.readMessage(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(maxPodsConstraint_); - maxPodsConstraint_ = subBuilder.buildPartial(); + case 178: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = + com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); + break; } - - break; - } - case 226: { - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); + case 202: + { + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder subBuilder = null; + if (autoscaling_ != null) { + subBuilder = autoscaling_.toBuilder(); + } + autoscaling_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(autoscaling_); + autoscaling_ = subBuilder.buildPartial(); + } + + break; } - config_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsNodeConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); + case 218: + { + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder subBuilder = null; + if (maxPodsConstraint_ != null) { + subBuilder = maxPodsConstraint_.toBuilder(); + } + maxPodsConstraint_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(maxPodsConstraint_); + maxPodsConstraint_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 226: + { + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); + } + config_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -192,48 +232,52 @@ private AwsNodePool( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -242,6 +286,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -250,6 +296,8 @@ public enum State */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -259,6 +307,8 @@ public enum State
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -267,6 +317,8 @@ public enum State */ RECONCILING(3), /** + * + * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -275,6 +327,8 @@ public enum State */ STOPPING(4), /** + * + * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -284,6 +338,8 @@ public enum State
      */
     ERROR(5),
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the node pool requires user action to
      * restore full functionality.
@@ -296,6 +352,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -304,6 +362,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -312,6 +372,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.
@@ -321,6 +383,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -329,6 +393,8 @@ public enum State */ public static final int RECONCILING_VALUE = 3; /** + * + * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -337,6 +403,8 @@ public enum State */ public static final int STOPPING_VALUE = 4; /** + * + * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -346,6 +414,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.
@@ -355,7 +425,6 @@ public enum State
      */
     public static final int DEGRADED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -380,53 +449,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;
@@ -446,6 +519,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of this resource.
    * Node pool names are formatted as
@@ -455,6 +530,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -463,14 +539,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.
    * Node pool names are formatted as
@@ -480,16 +557,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 { @@ -500,6 +576,8 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object version_; /** + * + * *
    * Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).
    * You can list all supported versions on a given Google Cloud region by
@@ -508,6 +586,7 @@ public java.lang.String getName() {
    * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ @java.lang.Override @@ -516,14 +595,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`).
    * You can list all supported versions on a given Google Cloud region by
@@ -532,16 +612,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 { @@ -552,11 +631,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 @@ -564,23 +648,34 @@ 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() { @@ -590,11 +685,16 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder getConfigOrBuild 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 @@ -602,37 +702,52 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder + getAutoscalingOrBuilder() { return getAutoscaling(); } public static final int SUBNET_ID_FIELD_NUMBER = 6; 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 @@ -641,29 +756,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 { @@ -674,38 +789,56 @@ public java.lang.String getSubnetId() { public static final int STATE_FIELD_NUMBER = 16; private int 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 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() { + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsNodePool.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = com.google.cloud.gkemulticloud.v1.AwsNodePool.State.valueOf(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.valueOf(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePool.State.UNRECOGNIZED + : result; } public static final int UID_FIELD_NUMBER = 17; 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 @@ -714,29 +847,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 { @@ -747,12 +880,15 @@ public java.lang.String getUid() { public static final int RECONCILING_FIELD_NUMBER = 18; 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 @@ -763,11 +899,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 @@ -775,11 +915,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 @@ -787,11 +931,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() { @@ -801,11 +948,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 @@ -813,11 +964,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 @@ -825,11 +980,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() { @@ -839,6 +997,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 21; private volatile java.lang.Object etag_; /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -847,6 +1007,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 21; + * * @return The etag. */ @java.lang.Override @@ -855,14 +1016,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.
@@ -871,16 +1033,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 { @@ -889,24 +1050,24 @@ 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, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + 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, + ""); + } + + 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_; } @@ -915,6 +1076,8 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. Annotations on the node pool.
    * This field has the same restrictions as Kubernetes annotations.
@@ -926,24 +1089,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -955,14 +1119,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -974,19 +1140,21 @@ 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 getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String key, 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -998,15 +1166,15 @@ public 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(); } @@ -1016,12 +1184,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 @@ -1029,32 +1202,45 @@ 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() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder + getMaxPodsConstraintOrBuilder() { return getMaxPodsConstraint(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1066,8 +1252,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_); } @@ -1077,7 +1262,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_)) { @@ -1095,12 +1281,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()); } @@ -1128,49 +1310,43 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1180,52 +1356,41 @@ 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1257,8 +1422,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(); @@ -1282,140 +1446,147 @@ 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() @@ -1423,16 +1594,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1485,9 +1655,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 @@ -1506,7 +1676,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.version_ = version_; @@ -1550,38 +1721,39 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool buildPartial() { 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; @@ -1628,8 +1800,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodePool other) { etag_ = other.etag_; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); if (other.hasMaxPodsConstraint()) { mergeMaxPodsConstraint(other.getMaxPodsConstraint()); } @@ -1661,10 +1832,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1674,13 +1848,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; @@ -1689,6 +1863,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1698,15 +1874,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 { @@ -1714,6 +1889,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1723,20 +1900,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1746,15 +1925,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1764,16 +1946,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1781,6 +1963,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`).
      * You can list all supported versions on a given Google Cloud region by
@@ -1789,13 +1973,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; @@ -1804,6 +1988,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).
      * You can list all supported versions on a given Google Cloud region by
@@ -1812,15 +1998,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 { @@ -1828,6 +2013,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).
      * You can list all supported versions on a given Google Cloud region by
@@ -1836,20 +2023,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) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).
      * You can list all supported versions on a given Google Cloud region by
@@ -1858,15 +2047,18 @@ public Builder setVersion(
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`).
      * You can list all supported versions on a given Google Cloud region by
@@ -1875,16 +2067,16 @@ 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) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1892,39 +2084,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 configBuilder_ != null || 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. */ 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) { @@ -1940,11 +2151,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) { @@ -1958,17 +2173,23 @@ 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 (config_ != null) { config_ = - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.newBuilder(config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -1980,11 +2201,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() { if (configBuilder_ == null) { @@ -1998,48 +2223,64 @@ 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() { - + onChanged(); 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_; @@ -2047,39 +2288,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 autoscalingBuilder_ != null || 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. */ 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) { @@ -2095,11 +2355,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) { @@ -2113,17 +2377,24 @@ 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 (autoscaling_ != null) { autoscaling_ = - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.newBuilder(autoscaling_) + .mergeFrom(value) + .buildPartial(); } else { autoscaling_ = value; } @@ -2135,11 +2406,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() { if (autoscalingBuilder_ == null) { @@ -2153,48 +2428,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() { + 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_; @@ -2202,18 +2495,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; @@ -2222,20 +2517,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 { @@ -2243,54 +2539,61 @@ 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) { + public Builder setSubnetId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetId_ = value; 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() { - + subnetId_ = getDefaultInstance().getSubnetId(); onChanged(); 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) { + public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetId_ = value; onChanged(); return this; @@ -2298,51 +2601,75 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = com.google.cloud.gkemulticloud.v1.AwsNodePool.State.valueOf(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.valueOf(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. */ @@ -2350,21 +2677,26 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AwsNodePool.State valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2372,18 +2704,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; @@ -2392,20 +2726,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 { @@ -2413,67 +2748,77 @@ 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) { + public Builder setUid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); 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 @@ -2481,32 +2826,38 @@ 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. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); 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() { - + reconciling_ = false; onChanged(); return this; @@ -2514,39 +2865,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 createTimeBuilder_ != null || 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. */ 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) { @@ -2562,14 +2932,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(); onChanged(); @@ -2580,17 +2953,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2602,11 +2979,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() { if (createTimeBuilder_ == null) { @@ -2620,48 +3001,64 @@ 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() { - + onChanged(); 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_; @@ -2669,39 +3066,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2717,14 +3133,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(); onChanged(); @@ -2735,17 +3154,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2757,11 +3180,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() { if (updateTimeBuilder_ == null) { @@ -2775,48 +3202,64 @@ 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() { - + onChanged(); 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_; @@ -2824,6 +3267,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -2832,13 +3277,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; @@ -2847,6 +3292,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -2855,15 +3302,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 { @@ -2871,6 +3317,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -2879,20 +3327,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) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -2901,15 +3351,18 @@ public Builder setEtag(
      * 
* * string etag = 21; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -2918,37 +3371,39 @@ 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) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); 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() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged();; + internalGetMutableAnnotations() { + onChanged(); + ; 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(); @@ -2960,6 +3415,8 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -2971,24 +3428,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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3000,14 +3458,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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3019,19 +3479,21 @@ 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 getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String key, 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3043,15 +3505,15 @@ public 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(); } @@ -3059,11 +3521,12 @@ public java.lang.String getAnnotationsOrThrow( } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3075,25 +3538,24 @@ 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() { return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3105,21 +3567,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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + internalGetMutableAnnotations().getMutableMap().put(key, value); return this; } /** + * + * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3131,54 +3595,71 @@ 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); 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 maxPodsConstraintBuilder_ != null || 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. */ 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) { @@ -3194,12 +3675,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) { @@ -3213,18 +3698,25 @@ 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 (maxPodsConstraint_ != null) { maxPodsConstraint_ = - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_) + .mergeFrom(value) + .buildPartial(); } else { maxPodsConstraint_ = value; } @@ -3236,12 +3728,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() { if (maxPodsConstraintBuilder_ == null) { @@ -3255,58 +3751,76 @@ 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() { + 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_; } + @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); } @@ -3316,12 +3830,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(); } @@ -3330,16 +3844,16 @@ 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 { - return new AwsNodePool(input, extensionRegistry); - } - }; + 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 { + return new AwsNodePool(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3354,6 +3868,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java index dba4284..44b134f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,30 +28,29 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AwsNodePoolAutoscaling(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,23 +69,23 @@ private AwsNodePoolAutoscaling(
           case 0:
             done = true;
             break;
-          case 8: {
-
-            minNodeCount_ = input.readInt32();
-            break;
-          }
-          case 16: {
-
-            maxNodeCount_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 8:
+            {
+              minNodeCount_ = input.readInt32();
+              break;
+            }
+          case 16:
+            {
+              maxNodeCount_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -77,35 +93,40 @@ private AwsNodePoolAutoscaling(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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_;
   /**
+   *
+   *
    * 
    * 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 @@ -116,12 +137,15 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 2; 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 @@ -130,6 +154,7 @@ public int getMaxNodeCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,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 (minNodeCount_ != 0) { output.writeInt32(1, minNodeCount_); } @@ -159,12 +183,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -174,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,96 +227,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.
@@ -303,21 +332,23 @@ 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()
@@ -325,16 +356,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -346,9 +376,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
@@ -367,7 +397,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);
+      com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling result =
+          new com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling(this);
       result.minNodeCount_ = minNodeCount_;
       result.maxNodeCount_ = maxNodeCount_;
       onBuilt();
@@ -378,38 +409,39 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling buildPartial() {
     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;
@@ -417,7 +449,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());
       }
@@ -443,7 +476,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -453,14 +487,17 @@ public Builder mergeFrom(
       return this;
     }
 
-    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 @@ -468,45 +505,54 @@ 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. */ public Builder setMinNodeCount(int value) { - + minNodeCount_ = value; onChanged(); 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() { - + minNodeCount_ = 0; onChanged(); 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 @@ -514,39 +560,45 @@ 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. */ public Builder setMaxNodeCount(int value) { - + maxNodeCount_ = value; onChanged(); 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() { - + maxNodeCount_ = 0; 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); } @@ -556,12 +608,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(); } @@ -570,16 +622,16 @@ 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 { - return new AwsNodePoolAutoscaling(input, extensionRegistry); - } - }; + 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 { + return new AwsNodePoolAutoscaling(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,6 +646,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java index 21381e1..32e1844 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java @@ -1,30 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java index adb71bb..62443dc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Node pool names are formatted as
@@ -17,10 +35,13 @@ public interface AwsNodePoolOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this resource.
    * Node pool names are formatted as
@@ -30,12 +51,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`).
    * You can list all supported versions on a given Google Cloud region by
@@ -44,10 +67,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`).
    * You can list all supported versions on a given Google Cloud region by
@@ -56,190 +82,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.
@@ -248,10 +349,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.
@@ -260,12 +364,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -277,10 +383,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -292,17 +401,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -314,11 +422,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -330,15 +440,18 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -350,39 +463,52 @@ 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java index 1919672..fe8e745 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private AwsProxyConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsProxyConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsProxyConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private AwsProxyConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - secretArn_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + secretArn_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - secretVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + secretVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,40 @@ private AwsProxyConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object secretArn_; /** + * + * *
    * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
    * configuration.
    * 
* * string secret_arn = 1; + * * @return The secretArn. */ @java.lang.Override @@ -117,30 +141,30 @@ 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.
    * 
* * 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 { @@ -151,12 +175,15 @@ public java.lang.String getSecretArn() { public static final int SECRET_VERSION_FIELD_NUMBER = 2; 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 @@ -165,30 +192,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 { @@ -197,6 +224,7 @@ public java.lang.String getSecretVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +236,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_); } @@ -239,17 +266,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -270,118 +296,127 @@ 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() @@ -389,16 +424,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +444,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 @@ -431,7 +465,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); + com.google.cloud.gkemulticloud.v1.AwsProxyConfig result = + new com.google.cloud.gkemulticloud.v1.AwsProxyConfig(this); result.secretArn_ = secretArn_; result.secretVersion_ = secretVersion_; onBuilt(); @@ -442,38 +477,39 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig buildPartial() { 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; @@ -481,7 +517,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_; onChanged(); @@ -521,19 +558,21 @@ public Builder mergeFrom( private java.lang.Object secretArn_ = ""; /** + * + * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
      * 
* * 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; @@ -542,21 +581,22 @@ public java.lang.String getSecretArn() { } } /** + * + * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
      * 
* * 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 { @@ -564,57 +604,64 @@ public java.lang.String getSecretArn() { } } /** + * + * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
      * 
* * string secret_arn = 1; + * * @param value The secretArn to set. * @return This builder for chaining. */ - public Builder setSecretArn( - java.lang.String value) { + public Builder setSecretArn(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secretArn_ = value; onChanged(); return this; } /** + * + * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
      * 
* * string secret_arn = 1; + * * @return This builder for chaining. */ public Builder clearSecretArn() { - + secretArn_ = getDefaultInstance().getSecretArn(); onChanged(); return this; } /** + * + * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
      * 
* * 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) { + public Builder setSecretArnBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretArn_ = value; onChanged(); return this; @@ -622,19 +669,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; @@ -643,21 +692,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 { @@ -665,64 +715,71 @@ 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) { + public Builder setSecretVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secretVersion_ = value; 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() { - + secretVersion_ = getDefaultInstance().getSecretVersion(); onChanged(); 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) { + public Builder setSecretVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretVersion_ = 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); } @@ -732,12 +789,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(); } @@ -746,16 +803,16 @@ 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 { - return new AwsProxyConfig(input, extensionRegistry); - } - }; + 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 { + return new AwsProxyConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -770,6 +827,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java index b8f757c..30d0d04 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java @@ -1,53 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * 
* * 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.
    * 
* * 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java new file mode 100644 index 0000000..0415142 --- /dev/null +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java @@ -0,0 +1,531 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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; + + 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\"\260\t\n\nAwsClu" + + "ster\022\014\n\004name\030\001 \001(\t\022\030\n\013description\030\002 \001(\tB" + + "\003\340A\001\022L\n\nnetworking\030\003 \001(\01323.google.cloud." + + "gkemulticloud.v1.AwsClusterNetworkingB\003\340" + + "A\002\022\027\n\naws_region\030\004 \001(\tB\003\340A\002\022J\n\rcontrol_p" + + "lane\030\005 \001(\0132..google.cloud.gkemulticloud." + + "v1.AwsControlPlaneB\003\340A\002\022K\n\rauthorization" + + "\030\017 \001(\0132/.google.cloud.gkemulticloud.v1.A" + + "wsAuthorizationB\003\340A\002\022C\n\005state\030\007 \001(\0162/.go" + + "ogle.cloud.gkemulticloud.v1.AwsCluster.S" + + "tateB\003\340A\003\022\025\n\010endpoint\030\010 \001(\tB\003\340A\003\022\020\n\003uid\030" + + "\t \001(\tB\003\340A\003\022\030\n\013reconciling\030\n \001(\010B\003\340A\003\0224\n\013" + + "create_time\030\013 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0224\n\013update_time\030\014 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\003\022\014\n\004etag\030\r \001(\t\022T" + + "\n\013annotations\030\016 \003(\0132:.google.cloud.gkemu" + + "lticloud.v1.AwsCluster.AnnotationsEntryB" + + "\003\340A\001\022\\\n\030workload_identity_config\030\020 \001(\01325" + + ".google.cloud.gkemulticloud.v1.WorkloadI" + + "dentityConfigB\003\340A\003\022#\n\026cluster_ca_certifi" + + "cate\030\021 \001(\tB\003\340A\003\0228\n\005fleet\030\022 \001(\0132$.google." + + "cloud.gkemulticloud.v1.FleetB\003\340A\001\022I\n\016log" + + "ging_config\030\023 \001(\0132,.google.cloud.gkemult" + + "icloud.v1.LoggingConfigB\003\340A\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}\"\250\007\n\017Aws" + + "ControlPlane\022\024\n\007version\030\001 \001(\tB\003\340A\002\022\032\n\rin" + + "stance_type\030\002 \001(\tB\003\340A\001\022D\n\nssh_config\030\016 \001" + + "(\0132+.google.cloud.gkemulticloud.v1.AwsSs" + + "hConfigB\003\340A\001\022\027\n\nsubnet_ids\030\004 \003(\tB\003\340A\002\022\037\n" + + "\022security_group_ids\030\005 \003(\tB\003\340A\001\022!\n\024iam_in" + + "stance_profile\030\007 \001(\tB\003\340A\002\022J\n\013root_volume" + + "\030\010 \001(\01320.google.cloud.gkemulticloud.v1.A" + + "wsVolumeTemplateB\003\340A\001\022J\n\013main_volume\030\t \001" + + "(\01320.google.cloud.gkemulticloud.v1.AwsVo" + + "lumeTemplateB\003\340A\001\022V\n\023database_encryption" + + "\030\n \001(\01324.google.cloud.gkemulticloud.v1.A" + + "wsDatabaseEncryptionB\003\340A\002\022K\n\004tags\030\013 \003(\0132" + + "8.google.cloud.gkemulticloud.v1.AwsContr" + + "olPlane.TagsEntryB\003\340A\001\022b\n\033aws_services_a" + + "uthentication\030\014 \001(\01328.google.cloud.gkemu" + + "lticloud.v1.AwsServicesAuthenticationB\003\340" + + "A\002\022H\n\014proxy_config\030\020 \001(\0132-.google.cloud." + + "gkemulticloud.v1.AwsProxyConfigB\003\340A\001\022R\n\021" + + "config_encryption\030\021 \001(\01322.google.cloud.g" + + "kemulticloud.v1.AwsConfigEncryptionB\003\340A\002" + + "\022T\n\022instance_placement\030\022 \001(\01323.google.cl" + + "oud.gkemulticloud.v1.AwsInstancePlacemen" + + "tB\003\340A\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001\"R\n\031AwsServicesAuthentication" + + "\022\025\n\010role_arn\030\001 \001(\tB\003\340A\002\022\036\n\021role_session_" + + "name\030\002 \001(\tB\003\340A\001\"[\n\020AwsAuthorization\022G\n\013a" + + "dmin_users\030\001 \003(\0132-.google.cloud.gkemulti" + + "cloud.v1.AwsClusterUserB\003\340A\002\"\'\n\016AwsClust" + + "erUser\022\025\n\010username\030\001 \001(\tB\003\340A\002\"1\n\025AwsData" + + "baseEncryption\022\030\n\013kms_key_arn\030\001 \001(\tB\003\340A\002" + + "\"\353\001\n\021AwsVolumeTemplate\022\025\n\010size_gib\030\001 \001(\005" + + "B\003\340A\001\022U\n\013volume_type\030\002 \001(\0162;.google.clou" + + "d.gkemulticloud.v1.AwsVolumeTemplate.Vol" + + "umeTypeB\003\340A\001\022\021\n\004iops\030\003 \001(\005B\003\340A\001\022\030\n\013kms_k" + + "ey_arn\030\004 \001(\tB\003\340A\001\";\n\nVolumeType\022\033\n\027VOLUM" + + "E_TYPE_UNSPECIFIED\020\000\022\007\n\003GP2\020\001\022\007\n\003GP3\020\002\"{" + + "\n\024AwsClusterNetworking\022\023\n\006vpc_id\030\001 \001(\tB\003" + + "\340A\002\022$\n\027pod_address_cidr_blocks\030\002 \003(\tB\003\340A" + + "\002\022(\n\033service_address_cidr_blocks\030\003 \003(\tB\003" + + "\340A\002\"\260\007\n\013AwsNodePool\022\014\n\004name\030\001 \001(\t\022\024\n\007ver" + + "sion\030\003 \001(\tB\003\340A\002\022A\n\006config\030\034 \001(\0132,.google" + + ".cloud.gkemulticloud.v1.AwsNodeConfigB\003\340" + + "A\002\022O\n\013autoscaling\030\031 \001(\01325.google.cloud.g" + + "kemulticloud.v1.AwsNodePoolAutoscalingB\003" + + "\340A\002\022\026\n\tsubnet_id\030\006 \001(\tB\003\340A\002\022D\n\005state\030\020 \001" + + "(\01620.google.cloud.gkemulticloud.v1.AwsNo" + + "dePool.StateB\003\340A\003\022\020\n\003uid\030\021 \001(\tB\003\340A\003\022\030\n\013r" + + "econciling\030\022 \001(\010B\003\340A\003\0224\n\013create_time\030\023 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" + + "pdate_time\030\024 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022\014\n\004etag\030\025 \001(\t\022U\n\013annotations\030\026" + + " \003(\0132;.google.cloud.gkemulticloud.v1.Aws" + + "NodePool.AnnotationsEntryB\003\340A\001\022R\n\023max_po" + + "ds_constraint\030\033 \001(\01320.google.cloud.gkemu" + + "lticloud.v1.MaxPodsConstraintB\003\340A\002\0322\n\020An" + + "notationsEntry\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\013RECONCI" + + "LING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRA" + + "DED\020\006:\216\001\352A\212\001\n(gkemulticloud.googleapis.c" + + "om/AwsNodePool\022^projects/{project}/locat" + + "ions/{location}/awsClusters/{aws_cluster" + + "}/awsNodePools/{aws_node_pool}\"\303\006\n\rAwsNo" + + "deConfig\022\032\n\rinstance_type\030\001 \001(\tB\003\340A\001\022J\n\013" + + "root_volume\030\002 \001(\01320.google.cloud.gkemult" + + "icloud.v1.AwsVolumeTemplateB\003\340A\001\022=\n\006tain" + + "ts\030\003 \003(\0132(.google.cloud.gkemulticloud.v1" + + ".NodeTaintB\003\340A\001\022M\n\006labels\030\004 \003(\01328.google" + + ".cloud.gkemulticloud.v1.AwsNodeConfig.La" + + "belsEntryB\003\340A\001\022I\n\004tags\030\005 \003(\01326.google.cl" + + "oud.gkemulticloud.v1.AwsNodeConfig.TagsE" + + "ntryB\003\340A\001\022!\n\024iam_instance_profile\030\006 \001(\tB" + + "\003\340A\002\022\027\n\nimage_type\030\013 \001(\tB\003\340A\001\022D\n\nssh_con" + + "fig\030\t \001(\0132+.google.cloud.gkemulticloud.v" + + "1.AwsSshConfigB\003\340A\001\022\037\n\022security_group_id" + + "s\030\n \003(\tB\003\340A\001\022H\n\014proxy_config\030\014 \001(\0132-.goo" + + "gle.cloud.gkemulticloud.v1.AwsProxyConfi" + + "gB\003\340A\001\022R\n\021config_encryption\030\r \001(\01322.goog" + + "le.cloud.gkemulticloud.v1.AwsConfigEncry" + + "ptionB\003\340A\002\022T\n\022instance_placement\030\016 \001(\01323" + + ".google.cloud.gkemulticloud.v1.AwsInstan" + + "cePlacementB\003\340A\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\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"R\n\026AwsNodeP" + + "oolAutoscaling\022\033\n\016min_node_count\030\001 \001(\005B\003" + + "\340A\002\022\033\n\016max_node_count\030\002 \001(\005B\003\340A\002\"\364\001\n\017Aws" + + "ServerConfig\022\014\n\004name\030\001 \001(\t\022H\n\016valid_vers" + + "ions\030\002 \003(\01320.google.cloud.gkemulticloud." + + "v1.AwsK8sVersionInfo\022\035\n\025supported_aws_re" + + "gions\030\003 \003(\t:j\352Ag\n,gkemulticloud.googleap" + + "is.com/AwsServerConfig\0227projects/{projec" + + "t}/locations/{location}/awsServerConfig\"" + + "$\n\021AwsK8sVersionInfo\022\017\n\007version\030\001 \001(\t\")\n" + + "\014AwsSshConfig\022\031\n\014ec2_key_pair\030\001 \001(\tB\003\340A\002" + + "\"<\n\016AwsProxyConfig\022\022\n\nsecret_arn\030\001 \001(\t\022\026" + + "\n\016secret_version\030\002 \001(\t\"/\n\023AwsConfigEncry" + + "ption\022\030\n\013kms_key_arn\030\001 \001(\tB\003\340A\002\"\263\001\n\024AwsI" + + "nstancePlacement\022Q\n\007tenancy\030\001 \001(\0162;.goog" + + "le.cloud.gkemulticloud.v1.AwsInstancePla" + + "cement.TenancyB\003\340A\002\"H\n\007Tenancy\022\027\n\023TENANC" + + "Y_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\r\n\tDEDICATE" + + "D\020\002\022\010\n\004HOST\020\003B\347\001\n!com.google.cloud.gkemu" + + "lticloud.v1B\021AwsResourcesProtoP\001ZJgoogle" + + ".golang.org/genproto/googleapis/cloud/gk" + + "emulticloud/v1;gkemulticloud\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.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", + }); + 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", + }); + 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", + }); + 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", + }); + 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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java index 9fde593..ac826e4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); @@ -27,16 +45,15 @@ private AwsServerConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsServerConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsServerConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,43 @@ private AwsServerConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - validVersions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - validVersions_.add( - input.readMessage(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.parser(), extensionRegistry)); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - supportedAwsRegions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + validVersions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + validVersions_.add( + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.parser(), + extensionRegistry)); + break; } - supportedAwsRegions_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + supportedAwsRegions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + supportedAwsRegions_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +117,7 @@ private AwsServerConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { validVersions_ = java.util.Collections.unmodifiableList(validVersions_); @@ -107,27 +129,33 @@ private AwsServerConfig( makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * The resource name of the config.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -136,29 +164,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 { @@ -169,6 +197,8 @@ public java.lang.String getName() { public static final int VALID_VERSIONS_FIELD_NUMBER = 2; private java.util.List validVersions_; /** + * + * *
    * List of valid Kubernetes versions.
    * 
@@ -176,10 +206,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 valid Kubernetes versions.
    * 
@@ -187,11 +220,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 valid Kubernetes versions.
    * 
@@ -203,6 +238,8 @@ public int getValidVersionsCount() { return validVersions_.size(); } /** + * + * *
    * List of valid Kubernetes versions.
    * 
@@ -214,6 +251,8 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int return validVersions_.get(index); } /** + * + * *
    * List of valid Kubernetes versions.
    * 
@@ -229,34 +268,42 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVers public static final int SUPPORTED_AWS_REGIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList supportedAwsRegions_; /** + * + * *
    * 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. */ @@ -264,20 +311,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; @@ -289,8 +339,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_); } @@ -313,8 +362,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; @@ -332,19 +380,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -372,117 +418,126 @@ 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() @@ -490,17 +545,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getValidVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -518,9 +573,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_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 @@ -539,7 +594,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; if (validVersionsBuilder_ == null) { @@ -564,38 +620,39 @@ public com.google.cloud.gkemulticloud.v1.AwsServerConfig buildPartial() { 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; @@ -603,7 +660,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_; onChanged(); @@ -626,9 +684,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsServerConfig other validVersionsBuilder_ = null; validVersions_ = other.validVersions_; bitField0_ = (bitField0_ & ~0x00000001); - validVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getValidVersionsFieldBuilder() : null; + validVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getValidVersionsFieldBuilder() + : null; } else { validVersionsBuilder_.addAllMessages(other.validVersions_); } @@ -663,7 +722,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsServerConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AwsServerConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -672,22 +732,25 @@ public Builder mergeFrom( } 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; @@ -696,20 +759,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 { @@ -717,79 +781,95 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the config.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private java.util.List validVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - validVersions_ = new java.util.ArrayList(validVersions_); + validVersions_ = + new java.util.ArrayList( + validVersions_); bitField0_ |= 0x00000001; - } + } } 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.
      * 
* * 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 { @@ -797,6 +877,8 @@ public java.util.List getVa } } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -811,6 +893,8 @@ public int getValidVersionsCount() { } } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -825,6 +909,8 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int } } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -846,6 +932,8 @@ public Builder setValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -864,6 +952,8 @@ public Builder setValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -884,6 +974,8 @@ public Builder addValidVersions(com.google.cloud.gkemulticloud.v1.AwsK8sVersionI return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -905,6 +997,8 @@ public Builder addValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -923,6 +1017,8 @@ public Builder addValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -941,6 +1037,8 @@ public Builder addValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -951,8 +1049,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); @@ -960,6 +1057,8 @@ public Builder addAllValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -977,6 +1076,8 @@ public Builder clearValidVersions() { return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -994,6 +1095,8 @@ public Builder removeValidVersions(int index) { return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -1005,6 +1108,8 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder getValidVersi return getValidVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -1014,19 +1119,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.
      * 
* * 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 { @@ -1034,6 +1142,8 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVers } } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -1041,10 +1151,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 valid Kubernetes versions.
      * 
@@ -1053,26 +1165,35 @@ 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 valid Kubernetes versions.
      * 
* * 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_ & 0x00000001) != 0), getParentForChildren(), @@ -1082,42 +1203,52 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder addValidVersi return validVersionsBuilder_; } - private com.google.protobuf.LazyStringList supportedAwsRegions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList supportedAwsRegions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSupportedAwsRegionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { supportedAwsRegions_ = new com.google.protobuf.LazyStringArrayList(supportedAwsRegions_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * 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_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -1125,80 +1256,90 @@ 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) { + public Builder setSupportedAwsRegions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedAwsRegionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.set(index, value); onChanged(); 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) { + public Builder addSupportedAwsRegions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedAwsRegionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.add(value); onChanged(); 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_); onChanged(); return this; } /** + * + * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; + * * @return This builder for chaining. */ public Builder clearSupportedAwsRegions() { @@ -1208,28 +1349,30 @@ public Builder clearSupportedAwsRegions() { 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) { + public Builder addSupportedAwsRegionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.add(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); } @@ -1239,12 +1382,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(); } @@ -1253,16 +1396,16 @@ 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 { - return new AwsServerConfig(input, extensionRegistry); - } - }; + 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 { + return new AwsServerConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1277,6 +1420,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java index a90a230..8d6d04e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java @@ -1,42 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ - java.util.List - getValidVersionsList(); + java.util.List getValidVersionsList(); /** + * + * *
    * List of valid Kubernetes versions.
    * 
@@ -45,6 +69,8 @@ public interface AwsServerConfigOrBuilder extends */ com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int index); /** + * + * *
    * List of valid Kubernetes versions.
    * 
@@ -53,62 +79,75 @@ public interface AwsServerConfigOrBuilder extends */ int getValidVersionsCount(); /** + * + * *
    * List of valid Kubernetes versions.
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ - java.util.List + java.util.List getValidVersionsOrBuilderList(); /** + * + * *
    * List of valid Kubernetes versions.
    * 
* * 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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java new file mode 100644 index 0000000..41e5639 --- /dev/null +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java @@ -0,0 +1,393 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\323\001\n\027Creat" + + "eAwsClusterRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372" + + "A)\022\'gkemulticloud.googleapis.com/AwsClus" + + "ter\022C\n\013aws_cluster\030\002 \001(\0132).google.cloud." + + "gkemulticloud.v1.AwsClusterB\003\340A\002\022\033\n\016aws_" + + "cluster_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalidate_only\030\004" + + " \001(\010\"\253\001\n\027UpdateAwsClusterRequest\022C\n\013aws_" + + "cluster\030\001 \001(\0132).google.cloud.gkemulticlo" + + "ud.v1.AwsClusterB\003\340A\002\022\025\n\rvalidate_only\030\002" + + " \001(\010\0224\n\013update_mask\030\004 \001(\0132\032.google.proto" + + "buf.FieldMaskB\003\340A\002\"U\n\024GetAwsClusterReque" + + "st\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'gkemulticloud." + + "googleapis.com/AwsCluster\"\200\001\n\026ListAwsClu" + + "stersRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'gk" + + "emulticloud.googleapis.com/AwsCluster\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"s\n\027" + + "ListAwsClustersResponse\022?\n\014aws_clusters\030" + + "\001 \003(\0132).google.cloud.gkemulticloud.v1.Aw" + + "sCluster\022\027\n\017next_page_token\030\002 \001(\t\"\224\001\n\027De" + + "leteAwsClusterRequest\022=\n\004name\030\001 \001(\tB/\340A\002" + + "\372A)\n\'gkemulticloud.googleapis.com/AwsClu" + + "ster\022\025\n\rvalidate_only\030\002 \001(\010\022\025\n\rallow_mis" + + "sing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\332\001\n\030CreateAwsNo" + + "dePoolRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(g" + + "kemulticloud.googleapis.com/AwsNodePool\022" + + "F\n\raws_node_pool\030\002 \001(\0132*.google.cloud.gk" + + "emulticloud.v1.AwsNodePoolB\003\340A\002\022\035\n\020aws_n" + + "ode_pool_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalidate_only\030" + + "\004 \001(\010\"\257\001\n\030UpdateAwsNodePoolRequest\022F\n\raw" + + "s_node_pool\030\001 \001(\0132*.google.cloud.gkemult" + + "icloud.v1.AwsNodePoolB\003\340A\002\022\025\n\rvalidate_o" + + "nly\030\002 \001(\010\0224\n\013update_mask\030\003 \001(\0132\032.google." + + "protobuf.FieldMaskB\003\340A\002\"W\n\025GetAwsNodePoo" + + "lRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(gkemulti" + + "cloud.googleapis.com/AwsNodePool\"\202\001\n\027Lis" + + "tAwsNodePoolsRequest\022@\n\006parent\030\001 \001(\tB0\340A" + + "\002\372A*\022(gkemulticloud.googleapis.com/AwsNo" + + "dePool\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\"w\n\030ListAwsNodePoolsResponse\022B\n\016aws" + + "_node_pools\030\001 \003(\0132*.google.cloud.gkemult" + + "icloud.v1.AwsNodePool\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\226\001\n\030DeleteAwsNodePoolRequest\022>\n\004n" + + "ame\030\001 \001(\tB0\340A\002\372A*\n(gkemulticloud.googlea" + + "pis.com/AwsNodePool\022\025\n\rvalidate_only\030\002 \001" + + "(\010\022\025\n\rallow_missing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"" + + "_\n\031GetAwsServerConfigRequest\022B\n\004name\030\001 \001" + + "(\tB4\340A\002\372A.\n,gkemulticloud.googleapis.com" + + "/AwsServerConfig\"e\n\035GenerateAwsAccessTok" + + "enRequest\022D\n\013aws_cluster\030\001 \001(\tB/\340A\002\372A)\n\'" + + "gkemulticloud.googleapis.com/AwsCluster\"" + + "u\n\036GenerateAwsAccessTokenResponse\022\031\n\014acc" + + "ess_token\030\001 \001(\tB\003\340A\003\0228\n\017expiration_time\030" + + "\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\0032\376" + + "\025\n\013AwsClusters\022\366\001\n\020CreateAwsCluster\0226.go" + + "ogle.cloud.gkemulticloud.v1.CreateAwsClu" + + "sterRequest\032\035.google.longrunning.Operati" + + "on\"\212\001\202\323\344\223\002>\"//v1/{parent=projects/*/loca" + + "tions/*}/awsClusters:\013aws_cluster\332A!pare" + + "nt,aws_cluster,aws_cluster_id\312A\037\n\nAwsClu" + + "ster\022\021OperationMetadata\022\370\001\n\020UpdateAwsClu" + + "ster\0226.google.cloud.gkemulticloud.v1.Upd" + + "ateAwsClusterRequest\032\035.google.longrunnin" + + "g.Operation\"\214\001\202\323\344\223\002J2;/v1/{aws_cluster.n" + + "ame=projects/*/locations/*/awsClusters/*" + + "}:\013aws_cluster\332A\027aws_cluster,update_mask" + + "\312A\037\n\nAwsCluster\022\021OperationMetadata\022\257\001\n\rG" + + "etAwsCluster\0223.google.cloud.gkemulticlou" + + "d.v1.GetAwsClusterRequest\032).google.cloud" + + ".gkemulticloud.v1.AwsCluster\">\202\323\344\223\0021\022//v" + + "1/{name=projects/*/locations/*/awsCluste" + + "rs/*}\332A\004name\022\302\001\n\017ListAwsClusters\0225.googl" + + "e.cloud.gkemulticloud.v1.ListAwsClusters" + + "Request\0326.google.cloud.gkemulticloud.v1." + + "ListAwsClustersResponse\"@\202\323\344\223\0021\022//v1/{pa" + + "rent=projects/*/locations/*}/awsClusters" + + "\332A\006parent\022\326\001\n\020DeleteAwsCluster\0226.google." + + "cloud.gkemulticloud.v1.DeleteAwsClusterR" + + "equest\032\035.google.longrunning.Operation\"k\202" + + "\323\344\223\0021*//v1/{name=projects/*/locations/*/" + + "awsClusters/*}\332A\004name\312A*\n\025google.protobu" + + "f.Empty\022\021OperationMetadata\022\354\001\n\026GenerateA" + + "wsAccessToken\022<.google.cloud.gkemulticlo" + + "ud.v1.GenerateAwsAccessTokenRequest\032=.go" + + "ogle.cloud.gkemulticloud.v1.GenerateAwsA" + + "ccessTokenResponse\"U\202\323\344\223\002O\022M/v1/{aws_clu" + + "ster=projects/*/locations/*/awsClusters/" + + "*}:generateAwsAccessToken\022\216\002\n\021CreateAwsN" + + "odePool\0227.google.cloud.gkemulticloud.v1." + + "CreateAwsNodePoolRequest\032\035.google.longru" + + "nning.Operation\"\240\001\202\323\344\223\002O\">/v1/{parent=pr" + + "ojects/*/locations/*/awsClusters/*}/awsN" + + "odePools:\raws_node_pool\332A%parent,aws_nod" + + "e_pool,aws_node_pool_id\312A \n\013AwsNodePool\022" + + "\021OperationMetadata\022\220\002\n\021UpdateAwsNodePool" + + "\0227.google.cloud.gkemulticloud.v1.UpdateA" + + "wsNodePoolRequest\032\035.google.longrunning.O" + + "peration\"\242\001\202\323\344\223\002]2L/v1/{aws_node_pool.na" + + "me=projects/*/locations/*/awsClusters/*/" + + "awsNodePools/*}:\raws_node_pool\332A\031aws_nod" + + "e_pool,update_mask\312A \n\013AwsNodePool\022\021Oper" + + "ationMetadata\022\301\001\n\016GetAwsNodePool\0224.googl" + + "e.cloud.gkemulticloud.v1.GetAwsNodePoolR" + + "equest\032*.google.cloud.gkemulticloud.v1.A" + + "wsNodePool\"M\202\323\344\223\002@\022>/v1/{name=projects/*" + + "/locations/*/awsClusters/*/awsNodePools/" + + "*}\332A\004name\022\324\001\n\020ListAwsNodePools\0226.google." + + "cloud.gkemulticloud.v1.ListAwsNodePoolsR" + + "equest\0327.google.cloud.gkemulticloud.v1.L" + + "istAwsNodePoolsResponse\"O\202\323\344\223\002@\022>/v1/{pa" + + "rent=projects/*/locations/*/awsClusters/" + + "*}/awsNodePools\332A\006parent\022\347\001\n\021DeleteAwsNo" + + "dePool\0227.google.cloud.gkemulticloud.v1.D" + + "eleteAwsNodePoolRequest\032\035.google.longrun" + + "ning.Operation\"z\202\323\344\223\002@*>/v1/{name=projec" + + "ts/*/locations/*/awsClusters/*/awsNodePo" + + "ols/*}\332A\004name\312A*\n\025google.protobuf.Empty\022" + + "\021OperationMetadata\022\300\001\n\022GetAwsServerConfi" + + "g\0228.google.cloud.gkemulticloud.v1.GetAws" + + "ServerConfigRequest\032..google.cloud.gkemu" + + "lticloud.v1.AwsServerConfig\"@\202\323\344\223\0023\0221/v1" + + "/{name=projects/*/locations/*/awsServerC" + + "onfig}\332A\004name\032P\312A\034gkemulticloud.googleap" + + "is.com\322A.https://www.googleapis.com/auth" + + "/cloud-platformB\345\001\n!com.google.cloud.gke" + + "multicloud.v1B\017AwsServiceProtoP\001ZJgoogle" + + ".golang.org/genproto/googleapis/cloud/gk" + + "emulticloud/v1;gkemulticloud\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.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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java index e185416..99134ab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private AwsServicesAuthentication() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsServicesAuthentication(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsServicesAuthentication( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private AwsServicesAuthentication( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - roleArn_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + roleArn_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - roleSessionName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + roleSessionName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,40 @@ private AwsServicesAuthentication( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -117,30 +141,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 { @@ -151,12 +175,15 @@ public java.lang.String getRoleArn() { public static final int ROLE_SESSION_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object roleSessionName_; /** + * + * *
    * Optional. An identifier for the assumed role session.
    * When unspecified, it defaults to `multicloud-service-agent`.
    * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The roleSessionName. */ @java.lang.Override @@ -165,30 +192,30 @@ 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.
    * When unspecified, it defaults to `multicloud-service-agent`.
    * 
* * 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 { @@ -197,6 +224,7 @@ public java.lang.String getRoleSessionName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +236,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_); } @@ -239,17 +266,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +297,127 @@ 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() @@ -389,16 +425,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +445,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 @@ -431,7 +466,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); + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication result = + new com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication(this); result.roleArn_ = roleArn_; result.roleSessionName_ = roleSessionName_; onBuilt(); @@ -442,38 +478,39 @@ public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication buildPartial( 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; @@ -481,7 +518,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_; onChanged(); @@ -509,7 +547,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -521,19 +560,21 @@ public Builder mergeFrom( 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; @@ -542,21 +583,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 { @@ -564,57 +606,64 @@ 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) { + public Builder setRoleArn(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + roleArn_ = value; 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() { - + roleArn_ = getDefaultInstance().getRoleArn(); 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]; + * * @param value The bytes for roleArn to set. * @return This builder for chaining. */ - public Builder setRoleArnBytes( - com.google.protobuf.ByteString value) { + public Builder setRoleArnBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + roleArn_ = value; onChanged(); return this; @@ -622,19 +671,21 @@ public Builder setRoleArnBytes( private java.lang.Object roleSessionName_ = ""; /** + * + * *
      * Optional. An identifier for the assumed role session.
      * When unspecified, it defaults to `multicloud-service-agent`.
      * 
* * 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; @@ -643,21 +694,22 @@ public java.lang.String getRoleSessionName() { } } /** + * + * *
      * Optional. An identifier for the assumed role session.
      * When unspecified, it defaults to `multicloud-service-agent`.
      * 
* * 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 { @@ -665,64 +717,71 @@ public java.lang.String getRoleSessionName() { } } /** + * + * *
      * Optional. An identifier for the assumed role session.
      * When unspecified, it defaults to `multicloud-service-agent`.
      * 
* * 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) { + public Builder setRoleSessionName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + roleSessionName_ = value; onChanged(); return this; } /** + * + * *
      * Optional. An identifier for the assumed role session.
      * When unspecified, it defaults to `multicloud-service-agent`.
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRoleSessionName() { - + roleSessionName_ = getDefaultInstance().getRoleSessionName(); onChanged(); return this; } /** + * + * *
      * Optional. An identifier for the assumed role session.
      * When unspecified, it defaults to `multicloud-service-agent`.
      * 
* * 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) { + public Builder setRoleSessionNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + roleSessionName_ = 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); } @@ -732,12 +791,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(); } @@ -746,16 +805,16 @@ 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 { - return new AwsServicesAuthentication(input, extensionRegistry); - } - }; + 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 { + return new AwsServicesAuthentication(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -770,6 +829,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java index 979099b..cf9ad1e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java @@ -1,53 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * When unspecified, it defaults to `multicloud-service-agent`.
    * 
* * 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.
    * When unspecified, it defaults to `multicloud-service-agent`.
    * 
* * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java index a780fe0..719e4ec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsSshConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AwsSshConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - ec2KeyPair_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + ec2KeyPair_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private AwsSshConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +132,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 { @@ -140,6 +163,7 @@ public java.lang.String getEc2KeyPair() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,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_); } @@ -176,15 +199,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +226,127 @@ 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() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,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_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 @@ -362,7 +393,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); + com.google.cloud.gkemulticloud.v1.AwsSshConfig result = + new com.google.cloud.gkemulticloud.v1.AwsSshConfig(this); result.ec2KeyPair_ = ec2KeyPair_; onBuilt(); return result; @@ -372,38 +404,39 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfig buildPartial() { 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; @@ -447,18 +480,20 @@ public Builder mergeFrom( 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; @@ -467,20 +502,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 { @@ -488,61 +524,68 @@ 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) { + public Builder setEc2KeyPair(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ec2KeyPair_ = value; 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() { - + ec2KeyPair_ = getDefaultInstance().getEc2KeyPair(); 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]; + * * @param value The bytes for ec2KeyPair to set. * @return This builder for chaining. */ - public Builder setEc2KeyPairBytes( - com.google.protobuf.ByteString value) { + public Builder setEc2KeyPairBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ec2KeyPair_ = 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); } @@ -552,12 +595,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(); } @@ -566,16 +609,16 @@ 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 { - return new AwsSshConfig(input, extensionRegistry); - } - }; + 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 { + return new AwsSshConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsSshConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java index 6a9cb26..1732635 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java index b268f6b..26935f4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private AwsVolumeTemplate() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsVolumeTemplate(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AwsVolumeTemplate( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +71,37 @@ private AwsVolumeTemplate( case 0: done = true; break; - case 8: { - - sizeGib_ = input.readInt32(); - break; - } - case 16: { - int rawValue = input.readEnum(); - - volumeType_ = rawValue; - break; - } - case 24: { + case 8: + { + sizeGib_ = input.readInt32(); + break; + } + case 16: + { + int rawValue = input.readEnum(); - iops_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + volumeType_ = rawValue; + break; + } + case 24: + { + iops_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyArn_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + kmsKeyArn_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,27 +109,31 @@ private AwsVolumeTemplate( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
@@ -120,9 +143,10 @@ private AwsVolumeTemplate(
    *
    * 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.
      * 
@@ -131,6 +155,8 @@ public enum VolumeType */ VOLUME_TYPE_UNSPECIFIED(0), /** + * + * *
      * GP2 (General Purpose SSD volume type).
      * 
@@ -139,6 +165,8 @@ public enum VolumeType */ GP2(1), /** + * + * *
      * GP3 (General Purpose SSD volume type).
      * 
@@ -150,6 +178,8 @@ public enum VolumeType ; /** + * + * *
      * Not set.
      * 
@@ -158,6 +188,8 @@ public enum VolumeType */ public static final int VOLUME_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * GP2 (General Purpose SSD volume type).
      * 
@@ -166,6 +198,8 @@ public enum VolumeType */ public static final int GP2_VALUE = 1; /** + * + * *
      * GP3 (General Purpose SSD volume type).
      * 
@@ -174,7 +208,6 @@ public enum VolumeType */ public static final int GP3_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -199,49 +232,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; @@ -261,6 +296,8 @@ private VolumeType(int value) { public static final int SIZE_GIB_FIELD_NUMBER = 1; private int sizeGib_; /** + * + * *
    * Optional. The size of the volume, in GiBs.
    * When unspecified, a default value is provided. See the specific reference
@@ -268,6 +305,7 @@ private VolumeType(int value) {
    * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sizeGib. */ @java.lang.Override @@ -278,40 +316,58 @@ public int getSizeGib() { public static final int VOLUME_TYPE_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType getVolumeType() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.valueOf(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.valueOf(volumeType_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.UNRECOGNIZED + : result; } public static final int IOPS_FIELD_NUMBER = 3; 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 @@ -322,6 +378,8 @@ public int getIops() { public static final int KMS_KEY_ARN_FIELD_NUMBER = 4; private volatile java.lang.Object kmsKeyArn_; /** + * + * *
    * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
    * encrypt AWS EBS volumes.
@@ -330,6 +388,7 @@ public int getIops() {
    * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyArn. */ @java.lang.Override @@ -338,14 +397,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.
@@ -354,16 +414,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 { @@ -372,6 +431,7 @@ public java.lang.String getKmsKeyArn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,12 +443,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) { @@ -407,16 +468,15 @@ 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_); @@ -429,20 +489,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.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 (!getKmsKeyArn().equals(other.getKmsKeyArn())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -468,117 +526,126 @@ 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() @@ -586,16 +653,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -611,9 +677,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 @@ -632,7 +698,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); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate result = + new com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate(this); result.sizeGib_ = sizeGib_; result.volumeType_ = volumeType_; result.iops_ = iops_; @@ -645,38 +712,39 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate buildPartial() { 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; @@ -684,7 +752,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()); } @@ -717,7 +786,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -727,8 +797,10 @@ public Builder mergeFrom( return this; } - private int sizeGib_ ; + private int sizeGib_; /** + * + * *
      * Optional. The size of the volume, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -736,6 +808,7 @@ public Builder mergeFrom(
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sizeGib. */ @java.lang.Override @@ -743,6 +816,8 @@ public int getSizeGib() { return sizeGib_; } /** + * + * *
      * Optional. The size of the volume, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -750,16 +825,19 @@ public int getSizeGib() {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The sizeGib to set. * @return This builder for chaining. */ public Builder setSizeGib(int value) { - + sizeGib_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The size of the volume, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -767,10 +845,11 @@ public Builder setSizeGib(int value) {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSizeGib() { - + sizeGib_ = 0; onChanged(); return this; @@ -778,90 +857,123 @@ 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. */ public Builder setVolumeTypeValue(int value) { - + volumeType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.valueOf(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.valueOf(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(); } - + volumeType_ = value.getNumber(); onChanged(); 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() { - + volumeType_ = 0; onChanged(); 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 @@ -869,30 +981,36 @@ 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. */ public Builder setIops(int value) { - + iops_ = value; onChanged(); 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() { - + iops_ = 0; onChanged(); return this; @@ -900,6 +1018,8 @@ public Builder clearIops() { private java.lang.Object kmsKeyArn_ = ""; /** + * + * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
      * encrypt AWS EBS volumes.
@@ -908,13 +1028,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; @@ -923,6 +1043,8 @@ public java.lang.String getKmsKeyArn() { } } /** + * + * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
      * encrypt AWS EBS volumes.
@@ -931,15 +1053,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 { @@ -947,6 +1068,8 @@ public java.lang.String getKmsKeyArn() { } } /** + * + * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
      * encrypt AWS EBS volumes.
@@ -955,20 +1078,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) { + public Builder setKmsKeyArn(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyArn_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
      * encrypt AWS EBS volumes.
@@ -977,15 +1102,18 @@ public Builder setKmsKeyArn(
      * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearKmsKeyArn() { - + kmsKeyArn_ = getDefaultInstance().getKmsKeyArn(); onChanged(); return this; } /** + * + * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
      * encrypt AWS EBS volumes.
@@ -994,23 +1122,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) { + public Builder setKmsKeyArnBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyArn_ = 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); } @@ -1020,12 +1148,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(); } @@ -1034,16 +1162,16 @@ 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 { - return new AwsVolumeTemplate(input, extensionRegistry); - } - }; + 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 { + return new AwsVolumeTemplate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1058,6 +1186,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java index 5556f18..2802560 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * When unspecified, a default value is provided. See the specific reference
@@ -15,42 +33,58 @@ 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 Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to
    * encrypt AWS EBS volumes.
@@ -59,10 +93,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.
@@ -71,8 +108,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java index 5e32569..16994a2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureAuthorization(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AzureAuthorization( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,26 @@ private AzureAuthorization( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - adminUsers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + adminUsers_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + adminUsers_.add( + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClusterUser.parser(), + extensionRegistry)); + break; } - adminUsers_.add( - input.readMessage(com.google.cloud.gkemulticloud.v1.AzureClusterUser.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +98,7 @@ private AzureAuthorization( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); @@ -87,22 +107,27 @@ private AzureAuthorization( makeExtensionsImmutable(); } } - 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; 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
@@ -111,13 +136,17 @@ private AzureAuthorization(
    * 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]; + * + * 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
@@ -126,14 +155,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + 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
@@ -142,13 +175,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) = REQUIRED]; + * + * 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
@@ -157,13 +194,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) = REQUIRED]; + * + * 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
@@ -172,7 +213,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) = REQUIRED]; + * + * 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( @@ -181,6 +224,7 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsers } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,8 +236,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)); } @@ -207,8 +250,7 @@ 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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -218,15 +260,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.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 (!getAdminUsersList().equals(other.getAdminUsersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -248,117 +290,126 @@ 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() @@ -366,17 +417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAdminUsersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -390,9 +441,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 @@ -411,7 +462,8 @@ 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); int from_bitField0_ = bitField0_; if (adminUsersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -430,38 +482,39 @@ public com.google.cloud.gkemulticloud.v1.AzureAuthorization buildPartial() { 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; @@ -469,7 +522,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()) { @@ -488,9 +542,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_); } @@ -515,7 +570,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureAuthorization) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AzureAuthorization) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -524,21 +580,30 @@ public Builder mergeFrom( } 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_; /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -547,7 +612,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getAdminUsersList() { if (adminUsersBuilder_ == null) { @@ -557,6 +624,8 @@ public java.util.List getAdm } } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -565,7 +634,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getAdminUsersCount() { if (adminUsersBuilder_ == null) { @@ -575,6 +646,8 @@ public int getAdminUsersCount() { } } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -583,7 +656,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) = REQUIRED]; + * + * 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) { @@ -593,6 +668,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int inde } } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -601,7 +678,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) = REQUIRED]; + * + * 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) { @@ -618,6 +697,8 @@ public Builder setAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -626,7 +707,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) = REQUIRED]; + * + * 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) { @@ -640,6 +723,8 @@ public Builder setAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -648,7 +733,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) = REQUIRED]; + * + * 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) { @@ -664,6 +751,8 @@ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AzureClusterUser return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -672,7 +761,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) = REQUIRED]; + * + * 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) { @@ -689,6 +780,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -697,7 +790,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) = REQUIRED]; + * + * 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) { @@ -711,6 +806,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -719,7 +816,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) = REQUIRED]; + * + * 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) { @@ -733,6 +832,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -741,14 +842,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) = REQUIRED]; + * + * 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_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminUsers_); onChanged(); } else { adminUsersBuilder_.addAllMessages(values); @@ -756,6 +858,8 @@ public Builder addAllAdminUsers( return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -764,7 +868,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAdminUsers() { if (adminUsersBuilder_ == null) { @@ -777,6 +883,8 @@ public Builder clearAdminUsers() { return this; } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -785,7 +893,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeAdminUsers(int index) { if (adminUsersBuilder_ == null) { @@ -798,6 +908,8 @@ public Builder removeAdminUsers(int 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
@@ -806,13 +918,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) = REQUIRED]; + * + * 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
@@ -821,16 +937,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) = REQUIRED]; + * + * 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 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
@@ -839,10 +960,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getAdminUsersOrBuilderList() { + public java.util.List + getAdminUsersOrBuilderList() { if (adminUsersBuilder_ != null) { return adminUsersBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +973,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsers } } /** + * + * *
      * Required. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -858,13 +983,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) = REQUIRED]; + * + * 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()); + 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
@@ -873,14 +1002,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) = REQUIRED]; + * + * 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()); + 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
@@ -889,29 +1023,34 @@ 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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - 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_; } + @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); } @@ -921,12 +1060,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(); } @@ -935,16 +1074,16 @@ 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 { - return new AzureAuthorization(input, extensionRegistry); - } - }; + 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 { + return new AzureAuthorization(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -959,6 +1098,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java index 1432fb1..1889eaf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 { /** + * + * *
    * Required. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -16,11 +34,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getAdminUsersList(); + 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
@@ -29,10 +50,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) = REQUIRED]; + * + * 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
@@ -41,10 +66,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) = REQUIRED]; + * + * 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
@@ -53,11 +82,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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + 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
@@ -66,8 +99,9 @@ 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) = REQUIRED]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java index 2212978..aa9ce6a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -17,15 +34,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_ = "";
@@ -36,16 +54,15 @@ private AzureClient() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureClient();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AzureClient(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -65,69 +82,78 @@ private AzureClient(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            tenantId_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              tenantId_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            applicationId_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              applicationId_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            uid_ = s;
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              uid_ = s;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 58:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 58: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            pemCertificate_ = s;
-            break;
-          }
-          case 66: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              annotations_ = com.google.protobuf.MapField.newMapField(
-                  AnnotationsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              pemCertificate_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            annotations__ = input.readMessage(
-                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            annotations_.getMutableMap().put(
-                annotations__.getKey(), annotations__.getValue());
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 66:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                annotations_ =
+                    com.google.protobuf.MapField.newMapField(
+                        AnnotationsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry annotations__ =
+                  input.readMessage(
+                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -135,41 +161,44 @@ private AzureClient(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of this resource.
    * `AzureClient` resource names are formatted as
@@ -179,6 +208,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -187,14 +217,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.
    * `AzureClient` resource names are formatted as
@@ -204,16 +235,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 { @@ -224,11 +254,14 @@ public java.lang.String getName() { public static final int TENANT_ID_FIELD_NUMBER = 2; 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 @@ -237,29 +270,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 { @@ -270,11 +303,14 @@ public java.lang.String getTenantId() { public static final int APPLICATION_ID_FIELD_NUMBER = 3; 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 @@ -283,29 +319,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 { @@ -314,24 +350,24 @@ public java.lang.String getApplicationId() { } 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, + ""); } - 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_; } @@ -340,6 +376,8 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. Annotations on the resource.
    * This field has the same restrictions as Kubernetes annotations.
@@ -351,24 +389,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -380,14 +419,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -399,19 +440,21 @@ 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 getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String key, 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -423,15 +466,15 @@ public 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(); } @@ -441,11 +484,14 @@ public java.lang.String getAnnotationsOrThrow( public static final int PEM_CERTIFICATE_FIELD_NUMBER = 7; 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 @@ -454,29 +500,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 { @@ -487,11 +533,14 @@ public java.lang.String getPemCertificate() { public static final int UID_FIELD_NUMBER = 5; 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 @@ -500,29 +549,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 { @@ -533,11 +582,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 @@ -545,11 +598,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 @@ -557,11 +614,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() { @@ -569,6 +629,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -580,8 +641,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_); } @@ -600,12 +660,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); unknownFields.writeTo(output); } @@ -628,21 +684,20 @@ 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__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -652,29 +707,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.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 (!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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -710,97 +759,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.
@@ -814,43 +870,43 @@ 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()
@@ -858,16 +914,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -892,9 +947,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
@@ -913,7 +968,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);
+      com.google.cloud.gkemulticloud.v1.AzureClient result =
+          new com.google.cloud.gkemulticloud.v1.AzureClient(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.tenantId_ = tenantId_;
@@ -935,38 +991,39 @@ public com.google.cloud.gkemulticloud.v1.AzureClient buildPartial() {
     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;
@@ -987,8 +1044,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClient other) {
         applicationId_ = other.applicationId_;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       if (!other.getPemCertificate().isEmpty()) {
         pemCertificate_ = other.pemCertificate_;
         onChanged();
@@ -1028,10 +1084,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of this resource.
      * `AzureClient` resource names are formatted as
@@ -1041,13 +1100,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; @@ -1056,6 +1115,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      * `AzureClient` resource names are formatted as
@@ -1065,15 +1126,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 { @@ -1081,6 +1141,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      * `AzureClient` resource names are formatted as
@@ -1090,20 +1152,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of this resource.
      * `AzureClient` resource names are formatted as
@@ -1113,15 +1177,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of this resource.
      * `AzureClient` resource names are formatted as
@@ -1131,16 +1198,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1148,18 +1215,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; @@ -1168,20 +1237,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 { @@ -1189,54 +1259,61 @@ 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) { + public Builder setTenantId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tenantId_ = value; 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() { - + tenantId_ = getDefaultInstance().getTenantId(); onChanged(); 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) { + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; onChanged(); return this; @@ -1244,18 +1321,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; @@ -1264,20 +1343,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 { @@ -1285,75 +1365,84 @@ 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) { + public Builder setApplicationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + applicationId_ = value; 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() { - + applicationId_ = getDefaultInstance().getApplicationId(); onChanged(); 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) { + public Builder setApplicationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + applicationId_ = value; onChanged(); 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() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged();; + internalGetMutableAnnotations() { + onChanged(); + ; 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(); @@ -1365,6 +1454,8 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. Annotations on the resource.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1376,24 +1467,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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1405,14 +1497,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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1424,19 +1518,21 @@ 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 getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String key, 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1448,15 +1544,15 @@ public 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(); } @@ -1464,11 +1560,12 @@ public java.lang.String getAnnotationsOrThrow( } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Annotations on the resource.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1480,25 +1577,24 @@ 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() { return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. Annotations on the resource.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1510,21 +1606,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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + internalGetMutableAnnotations().getMutableMap().put(key, value); return this; } /** + * + * *
      * Optional. Annotations on the resource.
      * This field has the same restrictions as Kubernetes annotations.
@@ -1536,30 +1634,30 @@ 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); 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; @@ -1568,20 +1666,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 { @@ -1589,54 +1688,61 @@ 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) { + public Builder setPemCertificate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pemCertificate_ = value; 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() { - + pemCertificate_ = getDefaultInstance().getPemCertificate(); onChanged(); 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) { + public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pemCertificate_ = value; onChanged(); return this; @@ -1644,18 +1750,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; @@ -1664,20 +1772,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 { @@ -1685,54 +1794,61 @@ 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) { + public Builder setUid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; @@ -1740,39 +1856,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1788,14 +1923,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(); onChanged(); @@ -1806,17 +1944,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1828,11 +1970,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() { if (createTimeBuilder_ == null) { @@ -1846,55 +1992,71 @@ 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() { - + onChanged(); 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_; } + @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); } @@ -1904,12 +2066,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(); } @@ -1918,16 +2080,16 @@ 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 { - return new AzureClient(input, extensionRegistry); - } - }; + 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 { + return new AzureClient(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1942,6 +2104,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClient getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java index abe5e01..6a8ff20 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * `AzureClient` resource names are formatted as
@@ -17,10 +35,13 @@ public interface AzureClientOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this resource.
    * `AzureClient` resource names are formatted as
@@ -30,52 +51,64 @@ 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(); /** + * + * *
    * Optional. Annotations on the resource.
    * This field has the same restrictions as Kubernetes annotations.
@@ -87,10 +120,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -102,17 +138,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -124,11 +159,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -140,15 +177,18 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -160,76 +200,96 @@ 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java index be0834b..7560097 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = ""; @@ -34,16 +52,15 @@ private AzureCluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureCluster(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AzureCluster( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -63,208 +80,250 @@ private AzureCluster( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - azureRegion_ = s; - break; - } - case 34: { - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder subBuilder = null; - if (networking_ != null) { - subBuilder = networking_.toBuilder(); + name_ = s; + break; } - networking_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(networking_); - networking_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder subBuilder = null; - if (controlPlane_ != null) { - subBuilder = controlPlane_.toBuilder(); + azureRegion_ = s; + break; } - controlPlane_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureControlPlane.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(controlPlane_); - controlPlane_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder subBuilder = null; + if (networking_ != null) { + subBuilder = networking_.toBuilder(); + } + networking_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networking_); + networking_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder subBuilder = null; - if (authorization_ != null) { - subBuilder = authorization_.toBuilder(); + case 42: + { + com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder subBuilder = null; + if (controlPlane_ != null) { + subBuilder = controlPlane_.toBuilder(); + } + controlPlane_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureControlPlane.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(controlPlane_); + controlPlane_ = subBuilder.buildPartial(); + } + + break; } - authorization_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureAuthorization.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(authorization_); - authorization_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder subBuilder = null; + if (authorization_ != null) { + subBuilder = authorization_.toBuilder(); + } + authorization_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureAuthorization.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authorization_); + authorization_ = subBuilder.buildPartial(); + } + + break; } + case 56: + { + int rawValue = input.readEnum(); - break; - } - case 56: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - - endpoint_ = s; - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); - - uid_ = s; - break; - } - case 80: { - - reconciling_ = input.readBool(); - break; - } - case 90: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + state_ = rawValue; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + + endpoint_ = s; + break; } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 98: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + uid_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 80: + { + reconciling_ = input.readBool(); + break; } - - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - - etag_ = s; - break; - } - case 114: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + case 90: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - annotations_.getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - break; - } - case 130: { - java.lang.String s = input.readStringRequireUtf8(); - - azureClient_ = s; - break; - } - case 138: { - java.lang.String s = input.readStringRequireUtf8(); + case 98: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); - resourceGroupId_ = s; - break; - } - case 146: { - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder subBuilder = null; - if (workloadIdentityConfig_ != null) { - subBuilder = workloadIdentityConfig_.toBuilder(); + etag_ = s; + break; } - workloadIdentityConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workloadIdentityConfig_); - workloadIdentityConfig_ = subBuilder.buildPartial(); + case 114: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = + com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); + break; } + case 130: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 154: { - java.lang.String s = input.readStringRequireUtf8(); + azureClient_ = s; + break; + } + case 138: + { + java.lang.String s = input.readStringRequireUtf8(); - clusterCaCertificate_ = s; - break; - } - case 162: { - com.google.cloud.gkemulticloud.v1.Fleet.Builder subBuilder = null; - if (fleet_ != null) { - subBuilder = fleet_.toBuilder(); + resourceGroupId_ = s; + break; } - fleet_ = input.readMessage(com.google.cloud.gkemulticloud.v1.Fleet.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(fleet_); - fleet_ = subBuilder.buildPartial(); + case 146: + { + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder subBuilder = null; + if (workloadIdentityConfig_ != null) { + subBuilder = workloadIdentityConfig_.toBuilder(); + } + workloadIdentityConfig_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workloadIdentityConfig_); + workloadIdentityConfig_ = subBuilder.buildPartial(); + } + + break; } + case 154: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 170: { - com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder subBuilder = null; - if (managedResources_ != null) { - subBuilder = managedResources_.toBuilder(); + clusterCaCertificate_ = s; + break; } - managedResources_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureClusterResources.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(managedResources_); - managedResources_ = subBuilder.buildPartial(); + case 162: + { + com.google.cloud.gkemulticloud.v1.Fleet.Builder subBuilder = null; + if (fleet_ != null) { + subBuilder = fleet_.toBuilder(); + } + fleet_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.Fleet.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(fleet_); + fleet_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 186: { - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder subBuilder = null; - if (loggingConfig_ != null) { - subBuilder = loggingConfig_.toBuilder(); + case 170: + { + com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder subBuilder = null; + if (managedResources_ != null) { + subBuilder = managedResources_.toBuilder(); + } + managedResources_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClusterResources.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(managedResources_); + managedResources_ = subBuilder.buildPartial(); + } + + break; } - loggingConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.LoggingConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(loggingConfig_); - loggingConfig_ = subBuilder.buildPartial(); + case 186: + { + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder subBuilder = null; + if (loggingConfig_ != null) { + subBuilder = loggingConfig_.toBuilder(); + } + loggingConfig_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.LoggingConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(loggingConfig_); + loggingConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -272,48 +331,52 @@ private AzureCluster( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -322,6 +385,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -330,6 +395,8 @@ public enum State */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -339,6 +406,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.
@@ -348,6 +417,8 @@ public enum State
      */
     RECONCILING(3),
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -356,6 +427,8 @@ public enum State */ STOPPING(4), /** + * + * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -365,6 +438,8 @@ public enum State
      */
     ERROR(5),
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -377,6 +452,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -385,6 +462,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -393,6 +472,8 @@ public enum State */ public static final int PROVISIONING_VALUE = 1; /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -402,6 +483,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.
@@ -411,6 +494,8 @@ public enum State
      */
     public static final int RECONCILING_VALUE = 3;
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -419,6 +504,8 @@ public enum State */ public static final int STOPPING_VALUE = 4; /** + * + * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -428,6 +515,8 @@ public enum State
      */
     public static final int ERROR_VALUE = 5;
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -437,7 +526,6 @@ public enum State
      */
     public static final int DEGRADED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -462,53 +550,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;
@@ -528,6 +620,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of this resource.
    * Cluster names are formatted as
@@ -537,6 +631,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -545,14 +640,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.
    * Cluster names are formatted as
@@ -562,16 +658,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 { @@ -582,12 +677,15 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; 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 @@ -596,30 +694,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 { @@ -630,6 +728,8 @@ public java.lang.String getDescription() { public static final int AZURE_REGION_FIELD_NUMBER = 3; private volatile java.lang.Object azureRegion_; /** + * + * *
    * Required. The Azure region where the cluster runs.
    * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -639,6 +739,7 @@ public java.lang.String getDescription() {
    * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureRegion. */ @java.lang.Override @@ -647,14 +748,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.
    * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -664,16 +766,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 { @@ -684,6 +785,8 @@ public java.lang.String getAzureRegion() { public static final int RESOURCE_GROUP_ID_FIELD_NUMBER = 17; private volatile java.lang.Object resourceGroupId_; /** + * + * *
    * Required. The ARM ID of the resource group where the cluster resources are deployed.
    * For example:
@@ -691,6 +794,7 @@ public java.lang.String getAzureRegion() {
    * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resourceGroupId. */ @java.lang.Override @@ -699,14 +803,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:
@@ -714,16 +819,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 { @@ -734,6 +838,8 @@ public java.lang.String getResourceGroupId() { public static final int AZURE_CLIENT_FIELD_NUMBER = 16; private volatile java.lang.Object azureClient_; /** + * + * *
    * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
    * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -746,6 +852,7 @@ public java.lang.String getResourceGroupId() {
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureClient. */ @java.lang.Override @@ -754,14 +861,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; } } /** + * + * *
    * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
    * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -774,16 +882,15 @@ public java.lang.String getAzureClient() {
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -794,11 +901,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 @@ -806,37 +918,54 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder + getNetworkingOrBuilder() { return getNetworking(); } 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 @@ -844,23 +973,34 @@ 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() { @@ -870,11 +1010,16 @@ public com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder getControlPl 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 @@ -882,23 +1027,34 @@ 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() { @@ -908,38 +1064,56 @@ public com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder getAuthoriz public static final int STATE_FIELD_NUMBER = 7; private int 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 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() { + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureCluster.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AzureCluster.State result = com.google.cloud.gkemulticloud.v1.AzureCluster.State.valueOf(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.valueOf(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AzureCluster.State.UNRECOGNIZED + : result; } public static final int ENDPOINT_FIELD_NUMBER = 8; 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 @@ -948,29 +1122,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 { @@ -981,11 +1155,14 @@ public java.lang.String getEndpoint() { public static final int UID_FIELD_NUMBER = 9; 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 @@ -994,29 +1171,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 { @@ -1027,11 +1204,14 @@ public java.lang.String getUid() { public static final int RECONCILING_FIELD_NUMBER = 10; 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 @@ -1042,11 +1222,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 @@ -1054,11 +1238,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 @@ -1066,11 +1254,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() { @@ -1080,11 +1271,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 @@ -1092,11 +1287,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 @@ -1104,11 +1303,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() { @@ -1118,6 +1320,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 13; private volatile java.lang.Object etag_; /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -1126,6 +1330,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 13; + * * @return The etag. */ @java.lang.Override @@ -1134,14 +1339,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.
@@ -1150,16 +1356,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 { @@ -1168,24 +1373,24 @@ 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, + ""); } - 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_; } @@ -1194,6 +1399,8 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. Annotations on the cluster.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1205,24 +1412,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1234,14 +1442,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1253,19 +1463,21 @@ 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 getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String key, 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1277,15 +1489,15 @@ public 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(); } @@ -1295,11 +1507,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 @@ -1307,37 +1524,52 @@ 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() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder + getWorkloadIdentityConfigOrBuilder() { return getWorkloadIdentityConfig(); } public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 19; 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 @@ -1346,29 +1578,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 { @@ -1379,11 +1611,16 @@ public java.lang.String getClusterCaCertificate() { public static final int FLEET_FIELD_NUMBER = 20; private com.google.cloud.gkemulticloud.v1.Fleet fleet_; /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the fleet field is set. */ @java.lang.Override @@ -1391,11 +1628,16 @@ public boolean hasFleet() { return fleet_ != null; } /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The fleet. */ @java.lang.Override @@ -1403,11 +1645,15 @@ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { @@ -1417,11 +1663,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. Mananged 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 @@ -1429,37 +1680,54 @@ public boolean hasManagedResources() { return managedResources_ != null; } /** + * + * *
    * Output only. Mananged 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. Mananged 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() { + public com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder + getManagedResourcesOrBuilder() { return getManagedResources(); } 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 @@ -1467,23 +1735,34 @@ 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() { @@ -1491,6 +1770,7 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfig } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1502,8 +1782,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_); } @@ -1522,7 +1801,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_)) { @@ -1543,12 +1823,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_); } @@ -1589,20 +1865,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_); @@ -1611,29 +1884,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_); @@ -1642,23 +1912,20 @@ 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 (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getLoggingConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1668,80 +1935,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.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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1783,8 +2031,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(); @@ -1822,140 +2069,147 @@ 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() @@ -1963,16 +2217,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2057,9 +2310,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 @@ -2078,7 +2331,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.description_ = description_; @@ -2146,38 +2400,39 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster buildPartial() { 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; @@ -2239,8 +2494,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureCluster other) { etag_ = other.etag_; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); if (other.hasWorkloadIdentityConfig()) { mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig()); } @@ -2285,10 +2539,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2298,13 +2555,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; @@ -2313,6 +2570,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2322,15 +2581,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 { @@ -2338,6 +2596,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2347,20 +2607,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2370,15 +2632,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of this resource.
      * Cluster names are formatted as
@@ -2388,16 +2653,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2405,19 +2670,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; @@ -2426,21 +2693,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 { @@ -2448,57 +2716,64 @@ 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); 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]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2506,6 +2781,8 @@ public Builder setDescriptionBytes( private java.lang.Object azureRegion_ = ""; /** + * + * *
      * Required. The Azure region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -2515,13 +2792,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; @@ -2530,6 +2807,8 @@ public java.lang.String getAzureRegion() { } } /** + * + * *
      * Required. The Azure region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -2539,15 +2818,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 { @@ -2555,6 +2833,8 @@ public java.lang.String getAzureRegion() { } } /** + * + * *
      * Required. The Azure region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -2564,20 +2844,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) { + public Builder setAzureRegion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureRegion_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Azure region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -2587,15 +2869,18 @@ public Builder setAzureRegion(
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAzureRegion() { - + azureRegion_ = getDefaultInstance().getAzureRegion(); onChanged(); return this; } /** + * + * *
      * Required. The Azure region where the cluster runs.
      * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -2605,16 +2890,16 @@ 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) { + public Builder setAzureRegionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureRegion_ = value; onChanged(); return this; @@ -2622,6 +2907,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:
@@ -2629,13 +2916,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; @@ -2644,6 +2931,8 @@ public java.lang.String getResourceGroupId() { } } /** + * + * *
      * Required. The ARM ID of the resource group where the cluster resources are deployed.
      * For example:
@@ -2651,15 +2940,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 { @@ -2667,6 +2955,8 @@ public java.lang.String getResourceGroupId() { } } /** + * + * *
      * Required. The ARM ID of the resource group where the cluster resources are deployed.
      * For example:
@@ -2674,20 +2964,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) { + public Builder setResourceGroupId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceGroupId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ARM ID of the resource group where the cluster resources are deployed.
      * For example:
@@ -2695,15 +2987,18 @@ public Builder setResourceGroupId(
      * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearResourceGroupId() { - + resourceGroupId_ = getDefaultInstance().getResourceGroupId(); onChanged(); return this; } /** + * + * *
      * Required. The ARM ID of the resource group where the cluster resources are deployed.
      * For example:
@@ -2711,16 +3006,16 @@ 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) { + public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceGroupId_ = value; onChanged(); return this; @@ -2728,6 +3023,8 @@ public Builder setResourceGroupIdBytes( private java.lang.Object azureClient_ = ""; /** + * + * *
      * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
      * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -2740,13 +3037,13 @@ public Builder setResourceGroupIdBytes(
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -2755,6 +3052,8 @@ public java.lang.String getAzureClient() { } } /** + * + * *
      * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
      * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -2767,15 +3066,14 @@ public java.lang.String getAzureClient() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -2783,6 +3081,8 @@ public java.lang.String getAzureClient() { } } /** + * + * *
      * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
      * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -2795,20 +3095,22 @@ public java.lang.String getAzureClient() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The azureClient to set. * @return This builder for chaining. */ - public Builder setAzureClient( - java.lang.String value) { + public Builder setAzureClient(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureClient_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
      * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -2821,15 +3123,18 @@ public Builder setAzureClient(
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAzureClient() { - + azureClient_ = getDefaultInstance().getAzureClient(); onChanged(); return this; } /** + * + * *
      * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
      * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -2842,16 +3147,16 @@ public Builder clearAzureClient() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for azureClient to set. * @return This builder for chaining. */ - public Builder setAzureClientBytes( - com.google.protobuf.ByteString value) { + public Builder setAzureClientBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureClient_ = value; onChanged(); return this; @@ -2859,39 +3164,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 networkingBuilder_ != null || 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. */ 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) { @@ -2907,11 +3231,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) { @@ -2925,17 +3253,23 @@ 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 (networking_ != null) { networking_ = - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.newBuilder(networking_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.newBuilder(networking_) + .mergeFrom(value) + .buildPartial(); } else { networking_ = value; } @@ -2947,11 +3281,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() { if (networkingBuilder_ == null) { @@ -2965,48 +3303,65 @@ 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() { - + onChanged(); 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_; @@ -3014,39 +3369,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 controlPlaneBuilder_ != null || 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. */ 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) { @@ -3062,11 +3436,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) { @@ -3080,17 +3458,23 @@ 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 (controlPlane_ != null) { controlPlane_ = - com.google.cloud.gkemulticloud.v1.AzureControlPlane.newBuilder(controlPlane_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureControlPlane.newBuilder(controlPlane_) + .mergeFrom(value) + .buildPartial(); } else { controlPlane_ = value; } @@ -3102,11 +3486,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() { if (controlPlaneBuilder_ == null) { @@ -3120,48 +3508,64 @@ 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() { - + onChanged(); 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_; @@ -3169,39 +3573,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 authorizationBuilder_ != null || 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. */ 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) { @@ -3217,11 +3640,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) { @@ -3235,17 +3662,23 @@ 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 (authorization_ != null) { authorization_ = - com.google.cloud.gkemulticloud.v1.AzureAuthorization.newBuilder(authorization_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureAuthorization.newBuilder(authorization_) + .mergeFrom(value) + .buildPartial(); } else { authorization_ = value; } @@ -3257,11 +3690,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() { if (authorizationBuilder_ == null) { @@ -3275,48 +3712,65 @@ 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() { - + onChanged(); 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_; @@ -3324,51 +3778,75 @@ public com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder getAuthoriz 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AzureCluster.State result = com.google.cloud.gkemulticloud.v1.AzureCluster.State.valueOf(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.valueOf(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. */ @@ -3376,21 +3854,26 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AzureCluster.State val if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -3398,18 +3881,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; @@ -3418,20 +3903,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 { @@ -3439,54 +3925,61 @@ 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) { + public Builder setEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpoint_ = value; 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() { - + endpoint_ = getDefaultInstance().getEndpoint(); onChanged(); 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) { + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; onChanged(); return this; @@ -3494,18 +3987,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; @@ -3514,20 +4009,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 { @@ -3535,66 +4031,76 @@ 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) { + public Builder setUid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); 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 @@ -3602,30 +4108,36 @@ 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. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); 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() { - + reconciling_ = false; onChanged(); return this; @@ -3633,39 +4145,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 createTimeBuilder_ != null || 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. */ 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) { @@ -3681,14 +4212,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(); onChanged(); @@ -3699,17 +4233,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3721,11 +4259,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() { if (createTimeBuilder_ == null) { @@ -3739,48 +4281,64 @@ 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() { - + onChanged(); 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_; @@ -3788,39 +4346,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -3836,14 +4413,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(); onChanged(); @@ -3854,17 +4434,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3876,11 +4460,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() { if (updateTimeBuilder_ == null) { @@ -3894,48 +4482,64 @@ 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() { - + onChanged(); 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_; @@ -3943,6 +4547,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3951,13 +4557,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; @@ -3966,6 +4572,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3974,15 +4582,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 { @@ -3990,6 +4597,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3998,20 +4607,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) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4020,15 +4631,18 @@ public Builder setEtag(
      * 
* * string etag = 13; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4037,37 +4651,39 @@ 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) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); 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() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged();; + internalGetMutableAnnotations() { + onChanged(); + ; 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(); @@ -4079,6 +4695,8 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4090,24 +4708,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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4119,14 +4738,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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4138,19 +4759,21 @@ 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 getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String key, 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4162,15 +4785,15 @@ public 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(); } @@ -4178,11 +4801,12 @@ public java.lang.String getAnnotationsOrThrow( } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4194,25 +4818,24 @@ 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() { return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4224,21 +4847,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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + internalGetMutableAnnotations().getMutableMap().put(key, value); return this; } /** + * + * *
      * Optional. Annotations on the cluster.
      * This field has the same restrictions as Kubernetes annotations.
@@ -4250,53 +4875,71 @@ 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); 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 workloadIdentityConfigBuilder_ != null || 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. */ 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(); @@ -4310,11 +4953,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) { @@ -4328,17 +4975,25 @@ 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 (workloadIdentityConfig_ != null) { workloadIdentityConfig_ = - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.newBuilder(workloadIdentityConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.newBuilder( + workloadIdentityConfig_) + .mergeFrom(value) + .buildPartial(); } else { workloadIdentityConfig_ = value; } @@ -4350,11 +5005,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() { if (workloadIdentityConfigBuilder_ == null) { @@ -4368,48 +5027,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() { + 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_; @@ -4417,18 +5094,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; @@ -4437,20 +5116,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 { @@ -4458,54 +5138,61 @@ 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) { + public Builder setClusterCaCertificate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterCaCertificate_ = value; 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() { - + clusterCaCertificate_ = getDefaultInstance().getClusterCaCertificate(); 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]; + * * @param value The bytes for clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificateBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterCaCertificate_ = value; onChanged(); return this; @@ -4513,39 +5200,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_; /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the fleet field is set. */ public boolean hasFleet() { return fleetBuilder_ != null || fleet_ != null; } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { @@ -4561,14 +5267,17 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ - 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(); onChanged(); @@ -4579,17 +5288,23 @@ public Builder setFleet( return this; } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { if (fleet_ != null) { fleet_ = - com.google.cloud.gkemulticloud.v1.Fleet.newBuilder(fleet_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.Fleet.newBuilder(fleet_) + .mergeFrom(value) + .buildPartial(); } else { fleet_ = value; } @@ -4601,11 +5316,15 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearFleet() { if (fleetBuilder_ == null) { @@ -4619,48 +5338,64 @@ public Builder clearFleet() { return this; } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { - + onChanged(); return getFleetFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -4668,41 +5403,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. Mananged 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 managedResourcesBuilder_ != null || managedResources_ != null; } /** + * + * *
      * Output only. Mananged 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. Mananged 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(); @@ -4716,11 +5471,15 @@ public Builder setManagedResources(com.google.cloud.gkemulticloud.v1.AzureCluste return this; } /** + * + * *
      * Output only. Mananged 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) { @@ -4734,17 +5493,24 @@ public Builder setManagedResources( return this; } /** + * + * *
      * Output only. Mananged 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 (managedResources_ != null) { managedResources_ = - com.google.cloud.gkemulticloud.v1.AzureClusterResources.newBuilder(managedResources_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureClusterResources.newBuilder(managedResources_) + .mergeFrom(value) + .buildPartial(); } else { managedResources_ = value; } @@ -4756,11 +5522,15 @@ public Builder mergeManagedResources(com.google.cloud.gkemulticloud.v1.AzureClus return this; } /** + * + * *
      * Output only. Mananged 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() { if (managedResourcesBuilder_ == null) { @@ -4774,48 +5544,66 @@ public Builder clearManagedResources() { return this; } /** + * + * *
      * Output only. Mananged 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() { + onChanged(); return getManagedResourcesFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Mananged 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. Mananged 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_; @@ -4823,39 +5611,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 loggingConfigBuilder_ != null || 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. */ 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) { @@ -4871,11 +5678,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) { @@ -4889,17 +5700,23 @@ 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 (loggingConfig_ != null) { loggingConfig_ = - com.google.cloud.gkemulticloud.v1.LoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.LoggingConfig.newBuilder(loggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { loggingConfig_ = value; } @@ -4911,11 +5728,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() { if (loggingConfigBuilder_ == null) { @@ -4929,55 +5750,71 @@ 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() { - + onChanged(); 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_; } + @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); } @@ -4987,12 +5824,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(); } @@ -5001,16 +5838,16 @@ 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 { - return new AzureCluster(input, extensionRegistry); - } - }; + 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 { + return new AzureCluster(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5025,6 +5862,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java index ca077f4..d4a2a0f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.EMPTY; @@ -28,16 +46,15 @@ private AzureClusterNetworking() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureClusterNetworking(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AzureClusterNetworking( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,43 +74,47 @@ private AzureClusterNetworking( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - virtualNetworkId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + virtualNetworkId_ = s; + break; } - podAddressCidrBlocks_.add(s); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + podAddressCidrBlocks_.add(s); + break; } - serviceAddressCidrBlocks_.add(s); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + serviceAddressCidrBlocks_.add(s); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - serviceLoadBalancerSubnetId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + serviceLoadBalancerSubnetId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,8 +122,7 @@ private AzureClusterNetworking( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { podAddressCidrBlocks_ = podAddressCidrBlocks_.getUnmodifiableView(); @@ -114,22 +134,27 @@ private AzureClusterNetworking( makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object virtualNetworkId_; /** + * + * *
    * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
    * cluster.
@@ -141,6 +166,7 @@ private AzureClusterNetworking(
    * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The virtualNetworkId. */ @java.lang.Override @@ -149,14 +175,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.
@@ -168,16 +195,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 { @@ -188,6 +214,8 @@ public java.lang.String getVirtualNetworkId() { public static final int POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList podAddressCidrBlocks_; /** + * + * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -196,14 +224,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`).
@@ -212,13 +243,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`).
@@ -227,7 +262,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. */ @@ -235,6 +272,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`).
@@ -243,18 +282,21 @@ 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; private com.google.protobuf.LazyStringList serviceAddressCidrBlocks_; /** + * + * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -263,14 +305,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`).
@@ -279,13 +325,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`).
@@ -294,7 +345,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. */ @@ -302,6 +356,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`).
@@ -310,18 +366,22 @@ 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; 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
@@ -330,7 +390,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 @@ -339,14 +401,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
@@ -355,17 +418,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 { @@ -374,6 +437,7 @@ public java.lang.String getServiceLoadBalancerSubnetId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,16 +449,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_); @@ -428,7 +493,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -438,21 +504,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -482,117 +547,127 @@ 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() @@ -600,16 +675,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -625,9 +699,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_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 @@ -646,7 +720,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); + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking result = + new com.google.cloud.gkemulticloud.v1.AzureClusterNetworking(this); int from_bitField0_ = bitField0_; result.virtualNetworkId_ = virtualNetworkId_; if (((bitField0_ & 0x00000001) != 0)) { @@ -668,38 +743,39 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking buildPartial() { 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; @@ -707,7 +783,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_; onChanged(); @@ -755,7 +832,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -764,10 +842,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object virtualNetworkId_ = ""; /** + * + * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
      * cluster.
@@ -779,13 +860,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; @@ -794,6 +875,8 @@ public java.lang.String getVirtualNetworkId() { } } /** + * + * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
      * cluster.
@@ -805,15 +888,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 { @@ -821,6 +903,8 @@ public java.lang.String getVirtualNetworkId() { } } /** + * + * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
      * cluster.
@@ -832,20 +916,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) { + public Builder setVirtualNetworkId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + virtualNetworkId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
      * cluster.
@@ -857,15 +943,18 @@ public Builder setVirtualNetworkId(
      * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVirtualNetworkId() { - + virtualNetworkId_ = getDefaultInstance().getVirtualNetworkId(); onChanged(); return this; } /** + * + * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with your
      * cluster.
@@ -877,29 +966,33 @@ 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) { + public Builder setVirtualNetworkIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + virtualNetworkId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList podAddressCidrBlocks_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePodAddressCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(podAddressCidrBlocks_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -908,14 +1001,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 A list containing the podAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList - getPodAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList getPodAddressCidrBlocksList() { return podAddressCidrBlocks_.getUnmodifiableView(); } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -924,13 +1020,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`).
@@ -939,7 +1039,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. */ @@ -947,6 +1049,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`).
@@ -955,15 +1059,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`).
@@ -972,22 +1079,25 @@ 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) { + public Builder setPodAddressCidrBlocks(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePodAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -996,21 +1106,24 @@ 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) { + public Builder addPodAddressCidrBlocks(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePodAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1019,19 +1132,21 @@ 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_); onChanged(); return this; } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1040,7 +1155,9 @@ 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() { @@ -1050,6 +1167,8 @@ public Builder clearPodAddressCidrBlocks() { return this; } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1058,30 +1177,36 @@ 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) { + public Builder addPodAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList serviceAddressCidrBlocks_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureServiceAddressCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); + serviceAddressCidrBlocks_ = + new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1090,14 +1215,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 A list containing the serviceAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList - getServiceAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList getServiceAddressCidrBlocksList() { return serviceAddressCidrBlocks_.getUnmodifiableView(); } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1106,13 +1235,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`).
@@ -1121,7 +1255,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. */ @@ -1129,6 +1266,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`).
@@ -1137,15 +1276,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`).
@@ -1154,22 +1297,26 @@ 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) { + public Builder setServiceAddressCidrBlocks(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1178,21 +1325,25 @@ 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) { + public Builder addServiceAddressCidrBlocks(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureServiceAddressCidrBlocksIsMutable(); + throw new NullPointerException(); + } + ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1201,19 +1352,22 @@ 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_); onChanged(); return this; } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1222,7 +1376,10 @@ 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() { @@ -1232,6 +1389,8 @@ public Builder clearServiceAddressCidrBlocks() { return this; } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1240,16 +1399,18 @@ 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) { + public Builder addServiceAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); onChanged(); @@ -1258,6 +1419,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
@@ -1266,14 +1429,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; @@ -1282,6 +1446,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
@@ -1290,16 +1456,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 { @@ -1307,6 +1473,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
@@ -1315,21 +1483,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) { + public Builder setServiceLoadBalancerSubnetId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceLoadBalancerSubnetId_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type load
      * balancers are deployed. When unspecified, it defaults to
@@ -1338,16 +1509,20 @@ 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() { - + serviceLoadBalancerSubnetId_ = getDefaultInstance().getServiceLoadBalancerSubnetId(); onChanged(); return this; } /** + * + * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type load
      * balancers are deployed. When unspecified, it defaults to
@@ -1356,24 +1531,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) { + public Builder setServiceLoadBalancerSubnetIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceLoadBalancerSubnetId_ = 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); } @@ -1383,12 +1559,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(); } @@ -1397,16 +1573,16 @@ 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 { - return new AzureClusterNetworking(input, extensionRegistry); - } - }; + 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 { + return new AzureClusterNetworking(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1421,6 +1597,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java index 6a12f15..1c879d7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -19,10 +37,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.
@@ -34,12 +55,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`).
@@ -48,12 +71,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`).
@@ -62,11 +88,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`).
@@ -75,12 +105,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`).
@@ -89,14 +123,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`).
@@ -105,12 +142,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`).
@@ -119,11 +160,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`).
@@ -132,12 +178,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`).
@@ -146,14 +197,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
@@ -162,11 +217,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
@@ -175,9 +234,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java index 1202e0a..8c3233d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Cluster names are formatted as
@@ -17,10 +35,13 @@ public interface AzureClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this resource.
    * Cluster names are formatted as
@@ -30,34 +51,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.
    * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -67,10 +95,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.
    * Each Google Cloud region supports a subset of nearby Azure regions.
@@ -80,12 +111,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:
@@ -93,10 +126,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:
@@ -104,12 +140,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(); /** + * + * *
    * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
    * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -122,10 +160,13 @@ public interface AzureClusterOrBuilder extends
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureClient. */ java.lang.String getAzureClient(); /** + * + * *
    * Required. Name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains authentication configuration for
    * how the Anthos Multi-Cloud API connects to Azure APIs.
@@ -138,216 +179,305 @@ public interface AzureClusterOrBuilder extends
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @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(); /** + * + * *
    * 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.
@@ -356,10 +486,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.
@@ -368,12 +501,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -385,10 +520,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -400,17 +538,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -422,11 +559,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -438,15 +577,18 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -458,137 +600,198 @@ 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(); /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the fleet field is set. */ boolean hasFleet(); /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The fleet. */ com.google.cloud.gkemulticloud.v1.Fleet getFleet(); /** + * + * *
    * Optional. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder(); /** + * + * *
    * Output only. Mananged 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. Mananged 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. Mananged 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java index 5a3878e..d6d0c2a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * The values could change and be empty, depending on the state of the cluster.
@@ -11,15 +28,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_ = "";
@@ -27,16 +45,15 @@ private AzureClusterResources() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureClusterResources();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AzureClusterResources(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private AzureClusterResources(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            networkSecurityGroupId_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              networkSecurityGroupId_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            controlPlaneApplicationSecurityGroupId_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              controlPlaneApplicationSecurityGroupId_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,34 +100,39 @@ private AzureClusterResources(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -117,29 +141,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 { @@ -150,11 +174,16 @@ public java.lang.String getNetworkSecurityGroupId() { public static final int CONTROL_PLANE_APPLICATION_SECURITY_GROUP_ID_FIELD_NUMBER = 2; 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 @@ -163,29 +192,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 { @@ -194,6 +225,7 @@ public java.lang.String getControlPlaneApplicationSecurityGroupId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,13 +237,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_); } unknownFields.writeTo(output); } @@ -225,8 +258,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,15 +272,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -268,96 +304,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.
    * The values could change and be empty, depending on the state of the cluster.
@@ -365,21 +409,23 @@ 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()
@@ -387,16 +433,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -408,9 +453,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
@@ -429,7 +474,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);
+      com.google.cloud.gkemulticloud.v1.AzureClusterResources result =
+          new com.google.cloud.gkemulticloud.v1.AzureClusterResources(this);
       result.networkSecurityGroupId_ = networkSecurityGroupId_;
       result.controlPlaneApplicationSecurityGroupId_ = controlPlaneApplicationSecurityGroupId_;
       onBuilt();
@@ -440,38 +486,39 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterResources buildPartial() {
     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;
@@ -479,7 +526,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_;
         onChanged();
@@ -507,7 +555,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureClusterResources) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.gkemulticloud.v1.AzureClusterResources) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -519,18 +568,21 @@ public Builder mergeFrom(
 
     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; @@ -539,20 +591,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 { @@ -560,54 +614,64 @@ 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) { + public Builder setNetworkSecurityGroupId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + networkSecurityGroupId_ = value; 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() { - + networkSecurityGroupId_ = getDefaultInstance().getNetworkSecurityGroupId(); 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]; + * + * * @param value The bytes for networkSecurityGroupId to set. * @return This builder for chaining. */ - public Builder setNetworkSecurityGroupIdBytes( - com.google.protobuf.ByteString value) { + public Builder setNetworkSecurityGroupIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + networkSecurityGroupId_ = value; onChanged(); return this; @@ -615,18 +679,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; @@ -635,20 +703,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 { @@ -656,61 +727,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) { + public Builder setControlPlaneApplicationSecurityGroupId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlPlaneApplicationSecurityGroupId_ = value; 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(); 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(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + controlPlaneApplicationSecurityGroupId_ = 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); } @@ -720,12 +806,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(); } @@ -734,16 +820,16 @@ 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 { - return new AzureClusterResources(input, extensionRegistry); - } - }; + 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 { + return new AzureClusterResources(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -758,6 +844,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java index ff122c5..10af61b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java @@ -1,49 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java index c314acd..7830805 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AzureClusterUser( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AzureClusterUser( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - username_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + username_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private AzureClusterUser( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +132,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 { @@ -140,6 +163,7 @@ public java.lang.String getUsername() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,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_); } @@ -176,15 +199,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,126 @@ 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() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,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_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 @@ -362,7 +393,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); + com.google.cloud.gkemulticloud.v1.AzureClusterUser result = + new com.google.cloud.gkemulticloud.v1.AzureClusterUser(this); result.username_ = username_; onBuilt(); return result; @@ -372,38 +404,39 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser buildPartial() { 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; @@ -411,7 +444,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_; onChanged(); @@ -435,7 +469,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureClusterUser) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AzureClusterUser) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +482,20 @@ public Builder mergeFrom( 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; @@ -467,20 +504,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 { @@ -488,61 +526,68 @@ 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) { + public Builder setUsername(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; 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() { - + username_ = getDefaultInstance().getUsername(); onChanged(); 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) { + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = 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); } @@ -552,12 +597,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(); } @@ -566,16 +611,16 @@ 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 { - return new AzureClusterUser(input, extensionRegistry); - } - }; + 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 { + return new AzureClusterUser(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +635,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java index c319874..f024aa2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java index 1b6d442..d099025 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * Azure VM bootstrap secret is envelope encrypted with the provided key vault
@@ -12,15 +29,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_ = "";
@@ -28,16 +46,15 @@ private AzureConfigEncryption() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureConfigEncryption();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AzureConfigEncryption(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,25 +73,27 @@ private AzureConfigEncryption(
           case 0:
             done = true;
             break;
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            keyId_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              keyId_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            publicKey_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              publicKey_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -82,29 +101,33 @@ private AzureConfigEncryption(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   private volatile java.lang.Object keyId_;
   /**
+   *
+   *
    * 
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
    * For example:
@@ -112,6 +135,7 @@ private AzureConfigEncryption(
    * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keyId. */ @java.lang.Override @@ -120,14 +144,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.
    * For example:
@@ -135,16 +160,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 { @@ -155,6 +179,8 @@ public java.lang.String getKeyId() { public static final int PUBLIC_KEY_FIELD_NUMBER = 3; private volatile java.lang.Object publicKey_; /** + * + * *
    * Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.
    * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -163,6 +189,7 @@ public java.lang.String getKeyId() {
    * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ @java.lang.Override @@ -171,14 +198,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.
    * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -187,16 +215,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 { @@ -205,6 +232,7 @@ public java.lang.String getPublicKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, keyId_); } @@ -247,17 +274,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,96 +305,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.
    * Azure VM bootstrap secret is envelope encrypted with the provided key vault
@@ -377,21 +411,23 @@ 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()
@@ -399,16 +435,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,9 +455,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
@@ -441,7 +476,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);
+      com.google.cloud.gkemulticloud.v1.AzureConfigEncryption result =
+          new com.google.cloud.gkemulticloud.v1.AzureConfigEncryption(this);
       result.keyId_ = keyId_;
       result.publicKey_ = publicKey_;
       onBuilt();
@@ -452,38 +488,39 @@ public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption buildPartial() {
     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;
@@ -491,7 +528,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_;
         onChanged();
@@ -519,7 +557,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -531,6 +570,8 @@ public Builder mergeFrom(
 
     private java.lang.Object keyId_ = "";
     /**
+     *
+     *
      * 
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
      * For example:
@@ -538,13 +579,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; @@ -553,6 +594,8 @@ public java.lang.String getKeyId() { } } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
      * For example:
@@ -560,15 +603,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 { @@ -576,6 +618,8 @@ public java.lang.String getKeyId() { } } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
      * For example:
@@ -583,20 +627,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) { + public Builder setKeyId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
      * For example:
@@ -604,15 +650,18 @@ public Builder setKeyId(
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearKeyId() { - + keyId_ = getDefaultInstance().getKeyId(); onChanged(); return this; } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.
      * For example:
@@ -620,16 +669,16 @@ 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) { + public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyId_ = value; onChanged(); return this; @@ -637,6 +686,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.
      * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -645,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; @@ -660,6 +711,8 @@ public java.lang.String getPublicKey() { } } /** + * + * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.
      * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -668,15 +721,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 { @@ -684,6 +736,8 @@ public java.lang.String getPublicKey() { } } /** + * + * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.
      * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -692,20 +746,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) { + public Builder setPublicKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publicKey_ = value; onChanged(); return this; } /** + * + * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.
      * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -714,15 +770,18 @@ public Builder setPublicKey(
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPublicKey() { - + publicKey_ = getDefaultInstance().getPublicKey(); onChanged(); return this; } /** + * + * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.
      * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -731,23 +790,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) { + public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publicKey_ = 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); } @@ -757,12 +816,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(); } @@ -771,16 +830,16 @@ 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 { - return new AzureConfigEncryption(input, extensionRegistry); - } - }; + 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 { + return new AzureConfigEncryption(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -795,6 +854,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java index ae95203..1f634e2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * For example:
@@ -15,10 +33,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.
    * For example:
@@ -26,12 +47,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.
    * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -40,10 +63,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.
    * This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
@@ -52,8 +78,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java index 2775937..fb3ae8c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +47,15 @@ private AzureControlPlane() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureControlPlane(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AzureControlPlane( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,137 +75,168 @@ private AzureControlPlane( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - subnetId_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - vmSize_ = s; - break; - } - case 34: { - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null; - if (rootVolume_ != null) { - subBuilder = rootVolume_.toBuilder(); - } - rootVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rootVolume_); - rootVolume_ = subBuilder.buildPartial(); + version_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null; - if (mainVolume_ != null) { - subBuilder = mainVolume_.toBuilder(); - } - mainVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mainVolume_); - mainVolume_ = subBuilder.buildPartial(); + subnetId_ = s; + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = com.google.protobuf.MapField.newMapField( - TagsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - tags__ = input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - tags_.getMutableMap().put( - tags__.getKey(), tags__.getValue()); - break; - } - case 82: { - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder subBuilder = null; - if (databaseEncryption_ != null) { - subBuilder = databaseEncryption_.toBuilder(); + vmSize_ = s; + break; } - databaseEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(databaseEncryption_); - databaseEncryption_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null; + if (rootVolume_ != null) { + subBuilder = rootVolume_.toBuilder(); + } + rootVolume_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rootVolume_); + rootVolume_ = subBuilder.buildPartial(); + } + + break; } + case 42: + { + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null; + if (mainVolume_ != null) { + subBuilder = mainVolume_.toBuilder(); + } + mainVolume_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mainVolume_); + mainVolume_ = subBuilder.buildPartial(); + } - break; - } - case 90: { - com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder subBuilder = null; - if (sshConfig_ != null) { - subBuilder = sshConfig_.toBuilder(); + break; } - sshConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureSshConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sshConfig_); - sshConfig_ = subBuilder.buildPartial(); + case 58: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = + com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry tags__ = + input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + tags_.getMutableMap().put(tags__.getKey(), tags__.getValue()); + break; } + case 82: + { + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder subBuilder = null; + if (databaseEncryption_ != null) { + subBuilder = databaseEncryption_.toBuilder(); + } + databaseEncryption_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(databaseEncryption_); + databaseEncryption_ = subBuilder.buildPartial(); + } - break; - } - case 98: { - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder subBuilder = null; - if (proxyConfig_ != null) { - subBuilder = proxyConfig_.toBuilder(); - } - proxyConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureProxyConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(proxyConfig_); - proxyConfig_ = subBuilder.buildPartial(); + break; } + case 90: + { + com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder subBuilder = null; + if (sshConfig_ != null) { + subBuilder = sshConfig_.toBuilder(); + } + sshConfig_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureSshConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sshConfig_); + sshConfig_ = subBuilder.buildPartial(); + } - break; - } - case 106: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - replicaPlacements_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + break; } - replicaPlacements_.add( - input.readMessage(com.google.cloud.gkemulticloud.v1.ReplicaPlacement.parser(), extensionRegistry)); - break; - } - case 114: { - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder subBuilder = null; - if (configEncryption_ != null) { - subBuilder = configEncryption_.toBuilder(); + case 98: + { + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder subBuilder = null; + if (proxyConfig_ != null) { + subBuilder = proxyConfig_.toBuilder(); + } + proxyConfig_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(proxyConfig_); + proxyConfig_ = subBuilder.buildPartial(); + } + + break; } - configEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(configEncryption_); - configEncryption_ = subBuilder.buildPartial(); + case 106: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + replicaPlacements_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + replicaPlacements_.add( + input.readMessage( + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.parser(), + extensionRegistry)); + break; } + case 114: + { + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder subBuilder = null; + if (configEncryption_ != null) { + subBuilder = configEncryption_.toBuilder(); + } + configEncryption_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(configEncryption_); + configEncryption_ = subBuilder.buildPartial(); + } - break; - } - case 122: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 122: + { + java.lang.String s = input.readStringRequireUtf8(); - endpointSubnetId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + endpointSubnetId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -196,8 +244,7 @@ private AzureControlPlane( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { replicaPlacements_ = java.util.Collections.unmodifiableList(replicaPlacements_); @@ -206,34 +253,38 @@ private AzureControlPlane( makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object version_; /** + * + * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -243,6 +294,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ @java.lang.Override @@ -251,14 +303,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`).
@@ -268,16 +321,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 { @@ -288,6 +340,8 @@ public java.lang.String getVersion() { public static final int SUBNET_ID_FIELD_NUMBER = 2; 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
@@ -301,6 +355,7 @@ public java.lang.String getVersion() {
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The subnetId. */ @java.lang.Override @@ -309,14 +364,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
@@ -330,16 +386,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 { @@ -350,6 +405,8 @@ public java.lang.String getSubnetId() { public static final int VM_SIZE_FIELD_NUMBER = 3; private volatile java.lang.Object vmSize_; /** + * + * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    * For available VM sizes, see
@@ -358,6 +415,7 @@ public java.lang.String getSubnetId() {
    * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The vmSize. */ @java.lang.Override @@ -366,14 +424,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`.
    * For available VM sizes, see
@@ -382,16 +441,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 { @@ -402,12 +460,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 @@ -415,25 +478,36 @@ 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() { @@ -443,13 +517,18 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB 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.
    * 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 @@ -457,27 +536,38 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
    * 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.
    * 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() { @@ -487,6 +577,8 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum 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.
@@ -494,7 +586,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 @@ -502,6 +597,8 @@ public boolean hasMainVolume() { return mainVolume_ != null; } /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -509,14 +606,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.
@@ -524,7 +628,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]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolumeOrBuilder() { @@ -534,11 +640,16 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolum 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 @@ -546,37 +657,54 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder + getDatabaseEncryptionOrBuilder() { return getDatabaseEncryption(); } 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 @@ -584,23 +712,34 @@ 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() { @@ -610,11 +749,16 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfi 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 @@ -622,48 +766,59 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { return getConfigEncryption(); } 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, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { + 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, + ""); + } + + 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_; } @@ -672,28 +827,30 @@ public int getTagsCount() { return internalGetTags().getMap().size(); } /** + * + * *
    * Optional. A set of tags to apply to all underlying control plane Azure resources.
    * 
* * 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.
    * 
@@ -701,11 +858,12 @@ public java.util.Map getTags() { * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map getTagsMap() { return internalGetTags().getMap(); } /** + * + * *
    * Optional. A set of tags to apply to all underlying control plane Azure resources.
    * 
@@ -713,16 +871,16 @@ public java.util.Map getTagsMap() { * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - - public java.lang.String getTagsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetTags().getMap(); + public java.lang.String getTagsOrDefault(java.lang.String key, 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.
    * 
@@ -730,12 +888,11 @@ public 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(); } @@ -745,6 +902,8 @@ public java.lang.String getTagsOrThrow( public static final int REPLICA_PLACEMENTS_FIELD_NUMBER = 13; private java.util.List replicaPlacements_; /** + * + * *
    * Optional. Configuration for where to place the control plane replicas.
    * Up to three replica placement instances can be specified. If
@@ -752,13 +911,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.
    * Up to three replica placement instances can be specified. If
@@ -766,14 +930,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.
    * Up to three replica placement instances can be specified. If
@@ -781,13 +949,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.
    * Up to three replica placement instances can be specified. If
@@ -795,13 +967,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.
    * Up to three replica placement instances can be specified. If
@@ -809,7 +985,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( @@ -820,6 +998,8 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPla public static final int ENDPOINT_SUBNET_ID_FIELD_NUMBER = 15; 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.
@@ -828,6 +1008,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 @@ -836,14 +1017,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.
@@ -852,16 +1034,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 { @@ -870,6 +1051,7 @@ public java.lang.String getEndpointSubnetId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -881,8 +1063,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_); } @@ -898,12 +1079,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()); } @@ -941,42 +1118,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_); @@ -989,55 +1160,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1095,139 +1255,146 @@ 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() @@ -1235,17 +1402,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getReplicaPlacementsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1304,9 +1471,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 @@ -1325,7 +1492,8 @@ 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); int from_bitField0_ = bitField0_; result.version_ = version_; result.subnetId_ = subnetId_; @@ -1380,38 +1548,39 @@ public com.google.cloud.gkemulticloud.v1.AzureControlPlane buildPartial() { 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; @@ -1419,7 +1588,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_; onChanged(); @@ -1450,8 +1620,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()); if (replicaPlacementsBuilder_ == null) { if (!other.replicaPlacements_.isEmpty()) { if (replicaPlacements_.isEmpty()) { @@ -1470,9 +1639,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureControlPlane oth replicaPlacementsBuilder_ = null; replicaPlacements_ = other.replicaPlacements_; bitField0_ = (bitField0_ & ~0x00000002); - replicaPlacementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getReplicaPlacementsFieldBuilder() : null; + replicaPlacementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getReplicaPlacementsFieldBuilder() + : null; } else { replicaPlacementsBuilder_.addAllMessages(other.replicaPlacements_); } @@ -1501,7 +1671,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureControlPlane) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AzureControlPlane) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1510,10 +1681,13 @@ public Builder mergeFrom( } 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`).
@@ -1523,13 +1697,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; @@ -1538,6 +1712,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1547,15 +1723,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 { @@ -1563,6 +1738,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1572,20 +1749,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) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1595,15 +1774,18 @@ public Builder setVersion(
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1613,16 +1795,16 @@ 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) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1630,6 +1812,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
@@ -1643,13 +1827,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; @@ -1658,6 +1842,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
@@ -1671,15 +1857,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 { @@ -1687,6 +1872,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
@@ -1700,20 +1887,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) { + public Builder setSubnetId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetId_ = value; 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
@@ -1727,15 +1916,18 @@ public Builder setSubnetId(
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSubnetId() { - + subnetId_ = getDefaultInstance().getSubnetId(); 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
@@ -1749,16 +1941,16 @@ 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) { + public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetId_ = value; onChanged(); return this; @@ -1766,6 +1958,8 @@ public Builder setSubnetIdBytes( private java.lang.Object vmSize_ = ""; /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * For available VM sizes, see
@@ -1774,13 +1968,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; @@ -1789,6 +1983,8 @@ public java.lang.String getVmSize() { } } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * For available VM sizes, see
@@ -1797,15 +1993,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 { @@ -1813,6 +2008,8 @@ public java.lang.String getVmSize() { } } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * For available VM sizes, see
@@ -1821,20 +2018,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) { + public Builder setVmSize(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * For available VM sizes, see
@@ -1843,15 +2042,18 @@ public Builder setVmSize(
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearVmSize() { - + vmSize_ = getDefaultInstance().getVmSize(); onChanged(); return this; } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * For available VM sizes, see
@@ -1860,16 +2062,16 @@ 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) { + public Builder setVmSizeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmSize_ = value; onChanged(); return this; @@ -1877,42 +2079,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 sshConfigBuilder_ != null || 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. */ 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) { @@ -1928,12 +2149,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) { @@ -1947,18 +2172,24 @@ 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 (sshConfig_ != null) { sshConfig_ = - com.google.cloud.gkemulticloud.v1.AzureSshConfig.newBuilder(sshConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureSshConfig.newBuilder(sshConfig_) + .mergeFrom(value) + .buildPartial(); } else { sshConfig_ = value; } @@ -1970,12 +2201,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() { if (sshConfigBuilder_ == null) { @@ -1989,51 +2224,67 @@ 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() { - + onChanged(); 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_; @@ -2041,45 +2292,64 @@ 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.
      * 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 rootVolumeBuilder_ != null || rootVolume_ != null; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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.
      * 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) { @@ -2095,13 +2365,17 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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) { @@ -2115,19 +2389,25 @@ public Builder setRootVolume( return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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 (rootVolume_ != null) { rootVolume_ = - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(rootVolume_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(rootVolume_) + .mergeFrom(value) + .buildPartial(); } else { rootVolume_ = value; } @@ -2139,13 +2419,17 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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() { if (rootVolumeBuilder_ == null) { @@ -2159,54 +2443,70 @@ public Builder clearRootVolume() { return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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() { - + onChanged(); return getRootVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
      * 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.
      * 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_; @@ -2214,8 +2514,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.
@@ -2223,13 +2528,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 mainVolumeBuilder_ != null || mainVolume_ != null; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2237,17 +2547,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.
@@ -2255,7 +2572,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) { @@ -2271,6 +2590,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.
@@ -2278,7 +2599,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) { @@ -2292,6 +2615,8 @@ public Builder setMainVolume( return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2299,13 +2624,17 @@ 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 (mainVolume_ != null) { mainVolume_ = - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(mainVolume_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(mainVolume_) + .mergeFrom(value) + .buildPartial(); } else { mainVolume_ = value; } @@ -2317,6 +2646,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.
@@ -2324,7 +2655,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() { if (mainVolumeBuilder_ == null) { @@ -2338,6 +2671,8 @@ public Builder clearMainVolume() { return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2345,14 +2680,18 @@ 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() { - + onChanged(); return getMainVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2360,17 +2699,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.
@@ -2378,17 +2722,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_; @@ -2396,41 +2745,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 databaseEncryptionBuilder_ != null || 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. */ 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(); @@ -2444,11 +2813,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) { @@ -2462,17 +2835,25 @@ 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 (databaseEncryption_ != null) { databaseEncryption_ = - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.newBuilder(databaseEncryption_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.newBuilder( + databaseEncryption_) + .mergeFrom(value) + .buildPartial(); } else { databaseEncryption_ = value; } @@ -2484,11 +2865,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() { if (databaseEncryptionBuilder_ == null) { @@ -2502,48 +2887,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() { + 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_; @@ -2551,39 +2954,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 proxyConfigBuilder_ != null || 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. */ 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) { @@ -2599,11 +3021,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) { @@ -2617,17 +3043,23 @@ 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 (proxyConfig_ != null) { proxyConfig_ = - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.newBuilder(proxyConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.newBuilder(proxyConfig_) + .mergeFrom(value) + .buildPartial(); } else { proxyConfig_ = value; } @@ -2639,11 +3071,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() { if (proxyConfigBuilder_ == null) { @@ -2657,48 +3093,64 @@ 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() { - + onChanged(); 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_; @@ -2706,41 +3158,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 configEncryptionBuilder_ != null || 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. */ 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(); @@ -2754,11 +3226,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) { @@ -2772,17 +3248,24 @@ 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 (configEncryption_ != null) { configEncryption_ = - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.newBuilder(configEncryption_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.newBuilder(configEncryption_) + .mergeFrom(value) + .buildPartial(); } else { configEncryption_ = value; } @@ -2794,11 +3277,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() { if (configEncryptionBuilder_ == null) { @@ -2812,69 +3299,86 @@ 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() { + 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() { - onChanged();; + internalGetMutableTags() { + onChanged(); + ; 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(); @@ -2886,28 +3390,30 @@ public int getTagsCount() { return internalGetTags().getMap().size(); } /** + * + * *
      * Optional. A set of tags to apply to all underlying control plane Azure resources.
      * 
* * 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.
      * 
@@ -2915,11 +3421,12 @@ public java.util.Map getTags() { * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map getTagsMap() { return internalGetTags().getMap(); } /** + * + * *
      * Optional. A set of tags to apply to all underlying control plane Azure resources.
      * 
@@ -2927,16 +3434,16 @@ public java.util.Map getTagsMap() { * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - - public java.lang.String getTagsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetTags().getMap(); + public java.lang.String getTagsOrDefault(java.lang.String key, 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.
      * 
@@ -2944,12 +3451,11 @@ public 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(); } @@ -2957,80 +3463,85 @@ public java.lang.String getTagsOrThrow( } public Builder clearTags() { - internalGetMutableTags().getMutableMap() - .clear(); + internalGetMutableTags().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. A set of tags to apply to all underlying control plane Azure resources.
      * 
* * 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() { return internalGetMutableTags().getMutableMap(); } /** + * + * *
      * Optional. A set of tags to apply to all underlying control plane Azure resources.
      * 
* * 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableTags().getMutableMap() - .put(key, value); + internalGetMutableTags().getMutableMap().put(key, value); return this; } /** + * + * *
      * Optional. A set of tags to apply to all underlying control plane Azure resources.
      * 
* * 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); return this; } private java.util.List replicaPlacements_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureReplicaPlacementsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - replicaPlacements_ = new java.util.ArrayList(replicaPlacements_); + replicaPlacements_ = + new java.util.ArrayList( + replicaPlacements_); bitField0_ |= 0x00000002; - } + } } 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.
      * Up to three replica placement instances can be specified. If
@@ -3038,9 +3549,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 { @@ -3048,6 +3562,8 @@ public java.util.List getRep } } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3055,7 +3571,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) { @@ -3065,6 +3583,8 @@ public int getReplicaPlacementsCount() { } } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3072,7 +3592,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) { @@ -3082,6 +3604,8 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(i } } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3089,7 +3613,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) { @@ -3106,6 +3632,8 @@ public Builder setReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3113,7 +3641,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) { @@ -3127,6 +3657,8 @@ public Builder setReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3134,7 +3666,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) { @@ -3150,6 +3684,8 @@ public Builder addReplicaPlacements(com.google.cloud.gkemulticloud.v1.ReplicaPla return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3157,7 +3693,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 +3712,8 @@ public Builder addReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3181,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) { @@ -3195,6 +3737,8 @@ public Builder addReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3202,7 +3746,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) { @@ -3216,6 +3762,8 @@ public Builder addReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3223,14 +3771,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); @@ -3238,6 +3787,8 @@ public Builder addAllReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3245,7 +3796,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) { @@ -3258,6 +3811,8 @@ public Builder clearReplicaPlacements() { return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3265,7 +3820,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) { @@ -3278,6 +3835,8 @@ public Builder removeReplicaPlacements(int index) { return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3285,13 +3844,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.
      * Up to three replica placement instances can be specified. If
@@ -3299,16 +3862,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.
      * Up to three replica placement instances can be specified. If
@@ -3316,10 +3884,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 { @@ -3327,6 +3897,8 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPla } } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      * Up to three replica placement instances can be specified. If
@@ -3334,13 +3906,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.
      * Up to three replica placement instances can be specified. If
@@ -3348,14 +3925,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.
      * Up to three replica placement instances can be specified. If
@@ -3363,18 +3945,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_ & 0x00000002) != 0), getParentForChildren(), @@ -3386,6 +3976,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.
@@ -3394,13 +3986,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; @@ -3409,6 +4001,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.
@@ -3417,15 +4011,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 { @@ -3433,6 +4026,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.
@@ -3441,20 +4036,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) { + public Builder setEndpointSubnetId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpointSubnetId_ = value; 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.
@@ -3463,15 +4060,18 @@ public Builder setEndpointSubnetId(
      * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEndpointSubnetId() { - + endpointSubnetId_ = getDefaultInstance().getEndpointSubnetId(); 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.
@@ -3480,23 +4080,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) { + public Builder setEndpointSubnetIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpointSubnetId_ = 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); } @@ -3506,12 +4106,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(); } @@ -3520,16 +4120,16 @@ 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 { - return new AzureControlPlane(input, extensionRegistry); - } - }; + 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 { + return new AzureControlPlane(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3544,6 +4144,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureControlPlane getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java index e77d095..70de895 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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`).
@@ -17,10 +35,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`).
@@ -30,12 +51,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
@@ -49,10 +72,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
@@ -66,12 +92,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`.
    * For available VM sizes, see
@@ -80,10 +108,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`.
    * For available VM sizes, see
@@ -92,75 +123,105 @@ 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.
    * 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.
    * 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.
    * 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.
@@ -168,11 +229,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.
@@ -180,11 +246,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.
@@ -192,92 +263,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.
    * 
@@ -286,30 +404,31 @@ public interface AzureControlPlaneOrBuilder extends */ int getTagsCount(); /** + * + * *
    * Optional. A set of tags to apply to all underlying control plane Azure resources.
    * 
* * 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.
    * 
* * 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.
    * 
@@ -318,22 +437,24 @@ boolean containsTags( */ /* 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.
    * 
* * 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.
    * Up to three replica placement instances can be specified. If
@@ -341,11 +462,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.
    * Up to three replica placement instances can be specified. If
@@ -353,10 +477,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.
    * Up to three replica placement instances can be specified. If
@@ -364,10 +492,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.
    * Up to three replica placement instances can be specified. If
@@ -375,11 +507,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.
    * Up to three replica placement instances can be specified. If
@@ -387,12 +523,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.
@@ -401,10 +541,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.
@@ -413,8 +556,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java index a91d6a0..bcb6a2e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * Anthos clusters on Azure encrypts your Kubernetes data at rest
@@ -12,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AzureDatabaseEncryption(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,19 +72,20 @@ private AzureDatabaseEncryption(
           case 0:
             done = true;
             break;
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            keyId_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              keyId_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -75,29 +93,33 @@ private AzureDatabaseEncryption(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   private volatile java.lang.Object keyId_;
   /**
+   *
+   *
    * 
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
    * For example:
@@ -107,6 +129,7 @@ private AzureDatabaseEncryption(
    * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keyId. */ @java.lang.Override @@ -115,14 +138,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.
    * For example:
@@ -132,16 +156,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 { @@ -150,6 +173,7 @@ public java.lang.String getKeyId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,8 +185,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_); } @@ -186,15 +209,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -214,96 +237,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.
    * Anthos clusters on Azure encrypts your Kubernetes data at rest
@@ -312,21 +343,23 @@ 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()
@@ -334,16 +367,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,9 +385,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
@@ -374,7 +406,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);
+      com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption result =
+          new com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption(this);
       result.keyId_ = keyId_;
       onBuilt();
       return result;
@@ -384,38 +417,39 @@ public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption buildPartial()
     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;
@@ -423,7 +457,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_;
         onChanged();
@@ -447,7 +482,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -459,6 +495,8 @@ public Builder mergeFrom(
 
     private java.lang.Object keyId_ = "";
     /**
+     *
+     *
      * 
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      * For example:
@@ -468,13 +506,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; @@ -483,6 +521,8 @@ public java.lang.String getKeyId() { } } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      * For example:
@@ -492,15 +532,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 { @@ -508,6 +547,8 @@ public java.lang.String getKeyId() { } } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      * For example:
@@ -517,20 +558,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) { + public Builder setKeyId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      * For example:
@@ -540,15 +583,18 @@ public Builder setKeyId(
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearKeyId() { - + keyId_ = getDefaultInstance().getKeyId(); onChanged(); return this; } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      * For example:
@@ -558,23 +604,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) { + public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyId_ = 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); } @@ -584,12 +630,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(); } @@ -598,16 +644,16 @@ 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 { - return new AzureDatabaseEncryption(input, extensionRegistry); - } - }; + 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 { + return new AzureDatabaseEncryption(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -622,6 +668,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java index 4533415..74fa6c0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * For example:
@@ -17,10 +35,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.
    * For example:
@@ -30,8 +51,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java index 1d6cdd5..edf9bec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AzureDiskTemplate( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,18 +68,18 @@ private AzureDiskTemplate( case 0: done = true; break; - case 8: { - - sizeGib_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + sizeGib_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -71,29 +87,33 @@ private AzureDiskTemplate( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * Optional. The size of the disk, in GiBs.
    * When unspecified, a default value is provided. See the specific reference
@@ -101,6 +121,7 @@ private AzureDiskTemplate(
    * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sizeGib. */ @java.lang.Override @@ -109,6 +130,7 @@ public int getSizeGib() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +142,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_); } @@ -135,8 +156,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -146,15 +166,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -174,117 +194,126 @@ 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() @@ -292,16 +321,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -311,9 +339,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 @@ -332,7 +360,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); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate result = + new com.google.cloud.gkemulticloud.v1.AzureDiskTemplate(this); result.sizeGib_ = sizeGib_; onBuilt(); return result; @@ -342,38 +371,39 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate buildPartial() { 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; @@ -381,7 +411,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()); } @@ -404,7 +435,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,8 +446,10 @@ public Builder mergeFrom( return this; } - private int sizeGib_ ; + private int sizeGib_; /** + * + * *
      * Optional. The size of the disk, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -423,6 +457,7 @@ public Builder mergeFrom(
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sizeGib. */ @java.lang.Override @@ -430,6 +465,8 @@ public int getSizeGib() { return sizeGib_; } /** + * + * *
      * Optional. The size of the disk, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -437,16 +474,19 @@ public int getSizeGib() {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The sizeGib to set. * @return This builder for chaining. */ public Builder setSizeGib(int value) { - + sizeGib_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The size of the disk, in GiBs.
      * When unspecified, a default value is provided. See the specific reference
@@ -454,17 +494,18 @@ public Builder setSizeGib(int value) {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSizeGib() { - + sizeGib_ = 0; 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); } @@ -474,12 +515,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(); } @@ -488,16 +529,16 @@ 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 { - return new AzureDiskTemplate(input, extensionRegistry); - } - }; + 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 { + return new AzureDiskTemplate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -512,6 +553,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java new file mode 100644 index 0000000..9d4fdeb --- /dev/null +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java index 811eb74..d23a194 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 +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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AzureK8sVersionInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AzureK8sVersionInfo( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + version_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private AzureK8sVersionInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +132,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; } } /** + * + * *
    * 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() { + 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 { @@ -140,6 +163,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,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_); } @@ -176,15 +199,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.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 (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ 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; } /** + * + * *
    * 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 + 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() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,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 @@ -362,7 +394,8 @@ 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); + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo result = + new com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo(this); result.version_ = version_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo buildPartial() { 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; @@ -411,7 +445,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_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( 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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -467,20 +505,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * 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() { + 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 { @@ -488,61 +527,68 @@ public java.lang.String getVersion() { } } /** + * + * *
      * 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) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; 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(); 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) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = 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); } @@ -552,12 +598,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(); } @@ -566,16 +612,16 @@ 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 { - return new AzureK8sVersionInfo(input, extensionRegistry); - } - }; + 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 { + return new AzureK8sVersionInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java new file mode 100644 index 0000000..61b1b23 --- /dev/null +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java index 5494e53..de75c6f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +46,15 @@ private AzureNodeConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureNodeConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AzureNodeConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,112 +74,131 @@ private AzureNodeConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            vmSize_ = s;
-            break;
-          }
-          case 18: {
-            com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null;
-            if (rootVolume_ != null) {
-              subBuilder = rootVolume_.toBuilder();
+              vmSize_ = s;
+              break;
             }
-            rootVolume_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(rootVolume_);
-              rootVolume_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder subBuilder = null;
+              if (rootVolume_ != null) {
+                subBuilder = rootVolume_.toBuilder();
+              }
+              rootVolume_ =
+                  input.readMessage(
+                      com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(rootVolume_);
+                rootVolume_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              tags_ = com.google.protobuf.MapField.newMapField(
-                  TagsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                tags_ =
+                    com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry tags__ =
+                  input.readMessage(
+                      TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              tags_.getMutableMap().put(tags__.getKey(), tags__.getValue());
+              break;
             }
-            com.google.protobuf.MapEntry
-            tags__ = input.readMessage(
-                TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            tags_.getMutableMap().put(
-                tags__.getKey(), tags__.getValue());
-            break;
-          }
-          case 58: {
-            com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder subBuilder = null;
-            if (sshConfig_ != null) {
-              subBuilder = sshConfig_.toBuilder();
-            }
-            sshConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureSshConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(sshConfig_);
-              sshConfig_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder subBuilder = null;
+              if (sshConfig_ != null) {
+                subBuilder = sshConfig_.toBuilder();
+              }
+              sshConfig_ =
+                  input.readMessage(
+                      com.google.cloud.gkemulticloud.v1.AzureSshConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(sshConfig_);
+                sshConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            imageType_ = s;
-            break;
-          }
-          case 74: {
-            com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder subBuilder = null;
-            if (proxyConfig_ != null) {
-              subBuilder = proxyConfig_.toBuilder();
+              imageType_ = s;
+              break;
             }
-            proxyConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureProxyConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(proxyConfig_);
-              proxyConfig_ = subBuilder.buildPartial();
+          case 74:
+            {
+              com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder subBuilder = null;
+              if (proxyConfig_ != null) {
+                subBuilder = proxyConfig_.toBuilder();
+              }
+              proxyConfig_ =
+                  input.readMessage(
+                      com.google.cloud.gkemulticloud.v1.AzureProxyConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(proxyConfig_);
+                proxyConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 82: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              taints_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
-            }
-            taints_.add(
-                input.readMessage(com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry));
-            break;
-          }
-          case 90: {
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000004;
+          case 82:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                taints_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              taints_.add(
+                  input.readMessage(
+                      com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry));
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 98: {
-            com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder subBuilder = null;
-            if (configEncryption_ != null) {
-              subBuilder = configEncryption_.toBuilder();
+          case 90:
+            {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000004;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
-            configEncryption_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(configEncryption_);
-              configEncryption_ = subBuilder.buildPartial();
+          case 98:
+            {
+              com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder subBuilder = null;
+              if (configEncryption_ != null) {
+                subBuilder = configEncryption_.toBuilder();
+              }
+              configEncryption_ =
+                  input.readMessage(
+                      com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(configEncryption_);
+                configEncryption_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -170,8 +206,7 @@ private AzureNodeConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         taints_ = java.util.Collections.unmodifiableList(taints_);
@@ -180,36 +215,40 @@ private AzureNodeConfig(
       makeExtensionsImmutable();
     }
   }
-  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;
   private volatile java.lang.Object vmSize_;
   /**
+   *
+   *
    * 
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    * See [Supported VM
@@ -218,6 +257,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The vmSize. */ @java.lang.Override @@ -226,14 +266,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`.
    * See [Supported VM
@@ -242,16 +283,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 { @@ -262,13 +302,18 @@ 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.
    * 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 @@ -276,27 +321,38 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
    * 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.
    * 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() { @@ -304,24 +360,23 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum } 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, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { + 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, + ""); + } + + 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_; } @@ -330,6 +385,8 @@ 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.
@@ -340,22 +397,22 @@ 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.
@@ -367,11 +424,12 @@ public java.util.Map getTags() {
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-
   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.
@@ -383,16 +441,16 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-
-  public java.lang.String getTagsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTags().getMap();
+  public java.lang.String getTagsOrDefault(java.lang.String key, 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.
@@ -404,12 +462,11 @@ public 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();
     }
@@ -419,6 +476,8 @@ public java.lang.String getTagsOrThrow(
   public static final int IMAGE_TYPE_FIELD_NUMBER = 8;
   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
@@ -427,6 +486,7 @@ public java.lang.String getTagsOrThrow(
    * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The imageType. */ @java.lang.Override @@ -435,14 +495,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 have a value of `ubuntu`, or `windows` if the cluster enables
@@ -451,16 +512,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 { @@ -471,11 +531,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 @@ -483,23 +548,34 @@ 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() { @@ -509,11 +585,16 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB 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 @@ -521,23 +602,34 @@ 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() { @@ -547,11 +639,16 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfi 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 @@ -559,108 +656,138 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { return getConfigEncryption(); } public static final int TAINTS_FIELD_NUMBER = 10; 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, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + 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, + ""); + } + + 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_; } @@ -669,6 +796,8 @@ 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",
@@ -677,22 +806,22 @@ 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",
@@ -702,11 +831,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-
   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",
@@ -716,16 +846,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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",
@@ -735,12 +865,11 @@ public 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();
     }
@@ -748,6 +877,7 @@ public java.lang.String getLabelsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -759,20 +889,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());
     }
@@ -785,12 +910,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());
     }
@@ -807,47 +928,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -857,43 +973,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -943,96 +1051,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.
@@ -1040,47 +1155,47 @@ 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()
@@ -1088,17 +1203,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getTaintsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1142,9 +1257,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
@@ -1163,7 +1278,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.vmSize_ = vmSize_;
       if (rootVolumeBuilder_ == null) {
@@ -1208,38 +1324,39 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeConfig buildPartial() {
     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;
@@ -1247,7 +1364,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_;
         onChanged();
@@ -1255,8 +1373,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());
       if (!other.getImageType().isEmpty()) {
         imageType_ = other.imageType_;
         onChanged();
@@ -1288,16 +1405,16 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodeConfig other
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            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());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1317,7 +1434,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureNodeConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.gkemulticloud.v1.AzureNodeConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1326,10 +1444,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object vmSize_ = "";
     /**
+     *
+     *
      * 
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * See [Supported VM
@@ -1338,13 +1459,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; @@ -1353,6 +1474,8 @@ public java.lang.String getVmSize() { } } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * See [Supported VM
@@ -1361,15 +1484,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 { @@ -1377,6 +1499,8 @@ public java.lang.String getVmSize() { } } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * See [Supported VM
@@ -1385,20 +1509,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) { + public Builder setVmSize(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + vmSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * See [Supported VM
@@ -1407,15 +1533,18 @@ public Builder setVmSize(
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearVmSize() { - + vmSize_ = getDefaultInstance().getVmSize(); onChanged(); return this; } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      * See [Supported VM
@@ -1424,16 +1553,16 @@ 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) { + public Builder setVmSizeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + vmSize_ = value; onChanged(); return this; @@ -1441,45 +1570,64 @@ 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.
      * 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 rootVolumeBuilder_ != null || rootVolume_ != null; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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.
      * 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) { @@ -1495,13 +1643,17 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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) { @@ -1515,19 +1667,25 @@ public Builder setRootVolume( return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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 (rootVolume_ != null) { rootVolume_ = - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(rootVolume_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder(rootVolume_) + .mergeFrom(value) + .buildPartial(); } else { rootVolume_ = value; } @@ -1539,13 +1697,17 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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() { if (rootVolumeBuilder_ == null) { @@ -1559,75 +1721,90 @@ public Builder clearRootVolume() { return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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() { - + onChanged(); return getRootVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
      * 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.
      * 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() { - onChanged();; + internalGetMutableTags() { + onChanged(); + ; 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(); @@ -1639,6 +1816,8 @@ 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.
@@ -1649,22 +1828,22 @@ 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.
@@ -1676,11 +1855,12 @@ public java.util.Map getTags() {
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
     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.
@@ -1692,16 +1872,16 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
-    public java.lang.String getTagsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTags().getMap();
+    public java.lang.String getTagsOrDefault(java.lang.String key, 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.
@@ -1713,12 +1893,11 @@ public 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();
       }
@@ -1726,11 +1905,12 @@ public java.lang.String getTagsOrThrow(
     }
 
     public Builder clearTags() {
-      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.
@@ -1741,23 +1921,21 @@ 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() {
       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.
@@ -1768,19 +1946,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableTags().getMutableMap()
-          .put(key, value);
+      internalGetMutableTags().getMutableMap().put(key, value);
       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.
@@ -1791,16 +1970,15 @@ 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);
       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
@@ -1809,13 +1987,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; @@ -1824,6 +2002,8 @@ 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
@@ -1832,15 +2012,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 { @@ -1848,6 +2027,8 @@ 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
@@ -1856,20 +2037,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) { + public Builder setImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; 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
@@ -1878,15 +2061,18 @@ public Builder setImageType(
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); 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
@@ -1895,16 +2081,16 @@ 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) { + public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; @@ -1912,39 +2098,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 sshConfigBuilder_ != null || 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. */ 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) { @@ -1960,11 +2165,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) { @@ -1978,17 +2187,23 @@ 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 (sshConfig_ != null) { sshConfig_ = - com.google.cloud.gkemulticloud.v1.AzureSshConfig.newBuilder(sshConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureSshConfig.newBuilder(sshConfig_) + .mergeFrom(value) + .buildPartial(); } else { sshConfig_ = value; } @@ -2000,11 +2215,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() { if (sshConfigBuilder_ == null) { @@ -2018,48 +2237,64 @@ 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() { - + onChanged(); 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_; @@ -2067,39 +2302,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 proxyConfigBuilder_ != null || 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. */ 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) { @@ -2115,11 +2369,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) { @@ -2133,17 +2391,23 @@ 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 (proxyConfig_ != null) { proxyConfig_ = - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.newBuilder(proxyConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.newBuilder(proxyConfig_) + .mergeFrom(value) + .buildPartial(); } else { proxyConfig_ = value; } @@ -2155,11 +2419,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() { if (proxyConfigBuilder_ == null) { @@ -2173,48 +2441,64 @@ 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() { - + onChanged(); 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_; @@ -2222,41 +2506,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 configEncryptionBuilder_ != null || 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. */ 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(); @@ -2270,11 +2574,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) { @@ -2288,17 +2596,24 @@ 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 (configEncryption_ != null) { configEncryption_ = - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.newBuilder(configEncryption_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.newBuilder(configEncryption_) + .mergeFrom(value) + .buildPartial(); } else { configEncryption_ = value; } @@ -2310,11 +2625,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() { if (configEncryptionBuilder_ == null) { @@ -2328,71 +2647,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() { + 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_ & 0x00000002) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000002; - } + } } 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) { @@ -2402,11 +2747,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) { @@ -2416,11 +2765,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) { @@ -2430,14 +2783,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(); @@ -2451,11 +2807,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) { @@ -2469,11 +2829,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) { @@ -2489,14 +2853,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(); @@ -2510,14 +2877,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()); @@ -2528,11 +2898,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) { @@ -2546,18 +2920,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); @@ -2565,11 +2942,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) { @@ -2582,11 +2963,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) { @@ -2599,39 +2984,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 { @@ -2639,70 +3035,83 @@ 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_ & 0x00000002) != 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_ & 0x00000002) != 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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -2714,6 +3123,8 @@ 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",
@@ -2722,22 +3133,22 @@ 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",
@@ -2747,11 +3158,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
     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",
@@ -2761,16 +3173,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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",
@@ -2780,12 +3193,11 @@ public 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();
       }
@@ -2793,11 +3205,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      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",
@@ -2806,23 +3219,21 @@ 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() {
       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",
@@ -2831,19 +3242,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       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",
@@ -2852,16 +3264,13 @@ 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);
       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);
     }
 
@@ -2871,12 +3280,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();
   }
@@ -2885,16 +3294,16 @@ 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 {
-      return new AzureNodeConfig(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new AzureNodeConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2909,6 +3318,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.gkemulticloud.v1.AzureNodeConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
index d176cd7..ec726c5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
+++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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`.
    * See [Supported VM
@@ -16,10 +34,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`.
    * See [Supported VM
@@ -28,45 +49,61 @@ 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.
    * 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.
    * 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.
    * 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.
@@ -79,6 +116,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.
@@ -89,15 +128,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.
@@ -108,9 +145,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.
@@ -123,11 +161,13 @@ boolean containsTags(
    */
 
   /* 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.
@@ -138,11 +178,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 have a value of `ubuntu`, or `windows` if the cluster enables
@@ -151,10 +191,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 have a value of `ubuntu`, or `windows` if the cluster enables
@@ -163,137 +206,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",
@@ -304,6 +409,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",
@@ -312,15 +419,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",
@@ -329,9 +434,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",
@@ -342,11 +448,13 @@ boolean containsLabels(
    */
 
   /* 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",
@@ -355,7 +463,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java
rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java
index 50fefb1..2ccce88 100644
--- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java
+++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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_ = ""; @@ -31,16 +49,15 @@ private AzureNodePool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureNodePool(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AzureNodePool( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,138 +77,163 @@ private AzureNodePool( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - subnetId_ = s; - break; - } - case 34: { - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder subBuilder = null; - if (autoscaling_ != null) { - subBuilder = autoscaling_.toBuilder(); + subnetId_ = s; + break; } - autoscaling_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(autoscaling_); - autoscaling_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder subBuilder = null; + if (autoscaling_ != null) { + subBuilder = autoscaling_.toBuilder(); + } + autoscaling_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(autoscaling_); + autoscaling_ = subBuilder.buildPartial(); + } + + break; } + case 48: + { + int rawValue = input.readEnum(); - break; - } - case 48: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - - uid_ = s; - break; - } - case 72: { + state_ = rawValue; + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - reconciling_ = input.readBool(); - break; - } - case 82: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + uid_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 72: + { + reconciling_ = input.readBool(); + break; } - - break; - } - case 90: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 82: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 90: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 98: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 98: { - java.lang.String s = input.readStringRequireUtf8(); - - etag_ = s; - break; - } - case 106: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - annotations_.getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - break; - } - case 170: { - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder subBuilder = null; - if (maxPodsConstraint_ != null) { - subBuilder = maxPodsConstraint_.toBuilder(); + etag_ = s; + break; } - maxPodsConstraint_ = input.readMessage(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(maxPodsConstraint_); - maxPodsConstraint_ = subBuilder.buildPartial(); + case 106: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = + com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); + break; } - - break; - } - case 178: { - com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); + case 170: + { + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder subBuilder = null; + if (maxPodsConstraint_ != null) { + subBuilder = maxPodsConstraint_.toBuilder(); + } + maxPodsConstraint_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(maxPodsConstraint_); + maxPodsConstraint_ = subBuilder.buildPartial(); + } + + break; } - config_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureNodeConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); + case 178: + { + com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); + } + config_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureNodeConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); + } + + break; } + case 186: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 186: { - java.lang.String s = input.readStringRequireUtf8(); - - azureAvailabilityZone_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + azureAvailabilityZone_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -199,48 +241,52 @@ private AzureNodePool( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -249,6 +295,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -257,6 +305,8 @@ public enum State */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the node pool has been created and is fully
      * usable.
@@ -266,6 +316,8 @@ public enum State
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -274,6 +326,8 @@ public enum State */ RECONCILING(3), /** + * + * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -282,6 +336,8 @@ public enum State */ STOPPING(4), /** + * + * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -291,6 +347,8 @@ public enum State
      */
     ERROR(5),
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the node pool requires user action to
      * restore full functionality.
@@ -303,6 +361,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -311,6 +371,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -319,6 +381,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.
@@ -328,6 +392,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -336,6 +402,8 @@ public enum State */ public static final int RECONCILING_VALUE = 3; /** + * + * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -344,6 +412,8 @@ public enum State */ public static final int STOPPING_VALUE = 4; /** + * + * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -353,6 +423,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.
@@ -362,7 +434,6 @@ public enum State
      */
     public static final int DEGRADED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -387,53 +458,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;
@@ -453,6 +528,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of this resource.
    * Node pool names are formatted as
@@ -462,6 +539,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -470,14 +548,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.
    * Node pool names are formatted as
@@ -487,16 +566,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 { @@ -507,11 +585,14 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 2; 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 @@ -520,29 +601,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. 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 { @@ -553,11 +634,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 @@ -565,23 +651,34 @@ 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() { @@ -591,12 +688,15 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder getConfigOrBui public static final int SUBNET_ID_FIELD_NUMBER = 3; 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 @@ -605,30 +705,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 { @@ -639,11 +739,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 @@ -651,64 +756,94 @@ 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() { + public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder + getAutoscalingOrBuilder() { return getAutoscaling(); } public static final int STATE_FIELD_NUMBER = 6; private int 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 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() { + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureNodePool.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = com.google.cloud.gkemulticloud.v1.AzureNodePool.State.valueOf(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.valueOf(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePool.State.UNRECOGNIZED + : result; } public static final int UID_FIELD_NUMBER = 8; 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 @@ -717,29 +852,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 { @@ -750,12 +885,15 @@ public java.lang.String getUid() { public static final int RECONCILING_FIELD_NUMBER = 9; 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 @@ -766,11 +904,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 @@ -778,11 +920,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 @@ -790,11 +936,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() { @@ -804,11 +953,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 @@ -816,11 +969,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 @@ -828,11 +985,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() { @@ -842,6 +1002,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 12; private volatile java.lang.Object etag_; /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -850,6 +1012,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 12; + * * @return The etag. */ @java.lang.Override @@ -858,14 +1021,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.
@@ -874,16 +1038,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 { @@ -892,24 +1055,24 @@ 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, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + 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, + ""); + } + + 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_; } @@ -918,6 +1081,8 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. Annotations on the node pool.
    * This field has the same restrictions as Kubernetes annotations.
@@ -929,24 +1094,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -958,14 +1124,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -977,19 +1145,21 @@ 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 getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String key, 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -1001,15 +1171,15 @@ public 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(); } @@ -1019,12 +1189,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 @@ -1032,40 +1207,55 @@ 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() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder + getMaxPodsConstraintOrBuilder() { return getMaxPodsConstraint(); } public static final int AZURE_AVAILABILITY_ZONE_FIELD_NUMBER = 23; private volatile java.lang.Object azureAvailabilityZone_; /** + * + * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    * When unspecified, it defaults to `1`.
    * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The azureAvailabilityZone. */ @java.lang.Override @@ -1074,30 +1264,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; } } /** + * + * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    * When unspecified, it defaults to `1`.
    * 
* * 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 { @@ -1106,6 +1296,7 @@ public java.lang.String getAzureAvailabilityZone() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1117,8 +1308,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_); } @@ -1131,7 +1321,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_)) { @@ -1149,12 +1340,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()); } @@ -1183,48 +1370,42 @@ 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_); @@ -1237,55 +1418,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.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 (!getAzureAvailabilityZone().equals(other.getAzureAvailabilityZone())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1316,8 +1485,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(); @@ -1343,140 +1511,147 @@ 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() @@ -1484,16 +1659,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1548,9 +1722,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 @@ -1569,7 +1743,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.version_ = version_; @@ -1614,38 +1789,39 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool buildPartial() { 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; @@ -1653,7 +1829,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_; onChanged(); @@ -1692,8 +1869,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePool other) etag_ = other.etag_; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); if (other.hasMaxPodsConstraint()) { mergeMaxPodsConstraint(other.getMaxPodsConstraint()); } @@ -1729,10 +1905,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1742,13 +1921,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; @@ -1757,6 +1936,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1766,15 +1947,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 { @@ -1782,6 +1962,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1791,20 +1973,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1814,15 +1998,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of this resource.
      * Node pool names are formatted as
@@ -1832,16 +2019,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1849,18 +2036,20 @@ 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; @@ -1869,20 +2058,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 { @@ -1890,54 +2080,61 @@ 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) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; 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() { - + version_ = getDefaultInstance().getVersion(); 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]; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1945,39 +2142,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 configBuilder_ != null || 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. */ 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) { @@ -1993,11 +2209,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) { @@ -2011,17 +2231,23 @@ 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 (config_ != null) { config_ = - com.google.cloud.gkemulticloud.v1.AzureNodeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureNodeConfig.newBuilder(config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -2033,11 +2259,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() { if (configBuilder_ == null) { @@ -2051,48 +2281,64 @@ 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() { - + onChanged(); 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_; @@ -2100,19 +2346,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; @@ -2121,21 +2369,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 { @@ -2143,57 +2392,64 @@ 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) { + public Builder setSubnetId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetId_ = value; 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() { - + subnetId_ = getDefaultInstance().getSubnetId(); 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]; + * * @param value The bytes for subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetIdBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetId_ = value; onChanged(); return this; @@ -2201,41 +2457,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 autoscalingBuilder_ != null || 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. */ 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(); @@ -2249,11 +2525,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) { @@ -2267,17 +2547,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 (autoscaling_ != null) { autoscaling_ = - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.newBuilder(autoscaling_) + .mergeFrom(value) + .buildPartial(); } else { autoscaling_ = value; } @@ -2289,11 +2576,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() { if (autoscalingBuilder_ == null) { @@ -2307,48 +2598,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() { + 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_; @@ -2356,51 +2665,75 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = com.google.cloud.gkemulticloud.v1.AzureNodePool.State.valueOf(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.valueOf(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. */ @@ -2408,21 +2741,26 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AzureNodePool.State va if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2430,18 +2768,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; @@ -2450,20 +2790,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 { @@ -2471,67 +2812,77 @@ 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) { + public Builder setUid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); 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 @@ -2539,32 +2890,38 @@ 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. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); 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() { - + reconciling_ = false; onChanged(); return this; @@ -2572,39 +2929,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 createTimeBuilder_ != null || 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. */ 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) { @@ -2620,14 +2996,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(); onChanged(); @@ -2638,17 +3017,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2660,11 +3043,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() { if (createTimeBuilder_ == null) { @@ -2678,48 +3065,64 @@ 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() { - + onChanged(); 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_; @@ -2727,39 +3130,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2775,14 +3197,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(); onChanged(); @@ -2793,17 +3218,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2815,11 +3244,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() { if (updateTimeBuilder_ == null) { @@ -2833,48 +3266,64 @@ 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() { - + onChanged(); 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_; @@ -2882,6 +3331,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -2890,13 +3341,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; @@ -2905,6 +3356,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -2913,15 +3366,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 { @@ -2929,6 +3381,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -2937,20 +3391,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) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -2959,15 +3415,18 @@ public Builder setEtag(
      * 
* * string etag = 12; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -2976,37 +3435,39 @@ 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) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); 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() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged();; + internalGetMutableAnnotations() { + onChanged(); + ; 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(); @@ -3018,6 +3479,8 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3029,24 +3492,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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3058,14 +3522,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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3077,19 +3543,21 @@ 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 getAnnotationsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String key, 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.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3101,15 +3569,15 @@ public 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(); } @@ -3117,11 +3585,12 @@ public java.lang.String getAnnotationsOrThrow( } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3133,25 +3602,24 @@ 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() { return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3163,21 +3631,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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + internalGetMutableAnnotations().getMutableMap().put(key, value); return this; } /** + * + * *
      * Optional. Annotations on the node pool.
      * This field has the same restrictions as Kubernetes annotations.
@@ -3189,54 +3659,71 @@ 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); 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 maxPodsConstraintBuilder_ != null || 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. */ 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) { @@ -3252,12 +3739,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) { @@ -3271,18 +3762,25 @@ 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 (maxPodsConstraint_ != null) { maxPodsConstraint_ = - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_) + .mergeFrom(value) + .buildPartial(); } else { maxPodsConstraint_ = value; } @@ -3294,12 +3792,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() { if (maxPodsConstraintBuilder_ == null) { @@ -3313,51 +3815,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() { + 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_; @@ -3365,19 +3885,21 @@ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsCo private java.lang.Object azureAvailabilityZone_ = ""; /** + * + * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      * When unspecified, it defaults to `1`.
      * 
* * 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; @@ -3386,21 +3908,22 @@ public java.lang.String getAzureAvailabilityZone() { } } /** + * + * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      * When unspecified, it defaults to `1`.
      * 
* * 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 { @@ -3408,64 +3931,71 @@ public java.lang.String getAzureAvailabilityZone() { } } /** + * + * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      * When unspecified, it defaults to `1`.
      * 
* * 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) { + public Builder setAzureAvailabilityZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureAvailabilityZone_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      * When unspecified, it defaults to `1`.
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAzureAvailabilityZone() { - + azureAvailabilityZone_ = getDefaultInstance().getAzureAvailabilityZone(); onChanged(); return this; } /** + * + * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      * When unspecified, it defaults to `1`.
      * 
* * 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) { + public Builder setAzureAvailabilityZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureAvailabilityZone_ = 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); } @@ -3475,12 +4005,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(); } @@ -3489,16 +4019,16 @@ 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 { - return new AzureNodePool(input, extensionRegistry); - } - }; + 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 { + return new AzureNodePool(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3513,6 +4043,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureNodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java index 312a142..68bfc29 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * The Kubernetes cluster autoscaler will automatically adjust the
@@ -12,30 +29,29 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AzureNodePoolAutoscaling(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,23 +70,23 @@ private AzureNodePoolAutoscaling(
           case 0:
             done = true;
             break;
-          case 8: {
-
-            minNodeCount_ = input.readInt32();
-            break;
-          }
-          case 16: {
-
-            maxNodeCount_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 8:
+            {
+              minNodeCount_ = input.readInt32();
+              break;
+            }
+          case 16:
+            {
+              maxNodeCount_ = input.readInt32();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -78,35 +94,40 @@ private AzureNodePoolAutoscaling(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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_;
   /**
+   *
+   *
    * 
    * 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 @@ -117,12 +138,15 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 2; 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 @@ -131,6 +155,7 @@ public int getMaxNodeCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,8 +167,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_); } @@ -160,12 +184,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +197,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -207,96 +228,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.
    * The Kubernetes cluster autoscaler will automatically adjust the
@@ -305,21 +334,23 @@ 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()
@@ -327,16 +358,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @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.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
@@ -369,7 +399,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);
+      com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling result =
+          new com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling(this);
       result.minNodeCount_ = minNodeCount_;
       result.maxNodeCount_ = maxNodeCount_;
       onBuilt();
@@ -380,38 +411,39 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling buildPartial()
     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;
@@ -419,7 +451,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());
       }
@@ -445,7 +478,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -455,14 +489,17 @@ public Builder mergeFrom(
       return this;
     }
 
-    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 @@ -470,45 +507,54 @@ 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. */ public Builder setMinNodeCount(int value) { - + minNodeCount_ = value; onChanged(); 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() { - + minNodeCount_ = 0; onChanged(); 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 @@ -516,39 +562,45 @@ 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. */ public Builder setMaxNodeCount(int value) { - + maxNodeCount_ = value; onChanged(); 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() { - + maxNodeCount_ = 0; 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); } @@ -558,12 +610,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(); } @@ -572,16 +624,16 @@ 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 { - return new AzureNodePoolAutoscaling(input, extensionRegistry); - } - }; + 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 { + return new AzureNodePoolAutoscaling(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -596,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java index 557a5b0..a0481fc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java @@ -1,30 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java index a83439a..6133d4f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Node pool names are formatted as
@@ -17,10 +35,13 @@ public interface AzureNodePoolOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this resource.
    * Node pool names are formatted as
@@ -30,212 +51,292 @@ 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.
@@ -244,10 +345,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.
@@ -256,12 +360,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -273,10 +379,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -288,17 +397,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -310,11 +418,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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -326,15 +436,18 @@ 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.
    * This field has the same restrictions as Kubernetes annotations.
@@ -346,61 +459,79 @@ 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.
    * When unspecified, it defaults to `1`.
    * 
* * 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.
    * When unspecified, it defaults to `1`.
    * 
* * 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java index 454d0ab..7a7274a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private AzureProxyConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureProxyConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AzureProxyConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private AzureProxyConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - resourceGroupId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + resourceGroupId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - secretId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + secretId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private AzureProxyConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object resourceGroupId_; /** + * + * *
    * The ARM ID the of the resource group containing proxy keyvault.
    * Resource group ids are formatted as
@@ -110,6 +133,7 @@ private AzureProxyConfig(
    * 
* * string resource_group_id = 1; + * * @return The resourceGroupId. */ @java.lang.Override @@ -118,14 +142,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.
    * Resource group ids are formatted as
@@ -133,16 +158,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 { @@ -153,6 +177,8 @@ public java.lang.String getResourceGroupId() { public static final int SECRET_ID_FIELD_NUMBER = 2; private volatile java.lang.Object secretId_; /** + * + * *
    * The URL the of the proxy setting secret with its version.
    * Secret ids are formatted as
@@ -160,6 +186,7 @@ public java.lang.String getResourceGroupId() {
    * 
* * string secret_id = 2; + * * @return The secretId. */ @java.lang.Override @@ -168,14 +195,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.
    * Secret ids are formatted as
@@ -183,16 +211,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 { @@ -201,6 +228,7 @@ public java.lang.String getSecretId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,8 +240,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_); } @@ -243,17 +270,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -275,117 +301,126 @@ 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() @@ -393,16 +428,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +448,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 @@ -435,7 +469,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); + com.google.cloud.gkemulticloud.v1.AzureProxyConfig result = + new com.google.cloud.gkemulticloud.v1.AzureProxyConfig(this); result.resourceGroupId_ = resourceGroupId_; result.secretId_ = secretId_; onBuilt(); @@ -446,38 +481,39 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig buildPartial() { 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; @@ -485,7 +521,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_; onChanged(); @@ -513,7 +550,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureProxyConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.AzureProxyConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -525,6 +563,8 @@ public Builder mergeFrom( private java.lang.Object resourceGroupId_ = ""; /** + * + * *
      * The ARM ID the of the resource group containing proxy keyvault.
      * Resource group ids are formatted as
@@ -532,13 +572,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; @@ -547,6 +587,8 @@ public java.lang.String getResourceGroupId() { } } /** + * + * *
      * The ARM ID the of the resource group containing proxy keyvault.
      * Resource group ids are formatted as
@@ -554,15 +596,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 { @@ -570,6 +611,8 @@ public java.lang.String getResourceGroupId() { } } /** + * + * *
      * The ARM ID the of the resource group containing proxy keyvault.
      * Resource group ids are formatted as
@@ -577,20 +620,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) { + public Builder setResourceGroupId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceGroupId_ = value; onChanged(); return this; } /** + * + * *
      * The ARM ID the of the resource group containing proxy keyvault.
      * Resource group ids are formatted as
@@ -598,15 +643,18 @@ public Builder setResourceGroupId(
      * 
* * string resource_group_id = 1; + * * @return This builder for chaining. */ public Builder clearResourceGroupId() { - + resourceGroupId_ = getDefaultInstance().getResourceGroupId(); onChanged(); return this; } /** + * + * *
      * The ARM ID the of the resource group containing proxy keyvault.
      * Resource group ids are formatted as
@@ -614,16 +662,16 @@ 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) { + public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceGroupId_ = value; onChanged(); return this; @@ -631,6 +679,8 @@ public Builder setResourceGroupIdBytes( private java.lang.Object secretId_ = ""; /** + * + * *
      * The URL the of the proxy setting secret with its version.
      * Secret ids are formatted as
@@ -638,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; @@ -653,6 +703,8 @@ public java.lang.String getSecretId() { } } /** + * + * *
      * The URL the of the proxy setting secret with its version.
      * Secret ids are formatted as
@@ -660,15 +712,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 +727,8 @@ public java.lang.String getSecretId() { } } /** + * + * *
      * The URL the of the proxy setting secret with its version.
      * Secret ids are formatted as
@@ -683,20 +736,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) { + public Builder setSecretId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secretId_ = value; onChanged(); return this; } /** + * + * *
      * The URL the of the proxy setting secret with its version.
      * Secret ids are formatted as
@@ -704,15 +759,18 @@ public Builder setSecretId(
      * 
* * string secret_id = 2; + * * @return This builder for chaining. */ public Builder clearSecretId() { - + secretId_ = getDefaultInstance().getSecretId(); onChanged(); return this; } /** + * + * *
      * The URL the of the proxy setting secret with its version.
      * Secret ids are formatted as
@@ -720,23 +778,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) { + public Builder setSecretIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secretId_ = 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); } @@ -746,12 +804,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(); } @@ -760,16 +818,16 @@ 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 { - return new AzureProxyConfig(input, extensionRegistry); - } - }; + 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 { + return new AzureProxyConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -784,6 +842,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java index 1c6e9c6..1741896 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Resource group ids are formatted as
@@ -15,10 +33,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.
    * Resource group ids are formatted as
@@ -26,12 +47,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.
    * Secret ids are formatted as
@@ -39,10 +62,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.
    * Secret ids are formatted as
@@ -50,8 +76,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java new file mode 100644 index 0000000..542959c --- /dev/null +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java @@ -0,0 +1,573 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_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; + + 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\"\325\n\n\014Azur" + + "eCluster\022\014\n\004name\030\001 \001(\t\022\030\n\013description\030\002 " + + "\001(\tB\003\340A\001\022\031\n\014azure_region\030\003 \001(\tB\003\340A\002\022\036\n\021r" + + "esource_group_id\030\021 \001(\tB\003\340A\002\022\031\n\014azure_cli" + + "ent\030\020 \001(\tB\003\340A\002\022N\n\nnetworking\030\004 \001(\01325.goo" + + "gle.cloud.gkemulticloud.v1.AzureClusterN" + + "etworkingB\003\340A\002\022L\n\rcontrol_plane\030\005 \001(\01320." + + "google.cloud.gkemulticloud.v1.AzureContr" + + "olPlaneB\003\340A\002\022M\n\rauthorization\030\006 \001(\01321.go" + + "ogle.cloud.gkemulticloud.v1.AzureAuthori" + + "zationB\003\340A\002\022E\n\005state\030\007 \001(\01621.google.clou" + + "d.gkemulticloud.v1.AzureCluster.StateB\003\340" + + "A\003\022\025\n\010endpoint\030\010 \001(\tB\003\340A\003\022\020\n\003uid\030\t \001(\tB\003" + + "\340A\003\022\030\n\013reconciling\030\n \001(\010B\003\340A\003\0224\n\013create_" + + "time\030\013 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\0224\n\013update_time\030\014 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022\014\n\004etag\030\r \001(\t\022V\n\013annot" + + "ations\030\016 \003(\0132<.google.cloud.gkemulticlou" + + "d.v1.AzureCluster.AnnotationsEntryB\003\340A\001\022" + + "\\\n\030workload_identity_config\030\022 \001(\01325.goog" + + "le.cloud.gkemulticloud.v1.WorkloadIdenti" + + "tyConfigB\003\340A\003\022#\n\026cluster_ca_certificate\030" + + "\023 \001(\tB\003\340A\003\0228\n\005fleet\030\024 \001(\0132$.google.cloud" + + ".gkemulticloud.v1.FleetB\003\340A\001\022T\n\021managed_" + + "resources\030\025 \001(\01324.google.cloud.gkemultic" + + "loud.v1.AzureClusterResourcesB\003\340A\003\022I\n\016lo" + + "gging_config\030\027 \001(\0132,.google.cloud.gkemul" + + "ticloud.v1.LoggingConfigB\003\340A\001\0322\n\020Annotat" + + "ionsEntry\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\014PRO" + + "VISIONING\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/Azur" + + "eCluster\022Eprojects/{project}/locations/{" + + "location}/azureClusters/{azure_cluster}\"" + + "\267\001\n\026AzureClusterNetworking\022\037\n\022virtual_ne" + + "twork_id\030\001 \001(\tB\003\340A\002\022$\n\027pod_address_cidr_" + + "blocks\030\002 \003(\tB\003\340A\002\022(\n\033service_address_cid" + + "r_blocks\030\003 \003(\tB\003\340A\002\022,\n\037service_load_bala" + + "ncer_subnet_id\030\005 \001(\tB\003\340A\001\"\242\006\n\021AzureContr" + + "olPlane\022\024\n\007version\030\001 \001(\tB\003\340A\002\022\026\n\tsubnet_" + + "id\030\002 \001(\tB\003\340A\001\022\024\n\007vm_size\030\003 \001(\tB\003\340A\001\022F\n\ns" + + "sh_config\030\013 \001(\0132-.google.cloud.gkemultic" + + "loud.v1.AzureSshConfigB\003\340A\002\022J\n\013root_volu" + + "me\030\004 \001(\01320.google.cloud.gkemulticloud.v1" + + ".AzureDiskTemplateB\003\340A\001\022J\n\013main_volume\030\005" + + " \001(\01320.google.cloud.gkemulticloud.v1.Azu" + + "reDiskTemplateB\003\340A\001\022X\n\023database_encrypti" + + "on\030\n \001(\01326.google.cloud.gkemulticloud.v1" + + ".AzureDatabaseEncryptionB\003\340A\001\022J\n\014proxy_c" + + "onfig\030\014 \001(\0132/.google.cloud.gkemulticloud" + + ".v1.AzureProxyConfigB\003\340A\001\022T\n\021config_encr" + + "yption\030\016 \001(\01324.google.cloud.gkemulticlou" + + "d.v1.AzureConfigEncryptionB\003\340A\001\022M\n\004tags\030" + + "\007 \003(\0132:.google.cloud.gkemulticloud.v1.Az" + + "ureControlPlane.TagsEntryB\003\340A\001\022P\n\022replic" + + "a_placements\030\r \003(\0132/.google.cloud.gkemul" + + "ticloud.v1.ReplicaPlacementB\003\340A\001\022\037\n\022endp" + + "oint_subnet_id\030\017 \001(\tB\003\340A\001\032+\n\tTagsEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"P\n\020Replic" + + "aPlacement\022\026\n\tsubnet_id\030\001 \001(\tB\003\340A\002\022$\n\027az" + + "ure_availability_zone\030\002 \001(\tB\003\340A\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\023\n\006key_id\030\003 \001(\tB\003\340A\002\"E\n\025AzureConfi" + + "gEncryption\022\023\n\006key_id\030\002 \001(\tB\003\340A\002\022\027\n\npubl" + + "ic_key\030\003 \001(\tB\003\340A\001\"*\n\021AzureDiskTemplate\022\025" + + "\n\010size_gib\030\001 \001(\005B\003\340A\001\"\265\003\n\013AzureClient\022\014\n" + + "\004name\030\001 \001(\t\022\026\n\ttenant_id\030\002 \001(\tB\003\340A\002\022\033\n\016a" + + "pplication_id\030\003 \001(\tB\003\340A\002\022U\n\013annotations\030" + + "\010 \003(\0132;.google.cloud.gkemulticloud.v1.Az" + + "ureClient.AnnotationsEntryB\003\340A\001\022\034\n\017pem_c" + + "ertificate\030\007 \001(\tB\003\340A\003\022\020\n\003uid\030\005 \001(\tB\003\340A\003\022" + + "4\n\013create_time\030\006 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\0322\n\020AnnotationsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:r\352Ao\n(gkemulti" + + "cloud.googleapis.com/AzureClient\022Cprojec" + + "ts/{project}/locations/{location}/azureC" + + "lients/{azure_client}\"_\n\022AzureAuthorizat" + + "ion\022I\n\013admin_users\030\001 \003(\0132/.google.cloud." + + "gkemulticloud.v1.AzureClusterUserB\003\340A\002\")" + + "\n\020AzureClusterUser\022\025\n\010username\030\001 \001(\tB\003\340A" + + "\002\"\352\007\n\rAzureNodePool\022\014\n\004name\030\001 \001(\t\022\024\n\007ver" + + "sion\030\002 \001(\tB\003\340A\002\022C\n\006config\030\026 \001(\0132..google" + + ".cloud.gkemulticloud.v1.AzureNodeConfigB" + + "\003\340A\002\022\026\n\tsubnet_id\030\003 \001(\tB\003\340A\002\022Q\n\013autoscal" + + "ing\030\004 \001(\01327.google.cloud.gkemulticloud.v" + + "1.AzureNodePoolAutoscalingB\003\340A\002\022F\n\005state" + + "\030\006 \001(\01622.google.cloud.gkemulticloud.v1.A" + + "zureNodePool.StateB\003\340A\003\022\020\n\003uid\030\010 \001(\tB\003\340A" + + "\003\022\030\n\013reconciling\030\t \001(\010B\003\340A\003\0224\n\013create_ti" + + "me\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\0224\n\013update_time\030\013 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\014\n\004etag\030\014 \001(\t\022W\n\013annotat" + + "ions\030\r \003(\0132=.google.cloud.gkemulticloud." + + "v1.AzureNodePool.AnnotationsEntryB\003\340A\001\022R" + + "\n\023max_pods_constraint\030\025 \001(\01320.google.clo" + + "ud.gkemulticloud.v1.MaxPodsConstraintB\003\340" + + "A\002\022$\n\027azure_availability_zone\030\027 \001(\tB\003\340A\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:\230\001\352A\224\001\n*gkemulticloud.google" + + "apis.com/AzureNodePool\022fprojects/{projec" + + "t}/locations/{location}/azureClusters/{a" + + "zure_cluster}/azureNodePools/{azure_node" + + "_pool}\"\257\005\n\017AzureNodeConfig\022\024\n\007vm_size\030\001 " + + "\001(\tB\003\340A\001\022J\n\013root_volume\030\002 \001(\01320.google.c" + + "loud.gkemulticloud.v1.AzureDiskTemplateB" + + "\003\340A\001\022K\n\004tags\030\003 \003(\01328.google.cloud.gkemul" + + "ticloud.v1.AzureNodeConfig.TagsEntryB\003\340A" + + "\001\022\027\n\nimage_type\030\010 \001(\tB\003\340A\001\022F\n\nssh_config" + + "\030\007 \001(\0132-.google.cloud.gkemulticloud.v1.A" + + "zureSshConfigB\003\340A\002\022J\n\014proxy_config\030\t \001(\013" + + "2/.google.cloud.gkemulticloud.v1.AzurePr" + + "oxyConfigB\003\340A\001\022T\n\021config_encryption\030\014 \001(" + + "\01324.google.cloud.gkemulticloud.v1.AzureC" + + "onfigEncryptionB\003\340A\001\022=\n\006taints\030\n \003(\0132(.g" + + "oogle.cloud.gkemulticloud.v1.NodeTaintB\003" + + "\340A\001\022O\n\006labels\030\013 \003(\0132:.google.cloud.gkemu" + + "lticloud.v1.AzureNodeConfig.LabelsEntryB" + + "\003\340A\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\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\"T\n\030AzureNodePoolAutosca" + + "ling\022\033\n\016min_node_count\030\001 \001(\005B\003\340A\002\022\033\n\016max" + + "_node_count\030\002 \001(\005B\003\340A\002\"\376\001\n\021AzureServerCo" + + "nfig\022\014\n\004name\030\001 \001(\t\022J\n\016valid_versions\030\002 \003" + + "(\01322.google.cloud.gkemulticloud.v1.Azure" + + "K8sVersionInfo\022\037\n\027supported_azure_region" + + "s\030\003 \003(\t:n\352Ak\n.gkemulticloud.googleapis.c" + + "om/AzureServerConfig\0229projects/{project}" + + "/locations/{location}/azureServerConfig\"" + + "&\n\023AzureK8sVersionInfo\022\017\n\007version\030\001 \001(\t\"" + + "-\n\016AzureSshConfig\022\033\n\016authorized_key\030\001 \001(" + + "\tB\003\340A\002\"y\n\025AzureClusterResources\022&\n\031netwo" + + "rk_security_group_id\030\001 \001(\tB\003\340A\003\0228\n+contr" + + "ol_plane_application_security_group_id\030\002" + + " \001(\tB\003\340A\003B\351\001\n!com.google.cloud.gkemultic" + + "loud.v1B\023AzureResourcesProtoP\001ZJgoogle.g" + + "olang.org/genproto/googleapis/cloud/gkem" + + "ulticloud/v1;gkemulticloud\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.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", + "State", + "Endpoint", + "Uid", + "Reconciling", + "CreateTime", + "UpdateTime", + "Etag", + "Annotations", + "WorkloadIdentityConfig", + "ClusterCaCertificate", + "Fleet", + "ManagedResources", + "LoggingConfig", + }); + 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", + "Annotations", + "PemCertificate", + "Uid", + "CreateTime", + }); + 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_AzureClusterUser_descriptor = + getDescriptor().getMessageTypes().get(10); + 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(11); + 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", + }); + 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(12); + 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(13); + 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(14); + 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(15); + 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(16); + 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(17); + 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", + }); + 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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java index 325177d..2de30bc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,15 +28,16 @@
  *
  * 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();
@@ -28,16 +46,15 @@ private AzureServerConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureServerConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AzureServerConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,37 +74,44 @@ private AzureServerConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              validVersions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              name_ = s;
+              break;
             }
-            validVersions_.add(
-                input.readMessage(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.parser(), extensionRegistry));
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              supportedAzureRegions_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                validVersions_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              validVersions_.add(
+                  input.readMessage(
+                      com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.parser(),
+                      extensionRegistry));
+              break;
             }
-            supportedAzureRegions_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                supportedAzureRegions_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              supportedAzureRegions_.add(s);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -95,8 +119,7 @@ private AzureServerConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         validVersions_ = java.util.Collections.unmodifiableList(validVersions_);
@@ -108,22 +131,27 @@ private AzureServerConfig(
       makeExtensionsImmutable();
     }
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The `AzureServerConfig` resource name.
    * `AzureServerConfig` names are formatted as
@@ -133,6 +161,7 @@ private AzureServerConfig(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -141,14 +170,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.
    * `AzureServerConfig` names are formatted as
@@ -158,16 +188,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 { @@ -178,6 +207,8 @@ public java.lang.String getName() { public static final int VALID_VERSIONS_FIELD_NUMBER = 2; private java.util.List validVersions_; /** + * + * *
    * List of valid Kubernetes versions.
    * 
@@ -185,10 +216,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 valid Kubernetes versions.
    * 
@@ -196,11 +230,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 valid Kubernetes versions.
    * 
@@ -212,6 +248,8 @@ public int getValidVersionsCount() { return validVersions_.size(); } /** + * + * *
    * List of valid Kubernetes versions.
    * 
@@ -223,6 +261,8 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(in return validVersions_.get(index); } /** + * + * *
    * List of valid Kubernetes versions.
    * 
@@ -238,34 +278,42 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVe public static final int SUPPORTED_AZURE_REGIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList supportedAzureRegions_; /** + * + * *
    * 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. */ @@ -273,20 +321,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; @@ -298,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -307,7 +357,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)); } unknownFields.writeTo(output); } @@ -322,8 +373,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; @@ -341,19 +391,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -381,96 +429,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.
@@ -478,21 +533,23 @@ 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()
@@ -500,17 +557,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getValidVersionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -528,9 +585,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_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
@@ -549,7 +606,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (validVersionsBuilder_ == null) {
@@ -574,38 +632,39 @@ public com.google.cloud.gkemulticloud.v1.AzureServerConfig buildPartial() {
     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;
@@ -613,7 +672,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_;
         onChanged();
@@ -636,9 +696,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureServerConfig oth
             validVersionsBuilder_ = null;
             validVersions_ = other.validVersions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            validVersionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getValidVersionsFieldBuilder() : null;
+            validVersionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getValidVersionsFieldBuilder()
+                    : null;
           } else {
             validVersionsBuilder_.addAllMessages(other.validVersions_);
           }
@@ -673,7 +734,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.gkemulticloud.v1.AzureServerConfig) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.gkemulticloud.v1.AzureServerConfig) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -682,10 +744,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The `AzureServerConfig` resource name.
      * `AzureServerConfig` names are formatted as
@@ -695,13 +760,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; @@ -710,6 +775,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The `AzureServerConfig` resource name.
      * `AzureServerConfig` names are formatted as
@@ -719,15 +786,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 { @@ -735,6 +801,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The `AzureServerConfig` resource name.
      * `AzureServerConfig` names are formatted as
@@ -744,20 +812,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The `AzureServerConfig` resource name.
      * `AzureServerConfig` names are formatted as
@@ -767,15 +837,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The `AzureServerConfig` resource name.
      * `AzureServerConfig` names are formatted as
@@ -785,41 +858,50 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private java.util.List validVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - validVersions_ = new java.util.ArrayList(validVersions_); + validVersions_ = + new java.util.ArrayList( + validVersions_); bitField0_ |= 0x00000001; - } + } } 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.
      * 
* * 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 { @@ -827,6 +909,8 @@ public java.util.List get } } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -841,6 +925,8 @@ public int getValidVersionsCount() { } } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -855,6 +941,8 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(in } } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -876,6 +964,8 @@ public Builder setValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -894,6 +984,8 @@ public Builder setValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -914,6 +1006,8 @@ public Builder addValidVersions(com.google.cloud.gkemulticloud.v1.AzureK8sVersio return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -935,6 +1029,8 @@ public Builder addValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -953,6 +1049,8 @@ public Builder addValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -971,6 +1069,8 @@ public Builder addValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -978,11 +1078,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); @@ -990,6 +1090,8 @@ public Builder addAllValidVersions( return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -1007,6 +1109,8 @@ public Builder clearValidVersions() { return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -1024,6 +1128,8 @@ public Builder removeValidVersions(int index) { return this; } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -1035,6 +1141,8 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder getValidVer return getValidVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -1044,19 +1152,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.
      * 
* * 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 { @@ -1064,6 +1175,8 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVe } } /** + * + * *
      * List of valid Kubernetes versions.
      * 
@@ -1071,10 +1184,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 valid Kubernetes versions.
      * 
@@ -1083,26 +1198,35 @@ 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 valid Kubernetes versions.
      * 
* * 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_ & 0x00000001) != 0), getParentForChildren(), @@ -1112,42 +1236,53 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder addValidVer return validVersionsBuilder_; } - private com.google.protobuf.LazyStringList supportedAzureRegions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList supportedAzureRegions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSupportedAzureRegionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - supportedAzureRegions_ = new com.google.protobuf.LazyStringArrayList(supportedAzureRegions_); + supportedAzureRegions_ = + new com.google.protobuf.LazyStringArrayList(supportedAzureRegions_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * 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_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -1155,80 +1290,90 @@ 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) { + public Builder setSupportedAzureRegions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedAzureRegionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.set(index, value); onChanged(); 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) { + public Builder addSupportedAzureRegions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSupportedAzureRegionsIsMutable(); + throw new NullPointerException(); + } + ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.add(value); onChanged(); 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_); onChanged(); return this; } /** + * + * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; + * * @return This builder for chaining. */ public Builder clearSupportedAzureRegions() { @@ -1238,28 +1383,30 @@ public Builder clearSupportedAzureRegions() { 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) { + public Builder addSupportedAzureRegionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.add(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); } @@ -1269,12 +1416,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(); } @@ -1283,16 +1430,16 @@ 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 { - return new AzureServerConfig(input, extensionRegistry); - } - }; + 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 { + return new AzureServerConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1307,6 +1454,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java index 5d403d6..23ee941 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * `AzureServerConfig` names are formatted as
@@ -17,10 +35,13 @@ public interface AzureServerConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The `AzureServerConfig` resource name.
    * `AzureServerConfig` names are formatted as
@@ -30,21 +51,24 @@ public interface AzureServerConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * List of valid Kubernetes versions.
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ - java.util.List - getValidVersionsList(); + java.util.List getValidVersionsList(); /** + * + * *
    * List of valid Kubernetes versions.
    * 
@@ -53,6 +77,8 @@ public interface AzureServerConfigOrBuilder extends */ com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(int index); /** + * + * *
    * List of valid Kubernetes versions.
    * 
@@ -61,15 +87,19 @@ public interface AzureServerConfigOrBuilder extends */ int getValidVersionsCount(); /** + * + * *
    * List of valid Kubernetes versions.
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ - java.util.List + java.util.List getValidVersionsOrBuilderList(); /** + * + * *
    * List of valid Kubernetes versions.
    * 
@@ -80,43 +110,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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java new file mode 100644 index 0000000..93b6745 --- /dev/null +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java @@ -0,0 +1,497 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\335\001\n\031C" + + "reateAzureClusterRequest\022A\n\006parent\030\001 \001(\t" + + "B1\340A\002\372A+\022)gkemulticloud.googleapis.com/A" + + "zureCluster\022G\n\razure_cluster\030\002 \001(\0132+.goo" + + "gle.cloud.gkemulticloud.v1.AzureClusterB" + + "\003\340A\002\022\035\n\020azure_cluster_id\030\003 \001(\tB\003\340A\002\022\025\n\rv" + + "alidate_only\030\004 \001(\010\"\261\001\n\031UpdateAzureCluste" + + "rRequest\022G\n\razure_cluster\030\001 \001(\0132+.google" + + ".cloud.gkemulticloud.v1.AzureClusterB\003\340A" + + "\002\022\025\n\rvalidate_only\030\002 \001(\010\0224\n\013update_mask\030" + + "\004 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"Y" + + "\n\026GetAzureClusterRequest\022?\n\004name\030\001 \001(\tB1" + + "\340A\002\372A+\n)gkemulticloud.googleapis.com/Azu" + + "reCluster\"\204\001\n\030ListAzureClustersRequest\022A" + + "\n\006parent\030\001 \001(\tB1\340A\002\372A+\022)gkemulticloud.go" + + "ogleapis.com/AzureCluster\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"y\n\031ListAzureClu" + + "stersResponse\022C\n\016azure_clusters\030\001 \003(\0132+." + + "google.cloud.gkemulticloud.v1.AzureClust" + + "er\022\027\n\017next_page_token\030\002 \001(\t\"\230\001\n\031DeleteAz" + + "ureClusterRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" + + ")gkemulticloud.googleapis.com/AzureClust" + + "er\022\025\n\rallow_missing\030\002 \001(\010\022\025\n\rvalidate_on" + + "ly\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\344\001\n\032CreateAzureNo" + + "dePoolRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*g" + + "kemulticloud.googleapis.com/AzureNodePoo" + + "l\022J\n\017azure_node_pool\030\002 \001(\0132,.google.clou" + + "d.gkemulticloud.v1.AzureNodePoolB\003\340A\002\022\037\n" + + "\022azure_node_pool_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalida" + + "te_only\030\004 \001(\010\"\265\001\n\032UpdateAzureNodePoolReq" + + "uest\022J\n\017azure_node_pool\030\001 \001(\0132,.google.c" + + "loud.gkemulticloud.v1.AzureNodePoolB\003\340A\002" + + "\022\025\n\rvalidate_only\030\002 \001(\010\0224\n\013update_mask\030\003" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"[\n" + + "\027GetAzureNodePoolRequest\022@\n\004name\030\001 \001(\tB2" + + "\340A\002\372A,\n*gkemulticloud.googleapis.com/Azu" + + "reNodePool\"\206\001\n\031ListAzureNodePoolsRequest" + + "\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*gkemulticloud." + + "googleapis.com/AzureNodePool\022\021\n\tpage_siz" + + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"}\n\032ListAzure" + + "NodePoolsResponse\022F\n\020azure_node_pools\030\001 " + + "\003(\0132,.google.cloud.gkemulticloud.v1.Azur" + + "eNodePool\022\027\n\017next_page_token\030\002 \001(\t\"\232\001\n\032D" + + "eleteAzureNodePoolRequest\022@\n\004name\030\001 \001(\tB" + + "2\340A\002\372A,\n*gkemulticloud.googleapis.com/Az" + + "ureNodePool\022\025\n\rvalidate_only\030\002 \001(\010\022\025\n\ral" + + "low_missing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"c\n\033GetAz" + + "ureServerConfigRequest\022D\n\004name\030\001 \001(\tB6\340A" + + "\002\372A0\n.gkemulticloud.googleapis.com/Azure" + + "ServerConfig\"\330\001\n\030CreateAzureClientReques" + + "t\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(gkemulticloud" + + ".googleapis.com/AzureClient\022E\n\014azure_cli" + + "ent\030\002 \001(\0132*.google.cloud.gkemulticloud.v" + + "1.AzureClientB\003\340A\002\022\034\n\017azure_client_id\030\004 " + + "\001(\tB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(\010\"W\n\025GetAz" + + "ureClientRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(" + + "gkemulticloud.googleapis.com/AzureClient" + + "\"\202\001\n\027ListAzureClientsRequest\022@\n\006parent\030\001" + + " \001(\tB0\340A\002\372A*\022(gkemulticloud.googleapis.c" + + "om/AzureClient\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + + "e_token\030\003 \001(\t\"v\n\030ListAzureClientsRespons" + + "e\022A\n\razure_clients\030\001 \003(\0132*.google.cloud." + + "gkemulticloud.v1.AzureClient\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"\210\001\n\030DeleteAzureClientReque" + + "st\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(gkemulticloud." + + "googleapis.com/AzureClient\022\025\n\rallow_miss" + + "ing\030\002 \001(\010\022\025\n\rvalidate_only\030\003 \001(\010\"k\n\037Gene" + + "rateAzureAccessTokenRequest\022H\n\razure_clu" + + "ster\030\001 \001(\tB1\340A\002\372A+\n)gkemulticloud.google" + + "apis.com/AzureCluster\"w\n GenerateAzureAc" + + "cessTokenResponse\022\031\n\014access_token\030\001 \001(\tB" + + "\003\340A\003\0228\n\017expiration_time\030\002 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\0032\335\035\n\rAzureClusters" + + "\022\375\001\n\021CreateAzureClient\0227.google.cloud.gk" + + "emulticloud.v1.CreateAzureClientRequest\032" + + "\035.google.longrunning.Operation\"\217\001\202\323\344\223\002@\"" + + "0/v1/{parent=projects/*/locations/*}/azu" + + "reClients:\014azure_client\332A#parent,azure_c" + + "lient,azure_client_id\312A \n\013AzureClient\022\021O" + + "perationMetadata\022\263\001\n\016GetAzureClient\0224.go" + + "ogle.cloud.gkemulticloud.v1.GetAzureClie" + + "ntRequest\032*.google.cloud.gkemulticloud.v" + + "1.AzureClient\"?\202\323\344\223\0022\0220/v1/{name=project" + + "s/*/locations/*/azureClients/*}\332A\004name\022\306" + + "\001\n\020ListAzureClients\0226.google.cloud.gkemu" + + "lticloud.v1.ListAzureClientsRequest\0327.go" + + "ogle.cloud.gkemulticloud.v1.ListAzureCli" + + "entsResponse\"A\202\323\344\223\0022\0220/v1/{parent=projec" + + "ts/*/locations/*}/azureClients\332A\006parent\022" + + "\331\001\n\021DeleteAzureClient\0227.google.cloud.gke" + + "multicloud.v1.DeleteAzureClientRequest\032\035" + + ".google.longrunning.Operation\"l\202\323\344\223\0022*0/" + + "v1/{name=projects/*/locations/*/azureCli" + + "ents/*}\332A\004name\312A*\n\025google.protobuf.Empty" + + "\022\021OperationMetadata\022\204\002\n\022CreateAzureClust" + + "er\0228.google.cloud.gkemulticloud.v1.Creat" + + "eAzureClusterRequest\032\035.google.longrunnin" + + "g.Operation\"\224\001\202\323\344\223\002B\"1/v1/{parent=projec" + + "ts/*/locations/*}/azureClusters:\razure_c" + + "luster\332A%parent,azure_cluster,azure_clus" + + "ter_id\312A!\n\014AzureCluster\022\021OperationMetada" + + "ta\022\206\002\n\022UpdateAzureCluster\0228.google.cloud" + + ".gkemulticloud.v1.UpdateAzureClusterRequ" + + "est\032\035.google.longrunning.Operation\"\226\001\202\323\344" + + "\223\002P2?/v1/{azure_cluster.name=projects/*/" + + "locations/*/azureClusters/*}:\razure_clus" + + "ter\332A\031azure_cluster,update_mask\312A!\n\014Azur" + + "eCluster\022\021OperationMetadata\022\267\001\n\017GetAzure" + + "Cluster\0225.google.cloud.gkemulticloud.v1." + + "GetAzureClusterRequest\032+.google.cloud.gk" + + "emulticloud.v1.AzureCluster\"@\202\323\344\223\0023\0221/v1" + + "/{name=projects/*/locations/*/azureClust" + + "ers/*}\332A\004name\022\312\001\n\021ListAzureClusters\0227.go" + + "ogle.cloud.gkemulticloud.v1.ListAzureClu" + + "stersRequest\0328.google.cloud.gkemulticlou" + + "d.v1.ListAzureClustersResponse\"B\202\323\344\223\0023\0221" + + "/v1/{parent=projects/*/locations/*}/azur" + + "eClusters\332A\006parent\022\334\001\n\022DeleteAzureCluste" + + "r\0228.google.cloud.gkemulticloud.v1.Delete" + + "AzureClusterRequest\032\035.google.longrunning" + + ".Operation\"m\202\323\344\223\0023*1/v1/{name=projects/*" + + "/locations/*/azureClusters/*}\332A\004name\312A*\n" + + "\025google.protobuf.Empty\022\021OperationMetadat" + + "a\022\370\001\n\030GenerateAzureAccessToken\022>.google." + + "cloud.gkemulticloud.v1.GenerateAzureAcce" + + "ssTokenRequest\032?.google.cloud.gkemulticl" + + "oud.v1.GenerateAzureAccessTokenResponse\"" + + "[\202\323\344\223\002U\022S/v1/{azure_cluster=projects/*/l" + + "ocations/*/azureClusters/*}:generateAzur" + + "eAccessToken\022\236\002\n\023CreateAzureNodePool\0229.g" + + "oogle.cloud.gkemulticloud.v1.CreateAzure" + + "NodePoolRequest\032\035.google.longrunning.Ope" + + "ration\"\254\001\202\323\344\223\002U\"B/v1/{parent=projects/*/" + + "locations/*/azureClusters/*}/azureNodePo" + + "ols:\017azure_node_pool\332A)parent,azure_node" + + "_pool,azure_node_pool_id\312A\"\n\rAzureNodePo" + + "ol\022\021OperationMetadata\022\240\002\n\023UpdateAzureNod" + + "ePool\0229.google.cloud.gkemulticloud.v1.Up" + + "dateAzureNodePoolRequest\032\035.google.longru" + + "nning.Operation\"\256\001\202\323\344\223\002e2R/v1/{azure_nod" + + "e_pool.name=projects/*/locations/*/azure" + + "Clusters/*/azureNodePools/*}:\017azure_node" + + "_pool\332A\033azure_node_pool,update_mask\312A\"\n\r" + + "AzureNodePool\022\021OperationMetadata\022\313\001\n\020Get" + + "AzureNodePool\0226.google.cloud.gkemulticlo" + + "ud.v1.GetAzureNodePoolRequest\032,.google.c" + + "loud.gkemulticloud.v1.AzureNodePool\"Q\202\323\344" + + "\223\002D\022B/v1/{name=projects/*/locations/*/az" + + "ureClusters/*/azureNodePools/*}\332A\004name\022\336" + + "\001\n\022ListAzureNodePools\0228.google.cloud.gke" + + "multicloud.v1.ListAzureNodePoolsRequest\032" + + "9.google.cloud.gkemulticloud.v1.ListAzur" + + "eNodePoolsResponse\"S\202\323\344\223\002D\022B/v1/{parent=" + + "projects/*/locations/*/azureClusters/*}/" + + "azureNodePools\332A\006parent\022\357\001\n\023DeleteAzureN" + + "odePool\0229.google.cloud.gkemulticloud.v1." + + "DeleteAzureNodePoolRequest\032\035.google.long" + + "running.Operation\"~\202\323\344\223\002D*B/v1/{name=pro" + + "jects/*/locations/*/azureClusters/*/azur" + + "eNodePools/*}\332A\004name\312A*\n\025google.protobuf" + + ".Empty\022\021OperationMetadata\022\310\001\n\024GetAzureSe" + + "rverConfig\022:.google.cloud.gkemulticloud." + + "v1.GetAzureServerConfigRequest\0320.google." + + "cloud.gkemulticloud.v1.AzureServerConfig" + + "\"B\202\323\344\223\0025\0223/v1/{name=projects/*/locations" + + "/*/azureServerConfig}\332A\004name\032P\312A\034gkemult" + + "icloud.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformB\347\001\n!com.g" + + "oogle.cloud.gkemulticloud.v1B\021AzureServi" + + "ceProtoP\001ZJgoogle.golang.org/genproto/go" + + "ogleapis/cloud/gkemulticloud/v1;gkemulti" + + "cloud\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.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/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java index 84313f5..8da3164 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AzureSshConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private AzureSshConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - authorizedKey_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + authorizedKey_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private AzureSshConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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) manual
@@ -103,6 +125,7 @@ private AzureSshConfig(
    * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The authorizedKey. */ @java.lang.Override @@ -111,14 +134,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) manual
@@ -126,16 +150,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 { @@ -144,6 +167,7 @@ public java.lang.String getAuthorizedKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +179,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_); } @@ -180,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -207,118 +230,127 @@ 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() @@ -326,16 +358,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +376,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 @@ -366,7 +397,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); + com.google.cloud.gkemulticloud.v1.AzureSshConfig result = + new com.google.cloud.gkemulticloud.v1.AzureSshConfig(this); result.authorizedKey_ = authorizedKey_; onBuilt(); return result; @@ -376,38 +408,39 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfig buildPartial() { 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; @@ -415,7 +448,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_; onChanged(); @@ -451,6 +485,8 @@ public Builder mergeFrom( 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) manual
@@ -458,13 +494,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; @@ -473,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) manual
@@ -480,15 +518,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 { @@ -496,6 +533,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) manual
@@ -503,20 +542,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) { + public Builder setAuthorizedKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authorizedKey_ = value; 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) manual
@@ -524,15 +565,18 @@ public Builder setAuthorizedKey(
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAuthorizedKey() { - + authorizedKey_ = getDefaultInstance().getAuthorizedKey(); 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) manual
@@ -540,23 +584,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) { + public Builder setAuthorizedKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authorizedKey_ = 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); } @@ -566,12 +610,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(); } @@ -580,16 +624,16 @@ 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 { - return new AzureSshConfig(input, extensionRegistry); - } - }; + 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 { + return new AzureSshConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureSshConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java index 67a72c8..4948caf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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) manual
@@ -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) manual
@@ -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/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java new file mode 100644 index 0000000..872a1d8 --- /dev/null +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java @@ -0,0 +1,174 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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; + + 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\"3\n\021MaxPodsConstraint\022\036\n\021max_pods" + + "_per_node\030\001 \001(\003B\003\340A\002\"\310\001\n\021OperationMetada" + + "ta\0224\n\013create_time\030\001 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 " + + "\001(\tB\003\340A\003\022\032\n\rstatus_detail\030\004 \001(\tB\003\340A\003\022\031\n\014" + + "error_detail\030\005 \001(\tB\003\340A\003\"\322\001\n\tNodeTaint\022\020\n" + + "\003key\030\001 \001(\tB\003\340A\002\022\022\n\005value\030\002 \001(\tB\003\340A\002\022D\n\006e" + + "ffect\030\003 \001(\0162/.google.cloud.gkemulticloud" + + ".v1.NodeTaint.EffectB\003\340A\002\"Y\n\006Effect\022\026\n\022E" + + "FFECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022" + + "PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECUTE\020\003\"6\n\005" + + "Fleet\022\024\n\007project\030\001 \001(\tB\003\340A\002\022\027\n\nmembershi" + + "p\030\002 \001(\tB\003\340A\003\"`\n\rLoggingConfig\022O\n\020compone" + + "nt_config\030\001 \001(\01325.google.cloud.gkemultic" + + "loud.v1.LoggingComponentConfig\"\302\001\n\026Loggi" + + "ngComponentConfig\022Z\n\021enable_components\030\001" + + " \003(\0162?.google.cloud.gkemulticloud.v1.Log" + + "gingComponentConfig.Component\"L\n\tCompone" + + "nt\022\031\n\025COMPONENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_" + + "COMPONENTS\020\001\022\r\n\tWORKLOADS\020\002B\352\001\n!com.goog" + + "le.cloud.gkemulticloud.v1B\024CommonResourc" + + "esProtoP\001ZJgoogle.golang.org/genproto/go" + + "ogleapis/cloud/gkemulticloud/v1;gkemulti" + + "cloud\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.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", + }); + 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", + }); + 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java index 264d6fe..4feb40a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private CreateAwsClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAwsClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateAwsClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,43 +71,48 @@ private CreateAwsClusterRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder subBuilder = null; - if (awsCluster_ != null) { - subBuilder = awsCluster_.toBuilder(); - } - awsCluster_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(awsCluster_); - awsCluster_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder subBuilder = null; + if (awsCluster_ != null) { + subBuilder = awsCluster_.toBuilder(); + } + awsCluster_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(awsCluster_); + awsCluster_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - awsClusterId_ = s; - break; - } - case 32: { + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + awsClusterId_ = s; + break; + } + case 32: + { + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,29 +120,33 @@ private CreateAwsClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
    * will be created.
@@ -129,7 +155,10 @@ private CreateAwsClusterRequest(
    * 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 @@ -138,14 +167,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 created.
@@ -154,17 +184,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 { @@ -175,11 +206,16 @@ 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 @@ -187,23 +223,34 @@ 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() { @@ -213,6 +260,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuil public static final int AWS_CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object awsClusterId_; /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the parent
    * resource.
@@ -223,6 +272,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 @@ -231,14 +281,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.
@@ -249,16 +300,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 { @@ -269,11 +319,14 @@ public java.lang.String getAwsClusterId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -282,6 +335,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,8 +347,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,15 +373,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -338,24 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -376,125 +424,134 @@ 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) + unknownFields.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() @@ -502,16 +559,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -531,9 +587,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 @@ -552,7 +608,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); + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest result = + new com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest(this); result.parent_ = parent_; if (awsClusterBuilder_ == null) { result.awsCluster_ = awsCluster_; @@ -569,38 +626,39 @@ public com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest buildPartial() 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; @@ -608,7 +666,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_; onChanged(); @@ -642,7 +701,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -654,6 +714,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
      * will be created.
@@ -662,14 +724,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; @@ -678,6 +742,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
      * will be created.
@@ -686,16 +752,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 { @@ -703,6 +770,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
      * will be created.
@@ -711,21 +780,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
      * will be created.
@@ -734,16 +807,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource
      * will be created.
@@ -752,17 +830,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -770,39 +850,58 @@ 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 awsClusterBuilder_ != null || 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. */ 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,11 +917,15 @@ 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) { @@ -836,17 +939,23 @@ 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 (awsCluster_ != null) { awsCluster_ = - com.google.cloud.gkemulticloud.v1.AwsCluster.newBuilder(awsCluster_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsCluster.newBuilder(awsCluster_) + .mergeFrom(value) + .buildPartial(); } else { awsCluster_ = value; } @@ -858,11 +967,15 @@ 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() { if (awsClusterBuilder_ == null) { @@ -876,48 +989,64 @@ 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() { - + onChanged(); 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_; @@ -925,6 +1054,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.
@@ -935,13 +1066,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; @@ -950,6 +1081,8 @@ public java.lang.String getAwsClusterId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -960,15 +1093,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 { @@ -976,6 +1108,8 @@ public java.lang.String getAwsClusterId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -986,20 +1120,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) { + public Builder setAwsClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + awsClusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1010,15 +1146,18 @@ public Builder setAwsClusterId(
      * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAwsClusterId() { - + awsClusterId_ = getDefaultInstance().getAwsClusterId(); onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1029,28 +1168,31 @@ 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) { + public Builder setAwsClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + awsClusterId_ = value; onChanged(); 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 @@ -1058,37 +1200,43 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1098,12 +1246,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(); } @@ -1112,16 +1260,16 @@ 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 { - return new CreateAwsClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAwsClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,6 +1284,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java index 5f2d5e7..5f11304 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 created.
@@ -16,11 +34,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 created.
@@ -29,40 +52,58 @@ 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.
@@ -73,10 +114,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.
@@ -87,17 +131,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java index 124eaa4..8ff86aa 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private CreateAwsNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAwsNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateAwsNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,43 +71,48 @@ private CreateAwsNodePoolRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder subBuilder = null; - if (awsNodePool_ != null) { - subBuilder = awsNodePool_.toBuilder(); - } - awsNodePool_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(awsNodePool_); - awsNodePool_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder subBuilder = null; + if (awsNodePool_ != null) { + subBuilder = awsNodePool_.toBuilder(); + } + awsNodePool_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(awsNodePool_); + awsNodePool_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - awsNodePoolId_ = s; - break; - } - case 32: { + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + awsNodePoolId_ = s; + break; + } + case 32: + { + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,29 +120,33 @@ private CreateAwsNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
    * `AwsCluster` names are formatted as
@@ -129,7 +155,10 @@ private CreateAwsNodePoolRequest(
    * 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 @@ -138,14 +167,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.
    * `AwsCluster` names are formatted as
@@ -154,17 +184,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 { @@ -175,11 +206,16 @@ 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 @@ -187,23 +223,34 @@ 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() { @@ -213,6 +260,8 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBu public static final int AWS_NODE_POOL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object awsNodePoolId_; /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the parent
    * resource.
@@ -223,6 +272,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 @@ -231,14 +281,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.
@@ -249,16 +300,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 { @@ -269,12 +319,15 @@ public java.lang.String getAwsNodePoolId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -283,6 +336,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,8 +348,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_); } @@ -321,15 +374,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -339,24 +390,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -377,125 +425,134 @@ 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) + unknownFields.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() @@ -503,16 +560,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +588,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 @@ -553,7 +609,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); + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest(this); result.parent_ = parent_; if (awsNodePoolBuilder_ == null) { result.awsNodePool_ = awsNodePool_; @@ -570,38 +627,39 @@ public com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest buildPartial() 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; @@ -609,7 +667,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_; onChanged(); @@ -643,7 +702,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -655,6 +715,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
      * `AwsCluster` names are formatted as
@@ -663,14 +725,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; @@ -679,6 +743,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
      * `AwsCluster` names are formatted as
@@ -687,16 +753,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 { @@ -704,6 +771,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
      * `AwsCluster` names are formatted as
@@ -712,21 +781,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
      * `AwsCluster` names are formatted as
@@ -735,16 +808,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
      * `AwsCluster` names are formatted as
@@ -753,17 +831,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -771,39 +851,58 @@ 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 awsNodePoolBuilder_ != null || 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. */ 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,11 +918,15 @@ 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) { @@ -837,17 +940,23 @@ 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 (awsNodePool_ != null) { awsNodePool_ = - com.google.cloud.gkemulticloud.v1.AwsNodePool.newBuilder(awsNodePool_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsNodePool.newBuilder(awsNodePool_) + .mergeFrom(value) + .buildPartial(); } else { awsNodePool_ = value; } @@ -859,11 +968,15 @@ 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() { if (awsNodePoolBuilder_ == null) { @@ -877,48 +990,64 @@ 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() { - + onChanged(); 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_; @@ -926,6 +1055,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.
@@ -936,13 +1067,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; @@ -951,6 +1082,8 @@ public java.lang.String getAwsNodePoolId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -961,15 +1094,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 { @@ -977,6 +1109,8 @@ public java.lang.String getAwsNodePoolId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -987,20 +1121,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) { + public Builder setAwsNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + awsNodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1011,15 +1147,18 @@ public Builder setAwsNodePoolId(
      * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAwsNodePoolId() { - + awsNodePoolId_ = getDefaultInstance().getAwsNodePoolId(); onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1030,29 +1169,32 @@ 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) { + public Builder setAwsNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + awsNodePoolId_ = value; onChanged(); 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 @@ -1060,39 +1202,45 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1102,12 +1250,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(); } @@ -1116,16 +1264,16 @@ 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 { - return new CreateAwsNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAwsNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1140,6 +1288,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java index 5428209..228adf1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * `AwsCluster` names are formatted as
@@ -16,11 +34,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.
    * `AwsCluster` names are formatted as
@@ -29,40 +52,58 @@ 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.
@@ -73,10 +114,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.
@@ -87,18 +131,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java index 9d87ee0..f245e74 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private CreateAzureClientRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAzureClientRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateAzureClientRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,43 +71,48 @@ private CreateAzureClientRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.gkemulticloud.v1.AzureClient.Builder subBuilder = null; - if (azureClient_ != null) { - subBuilder = azureClient_.toBuilder(); - } - azureClient_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureClient.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(azureClient_); - azureClient_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.gkemulticloud.v1.AzureClient.Builder subBuilder = null; + if (azureClient_ != null) { + subBuilder = azureClient_.toBuilder(); + } + azureClient_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClient.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(azureClient_); + azureClient_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - - validateOnly_ = input.readBool(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 24: + { + validateOnly_ = input.readBool(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - azureClientId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + azureClientId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,29 +120,33 @@ private CreateAzureClientRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
    * will be created.
@@ -129,7 +155,10 @@ private CreateAzureClientRequest(
    * 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 @@ -138,14 +167,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 created.
@@ -154,17 +184,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 { @@ -175,11 +206,16 @@ 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 @@ -187,23 +223,34 @@ 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() { @@ -213,6 +260,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBu public static final int AZURE_CLIENT_ID_FIELD_NUMBER = 4; private volatile java.lang.Object azureClientId_; /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the parent
    * resource.
@@ -223,6 +272,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 @@ -231,14 +281,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.
@@ -249,16 +300,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 { @@ -269,11 +319,14 @@ public java.lang.String getAzureClientId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; 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 @@ -282,6 +335,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,8 +347,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,12 +373,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_); @@ -338,24 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -376,125 +424,134 @@ 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) + unknownFields.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() @@ -502,16 +559,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -531,9 +587,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 @@ -552,7 +608,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); + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest result = + new com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest(this); result.parent_ = parent_; if (azureClientBuilder_ == null) { result.azureClient_ = azureClient_; @@ -569,38 +626,39 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest buildPartial() 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; @@ -608,7 +666,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_; onChanged(); @@ -642,7 +701,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -654,6 +714,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
      * will be created.
@@ -662,14 +724,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; @@ -678,6 +742,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
      * will be created.
@@ -686,16 +752,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 { @@ -703,6 +770,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
      * will be created.
@@ -711,21 +780,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
      * will be created.
@@ -734,16 +807,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource
      * will be created.
@@ -752,17 +830,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -770,39 +850,58 @@ 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 azureClientBuilder_ != null || 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. */ 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,11 +917,15 @@ 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) { @@ -836,17 +939,23 @@ 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 (azureClient_ != null) { azureClient_ = - com.google.cloud.gkemulticloud.v1.AzureClient.newBuilder(azureClient_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureClient.newBuilder(azureClient_) + .mergeFrom(value) + .buildPartial(); } else { azureClient_ = value; } @@ -858,11 +967,15 @@ 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() { if (azureClientBuilder_ == null) { @@ -876,48 +989,64 @@ 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() { - + onChanged(); 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_; @@ -925,6 +1054,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.
@@ -935,13 +1066,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; @@ -950,6 +1081,8 @@ public java.lang.String getAzureClientId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -960,15 +1093,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 { @@ -976,6 +1108,8 @@ public java.lang.String getAzureClientId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -986,20 +1120,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) { + public Builder setAzureClientId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureClientId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1010,15 +1146,18 @@ public Builder setAzureClientId(
      * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAzureClientId() { - + azureClientId_ = getDefaultInstance().getAzureClientId(); onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1029,28 +1168,31 @@ 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) { + public Builder setAzureClientIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureClientId_ = value; onChanged(); 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 @@ -1058,37 +1200,43 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1098,12 +1246,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(); } @@ -1112,16 +1260,16 @@ 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 { - return new CreateAzureClientRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAzureClientRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,6 +1284,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java index 7739beb..49e91ab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 created.
@@ -16,11 +34,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 created.
@@ -29,40 +52,58 @@ 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.
@@ -73,10 +114,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.
@@ -87,17 +131,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java index 00371b4..7b17ad1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private CreateAzureClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAzureClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateAzureClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,43 +71,48 @@ private CreateAzureClusterRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder subBuilder = null; - if (azureCluster_ != null) { - subBuilder = azureCluster_.toBuilder(); - } - azureCluster_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(azureCluster_); - azureCluster_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder subBuilder = null; + if (azureCluster_ != null) { + subBuilder = azureCluster_.toBuilder(); + } + azureCluster_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(azureCluster_); + azureCluster_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - azureClusterId_ = s; - break; - } - case 32: { + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + azureClusterId_ = s; + break; + } + case 32: + { + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,29 +120,33 @@ private CreateAzureClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
    * will be created.
@@ -129,7 +155,10 @@ private CreateAzureClusterRequest(
    * 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 @@ -138,14 +167,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 created.
@@ -154,17 +184,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 { @@ -175,11 +206,16 @@ 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 @@ -187,23 +223,34 @@ 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() { @@ -213,6 +260,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOr public static final int AZURE_CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object azureClusterId_; /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the parent
    * resource.
@@ -223,6 +272,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 @@ -231,14 +281,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.
@@ -249,16 +300,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 { @@ -269,11 +319,14 @@ public java.lang.String getAzureClusterId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -282,6 +335,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,8 +347,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,15 +373,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -338,24 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -376,125 +424,134 @@ 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) + unknownFields.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() @@ -502,16 +559,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -531,9 +587,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 @@ -552,7 +608,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); + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest result = + new com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest(this); result.parent_ = parent_; if (azureClusterBuilder_ == null) { result.azureCluster_ = azureCluster_; @@ -569,38 +626,39 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest buildPartial( 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; @@ -608,7 +666,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_; onChanged(); @@ -642,7 +701,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -654,6 +714,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
      * will be created.
@@ -662,14 +724,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; @@ -678,6 +742,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
      * will be created.
@@ -686,16 +752,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 { @@ -703,6 +770,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
      * will be created.
@@ -711,21 +780,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
      * will be created.
@@ -734,16 +807,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource
      * will be created.
@@ -752,17 +830,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -770,39 +850,58 @@ 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 azureClusterBuilder_ != null || 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. */ 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,11 +917,15 @@ 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) { @@ -836,17 +939,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 (azureCluster_ != null) { azureCluster_ = - com.google.cloud.gkemulticloud.v1.AzureCluster.newBuilder(azureCluster_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureCluster.newBuilder(azureCluster_) + .mergeFrom(value) + .buildPartial(); } else { azureCluster_ = value; } @@ -858,11 +967,15 @@ 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() { if (azureClusterBuilder_ == null) { @@ -876,48 +989,64 @@ 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() { - + onChanged(); 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_; @@ -925,6 +1054,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.
@@ -935,13 +1066,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; @@ -950,6 +1081,8 @@ public java.lang.String getAzureClusterId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -960,15 +1093,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 { @@ -976,6 +1108,8 @@ public java.lang.String getAzureClusterId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -986,20 +1120,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) { + public Builder setAzureClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureClusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1010,15 +1146,18 @@ public Builder setAzureClusterId(
      * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAzureClusterId() { - + azureClusterId_ = getDefaultInstance().getAzureClusterId(); onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1029,28 +1168,31 @@ 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) { + public Builder setAzureClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureClusterId_ = value; onChanged(); 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 @@ -1058,37 +1200,43 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1098,12 +1246,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(); } @@ -1112,16 +1260,16 @@ 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 { - return new CreateAzureClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAzureClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,6 +1284,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java index 49fc42f..1a908c0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 created.
@@ -16,11 +34,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 created.
@@ -29,40 +52,58 @@ 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.
@@ -73,10 +114,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.
@@ -87,17 +131,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java index 21ef543..45fee12 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private CreateAzureNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAzureNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateAzureNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,43 +71,48 @@ private CreateAzureNodePoolRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder subBuilder = null; - if (azureNodePool_ != null) { - subBuilder = azureNodePool_.toBuilder(); - } - azureNodePool_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(azureNodePool_); - azureNodePool_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder subBuilder = null; + if (azureNodePool_ != null) { + subBuilder = azureNodePool_.toBuilder(); + } + azureNodePool_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(azureNodePool_); + azureNodePool_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - azureNodePoolId_ = s; - break; - } - case 32: { + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + azureNodePoolId_ = s; + break; + } + case 32: + { + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,29 +120,33 @@ private CreateAzureNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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>`.
@@ -128,7 +154,10 @@ private CreateAzureNodePoolRequest(
    * 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 @@ -137,14 +166,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.
    * Location names are formatted as `projects/<project-id>/locations/<region>`.
@@ -152,17 +182,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 { @@ -173,11 +204,16 @@ 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 @@ -185,23 +221,34 @@ 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() { @@ -211,6 +258,8 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool public static final int AZURE_NODE_POOL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object azureNodePoolId_; /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the parent
    * resource.
@@ -221,6 +270,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 @@ -229,14 +279,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.
@@ -247,16 +298,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 { @@ -267,12 +317,15 @@ public java.lang.String getAzureNodePoolId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -281,6 +334,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,8 +346,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_); } @@ -319,15 +372,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -337,24 +388,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -375,125 +423,134 @@ 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) + unknownFields.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() @@ -501,16 +558,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -530,13 +586,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(); } @@ -551,7 +608,8 @@ 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); + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest(this); result.parent_ = parent_; if (azureNodePoolBuilder_ == null) { result.azureNodePool_ = azureNodePool_; @@ -568,38 +626,39 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest buildPartial 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; @@ -607,7 +666,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_; onChanged(); @@ -641,7 +702,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -653,6 +715,8 @@ public Builder mergeFrom( 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>`.
@@ -660,14 +724,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; @@ -676,6 +742,8 @@ 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>`.
@@ -683,16 +751,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 { @@ -700,6 +769,8 @@ 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>`.
@@ -707,21 +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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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>`.
@@ -729,16 +804,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); 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>`.
@@ -746,17 +826,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -764,39 +846,58 @@ 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 azureNodePoolBuilder_ != null || 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. */ 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) { @@ -812,11 +913,15 @@ 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) { @@ -830,17 +935,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 (azureNodePool_ != null) { azureNodePool_ = - com.google.cloud.gkemulticloud.v1.AzureNodePool.newBuilder(azureNodePool_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureNodePool.newBuilder(azureNodePool_) + .mergeFrom(value) + .buildPartial(); } else { azureNodePool_ = value; } @@ -852,11 +963,15 @@ 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() { if (azureNodePoolBuilder_ == null) { @@ -870,48 +985,64 @@ 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() { - + onChanged(); 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_; @@ -919,6 +1050,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.
@@ -929,13 +1062,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; @@ -944,6 +1077,8 @@ public java.lang.String getAzureNodePoolId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -954,15 +1089,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 { @@ -970,6 +1104,8 @@ public java.lang.String getAzureNodePoolId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -980,20 +1116,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) { + public Builder setAzureNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureNodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1004,15 +1142,18 @@ public Builder setAzureNodePoolId(
      * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAzureNodePoolId() { - + azureNodePoolId_ = getDefaultInstance().getAzureNodePoolId(); onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the parent
      * resource.
@@ -1023,29 +1164,32 @@ 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) { + public Builder setAzureNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureNodePoolId_ = value; onChanged(); 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 @@ -1053,39 +1197,45 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1095,12 +1245,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(); } @@ -1109,16 +1260,16 @@ 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 { - return new CreateAzureNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAzureNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1133,6 +1284,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java index 7c10835..fde4038 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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>`.
@@ -15,11 +33,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.
    * Location names are formatted as `projects/<project-id>/locations/<region>`.
@@ -27,40 +50,58 @@ 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.
@@ -71,10 +112,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.
@@ -85,18 +129,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java index 171835d..329ba9b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private DeleteAwsClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAwsClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteAwsClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +71,37 @@ private DeleteAwsClusterRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - validateOnly_ = input.readBool(); - break; - } - case 24: { - - allowMissing_ = input.readBool(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + validateOnly_ = input.readBool(); + break; + } + case 24: + { + allowMissing_ = input.readBool(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + etag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,29 +109,33 @@ private DeleteAwsClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
    * `AwsCluster` names are formatted as
@@ -121,7 +144,10 @@ private DeleteAwsClusterRequest(
    * for more details on GCP resource names.
    * 
* - * 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 @@ -130,14 +156,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.
    * `AwsCluster` names are formatted as
@@ -146,17 +173,18 @@ public java.lang.String getName() {
    * for more details on GCP resource names.
    * 
* - * 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 { @@ -167,11 +195,14 @@ public java.lang.String getName() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -182,6 +213,8 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_; /** + * + * *
    * If set to true, and the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not found,
    * the request will succeed but no action will be taken on the server and a
@@ -190,6 +223,7 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -200,6 +234,8 @@ public boolean getAllowMissing() { public static final int ETAG_FIELD_NUMBER = 4; private volatile java.lang.Object etag_; /** + * + * *
    * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -208,6 +244,7 @@ public boolean getAllowMissing() {
    * 
* * string etag = 4; + * * @return The etag. */ @java.lang.Override @@ -216,14 +253,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -232,16 +270,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 { @@ -250,6 +287,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +299,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_); } @@ -288,12 +325,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_); @@ -306,21 +341,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.DeleteAwsClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) 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; + 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -335,11 +367,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) + unknownFields.hashCode(); @@ -348,117 +378,127 @@ 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() @@ -466,16 +506,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -491,9 +530,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 @@ -512,7 +551,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); + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest result = + new com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest(this); result.name_ = name_; result.validateOnly_ = validateOnly_; result.allowMissing_ = allowMissing_; @@ -525,38 +565,39 @@ public com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest buildPartial() 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; @@ -564,7 +605,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_; onChanged(); @@ -598,7 +640,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -610,6 +653,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
      * `AwsCluster` names are formatted as
@@ -618,14 +663,16 @@ public Builder mergeFrom(
      * for more details on GCP resource names.
      * 
* - * 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; @@ -634,6 +681,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
      * `AwsCluster` names are formatted as
@@ -642,16 +691,17 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * 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 { @@ -659,6 +709,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
      * `AwsCluster` names are formatted as
@@ -667,21 +719,25 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
      * `AwsCluster` names are formatted as
@@ -690,16 +746,21 @@ public Builder setName(
      * for more details on GCP resource names.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
      * `AwsCluster` names are formatted as
@@ -708,29 +769,34 @@ public Builder clearName() {
      * for more details on GCP resource names.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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 @@ -738,37 +804,45 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * If set to true, and the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -777,6 +851,7 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -784,6 +859,8 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -792,16 +869,19 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; + * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, and the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -810,10 +890,11 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); return this; @@ -821,6 +902,8 @@ public Builder clearAllowMissing() { private java.lang.Object etag_ = ""; /** + * + * *
      * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -829,13 +912,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; @@ -844,6 +927,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -852,15 +937,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 { @@ -868,6 +952,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -876,20 +962,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) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -898,15 +986,18 @@ public Builder setEtag(
      * 
* * string etag = 4; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -915,23 +1006,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) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -941,12 +1032,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(); } @@ -955,16 +1046,16 @@ 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 { - return new DeleteAwsClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAwsClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -979,6 +1070,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java index 17fc849..8ccdb49 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * `AwsCluster` names are formatted as
@@ -16,11 +34,16 @@ public interface DeleteAwsClusterRequestOrBuilder extends
    * for more details on GCP resource names.
    * 
* - * 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.
    * `AwsCluster` names are formatted as
@@ -29,23 +52,30 @@ public interface DeleteAwsClusterRequestOrBuilder extends
    * for more details on GCP resource names.
    * 
* - * 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 found,
    * the request will succeed but no action will be taken on the server and a
@@ -54,11 +84,14 @@ public interface DeleteAwsClusterRequestOrBuilder extends
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * The current etag of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -67,10 +100,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -79,8 +115,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java index 0444970..9fa7d94 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.DeleteNodePool` 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,16 +44,15 @@ private DeleteAwsNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAwsNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteAwsNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +71,37 @@ private DeleteAwsNodePoolRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - validateOnly_ = input.readBool(); - break; - } - case 24: { - - allowMissing_ = input.readBool(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + validateOnly_ = input.readBool(); + break; + } + case 24: + { + allowMissing_ = input.readBool(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + etag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,29 +109,33 @@ private DeleteAwsNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
    * `AwsNodePool` names are formatted as
@@ -121,7 +144,10 @@ private DeleteAwsNodePoolRequest(
    * 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 @@ -130,14 +156,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.
    * `AwsNodePool` names are formatted as
@@ -146,17 +173,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 { @@ -167,12 +195,15 @@ public java.lang.String getName() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -183,6 +214,8 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_; /** + * + * *
    * If set to true, and the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not found,
    * the request will succeed but no action will be taken on the server and a
@@ -191,6 +224,7 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -201,6 +235,8 @@ public boolean getAllowMissing() { public static final int ETAG_FIELD_NUMBER = 4; private volatile java.lang.Object etag_; /** + * + * *
    * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -209,6 +245,7 @@ public boolean getAllowMissing() {
    * 
* * string etag = 4; + * * @return The etag. */ @java.lang.Override @@ -217,14 +254,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -233,16 +271,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 { @@ -251,6 +288,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +300,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_); } @@ -289,12 +326,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_); @@ -307,21 +342,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.DeleteAwsNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) 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; + 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,11 +368,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) + unknownFields.hashCode(); @@ -349,117 +379,127 @@ 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.DeleteNodePool` 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() @@ -467,16 +507,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -492,9 +531,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 @@ -513,7 +552,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); + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest(this); result.name_ = name_; result.validateOnly_ = validateOnly_; result.allowMissing_ = allowMissing_; @@ -526,38 +566,39 @@ public com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest buildPartial() 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; @@ -565,7 +606,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_; onChanged(); @@ -599,7 +641,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -611,6 +654,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
      * `AwsNodePool` names are formatted as
@@ -619,14 +664,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; @@ -635,6 +682,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
      * `AwsNodePool` names are formatted as
@@ -643,16 +692,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 +710,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
      * `AwsNodePool` names are formatted as
@@ -668,21 +720,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
      * `AwsNodePool` names are formatted as
@@ -691,16 +747,21 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
      * `AwsNodePool` names are formatted as
@@ -709,30 +770,35 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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 @@ -740,39 +806,47 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * If set to true, and the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -781,6 +855,7 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -788,6 +863,8 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -796,16 +873,19 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; + * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, and the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -814,10 +894,11 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); return this; @@ -825,6 +906,8 @@ public Builder clearAllowMissing() { private java.lang.Object etag_ = ""; /** + * + * *
      * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -833,13 +916,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; @@ -848,6 +931,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -856,15 +941,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 { @@ -872,6 +956,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -880,20 +966,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) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -902,15 +990,18 @@ public Builder setEtag(
      * 
* * string etag = 4; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -919,23 +1010,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) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -945,12 +1036,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(); } @@ -959,16 +1050,16 @@ 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 { - return new DeleteAwsNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAwsNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -983,6 +1074,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java index 7d80963..6cd8cb3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * `AwsNodePool` names are formatted as
@@ -16,11 +34,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.
    * `AwsNodePool` names are formatted as
@@ -29,24 +52,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 found,
    * the request will succeed but no action will be taken on the server and a
@@ -55,11 +85,14 @@ public interface DeleteAwsNodePoolRequestOrBuilder extends
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * The current ETag of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -68,10 +101,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -80,8 +116,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java index 69412f4..b7850ff 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteAzureClientRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,29 +70,30 @@ private DeleteAzureClientRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - - allowMissing_ = input.readBool(); - break; - } - case 24: { - - validateOnly_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + allowMissing_ = input.readBool(); + break; + } + case 24: + { + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -83,29 +101,33 @@ private DeleteAzureClientRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -114,7 +136,10 @@ private DeleteAzureClientRequest(
    * 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 @@ -123,14 +148,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.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -139,17 +165,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 { @@ -160,6 +187,8 @@ public java.lang.String getName() { public static final int ALLOW_MISSING_FIELD_NUMBER = 2; private boolean allowMissing_; /** + * + * *
    * If set to true, and the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not found,
    * the request will succeed but no action will be taken on the server and a
@@ -168,6 +197,7 @@ public java.lang.String getName() {
    * 
* * bool allow_missing = 2; + * * @return The allowMissing. */ @java.lang.Override @@ -178,11 +208,14 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; 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 @@ -191,6 +224,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +236,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_); } @@ -226,12 +259,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -241,19 +272,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -268,128 +297,136 @@ 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) + unknownFields.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() @@ -397,16 +434,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +456,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 @@ -441,7 +477,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); + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest result = + new com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest(this); result.name_ = name_; result.allowMissing_ = allowMissing_; result.validateOnly_ = validateOnly_; @@ -453,38 +490,39 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest buildPartial() 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; @@ -492,7 +530,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_; onChanged(); @@ -522,7 +561,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -534,6 +574,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -542,14 +584,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; @@ -558,6 +602,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -566,16 +612,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 { @@ -583,6 +630,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -591,21 +640,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -614,16 +667,21 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -632,24 +690,28 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * If set to true, and the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -658,6 +720,7 @@ public Builder setNameBytes(
      * 
* * bool allow_missing = 2; + * * @return The allowMissing. */ @java.lang.Override @@ -665,6 +728,8 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -673,16 +738,19 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 2; + * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, and the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -691,22 +759,26 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 2; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); 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 @@ -714,37 +786,43 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -754,12 +832,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(); } @@ -768,16 +846,16 @@ 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 { - return new DeleteAzureClientRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAzureClientRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -792,6 +870,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java index ec257ac..754a1fe 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -16,11 +34,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.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -29,13 +52,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 found,
    * the request will succeed but no action will be taken on the server and a
@@ -44,16 +71,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java index 053b048..3041cf0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * 
* * 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,16 +44,15 @@ private DeleteAzureClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAzureClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteAzureClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +71,37 @@ private DeleteAzureClusterRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - allowMissing_ = input.readBool(); - break; - } - case 24: { - - validateOnly_ = input.readBool(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + allowMissing_ = input.readBool(); + break; + } + case 24: + { + validateOnly_ = input.readBool(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + etag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,29 +109,33 @@ private DeleteAzureClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
    * `AzureCluster` names are formatted as
@@ -121,7 +144,10 @@ private DeleteAzureClusterRequest(
    * for more details on GCP resource names.
    * 
* - * 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 @@ -130,14 +156,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.
    * `AzureCluster` names are formatted as
@@ -146,17 +173,18 @@ public java.lang.String getName() {
    * for more details on GCP resource names.
    * 
* - * 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 { @@ -167,6 +195,8 @@ public java.lang.String getName() { public static final int ALLOW_MISSING_FIELD_NUMBER = 2; private boolean allowMissing_; /** + * + * *
    * If set to true, and the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not found,
    * the request will succeed but no action will be taken on the server and a
@@ -175,6 +205,7 @@ public java.lang.String getName() {
    * 
* * bool allow_missing = 2; + * * @return The allowMissing. */ @java.lang.Override @@ -185,11 +216,14 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; 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 @@ -200,6 +234,8 @@ public boolean getValidateOnly() { public static final int ETAG_FIELD_NUMBER = 4; private volatile java.lang.Object etag_; /** + * + * *
    * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -208,6 +244,7 @@ public boolean getValidateOnly() {
    * 
* * string etag = 4; + * * @return The etag. */ @java.lang.Override @@ -216,14 +253,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -232,16 +270,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 { @@ -250,6 +287,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +299,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_); } @@ -288,12 +325,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_); @@ -306,21 +341,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -335,11 +367,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) + unknownFields.hashCode(); @@ -348,117 +378,127 @@ 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.
    * 
* * 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() @@ -466,16 +506,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -491,9 +530,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 @@ -512,7 +551,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); + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest result = + new com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest(this); result.name_ = name_; result.allowMissing_ = allowMissing_; result.validateOnly_ = validateOnly_; @@ -525,38 +565,39 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest buildPartial( 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; @@ -564,7 +605,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_; onChanged(); @@ -598,7 +640,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -610,6 +653,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
      * `AzureCluster` names are formatted as
@@ -618,14 +663,16 @@ public Builder mergeFrom(
      * for more details on GCP resource names.
      * 
* - * 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; @@ -634,6 +681,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
      * `AzureCluster` names are formatted as
@@ -642,16 +691,17 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * 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 { @@ -659,6 +709,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
      * `AzureCluster` names are formatted as
@@ -667,21 +719,25 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
      * `AzureCluster` names are formatted as
@@ -690,16 +746,21 @@ public Builder setName(
      * for more details on GCP resource names.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
      * `AzureCluster` names are formatted as
@@ -708,24 +769,28 @@ public Builder clearName() {
      * for more details on GCP resource names.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * If set to true, and the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -734,6 +799,7 @@ public Builder setNameBytes(
      * 
* * bool allow_missing = 2; + * * @return The allowMissing. */ @java.lang.Override @@ -741,6 +807,8 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -749,16 +817,19 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 2; + * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, and the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -767,22 +838,26 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 2; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); 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 @@ -790,30 +865,36 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; @@ -821,6 +902,8 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** + * + * *
      * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -829,13 +912,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; @@ -844,6 +927,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -852,15 +937,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 { @@ -868,6 +952,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -876,20 +962,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) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -898,15 +986,18 @@ public Builder setEtag(
      * 
* * string etag = 4; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * The current etag of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -915,23 +1006,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) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -941,12 +1032,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(); } @@ -955,16 +1046,16 @@ 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 { - return new DeleteAzureClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAzureClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -979,6 +1070,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java index 817c684..880bf51 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * `AzureCluster` names are formatted as
@@ -16,11 +34,16 @@ public interface DeleteAzureClusterRequestOrBuilder extends
    * for more details on GCP resource names.
    * 
* - * 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.
    * `AzureCluster` names are formatted as
@@ -29,13 +52,17 @@ public interface DeleteAzureClusterRequestOrBuilder extends
    * for more details on GCP resource names.
    * 
* - * 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 found,
    * the request will succeed but no action will be taken on the server and a
@@ -44,21 +71,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -67,10 +100,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -79,8 +115,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java index 4403196..7d6c422 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.DeleteNodePool` 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,16 +44,15 @@ private DeleteAzureNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAzureNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteAzureNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +71,37 @@ private DeleteAzureNodePoolRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - validateOnly_ = input.readBool(); - break; - } - case 24: { - - allowMissing_ = input.readBool(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + validateOnly_ = input.readBool(); + break; + } + case 24: + { + allowMissing_ = input.readBool(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + etag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,29 +109,33 @@ private DeleteAzureNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
    * `AzureNodePool` names are formatted as
@@ -121,7 +144,10 @@ private DeleteAzureNodePoolRequest(
    * 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 @@ -130,14 +156,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.
    * `AzureNodePool` names are formatted as
@@ -146,17 +173,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 { @@ -167,12 +195,15 @@ public java.lang.String getName() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -183,6 +214,8 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_; /** + * + * *
    * If set to true, and the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is not found,
    * the request will succeed but no action will be taken on the server and a
@@ -191,6 +224,7 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -201,6 +235,8 @@ public boolean getAllowMissing() { public static final int ETAG_FIELD_NUMBER = 4; private volatile java.lang.Object etag_; /** + * + * *
    * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -209,6 +245,7 @@ public boolean getAllowMissing() {
    * 
* * string etag = 4; + * * @return The etag. */ @java.lang.Override @@ -217,14 +254,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -233,16 +271,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 { @@ -251,6 +288,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +300,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_); } @@ -289,12 +326,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_); @@ -307,21 +342,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; + 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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,11 +368,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) + unknownFields.hashCode(); @@ -349,117 +379,127 @@ 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.DeleteNodePool` 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() @@ -467,16 +507,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -492,13 +531,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(); } @@ -513,7 +553,8 @@ 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); + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest(this); result.name_ = name_; result.validateOnly_ = validateOnly_; result.allowMissing_ = allowMissing_; @@ -526,38 +567,39 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest buildPartial 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; @@ -565,7 +607,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_; onChanged(); @@ -599,7 +643,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -611,6 +656,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
      * `AzureNodePool` names are formatted as
@@ -619,14 +666,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; @@ -635,6 +684,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
      * `AzureNodePool` names are formatted as
@@ -643,16 +694,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 +712,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
      * `AzureNodePool` names are formatted as
@@ -668,21 +722,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
      * `AzureNodePool` names are formatted as
@@ -691,16 +749,21 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
      * `AzureNodePool` names are formatted as
@@ -709,30 +772,35 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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 @@ -740,39 +808,47 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * If set to true, and the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -781,6 +857,7 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -788,6 +865,8 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -796,16 +875,19 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; + * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, and the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is not found,
      * the request will succeed but no action will be taken on the server and a
@@ -814,10 +896,11 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; onChanged(); return this; @@ -825,6 +908,8 @@ public Builder clearAllowMissing() { private java.lang.Object etag_ = ""; /** + * + * *
      * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -833,13 +918,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; @@ -848,6 +933,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -856,15 +943,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 { @@ -872,6 +958,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -880,20 +968,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) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -902,15 +992,18 @@ public Builder setEtag(
      * 
* * string etag = 4; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * The current ETag of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
      * Allows clients to perform deletions through optimistic concurrency control.
@@ -919,23 +1012,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) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -945,12 +1038,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(); } @@ -959,16 +1053,16 @@ 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 { - return new DeleteAzureNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAzureNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -983,6 +1077,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java index d21120a..e3269e4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * `AzureNodePool` names are formatted as
@@ -16,11 +34,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.
    * `AzureNodePool` names are formatted as
@@ -29,24 +52,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 not found,
    * the request will succeed but no action will be taken on the server and a
@@ -55,11 +85,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -68,10 +101,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].
    * Allows clients to perform deletions through optimistic concurrency control.
@@ -80,8 +116,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java index 089f076..1234639 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * Fleets are a Google Cloud concept for logically organizing clusters,
@@ -16,15 +33,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_ = "";
@@ -32,16 +50,15 @@ private Fleet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Fleet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Fleet(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,25 +77,27 @@ private Fleet(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            project_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              project_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            membership_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              membership_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -86,29 +105,33 @@ private Fleet(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   private volatile java.lang.Object project_;
   /**
+   *
+   *
    * 
    * Required. The name of the Fleet host project where this cluster will be registered.
    * Project names are formatted as
@@ -116,6 +139,7 @@ private Fleet(
    * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The project. */ @java.lang.Override @@ -124,14 +148,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.
    * Project names are formatted as
@@ -139,16 +164,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 { @@ -159,6 +183,8 @@ public java.lang.String getProject() { public static final int MEMBERSHIP_FIELD_NUMBER = 2; private volatile java.lang.Object membership_; /** + * + * *
    * Output only. The name of the managed Hub Membership resource associated to this cluster.
    * Membership names are formatted as
@@ -166,6 +192,7 @@ public java.lang.String getProject() {
    * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The membership. */ @java.lang.Override @@ -174,14 +201,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.
    * Membership names are formatted as
@@ -189,16 +217,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 { @@ -207,6 +234,7 @@ public java.lang.String getMembership() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,8 +246,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_); } @@ -249,17 +276,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -280,97 +305,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.
    * Fleets are a Google Cloud concept for logically organizing clusters,
@@ -383,21 +415,23 @@ 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()
@@ -405,16 +439,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +459,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
@@ -447,7 +480,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);
+      com.google.cloud.gkemulticloud.v1.Fleet result =
+          new com.google.cloud.gkemulticloud.v1.Fleet(this);
       result.project_ = project_;
       result.membership_ = membership_;
       onBuilt();
@@ -458,38 +492,39 @@ public com.google.cloud.gkemulticloud.v1.Fleet buildPartial() {
     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;
@@ -537,6 +572,8 @@ public Builder mergeFrom(
 
     private java.lang.Object project_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the Fleet host project where this cluster will be registered.
      * Project names are formatted as
@@ -544,13 +581,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; @@ -559,6 +596,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * Required. The name of the Fleet host project where this cluster will be registered.
      * Project names are formatted as
@@ -566,15 +605,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 { @@ -582,6 +620,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * Required. The name of the Fleet host project where this cluster will be registered.
      * Project names are formatted as
@@ -589,20 +629,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) { + public Builder setProject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the Fleet host project where this cluster will be registered.
      * Project names are formatted as
@@ -610,15 +652,18 @@ public Builder setProject(
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** + * + * *
      * Required. The name of the Fleet host project where this cluster will be registered.
      * Project names are formatted as
@@ -626,16 +671,16 @@ 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) { + public Builder setProjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -643,6 +688,8 @@ public Builder setProjectBytes( private java.lang.Object membership_ = ""; /** + * + * *
      * Output only. The name of the managed Hub Membership resource associated to this cluster.
      * Membership names are formatted as
@@ -650,13 +697,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; @@ -665,6 +712,8 @@ public java.lang.String getMembership() { } } /** + * + * *
      * Output only. The name of the managed Hub Membership resource associated to this cluster.
      * Membership names are formatted as
@@ -672,15 +721,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 { @@ -688,6 +736,8 @@ public java.lang.String getMembership() { } } /** + * + * *
      * Output only. The name of the managed Hub Membership resource associated to this cluster.
      * Membership names are formatted as
@@ -695,20 +745,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) { + public Builder setMembership(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + membership_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The name of the managed Hub Membership resource associated to this cluster.
      * Membership names are formatted as
@@ -716,15 +768,18 @@ public Builder setMembership(
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMembership() { - + membership_ = getDefaultInstance().getMembership(); onChanged(); return this; } /** + * + * *
      * Output only. The name of the managed Hub Membership resource associated to this cluster.
      * Membership names are formatted as
@@ -732,23 +787,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) { + public Builder setMembershipBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + membership_ = 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); } @@ -758,12 +813,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(); } @@ -772,16 +827,16 @@ 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 { - return new Fleet(input, extensionRegistry); - } - }; + 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 { + return new Fleet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -796,6 +851,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.Fleet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java index fe7c786..fa25a8a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    * Project names are formatted as
@@ -15,10 +33,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.
    * Project names are formatted as
@@ -26,12 +47,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.
    * Membership names are formatted as
@@ -39,10 +62,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.
    * Membership names are formatted as
@@ -50,8 +76,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java index bb380a1..e0a14df 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GenerateAwsAccessTokenRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GenerateAwsAccessTokenRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - awsCluster_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + awsCluster_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GenerateAwsAccessTokenRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object awsCluster_; /** + * + * *
    * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
    * `AwsCluster` names are formatted as
@@ -104,7 +126,10 @@ private GenerateAwsAccessTokenRequest(
    * 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 @@ -113,14 +138,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 authenticate to.
    * `AwsCluster` names are formatted as
@@ -129,17 +155,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 { @@ -148,6 +175,7 @@ public java.lang.String getAwsCluster() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,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(awsCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, awsCluster_); } @@ -184,15 +211,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,117 +239,127 @@ 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() @@ -330,16 +367,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,13 +385,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(); } @@ -370,7 +407,8 @@ 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); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest result = + new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest(this); result.awsCluster_ = awsCluster_; onBuilt(); return result; @@ -380,46 +418,50 @@ public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest buildPart 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_; onChanged(); @@ -443,7 +485,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +499,8 @@ public Builder mergeFrom( private java.lang.Object awsCluster_ = ""; /** + * + * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
      * `AwsCluster` names are formatted as
@@ -463,14 +509,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; @@ -479,6 +527,8 @@ public java.lang.String getAwsCluster() { } } /** + * + * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
      * `AwsCluster` names are formatted as
@@ -487,16 +537,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 { @@ -504,6 +555,8 @@ public java.lang.String getAwsCluster() { } } /** + * + * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
      * `AwsCluster` names are formatted as
@@ -512,21 +565,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) { + public Builder setAwsCluster(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + awsCluster_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
      * `AwsCluster` names are formatted as
@@ -535,16 +592,21 @@ 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() { - + awsCluster_ = getDefaultInstance().getAwsCluster(); onChanged(); return this; } /** + * + * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to.
      * `AwsCluster` names are formatted as
@@ -553,24 +615,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) { + public Builder setAwsClusterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + awsCluster_ = 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); } @@ -580,30 +644,32 @@ 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 { - return new GenerateAwsAccessTokenRequest(input, extensionRegistry); - } - }; + 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 { + return new GenerateAwsAccessTokenRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -615,9 +681,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java index 7bc6a41..a04cdab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 authenticate to.
    * `AwsCluster` names are formatted as
@@ -16,11 +34,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 authenticate to.
    * `AwsCluster` names are formatted as
@@ -29,9 +52,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java index 7f51a76..7d87665 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GenerateAwsAccessTokenResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +71,35 @@ private GenerateAwsAccessTokenResponse( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - accessToken_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expirationTime_ != null) { - subBuilder = expirationTime_.toBuilder(); + accessToken_ = s; + break; } - expirationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expirationTime_); - expirationTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expirationTime_ != null) { + subBuilder = expirationTime_.toBuilder(); + } + expirationTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expirationTime_); + expirationTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,34 +107,39 @@ private GenerateAwsAccessTokenResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -122,29 +148,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 { @@ -155,11 +181,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 @@ -167,23 +198,34 @@ 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() { @@ -191,6 +233,7 @@ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +245,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_); } @@ -223,8 +265,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +275,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,117 +311,127 @@ 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() @@ -389,16 +439,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,13 +463,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(); } @@ -435,7 +485,8 @@ 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); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse result = + new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse(this); result.accessToken_ = accessToken_; if (expirationTimeBuilder_ == null) { result.expirationTime_ = expirationTime_; @@ -450,46 +501,50 @@ public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse buildPar 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_; onChanged(); @@ -516,7 +571,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,18 +585,20 @@ public Builder mergeFrom( 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; @@ -548,20 +607,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 { @@ -569,54 +629,61 @@ 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) { + public Builder setAccessToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accessToken_ = value; 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() { - + accessToken_ = getDefaultInstance().getAccessToken(); onChanged(); 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) { + public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessToken_ = value; onChanged(); return this; @@ -624,39 +691,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 expirationTimeBuilder_ != null || 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. */ 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) { @@ -672,14 +758,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(); onChanged(); @@ -690,17 +779,23 @@ 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 (expirationTime_ != null) { expirationTime_ = - com.google.protobuf.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expirationTime_) + .mergeFrom(value) + .buildPartial(); } else { expirationTime_ = value; } @@ -712,11 +807,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() { if (expirationTimeBuilder_ == null) { @@ -730,55 +829,71 @@ 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() { - + onChanged(); 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); } @@ -788,30 +903,32 @@ 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 { - return new GenerateAwsAccessTokenResponse(input, extensionRegistry); - } - }; + 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 { + return new GenerateAwsAccessTokenResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,9 +940,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java index a866c2f..8f16c9a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java @@ -1,56 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java index 7759e96..d4b82ae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GenerateAzureAccessTokenRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private GenerateAzureAccessTokenRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - azureCluster_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + azureCluster_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +92,33 @@ private GenerateAzureAccessTokenRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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
@@ -104,7 +127,10 @@ private GenerateAzureAccessTokenRequest(
    * 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 @@ -113,14 +139,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 authenticate to.
    * `AzureCluster` names are formatted as
@@ -129,17 +156,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 { @@ -148,6 +176,7 @@ public java.lang.String getAzureCluster() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,8 +188,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_); } @@ -184,15 +212,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,134 +240,145 @@ 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() + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,13 +388,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(); } @@ -370,7 +410,8 @@ 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); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest result = + new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest(this); result.azureCluster_ = azureCluster_; onBuilt(); return result; @@ -380,46 +421,50 @@ public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest buildPa 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_; onChanged(); @@ -443,7 +488,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +502,8 @@ public Builder mergeFrom( 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
@@ -463,14 +512,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; @@ -479,6 +530,8 @@ 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
@@ -487,16 +540,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 { @@ -504,6 +558,8 @@ 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
@@ -512,21 +568,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) { + public Builder setAzureCluster(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureCluster_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to authenticate to.
      * `AzureCluster` names are formatted as
@@ -535,16 +595,21 @@ 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() { - + azureCluster_ = getDefaultInstance().getAzureCluster(); onChanged(); return this; } /** + * + * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to authenticate to.
      * `AzureCluster` names are formatted as
@@ -553,24 +618,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) { + public Builder setAzureClusterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureCluster_ = 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); } @@ -580,30 +647,32 @@ 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 { - return new GenerateAzureAccessTokenRequest(input, extensionRegistry); - } - }; + 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 { + return new GenerateAzureAccessTokenRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -615,9 +684,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java index 1ad24eb..efa1558 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -16,11 +34,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 authenticate to.
    * `AzureCluster` names are formatted as
@@ -29,9 +52,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java index 86d49e7..7a9797a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GenerateAzureAccessTokenResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +71,35 @@ private GenerateAzureAccessTokenResponse( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - accessToken_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expirationTime_ != null) { - subBuilder = expirationTime_.toBuilder(); + accessToken_ = s; + break; } - expirationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expirationTime_); - expirationTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expirationTime_ != null) { + subBuilder = expirationTime_.toBuilder(); + } + expirationTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expirationTime_); + expirationTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,34 +107,39 @@ private GenerateAzureAccessTokenResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -122,29 +148,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 { @@ -155,11 +181,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 @@ -167,23 +198,34 @@ 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() { @@ -191,6 +233,7 @@ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +245,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_); } @@ -223,8 +265,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +275,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,134 +311,145 @@ 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() + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,14 +465,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 @@ -435,7 +488,8 @@ 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); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse result = + new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse(this); result.accessToken_ = accessToken_; if (expirationTimeBuilder_ == null) { result.expirationTime_ = expirationTime_; @@ -450,46 +504,51 @@ public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse buildP 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_; onChanged(); @@ -516,7 +575,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,18 +589,20 @@ public Builder mergeFrom( 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; @@ -548,20 +611,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 { @@ -569,54 +633,61 @@ 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) { + public Builder setAccessToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accessToken_ = value; 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() { - + accessToken_ = getDefaultInstance().getAccessToken(); onChanged(); 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) { + public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessToken_ = value; onChanged(); return this; @@ -624,39 +695,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 expirationTimeBuilder_ != null || 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. */ 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) { @@ -672,14 +762,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(); onChanged(); @@ -690,17 +783,23 @@ 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 (expirationTime_ != null) { expirationTime_ = - com.google.protobuf.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expirationTime_) + .mergeFrom(value) + .buildPartial(); } else { expirationTime_ = value; } @@ -712,11 +811,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() { if (expirationTimeBuilder_ == null) { @@ -730,55 +833,71 @@ 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() { - + onChanged(); 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); } @@ -788,30 +907,32 @@ 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 { - return new GenerateAzureAccessTokenResponse(input, extensionRegistry); - } - }; + 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 { + return new GenerateAzureAccessTokenResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,9 +944,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java index 0e27d41..cac940d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java @@ -1,56 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java index 0fcd77e..56c52c7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAwsClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetAwsClusterRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetAwsClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
    * `AwsCluster` names are formatted as
@@ -104,7 +126,10 @@ private GetAwsClusterRequest(
    * for more details on GCP resource names.
    * 
* - * 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 @@ -113,14 +138,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 describe.
    * `AwsCluster` names are formatted as
@@ -129,17 +155,18 @@ public java.lang.String getName() {
    * for more details on GCP resource names.
    * 
* - * 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 { @@ -148,6 +175,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,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_); } @@ -184,15 +211,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,117 +239,127 @@ 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() @@ -330,16 +367,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +385,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 @@ -370,7 +406,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); + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest result = + new com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest(this); result.name_ = name_; onBuilt(); return result; @@ -380,38 +417,39 @@ public com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest buildPartial() { 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; @@ -419,7 +457,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_; onChanged(); @@ -443,7 +482,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +495,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
      * `AwsCluster` names are formatted as
@@ -463,14 +505,16 @@ public Builder mergeFrom(
      * for more details on GCP resource names.
      * 
* - * 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; @@ -479,6 +523,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
      * `AwsCluster` names are formatted as
@@ -487,16 +533,17 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * 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 { @@ -504,6 +551,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
      * `AwsCluster` names are formatted as
@@ -512,21 +561,25 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
      * `AwsCluster` names are formatted as
@@ -535,16 +588,21 @@ public Builder setName(
      * for more details on GCP resource names.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
      * `AwsCluster` names are formatted as
@@ -553,24 +611,26 @@ public Builder clearName() {
      * for more details on GCP resource names.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -580,12 +640,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(); } @@ -594,16 +654,16 @@ 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 { - return new GetAwsClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAwsClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -618,6 +678,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java index e1bfe20..a7cd216 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 describe.
    * `AwsCluster` names are formatted as
@@ -16,11 +34,16 @@ public interface GetAwsClusterRequestOrBuilder extends
    * for more details on GCP resource names.
    * 
* - * 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 describe.
    * `AwsCluster` names are formatted as
@@ -29,9 +52,11 @@ public interface GetAwsClusterRequestOrBuilder extends
    * for more details on GCP resource names.
    * 
* - * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java index b09045c..a3776cf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAwsNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetAwsNodePoolRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetAwsNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
    * `AwsNodePool` names are formatted as
@@ -104,7 +126,10 @@ private GetAwsNodePoolRequest(
    * 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 @@ -113,14 +138,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 describe.
    * `AwsNodePool` names are formatted as
@@ -129,17 +155,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 { @@ -148,6 +175,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,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_); } @@ -184,15 +211,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,117 +239,127 @@ 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() @@ -330,16 +367,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +385,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 @@ -370,7 +406,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); + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest(this); result.name_ = name_; onBuilt(); return result; @@ -380,38 +417,39 @@ public com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest buildPartial() { 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; @@ -419,7 +457,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_; onChanged(); @@ -443,7 +482,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +495,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
      * `AwsNodePool` names are formatted as
@@ -463,14 +505,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; @@ -479,6 +523,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
      * `AwsNodePool` names are formatted as
@@ -487,16 +533,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 { @@ -504,6 +551,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
      * `AwsNodePool` names are formatted as
@@ -512,21 +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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
      * `AwsNodePool` names are formatted as
@@ -535,16 +588,21 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
      * `AwsNodePool` names are formatted as
@@ -553,24 +611,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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -580,12 +640,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(); } @@ -594,16 +654,16 @@ 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 { - return new GetAwsNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAwsNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -618,6 +678,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java index 0b3b827..1f2fb73 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 describe.
    * `AwsNodePool` names are formatted as
@@ -16,11 +34,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 describe.
    * `AwsNodePool` names are formatted as
@@ -29,9 +52,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java index 063f7a1..5977351 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAwsServerConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetAwsServerConfigRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetAwsServerConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
    * `AwsServerConfig` names are formatted as
@@ -104,7 +126,10 @@ private GetAwsServerConfigRequest(
    * 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 @@ -113,14 +138,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 to describe.
    * `AwsServerConfig` names are formatted as
@@ -129,17 +155,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 { @@ -148,6 +175,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,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_); } @@ -184,15 +211,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,117 +239,127 @@ 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() @@ -330,16 +367,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +385,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 @@ -370,7 +406,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); + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest result = + new com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -380,38 +417,39 @@ public com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest buildPartial( 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; @@ -419,7 +457,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_; onChanged(); @@ -443,7 +482,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +495,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
      * `AwsServerConfig` names are formatted as
@@ -463,14 +505,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; @@ -479,6 +523,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
      * `AwsServerConfig` names are formatted as
@@ -487,16 +533,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 { @@ -504,6 +551,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
      * `AwsServerConfig` names are formatted as
@@ -512,21 +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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
      * `AwsServerConfig` names are formatted as
@@ -535,16 +588,21 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
      * `AwsServerConfig` names are formatted as
@@ -553,24 +611,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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -580,12 +640,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(); } @@ -594,16 +654,16 @@ 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 { - return new GetAwsServerConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAwsServerConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -618,6 +678,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java index d7f6b66..cc6e8f9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 to describe.
    * `AwsServerConfig` names are formatted as
@@ -16,11 +34,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 to describe.
    * `AwsServerConfig` names are formatted as
@@ -29,9 +52,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java index 590a8a6..85fb872 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAzureClientRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetAzureClientRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetAzureClientRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -104,7 +126,10 @@ private GetAzureClientRequest(
    * 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 @@ -113,14 +138,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 describe.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -129,17 +155,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 { @@ -148,6 +175,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,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_); } @@ -184,15 +211,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,117 +239,127 @@ 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() @@ -330,16 +367,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +385,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 @@ -370,7 +406,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); + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest result = + new com.google.cloud.gkemulticloud.v1.GetAzureClientRequest(this); result.name_ = name_; onBuilt(); return result; @@ -380,38 +417,39 @@ public com.google.cloud.gkemulticloud.v1.GetAzureClientRequest buildPartial() { 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; @@ -419,7 +457,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_; onChanged(); @@ -443,7 +482,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +495,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -463,14 +505,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; @@ -479,6 +523,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -487,16 +533,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 { @@ -504,6 +551,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -512,21 +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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -535,16 +588,21 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -553,24 +611,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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -580,12 +640,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(); } @@ -594,16 +654,16 @@ 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 { - return new GetAzureClientRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAzureClientRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -618,6 +678,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java index 4a8525b..98fa0d3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 describe.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -16,11 +34,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 describe.
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
@@ -29,9 +52,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java index 5f135f1..f84e331 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAzureClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetAzureClusterRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetAzureClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
    * `AzureCluster` names are formatted as
@@ -104,7 +126,10 @@ private GetAzureClusterRequest(
    * for more details on GCP resource names.
    * 
* - * 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 @@ -113,14 +138,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 describe.
    * `AzureCluster` names are formatted as
@@ -129,17 +155,18 @@ public java.lang.String getName() {
    * for more details on GCP resource names.
    * 
* - * 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 { @@ -148,6 +175,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,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_); } @@ -184,15 +211,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,117 +239,127 @@ 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() @@ -330,16 +367,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +385,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 @@ -370,7 +406,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); + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest result = + new com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest(this); result.name_ = name_; onBuilt(); return result; @@ -380,38 +417,39 @@ public com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest buildPartial() { 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; @@ -419,7 +457,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_; onChanged(); @@ -443,7 +482,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +495,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
      * `AzureCluster` names are formatted as
@@ -463,14 +505,16 @@ public Builder mergeFrom(
      * for more details on GCP resource names.
      * 
* - * 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; @@ -479,6 +523,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
      * `AzureCluster` names are formatted as
@@ -487,16 +533,17 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * 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 { @@ -504,6 +551,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
      * `AzureCluster` names are formatted as
@@ -512,21 +561,25 @@ public java.lang.String getName() {
      * for more details on GCP resource names.
      * 
* - * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
      * `AzureCluster` names are formatted as
@@ -535,16 +588,21 @@ public Builder setName(
      * for more details on GCP resource names.
      * 
* - * 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
      * `AzureCluster` names are formatted as
@@ -553,24 +611,26 @@ public Builder clearName() {
      * for more details on GCP resource names.
      * 
* - * 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -580,12 +640,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(); } @@ -594,16 +654,16 @@ 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 { - return new GetAzureClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAzureClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -618,6 +678,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java index f2799c4..3900a63 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 describe.
    * `AzureCluster` names are formatted as
@@ -16,11 +34,16 @@ public interface GetAzureClusterRequestOrBuilder extends
    * for more details on GCP resource names.
    * 
* - * 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 describe.
    * `AzureCluster` names are formatted as
@@ -29,9 +52,11 @@ public interface GetAzureClusterRequestOrBuilder extends
    * for more details on GCP resource names.
    * 
* - * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java index c420d2a..329d5a7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAzureNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetAzureNodePoolRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetAzureNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
    * `AzureNodePool` names are formatted as
@@ -104,7 +126,10 @@ private GetAzureNodePoolRequest(
    * 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 @@ -113,14 +138,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 describe.
    * `AzureNodePool` names are formatted as
@@ -129,17 +155,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 { @@ -148,6 +175,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,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_); } @@ -184,15 +211,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,117 +239,127 @@ 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() @@ -330,16 +367,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +385,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 @@ -370,7 +406,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); + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest(this); result.name_ = name_; onBuilt(); return result; @@ -380,38 +417,39 @@ public com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest buildPartial() 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; @@ -419,7 +457,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_; onChanged(); @@ -443,7 +482,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +495,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
      * `AzureNodePool` names are formatted as
@@ -463,14 +505,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; @@ -479,6 +523,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
      * `AzureNodePool` names are formatted as
@@ -487,16 +533,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 { @@ -504,6 +551,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
      * `AzureNodePool` names are formatted as
@@ -512,21 +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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
      * `AzureNodePool` names are formatted as
@@ -535,16 +588,21 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
      * `AzureNodePool` names are formatted as
@@ -553,24 +611,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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -580,12 +640,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(); } @@ -594,16 +654,16 @@ 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 { - return new GetAzureNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAzureNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -618,6 +678,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java index f6b4030..ca77c4b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 describe.
    * `AzureNodePool` names are formatted as
@@ -16,11 +34,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 describe.
    * `AzureNodePool` names are formatted as
@@ -29,9 +52,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java index ea884f2..57a7263 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAzureServerConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetAzureServerConfigRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetAzureServerConfigRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
    * `AzureServerConfig` names are formatted as
@@ -104,7 +126,10 @@ private GetAzureServerConfigRequest(
    * 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 @@ -113,14 +138,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] resource to describe.
    * `AzureServerConfig` names are formatted as
@@ -129,17 +155,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 { @@ -148,6 +175,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,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_); } @@ -184,15 +211,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,117 +239,127 @@ 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() @@ -330,16 +367,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,13 +385,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(); } @@ -370,7 +407,8 @@ 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); + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest result = + new com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -380,38 +418,39 @@ public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest buildPartia 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; @@ -419,7 +458,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_; onChanged(); @@ -443,7 +484,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +498,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
      * `AzureServerConfig` names are formatted as
@@ -463,14 +508,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; @@ -479,6 +526,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
      * `AzureServerConfig` names are formatted as
@@ -487,16 +536,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 { @@ -504,6 +554,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
      * `AzureServerConfig` names are formatted as
@@ -512,21 +564,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
      * `AzureServerConfig` names are formatted as
@@ -535,16 +591,21 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
      * `AzureServerConfig` names are formatted as
@@ -553,24 +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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -580,12 +643,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(); } @@ -594,16 +658,16 @@ 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 { - return new GetAzureServerConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAzureServerConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -618,6 +682,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java index 7382cc5..06a9ba7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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] resource to describe.
    * `AzureServerConfig` names are formatted as
@@ -16,11 +34,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] resource to describe.
    * `AzureServerConfig` names are formatted as
@@ -29,9 +52,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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java index 28efed5..fffd438 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private ListAwsClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAwsClustersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAwsClustersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListAwsClustersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,29 +104,33 @@ private ListAwsClustersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent location which owns this collection of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -116,7 +139,10 @@ private ListAwsClustersRequest(
    * for more details on GCP 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 @@ -125,14 +151,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.
@@ -141,17 +168,18 @@ public java.lang.String getParent() {
    * for more details on GCP 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 { @@ -162,6 +190,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return.
    * If not specified, a default value of 50 will be used by the service.
@@ -172,6 +202,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -182,12 +213,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,30 +230,30 @@ 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] request, if any.
    * 
* * 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 { @@ -228,6 +262,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,8 +274,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,8 +297,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_); @@ -277,19 +310,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -313,117 +344,127 @@ 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() @@ -431,16 +472,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +494,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 @@ -475,7 +515,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); + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest result = + new com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -487,38 +528,39 @@ public com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest buildPartial() { 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; @@ -526,7 +568,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_; onChanged(); @@ -557,7 +600,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -569,6 +613,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -577,14 +623,16 @@ public Builder mergeFrom(
      * for more details on GCP 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; @@ -593,6 +641,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -601,16 +651,17 @@ public java.lang.String getParent() {
      * for more details on GCP 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 { @@ -618,6 +669,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -626,21 +679,25 @@ public java.lang.String getParent() {
      * for more details on GCP 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -649,16 +706,21 @@ public Builder setParent(
      * for more details on GCP 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -667,24 +729,28 @@ public Builder clearParent() {
      * for more details on GCP 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -695,6 +761,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -702,6 +769,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -712,16 +781,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -732,10 +804,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -743,19 +816,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
      * 
* * 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; @@ -764,21 +839,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
      * 
* * 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 { @@ -786,64 +862,71 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters] request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -853,12 +936,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(); } @@ -867,16 +950,16 @@ 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 { - return new ListAwsClustersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAwsClustersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -891,6 +974,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java index 92032ab..f585722 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -16,11 +34,16 @@ public interface ListAwsClustersRequestOrBuilder extends
    * for more details on GCP 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.
@@ -29,13 +52,17 @@ public interface ListAwsClustersRequestOrBuilder extends
    * for more details on GCP 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.
    * If not specified, a default value of 50 will be used by the service.
@@ -46,29 +73,35 @@ 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] request, if any.
    * 
* * 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] request, if any.
    * 
* * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java index ced1caa..d3750e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private ListAwsClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAwsClustersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAwsClustersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListAwsClustersResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - awsClusters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + awsClusters_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + awsClusters_.add( + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry)); + break; } - awsClusters_.add( - input.readMessage(com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListAwsClustersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { awsClusters_ = java.util.Collections.unmodifiableList(awsClusters_); @@ -94,22 +114,27 @@ private ListAwsClustersResponse( makeExtensionsImmutable(); } } - 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; private java.util.List awsClusters_; /** + * + * *
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
    * project and region region.
@@ -122,6 +147,8 @@ public java.util.List getAwsCluste
     return awsClusters_;
   }
   /**
+   *
+   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
    * project and region region.
@@ -130,11 +157,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 GCP
    * project and region region.
@@ -147,6 +176,8 @@ public int getAwsClustersCount() {
     return awsClusters_.size();
   }
   /**
+   *
+   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
    * project and region region.
@@ -159,6 +190,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 GCP
    * project and region region.
@@ -167,20 +200,22 @@ 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;
   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 @@ -189,30 +224,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 { @@ -221,6 +256,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,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 { for (int i = 0; i < awsClusters_.size(); i++) { output.writeMessage(1, awsClusters_.get(i)); } @@ -250,8 +285,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_); @@ -264,17 +298,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +331,127 @@ 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() @@ -416,17 +459,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAwsClustersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +485,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 @@ -463,7 +506,8 @@ 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); int from_bitField0_ = bitField0_; if (awsClustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -483,38 +527,39 @@ public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse buildPartial() 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; @@ -522,7 +567,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()) { @@ -541,9 +587,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_); } @@ -572,7 +619,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -581,21 +629,29 @@ public Builder mergeFrom( } 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 GCP
      * project and region region.
@@ -611,6 +667,8 @@ public java.util.List getAwsCluste
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -626,6 +684,8 @@ public int getAwsClustersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -641,6 +701,8 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -648,8 +710,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();
@@ -663,6 +724,8 @@ public Builder setAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -682,6 +745,8 @@ public Builder setAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -703,6 +768,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 GCP
      * project and region region.
@@ -710,8 +777,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();
@@ -725,6 +791,8 @@ public Builder addAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -744,6 +812,8 @@ public Builder addAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -763,6 +833,8 @@ public Builder addAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -774,8 +846,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);
@@ -783,6 +854,8 @@ public Builder addAllAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -801,6 +874,8 @@ public Builder clearAwsClusters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -819,6 +894,8 @@ public Builder removeAwsClusters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -826,11 +903,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 GCP
      * project and region region.
@@ -841,11 +919,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 GCP
      * project and region region.
@@ -853,8 +934,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 {
@@ -862,6 +943,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBui
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources in the specified GCP
      * project and region region.
@@ -870,10 +953,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 GCP
      * project and region region.
@@ -881,12 +966,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 GCP
      * project and region region.
@@ -894,20 +980,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_;
@@ -915,19 +1004,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; @@ -936,21 +1027,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 { @@ -958,64 +1050,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1025,12 +1124,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(); } @@ -1039,16 +1138,16 @@ 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 { - return new ListAwsClustersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAwsClustersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1063,6 +1162,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java index 5426119..20d9c5d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 GCP
    * 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 GCP
    * 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 GCP
    * 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 GCP
    * 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 GCP
    * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java index 197bdb2..63eb81b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private ListAwsNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAwsNodePoolsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAwsNodePoolsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListAwsNodePoolsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,29 +104,33 @@ private ListAwsNodePoolsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent `AwsCluster` which owns this collection of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -117,7 +140,10 @@ private ListAwsNodePoolsRequest(
    * 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 @@ -126,14 +152,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.
@@ -143,17 +170,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 { @@ -164,6 +192,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return.
    * If not specified, a default value of 50 will be used by the service.
@@ -174,6 +204,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -184,12 +215,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -198,30 +232,30 @@ 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] request, if any.
    * 
* * 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 { @@ -230,6 +264,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,8 +276,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_); } @@ -265,8 +299,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_); @@ -279,19 +312,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -315,117 +346,127 @@ 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() @@ -433,16 +474,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +496,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 @@ -477,7 +517,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); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest result = + new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -489,38 +530,39 @@ public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest buildPartial() 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; @@ -528,7 +570,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_; onChanged(); @@ -559,7 +602,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -571,6 +615,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -580,14 +626,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; @@ -596,6 +644,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -605,16 +655,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 { @@ -622,6 +673,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -631,21 +684,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -655,16 +712,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -674,24 +736,28 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -702,6 +768,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -709,6 +776,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -719,16 +788,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -739,10 +811,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -750,19 +823,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
      * 
* * 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; @@ -771,21 +846,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
      * 
* * 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 { @@ -793,64 +869,71 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools] request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -860,12 +943,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(); } @@ -874,16 +957,16 @@ 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 { - return new ListAwsNodePoolsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAwsNodePoolsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,6 +981,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java index a308c75..1176d75 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -17,11 +35,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.
@@ -31,13 +54,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.
    * If not specified, a default value of 50 will be used by the service.
@@ -48,29 +75,35 @@ 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] request, if any.
    * 
* * 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] request, if any.
    * 
* * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java index 4105380..ee2365d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private ListAwsNodePoolsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAwsNodePoolsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAwsNodePoolsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListAwsNodePoolsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - awsNodePools_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + awsNodePools_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + awsNodePools_.add( + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry)); + break; } - awsNodePools_.add( - input.readMessage(com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListAwsNodePoolsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { awsNodePools_ = java.util.Collections.unmodifiableList(awsNodePools_); @@ -94,22 +114,27 @@ private ListAwsNodePoolsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List awsNodePools_; /** + * + * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
    * 
@@ -121,6 +146,8 @@ public java.util.List getAwsNodeP return awsNodePools_; } /** + * + * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
    * 
@@ -128,11 +155,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`.
    * 
@@ -144,6 +173,8 @@ public int getAwsNodePoolsCount() { return awsNodePools_.size(); } /** + * + * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
    * 
@@ -155,6 +186,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`.
    * 
@@ -170,12 +203,15 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -184,30 +220,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 { @@ -216,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +264,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)); } @@ -245,8 +281,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_); @@ -259,17 +294,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +327,127 @@ 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() @@ -411,17 +455,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAwsNodePoolsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +481,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 @@ -458,7 +502,8 @@ 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); int from_bitField0_ = bitField0_; if (awsNodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse buildPartial() 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; @@ -517,7 +563,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()) { @@ -536,9 +583,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_); } @@ -567,7 +615,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +625,29 @@ public Builder mergeFrom( } 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`.
      * 
@@ -605,6 +662,8 @@ public java.util.List getAwsNodeP } } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -619,6 +678,8 @@ public int getAwsNodePoolsCount() { } } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -633,14 +694,15 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePools(int index) } } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
* * 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(); @@ -654,6 +716,8 @@ public Builder setAwsNodePools( return this; } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -672,6 +736,8 @@ public Builder setAwsNodePools( return this; } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -692,14 +758,15 @@ 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`.
      * 
* * 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(); @@ -713,6 +780,8 @@ public Builder addAwsNodePools( return this; } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -731,6 +800,8 @@ public Builder addAwsNodePools( return this; } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -749,6 +820,8 @@ public Builder addAwsNodePools( return this; } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -759,8 +832,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); @@ -768,6 +840,8 @@ public Builder addAllAwsNodePools( return this; } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -785,6 +859,8 @@ public Builder clearAwsNodePools() { return this; } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -802,17 +878,20 @@ public Builder removeAwsNodePools(int index) { return this; } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
* * 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`.
      * 
@@ -822,19 +901,22 @@ 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`.
      * 
* * 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 { @@ -842,6 +924,8 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB } } /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
      * 
@@ -849,42 +933,48 @@ 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`.
      * 
* * 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`.
      * 
* * 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_; @@ -892,19 +982,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; @@ -913,21 +1005,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 { @@ -935,64 +1028,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1002,12 +1102,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(); } @@ -1016,16 +1116,16 @@ 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 { - return new ListAwsNodePoolsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAwsNodePoolsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1140,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java index f912a41..b6767c3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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`.
    * 
* * 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`.
    * 
@@ -25,6 +44,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`.
    * 
@@ -33,43 +54,51 @@ public interface ListAwsNodePoolsResponseOrBuilder extends */ int getAwsNodePoolsCount(); /** + * + * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources in the specified `AwsCluster`.
    * 
* * 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`.
    * 
* * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java index e8f55fe..0d1d37a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private ListAzureClientsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureClientsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAzureClientsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListAzureClientsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,29 +104,33 @@ private ListAzureClientsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent location which owns this collection of
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -116,7 +139,10 @@ private ListAzureClientsRequest(
    * for more details on GCP 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 @@ -125,14 +151,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.
@@ -141,17 +168,18 @@ public java.lang.String getParent() {
    * for more details on GCP 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 { @@ -162,6 +190,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return.
    * If not specified, a default value of 50 will be used by the service.
@@ -172,6 +202,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -182,12 +213,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,30 +230,30 @@ 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] request, if any.
    * 
* * 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 { @@ -228,6 +262,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,8 +274,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,8 +297,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_); @@ -277,19 +310,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -313,117 +344,127 @@ 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() @@ -431,16 +472,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +494,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 @@ -475,7 +515,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); + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest result = + new com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -487,38 +528,39 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest buildPartial() 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; @@ -526,7 +568,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_; onChanged(); @@ -557,7 +600,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -569,6 +613,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -577,14 +623,16 @@ public Builder mergeFrom(
      * for more details on GCP 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; @@ -593,6 +641,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -601,16 +651,17 @@ public java.lang.String getParent() {
      * for more details on GCP 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 { @@ -618,6 +669,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -626,21 +679,25 @@ public java.lang.String getParent() {
      * for more details on GCP 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -649,16 +706,21 @@ public Builder setParent(
      * for more details on GCP 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -667,24 +729,28 @@ public Builder clearParent() {
      * for more details on GCP 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -695,6 +761,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -702,6 +769,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -712,16 +781,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -732,10 +804,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -743,19 +816,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
      * 
* * 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; @@ -764,21 +839,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
      * 
* * 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 { @@ -786,64 +862,71 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients] request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -853,12 +936,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(); } @@ -867,16 +950,16 @@ 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 { - return new ListAzureClientsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAzureClientsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -891,6 +974,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java index fc70c32..712a49e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -16,11 +34,16 @@ public interface ListAzureClientsRequestOrBuilder extends
    * for more details on GCP 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.
@@ -29,13 +52,17 @@ public interface ListAzureClientsRequestOrBuilder extends
    * for more details on GCP 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.
    * If not specified, a default value of 50 will be used by the service.
@@ -46,29 +73,35 @@ 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] request, if any.
    * 
* * 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] request, if any.
    * 
* * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java index d3a33ac..49fd621 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private ListAzureClientsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureClientsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAzureClientsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListAzureClientsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - azureClients_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + azureClients_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + azureClients_.add( + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClient.parser(), extensionRegistry)); + break; } - azureClients_.add( - input.readMessage(com.google.cloud.gkemulticloud.v1.AzureClient.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListAzureClientsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { azureClients_ = java.util.Collections.unmodifiableList(azureClients_); @@ -94,22 +114,27 @@ private ListAzureClientsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List azureClients_; /** + * + * *
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources in the specified Google Cloud
    * project and region region.
@@ -122,6 +147,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.
@@ -130,11 +157,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.
@@ -147,6 +176,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.
@@ -159,6 +190,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.
@@ -175,12 +208,15 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrB
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   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 @@ -189,30 +225,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 { @@ -221,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +269,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)); } @@ -250,8 +286,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_); @@ -264,17 +299,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +332,127 @@ 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() @@ -416,17 +460,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAzureClientsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +486,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 @@ -463,7 +507,8 @@ 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); int from_bitField0_ = bitField0_; if (azureClientsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -483,38 +528,39 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse buildPartial() 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; @@ -522,7 +568,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()) { @@ -541,9 +588,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_); } @@ -572,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -581,21 +630,29 @@ public Builder mergeFrom( } 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.
@@ -611,6 +668,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.
@@ -626,6 +685,8 @@ public int getAzureClientsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources in the specified Google Cloud
      * project and region region.
@@ -641,6 +702,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.
@@ -648,8 +711,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();
@@ -663,6 +725,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.
@@ -682,6 +746,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.
@@ -703,6 +769,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.
@@ -710,8 +778,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();
@@ -725,6 +792,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.
@@ -744,6 +813,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.
@@ -763,6 +834,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.
@@ -774,8 +847,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);
@@ -783,6 +855,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.
@@ -801,6 +875,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.
@@ -819,6 +895,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.
@@ -826,11 +904,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.
@@ -841,11 +920,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.
@@ -853,8 +935,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 {
@@ -862,6 +944,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.
@@ -870,10 +954,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.
@@ -881,12 +967,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.
@@ -894,20 +981,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_;
@@ -915,19 +1005,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; @@ -936,21 +1028,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 { @@ -958,64 +1051,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1025,12 +1125,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(); } @@ -1039,16 +1139,16 @@ 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 { - return new ListAzureClientsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAzureClientsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1063,6 +1163,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java index d18934c..c1ae864 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java index 3b82a17..ab0e74e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private ListAzureClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureClustersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAzureClustersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListAzureClustersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,29 +104,33 @@ private ListAzureClustersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent location which owns this collection of
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -116,7 +139,10 @@ private ListAzureClustersRequest(
    * for more details on GCP 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 @@ -125,14 +151,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.
@@ -141,17 +168,18 @@ public java.lang.String getParent() {
    * for more details on GCP 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 { @@ -162,6 +190,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return.
    * If not specified, a default value of 50 will be used by the service.
@@ -172,6 +202,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -182,12 +213,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,30 +230,30 @@ 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] request, if any.
    * 
* * 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 { @@ -228,6 +262,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,8 +274,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,8 +297,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_); @@ -277,19 +310,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -313,117 +344,127 @@ 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() @@ -431,16 +472,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +494,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 @@ -475,7 +515,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); + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest result = + new com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -487,38 +528,39 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest buildPartial() 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; @@ -526,7 +568,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_; onChanged(); @@ -557,7 +600,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -569,6 +613,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -577,14 +623,16 @@ public Builder mergeFrom(
      * for more details on GCP 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; @@ -593,6 +641,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -601,16 +651,17 @@ public java.lang.String getParent() {
      * for more details on GCP 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 { @@ -618,6 +669,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -626,21 +679,25 @@ public java.lang.String getParent() {
      * for more details on GCP 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -649,16 +706,21 @@ public Builder setParent(
      * for more details on GCP 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -667,24 +729,28 @@ public Builder clearParent() {
      * for more details on GCP 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -695,6 +761,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -702,6 +769,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -712,16 +781,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -732,10 +804,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -743,19 +816,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
      * 
* * 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; @@ -764,21 +839,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
      * 
* * 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 { @@ -786,64 +862,71 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters] request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -853,12 +936,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(); } @@ -867,16 +950,16 @@ 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 { - return new ListAzureClustersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAzureClustersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -891,6 +974,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java index c429a0b..e71b0c0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -16,11 +34,16 @@ public interface ListAzureClustersRequestOrBuilder extends
    * for more details on GCP 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.
@@ -29,13 +52,17 @@ public interface ListAzureClustersRequestOrBuilder extends
    * for more details on GCP 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.
    * If not specified, a default value of 50 will be used by the service.
@@ -46,29 +73,35 @@ 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] request, if any.
    * 
* * 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] request, if any.
    * 
* * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java index 2d54320..8ab210b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private ListAzureClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureClustersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAzureClustersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListAzureClustersResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - azureClusters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + azureClusters_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + azureClusters_.add( + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry)); + break; } - azureClusters_.add( - input.readMessage(com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListAzureClustersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { azureClusters_ = java.util.Collections.unmodifiableList(azureClusters_); @@ -94,22 +114,27 @@ private ListAzureClustersResponse( makeExtensionsImmutable(); } } - 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; private java.util.List azureClusters_; /** + * + * *
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
    * project and region region.
@@ -122,6 +147,8 @@ public java.util.List getAzureCl
     return azureClusters_;
   }
   /**
+   *
+   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
    * project and region region.
@@ -130,11 +157,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 GCP
    * project and region region.
@@ -147,6 +176,8 @@ public int getAzureClustersCount() {
     return azureClusters_.size();
   }
   /**
+   *
+   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
    * project and region region.
@@ -159,6 +190,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 GCP
    * project and region region.
@@ -175,12 +208,15 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   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 @@ -189,30 +225,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 { @@ -221,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +269,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)); } @@ -250,8 +286,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_); @@ -264,17 +299,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +332,127 @@ 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() @@ -416,17 +460,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAzureClustersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +486,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 @@ -463,7 +507,8 @@ 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); int from_bitField0_ = bitField0_; if (azureClustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -483,38 +528,39 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse buildPartial( 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; @@ -522,7 +568,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()) { @@ -541,9 +588,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_); } @@ -572,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -581,21 +630,29 @@ public Builder mergeFrom( } 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 GCP
      * project and region region.
@@ -611,6 +668,8 @@ public java.util.List getAzureCl
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -626,6 +685,8 @@ public int getAzureClustersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -641,6 +702,8 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureClusters(int index
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -663,6 +726,8 @@ public Builder setAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -682,6 +747,8 @@ public Builder setAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -703,6 +770,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 GCP
      * project and region region.
@@ -725,6 +794,8 @@ public Builder addAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -744,6 +815,8 @@ public Builder addAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -763,6 +836,8 @@ public Builder addAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -774,8 +849,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);
@@ -783,6 +857,8 @@ public Builder addAllAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -801,6 +877,8 @@ public Builder clearAzureClusters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -819,6 +897,8 @@ public Builder removeAzureClusters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -831,6 +911,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 GCP
      * project and region region.
@@ -841,11 +923,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 GCP
      * project and region region.
@@ -853,8 +938,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 {
@@ -862,6 +947,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources in the specified GCP
      * project and region region.
@@ -870,10 +957,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 GCP
      * project and region region.
@@ -883,10 +972,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 GCP
      * project and region region.
@@ -894,16 +985,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(),
@@ -915,19 +1012,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; @@ -936,21 +1035,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 { @@ -958,64 +1058,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1025,12 +1132,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(); } @@ -1039,16 +1146,16 @@ 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 { - return new ListAzureClustersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAzureClustersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1063,6 +1170,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java index 0ed212f..c98541b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 GCP
    * 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 GCP
    * 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 GCP
    * 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 GCP
    * 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 GCP
    * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java index 452031b..5d902f3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private ListAzureNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureNodePoolsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAzureNodePoolsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListAzureNodePoolsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,29 +104,33 @@ private ListAzureNodePoolsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent `AzureCluster` which owns this collection of
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -117,7 +140,10 @@ private ListAzureNodePoolsRequest(
    * 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 @@ -126,14 +152,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.
@@ -143,17 +170,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 { @@ -164,6 +192,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of items to return.
    * If not specified, a default value of 50 will be used by the service.
@@ -174,6 +204,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -184,12 +215,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -198,30 +232,30 @@ 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] request, if any.
    * 
* * 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 { @@ -230,6 +264,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,8 +276,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_); } @@ -265,8 +299,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_); @@ -279,19 +312,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -315,117 +346,127 @@ 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() @@ -433,16 +474,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +496,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 @@ -477,7 +517,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); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest result = + new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -489,38 +530,39 @@ public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest buildPartial( 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; @@ -528,7 +570,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_; onChanged(); @@ -559,7 +602,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -571,6 +615,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -580,14 +626,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; @@ -596,6 +644,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -605,16 +655,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 { @@ -622,6 +673,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -631,21 +684,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -655,16 +712,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -674,24 +736,28 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -702,6 +768,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -709,6 +776,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -719,16 +788,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of items to return.
      * If not specified, a default value of 50 will be used by the service.
@@ -739,10 +811,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -750,19 +823,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
      * 
* * 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; @@ -771,21 +846,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
      * 
* * 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 { @@ -793,64 +869,71 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools] request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -860,12 +943,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(); } @@ -874,16 +957,16 @@ 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 { - return new ListAzureNodePoolsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAzureNodePoolsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,6 +981,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java index 49d51f3..9669b54 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -17,11 +35,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.
@@ -31,13 +54,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.
    * If not specified, a default value of 50 will be used by the service.
@@ -48,29 +75,35 @@ 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] request, if any.
    * 
* * 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] request, if any.
    * 
* * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java index d420719..55ef3d9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private ListAzureNodePoolsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureNodePoolsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAzureNodePoolsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListAzureNodePoolsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - azureNodePools_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + azureNodePools_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + azureNodePools_.add( + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry)); + break; } - azureNodePools_.add( - input.readMessage(com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListAzureNodePoolsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { azureNodePools_ = java.util.Collections.unmodifiableList(azureNodePools_); @@ -94,22 +114,27 @@ private ListAzureNodePoolsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List azureNodePools_; /** + * + * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
    * 
@@ -121,6 +146,8 @@ public java.util.List getAzureN return azureNodePools_; } /** + * + * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
    * 
@@ -128,11 +155,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`.
    * 
@@ -144,6 +173,8 @@ public int getAzureNodePoolsCount() { return azureNodePools_.size(); } /** + * + * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
    * 
@@ -155,6 +186,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`.
    * 
@@ -170,12 +203,15 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -184,30 +220,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 { @@ -216,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +264,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)); } @@ -245,8 +281,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_); @@ -259,17 +294,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +327,127 @@ 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() @@ -411,17 +455,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAzureNodePoolsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +481,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(); } @@ -458,7 +503,8 @@ 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); int from_bitField0_ = bitField0_; if (azureNodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +524,39 @@ public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse buildPartial 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; @@ -517,7 +564,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()) { @@ -536,9 +585,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_); } @@ -567,7 +617,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +627,30 @@ public Builder mergeFrom( } 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`.
      * 
@@ -605,6 +665,8 @@ public java.util.List getAzureN } } /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -619,6 +681,8 @@ public int getAzureNodePoolsCount() { } } /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -633,6 +697,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`.
      * 
@@ -654,6 +720,8 @@ public Builder setAzureNodePools( return this; } /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -672,6 +740,8 @@ public Builder setAzureNodePools( return this; } /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -692,6 +762,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`.
      * 
@@ -713,6 +785,8 @@ public Builder addAzureNodePools( return this; } /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -731,6 +805,8 @@ public Builder addAzureNodePools( return this; } /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -749,6 +825,8 @@ public Builder addAzureNodePools( return this; } /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -759,8 +837,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); @@ -768,6 +845,8 @@ public Builder addAllAzureNodePools( return this; } /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -785,6 +864,8 @@ public Builder clearAzureNodePools() { return this; } /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -802,6 +883,8 @@ public Builder removeAzureNodePools(int index) { return this; } /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -813,6 +896,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`.
      * 
@@ -822,19 +907,22 @@ 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`.
      * 
* * 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 { @@ -842,6 +930,8 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool } } /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
      * 
@@ -849,10 +939,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,26 +953,34 @@ 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`.
      * 
* * 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(), @@ -892,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; @@ -913,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 { @@ -935,64 +1038,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1002,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(); } @@ -1016,16 +1127,16 @@ 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 { - return new ListAzureNodePoolsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAzureNodePoolsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1151,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java index 1b4915e..d55a66f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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`.
    * 
* * 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`.
    * 
@@ -25,6 +44,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`.
    * 
@@ -33,43 +54,51 @@ public interface ListAzureNodePoolsResponseOrBuilder extends */ int getAzureNodePoolsCount(); /** + * + * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources in the specified `AzureCluster`.
    * 
* * 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`.
    * 
* * 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java index f61f80b..ee01e2c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LoggingComponentConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,36 +71,38 @@ private LoggingComponentConfig( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - enableComponents_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - enableComponents_.add(rawValue); - break; - } - case 10: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } enableComponents_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + enableComponents_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + enableComponents_.add(rawValue); + } + input.popLimit(oldLimit); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,8 +110,7 @@ private LoggingComponentConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -101,29 +119,35 @@ private LoggingComponentConfig( makeExtensionsImmutable(); } } - 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
      * 
@@ -132,6 +156,8 @@ public enum Component */ COMPONENT_UNSPECIFIED(0), /** + * + * *
      * This indicates that system logging components is enabled.
      * 
@@ -140,6 +166,8 @@ public enum Component */ SYSTEM_COMPONENTS(1), /** + * + * *
      * This indicates that user workload logging component is enabled.
      * 
@@ -151,6 +179,8 @@ public enum Component ; /** + * + * *
      * No component is specified
      * 
@@ -159,6 +189,8 @@ public enum Component */ public static final int COMPONENT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This indicates that system logging components is enabled.
      * 
@@ -167,6 +199,8 @@ public enum Component */ public static final int SYSTEM_COMPONENTS_VALUE = 1; /** + * + * *
      * This indicates that user workload logging component is enabled.
      * 
@@ -175,7 +209,6 @@ public enum Component */ public static final int WORKLOADS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,49 +233,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; @@ -262,34 +297,52 @@ private Component(int value) { public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; 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) { + java.lang.Integer, + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>() { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component result = com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.valueOf(from); - return result == null ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.UNRECOGNIZED : result; + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component result = + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.valueOf(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 @@ -297,37 +350,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. */ @@ -335,9 +403,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; @@ -349,8 +419,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); @@ -371,14 +440,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -388,12 +458,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -417,117 +488,127 @@ 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() @@ -535,16 +616,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +634,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 @@ -575,7 +655,8 @@ 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); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -590,38 +671,39 @@ public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig buildPartial() { 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; @@ -629,7 +711,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_; @@ -659,7 +742,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -668,10 +752,11 @@ public Builder mergeFrom( } 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_); @@ -679,46 +764,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. @@ -734,15 +842,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(); } @@ -752,16 +866,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()); @@ -770,11 +891,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() { @@ -784,23 +910,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. */ @@ -808,28 +943,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 of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. * @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. */ @@ -840,16 +984,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); @@ -857,9 +1005,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); } @@ -869,12 +1017,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(); } @@ -883,16 +1031,16 @@ 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 { - return new LoggingComponentConfig(input, extensionRegistry); - } - }; + 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 { + return new LoggingComponentConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -907,6 +1055,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java new file mode 100644 index 0000000..1697049 --- /dev/null +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java index 6c8b671..65f82c2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LoggingConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +68,30 @@ private LoggingConfig( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder subBuilder = null; - if (componentConfig_ != null) { - subBuilder = componentConfig_.toBuilder(); + case 10: + { + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder subBuilder = null; + if (componentConfig_ != null) { + subBuilder = componentConfig_.toBuilder(); + } + componentConfig_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(componentConfig_); + componentConfig_ = subBuilder.buildPartial(); + } + + break; } - componentConfig_ = input.readMessage(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(componentConfig_); - componentConfig_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +99,39 @@ private LoggingConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -114,18 +139,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;
    * 
@@ -133,11 +165,13 @@ 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() { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder + getComponentConfigOrBuilder() { return getComponentConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,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 (componentConfig_ != null) { output.writeMessage(1, getComponentConfig()); } @@ -164,8 +197,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +207,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -207,118 +239,127 @@ 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() @@ -326,16 +367,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +389,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 @@ -370,7 +410,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); + com.google.cloud.gkemulticloud.v1.LoggingConfig result = + new com.google.cloud.gkemulticloud.v1.LoggingConfig(this); if (componentConfigBuilder_ == null) { result.componentConfig_ = componentConfig_; } else { @@ -384,38 +425,39 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig buildPartial() { 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; @@ -423,7 +465,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()); } @@ -458,41 +501,55 @@ public Builder mergeFrom( 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 componentConfigBuilder_ != null || componentConfig_ != null; } /** + * + * *
      * 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(); @@ -506,6 +563,8 @@ public Builder setComponentConfig(com.google.cloud.gkemulticloud.v1.LoggingCompo return this; } /** + * + * *
      * The configuration of the logging components;
      * 
@@ -524,17 +583,22 @@ 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 (componentConfig_ != null) { componentConfig_ = - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.newBuilder(componentConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.newBuilder(componentConfig_) + .mergeFrom(value) + .buildPartial(); } else { componentConfig_ = value; } @@ -546,6 +610,8 @@ public Builder mergeComponentConfig(com.google.cloud.gkemulticloud.v1.LoggingCom return this; } /** + * + * *
      * The configuration of the logging components;
      * 
@@ -564,33 +630,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() { + 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;
      * 
@@ -598,21 +673,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); } @@ -622,12 +700,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(); } @@ -636,16 +714,16 @@ 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 { - return new LoggingConfig(input, extensionRegistry); - } - }; + 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 { + return new LoggingConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,6 +738,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.LoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java index 70222a1..33a1f8c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java index 09f322c..ac84950 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MaxPodsConstraint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,18 +68,18 @@ private MaxPodsConstraint( case 0: done = true; break; - case 8: { - - maxPodsPerNode_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + maxPodsPerNode_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -71,34 +87,39 @@ private MaxPodsConstraint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * 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 @@ -107,6 +128,7 @@ public long getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +140,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_); } @@ -133,8 +154,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -144,15 +164,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -165,125 +185,133 @@ 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) + unknownFields.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() @@ -291,16 +319,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -310,9 +337,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 @@ -331,7 +358,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); + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint result = + new com.google.cloud.gkemulticloud.v1.MaxPodsConstraint(this); result.maxPodsPerNode_ = maxPodsPerNode_; onBuilt(); return result; @@ -341,38 +369,39 @@ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint buildPartial() { 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; @@ -380,7 +409,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()); } @@ -403,7 +433,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -413,13 +444,16 @@ public Builder mergeFrom( return this; } - 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 @@ -427,37 +461,43 @@ 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. */ public Builder setMaxPodsPerNode(long value) { - + maxPodsPerNode_ = value; onChanged(); 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() { - + maxPodsPerNode_ = 0L; 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); } @@ -467,12 +507,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(); } @@ -481,16 +521,16 @@ 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 { - return new MaxPodsConstraint(input, extensionRegistry); - } - }; + 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 { + return new MaxPodsConstraint(input, extensionRegistry); + } + }; 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.MaxPodsConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java new file mode 100644 index 0000000..c1d60d8 --- /dev/null +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java index f301820..e5c2531 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +45,15 @@ private NodeTaint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodeTaint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private NodeTaint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private NodeTaint( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - key_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + key_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - value_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + value_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - effect_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + effect_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,36 +107,41 @@ private NodeTaint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -125,6 +150,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
@@ -136,6 +163,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
@@ -146,6 +175,8 @@ public enum Effect
      */
     PREFER_NO_SCHEDULE(2),
     /**
+     *
+     *
      * 
      * Evict any already-running pods that do not tolerate the taint.
      * Currently enforced by NodeController.
@@ -158,6 +189,8 @@ public enum Effect
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -166,6 +199,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
@@ -177,6 +212,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
@@ -187,6 +224,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.
@@ -196,7 +235,6 @@ public enum Effect
      */
     public static final int NO_EXECUTE_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -221,50 +259,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;
@@ -284,11 +323,14 @@ private Effect(int value) {
   public static final int KEY_FIELD_NUMBER = 1;
   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 @@ -297,29 +339,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 { @@ -330,11 +372,14 @@ public java.lang.String getKey() { public static final int VALUE_FIELD_NUMBER = 2; 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 @@ -343,29 +388,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 { @@ -376,31 +421,47 @@ public java.lang.String getValue() { public static final int EFFECT_FIELD_NUMBER = 3; private int 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 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() { + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.valueOf(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.valueOf(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; @@ -412,15 +473,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_); } unknownFields.writeTo(output); @@ -438,9 +499,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -450,17 +511,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -484,118 +544,127 @@ 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() @@ -603,16 +672,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -626,9 +694,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 @@ -647,7 +715,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); + com.google.cloud.gkemulticloud.v1.NodeTaint result = + new com.google.cloud.gkemulticloud.v1.NodeTaint(this); result.key_ = key_; result.value_ = value_; result.effect_ = effect_; @@ -659,38 +728,39 @@ public com.google.cloud.gkemulticloud.v1.NodeTaint buildPartial() { 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; @@ -741,18 +811,20 @@ public Builder mergeFrom( 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; @@ -761,20 +833,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 { @@ -782,54 +855,61 @@ 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) { + public Builder setKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); 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) { + public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -837,18 +917,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; @@ -857,20 +939,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 { @@ -878,54 +961,61 @@ 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) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); 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) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; @@ -933,51 +1023,75 @@ 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. */ public Builder setEffectValue(int value) { - + effect_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.valueOf(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.valueOf(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. */ @@ -985,28 +1099,33 @@ public Builder setEffect(com.google.cloud.gkemulticloud.v1.NodeTaint.Effect valu if (value == null) { throw new NullPointerException(); } - + effect_ = value.getNumber(); onChanged(); 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() { - + effect_ = 0; 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); } @@ -1016,12 +1135,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(); } @@ -1030,16 +1149,16 @@ 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 { - return new NodeTaint(input, extensionRegistry); - } - }; + 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 { + return new NodeTaint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1054,6 +1173,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.NodeTaint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java index d1817e3..6ca7bbd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java @@ -1,67 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java index 73a094f..98ceea4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = ""; @@ -27,16 +45,15 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,57 +72,64 @@ private OperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + target_ = s; + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - target_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - statusDetail_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + statusDetail_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - errorDetail_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + errorDetail_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,34 +137,40 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -148,11 +178,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 @@ -160,11 +194,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() { @@ -174,11 +211,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 @@ -186,11 +227,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 @@ -198,11 +243,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() { @@ -212,11 +260,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; 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 @@ -225,29 +276,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 { @@ -258,11 +309,14 @@ public java.lang.String getTarget() { public static final int STATUS_DETAIL_FIELD_NUMBER = 4; 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 @@ -271,29 +325,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 { @@ -304,11 +358,14 @@ public java.lang.String getStatusDetail() { public static final int ERROR_DETAIL_FIELD_NUMBER = 5; 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 @@ -317,29 +374,29 @@ 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 { @@ -348,6 +405,7 @@ public java.lang.String getErrorDetail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -359,8 +417,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()); } @@ -386,12 +443,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_); @@ -410,29 +465,25 @@ 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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -464,117 +515,126 @@ public int hashCode() { } 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() @@ -582,16 +642,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -617,9 +676,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 @@ -638,7 +697,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); + com.google.cloud.gkemulticloud.v1.OperationMetadata result = + new com.google.cloud.gkemulticloud.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -660,38 +720,39 @@ public com.google.cloud.gkemulticloud.v1.OperationMetadata buildPartial() { 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; @@ -699,7 +760,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()); } @@ -737,7 +799,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -749,39 +812,58 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -797,14 +879,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(); onChanged(); @@ -815,17 +900,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -837,11 +926,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() { if (createTimeBuilder_ == null) { @@ -855,48 +948,64 @@ 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() { - + onChanged(); 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_; @@ -904,24 +1013,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -932,11 +1052,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) { @@ -952,14 +1075,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(); onChanged(); @@ -970,17 +1095,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -992,11 +1120,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() { if (endTimeBuilder_ == null) { @@ -1010,48 +1141,59 @@ 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() { - + onChanged(); 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_; @@ -1059,18 +1201,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; @@ -1079,20 +1223,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 { @@ -1100,54 +1245,61 @@ 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) { + public Builder setTarget(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; 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() { - + target_ = getDefaultInstance().getTarget(); onChanged(); 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) { + public Builder setTargetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1155,18 +1307,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; @@ -1175,20 +1329,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 { @@ -1196,54 +1351,61 @@ 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) { + public Builder setStatusDetail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusDetail_ = value; 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() { - + statusDetail_ = getDefaultInstance().getStatusDetail(); onChanged(); 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) { + public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusDetail_ = value; onChanged(); return this; @@ -1251,18 +1413,20 @@ 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; @@ -1271,20 +1435,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 { @@ -1292,61 +1457,68 @@ 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) { + public Builder setErrorDetail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorDetail_ = value; 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() { - + errorDetail_ = getDefaultInstance().getErrorDetail(); 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]; + * * @param value The bytes for errorDetail to set. * @return This builder for chaining. */ - public Builder setErrorDetailBytes( - com.google.protobuf.ByteString value) { + public Builder setErrorDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorDetail_ = 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); } @@ -1356,12 +1528,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(); } @@ -1370,16 +1542,16 @@ 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1394,6 +1566,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java index 0f3814b..f631c0f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java @@ -1,123 +1,176 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java index e177d11..1d4133b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +44,15 @@ private ReplicaPlacement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReplicaPlacement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReplicaPlacement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ReplicaPlacement( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - subnetId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + subnetId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - azureAvailabilityZone_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + azureAvailabilityZone_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private ReplicaPlacement( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 the cluster
@@ -110,6 +133,7 @@ private ReplicaPlacement(
    * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ @java.lang.Override @@ -118,14 +142,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 the cluster
@@ -133,16 +158,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 { @@ -153,12 +177,15 @@ public java.lang.String getSubnetId() { public static final int AZURE_AVAILABILITY_ZONE_FIELD_NUMBER = 2; 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 @@ -167,30 +194,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 { @@ -199,6 +226,7 @@ public java.lang.String getAzureAvailabilityZone() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,8 +238,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_); } @@ -241,17 +268,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -273,117 +299,126 @@ 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() @@ -391,16 +426,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +446,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 @@ -433,7 +467,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); + com.google.cloud.gkemulticloud.v1.ReplicaPlacement result = + new com.google.cloud.gkemulticloud.v1.ReplicaPlacement(this); result.subnetId_ = subnetId_; result.azureAvailabilityZone_ = azureAvailabilityZone_; onBuilt(); @@ -444,38 +479,39 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement buildPartial() { 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; @@ -483,7 +519,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_; onChanged(); @@ -511,7 +548,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.ReplicaPlacement) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.ReplicaPlacement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -523,6 +561,8 @@ public Builder mergeFrom( 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 the cluster
@@ -530,13 +570,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; @@ -545,6 +585,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 the cluster
@@ -552,15 +594,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 { @@ -568,6 +609,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 the cluster
@@ -575,20 +618,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) { + public Builder setSubnetId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetId_ = value; 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 the cluster
@@ -596,15 +641,18 @@ public Builder setSubnetId(
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubnetId() { - + subnetId_ = getDefaultInstance().getSubnetId(); 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 the cluster
@@ -612,16 +660,16 @@ 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) { + public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetId_ = value; onChanged(); return this; @@ -629,19 +677,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; @@ -650,21 +700,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 { @@ -672,64 +723,71 @@ 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) { + public Builder setAzureAvailabilityZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + azureAvailabilityZone_ = value; 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() { - + azureAvailabilityZone_ = getDefaultInstance().getAzureAvailabilityZone(); 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]; + * * @param value The bytes for azureAvailabilityZone to set. * @return This builder for chaining. */ - public Builder setAzureAvailabilityZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setAzureAvailabilityZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + azureAvailabilityZone_ = 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); } @@ -739,12 +797,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(); } @@ -753,16 +811,16 @@ 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 { - return new ReplicaPlacement(input, extensionRegistry); - } - }; + 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 { + return new ReplicaPlacement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -777,6 +835,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java index c54f91d..c0c7ba0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 the cluster
@@ -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 the cluster
@@ -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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java index dd87158..4ae803d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateAwsClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,44 +68,49 @@ private UpdateAwsClusterRequest( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder subBuilder = null; - if (awsCluster_ != null) { - subBuilder = awsCluster_.toBuilder(); - } - awsCluster_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(awsCluster_); - awsCluster_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder subBuilder = null; + if (awsCluster_ != null) { + subBuilder = awsCluster_.toBuilder(); + } + awsCluster_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(awsCluster_); + awsCluster_ = subBuilder.buildPartial(); + } - break; - } - case 16: { - - validateOnly_ = input.readBool(); - break; - } - case 34: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 16: + { + validateOnly_ = input.readBool(); + break; } + case 34: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,34 +118,41 @@ private UpdateAwsClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -132,23 +160,34 @@ 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() { @@ -158,11 +197,14 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuil public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -173,6 +215,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
@@ -199,7 +243,9 @@ public boolean getValidateOnly() {
    *  *   `logging_config`.
    * 
* - * .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 @@ -207,6 +253,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
@@ -233,7 +281,9 @@ public boolean hasUpdateMask() {
    *  *   `logging_config`.
    * 
* - * .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 @@ -241,6 +291,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
@@ -267,7 +319,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `logging_config`.
    * 
* - * .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() { @@ -275,6 +328,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,8 +340,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()); } @@ -307,16 +360,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -326,24 +376,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -361,8 +409,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(); @@ -373,117 +420,127 @@ 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() @@ -491,16 +548,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +578,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 @@ -543,7 +599,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); + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest result = + new com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest(this); if (awsClusterBuilder_ == null) { result.awsCluster_ = awsCluster_; } else { @@ -563,38 +620,39 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest buildPartial() 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; @@ -602,7 +660,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()); } @@ -631,7 +690,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -643,39 +703,58 @@ public Builder mergeFrom( 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 awsClusterBuilder_ != null || 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. */ 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) { @@ -691,11 +770,15 @@ 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) { @@ -709,17 +792,23 @@ 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 (awsCluster_ != null) { awsCluster_ = - com.google.cloud.gkemulticloud.v1.AwsCluster.newBuilder(awsCluster_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsCluster.newBuilder(awsCluster_) + .mergeFrom(value) + .buildPartial(); } else { awsCluster_ = value; } @@ -731,11 +820,15 @@ 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() { if (awsClusterBuilder_ == null) { @@ -749,60 +842,79 @@ 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() { - + onChanged(); 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 @@ -810,30 +922,36 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; @@ -841,8 +959,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
@@ -869,13 +992,17 @@ public Builder clearValidateOnly() {
      *  *   `logging_config`.
      * 
* - * .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 updateMaskBuilder_ != null || 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
@@ -902,17 +1029,23 @@ public boolean hasUpdateMask() {
      *  *   `logging_config`.
      * 
* - * .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
@@ -939,7 +1072,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `logging_config`.
      * 
* - * .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) { @@ -955,6 +1089,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
@@ -981,10 +1117,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `logging_config`.
      * 
* - * .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(); onChanged(); @@ -995,6 +1131,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
@@ -1021,13 +1159,14 @@ public Builder setUpdateMask(
      *  *   `logging_config`.
      * 
* - * .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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -1039,6 +1178,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
@@ -1065,7 +1206,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `logging_config`.
      * 
* - * .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() { if (updateMaskBuilder_ == null) { @@ -1079,6 +1221,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
@@ -1105,14 +1249,17 @@ public Builder clearUpdateMask() {
      *  *   `logging_config`.
      * 
* - * .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() { - + onChanged(); 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
@@ -1139,17 +1286,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `logging_config`.
      * 
* - * .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
@@ -1176,24 +1327,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `logging_config`.
      * 
* - * .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); } @@ -1203,12 +1358,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(); } @@ -1217,16 +1372,16 @@ 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 { - return new UpdateAwsClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateAwsClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1241,6 +1396,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java index 9c8ea97..dc87270 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java @@ -1,50 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -71,11 +106,15 @@ public interface UpdateAwsClusterRequestOrBuilder extends
    *  *   `logging_config`.
    * 
* - * .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
@@ -102,11 +141,15 @@ public interface UpdateAwsClusterRequestOrBuilder extends
    *  *   `logging_config`.
    * 
* - * .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
@@ -133,7 +176,8 @@ public interface UpdateAwsClusterRequestOrBuilder extends
    *  *   `logging_config`.
    * 
* - * .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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java index cf43a98..e4c8dcf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateAwsNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,44 +68,49 @@ private UpdateAwsNodePoolRequest( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder subBuilder = null; - if (awsNodePool_ != null) { - subBuilder = awsNodePool_.toBuilder(); - } - awsNodePool_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(awsNodePool_); - awsNodePool_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder subBuilder = null; + if (awsNodePool_ != null) { + subBuilder = awsNodePool_.toBuilder(); + } + awsNodePool_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(awsNodePool_); + awsNodePool_ = subBuilder.buildPartial(); + } - break; - } - case 16: { - - validateOnly_ = input.readBool(); - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 16: + { + validateOnly_ = input.readBool(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,34 +118,41 @@ private UpdateAwsNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -132,23 +160,34 @@ 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() { @@ -158,11 +197,14 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBu public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -173,6 +215,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
@@ -194,7 +238,9 @@ public boolean getValidateOnly() {
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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 @@ -202,6 +248,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
@@ -223,7 +271,9 @@ public boolean hasUpdateMask() {
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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 @@ -231,6 +281,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
@@ -252,7 +304,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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() { @@ -260,6 +313,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,8 +325,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()); } @@ -292,16 +345,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -311,24 +361,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -346,8 +394,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(); @@ -358,117 +405,127 @@ 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() @@ -476,16 +533,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -507,9 +563,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 @@ -528,7 +584,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); + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest(this); if (awsNodePoolBuilder_ == null) { result.awsNodePool_ = awsNodePool_; } else { @@ -548,38 +605,39 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest buildPartial() 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; @@ -587,7 +645,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()); } @@ -616,7 +675,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,39 +688,58 @@ public Builder mergeFrom( 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 awsNodePoolBuilder_ != null || 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. */ 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) { @@ -676,11 +755,15 @@ 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) { @@ -694,17 +777,23 @@ 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 (awsNodePool_ != null) { awsNodePool_ = - com.google.cloud.gkemulticloud.v1.AwsNodePool.newBuilder(awsNodePool_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AwsNodePool.newBuilder(awsNodePool_) + .mergeFrom(value) + .buildPartial(); } else { awsNodePool_ = value; } @@ -716,11 +805,15 @@ 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() { if (awsNodePoolBuilder_ == null) { @@ -734,60 +827,79 @@ 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() { - + onChanged(); 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 @@ -795,30 +907,36 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; @@ -826,8 +944,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
@@ -849,13 +972,17 @@ public Builder clearValidateOnly() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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 updateMaskBuilder_ != null || 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
@@ -877,17 +1004,23 @@ public boolean hasUpdateMask() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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
@@ -909,7 +1042,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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) { @@ -925,6 +1059,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
@@ -946,10 +1082,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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(); onChanged(); @@ -960,6 +1096,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
@@ -981,13 +1119,14 @@ public Builder setUpdateMask(
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -999,6 +1138,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
@@ -1020,7 +1161,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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() { if (updateMaskBuilder_ == null) { @@ -1034,6 +1176,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
@@ -1055,14 +1199,17 @@ public Builder clearUpdateMask() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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() { - + onChanged(); 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
@@ -1084,17 +1231,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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
@@ -1116,24 +1267,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `config.ssh_config.ec2_key_pair`.
      * 
* - * .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); } @@ -1143,12 +1298,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(); } @@ -1157,16 +1312,16 @@ 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 { - return new UpdateAwsNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateAwsNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1181,6 +1336,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java index cd93317..5037229 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java @@ -1,50 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -66,11 +101,15 @@ public interface UpdateAwsNodePoolRequestOrBuilder extends
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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 UpdateAwsNodePoolRequestOrBuilder extends
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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
@@ -118,7 +161,8 @@ public interface UpdateAwsNodePoolRequestOrBuilder extends
    *  *   `config.ssh_config.ec2_key_pair`.
    * 
* - * .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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java index bee633e..553c825 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateAzureClusterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,44 +68,49 @@ private UpdateAzureClusterRequest( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder subBuilder = null; - if (azureCluster_ != null) { - subBuilder = azureCluster_.toBuilder(); - } - azureCluster_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(azureCluster_); - azureCluster_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder subBuilder = null; + if (azureCluster_ != null) { + subBuilder = azureCluster_.toBuilder(); + } + azureCluster_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(azureCluster_); + azureCluster_ = subBuilder.buildPartial(); + } - break; - } - case 16: { - - validateOnly_ = input.readBool(); - break; - } - case 34: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 16: + { + validateOnly_ = input.readBool(); + break; } + case 34: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,34 +118,41 @@ private UpdateAzureClusterRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -132,23 +160,34 @@ 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() { @@ -158,11 +197,14 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOr public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -173,6 +215,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
@@ -187,7 +231,9 @@ public boolean getValidateOnly() {
    *  *   `logging_config`
    * 
* - * .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 @@ -195,6 +241,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
@@ -209,7 +257,9 @@ public boolean hasUpdateMask() {
    *  *   `logging_config`
    * 
* - * .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 @@ -217,6 +267,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
@@ -231,7 +283,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `logging_config`
    * 
* - * .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() { @@ -239,6 +292,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,8 +304,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()); } @@ -271,16 +324,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -290,24 +340,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -325,8 +373,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(); @@ -337,117 +384,127 @@ 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() @@ -455,16 +512,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +542,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 @@ -507,7 +563,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); + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest result = + new com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest(this); if (azureClusterBuilder_ == null) { result.azureCluster_ = azureCluster_; } else { @@ -527,38 +584,39 @@ public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest buildPartial( 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; @@ -566,7 +624,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()); } @@ -595,7 +654,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -607,39 +667,58 @@ public Builder mergeFrom( 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 azureClusterBuilder_ != null || 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. */ 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) { @@ -655,11 +734,15 @@ 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) { @@ -673,17 +756,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 (azureCluster_ != null) { azureCluster_ = - com.google.cloud.gkemulticloud.v1.AzureCluster.newBuilder(azureCluster_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureCluster.newBuilder(azureCluster_) + .mergeFrom(value) + .buildPartial(); } else { azureCluster_ = value; } @@ -695,11 +784,15 @@ 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() { if (azureClusterBuilder_ == null) { @@ -713,60 +806,79 @@ 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() { - + onChanged(); 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 @@ -774,30 +886,36 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; @@ -805,8 +923,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
@@ -821,13 +944,17 @@ public Builder clearValidateOnly() {
      *  *   `logging_config`
      * 
* - * .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 updateMaskBuilder_ != null || 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
@@ -842,17 +969,23 @@ public boolean hasUpdateMask() {
      *  *   `logging_config`
      * 
* - * .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
@@ -867,7 +1000,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `logging_config`
      * 
* - * .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) { @@ -883,6 +1017,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
@@ -897,10 +1033,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `logging_config`
      * 
* - * .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(); onChanged(); @@ -911,6 +1047,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
@@ -925,13 +1063,14 @@ public Builder setUpdateMask(
      *  *   `logging_config`
      * 
* - * .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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -943,6 +1082,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
@@ -957,7 +1098,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `logging_config`
      * 
* - * .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() { if (updateMaskBuilder_ == null) { @@ -971,6 +1113,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
@@ -985,14 +1129,17 @@ public Builder clearUpdateMask() {
      *  *   `logging_config`
      * 
* - * .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() { - + onChanged(); 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
@@ -1007,17 +1154,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `logging_config`
      * 
* - * .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
@@ -1032,24 +1183,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `logging_config`
      * 
* - * .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); } @@ -1059,12 +1214,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(); } @@ -1073,16 +1228,16 @@ 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 { - return new UpdateAzureClusterRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateAzureClusterRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,6 +1252,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java index 1ff3bf1..5871d23 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java @@ -1,50 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -59,11 +94,15 @@ public interface UpdateAzureClusterRequestOrBuilder extends
    *  *   `logging_config`
    * 
* - * .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
@@ -78,11 +117,15 @@ public interface UpdateAzureClusterRequestOrBuilder extends
    *  *   `logging_config`
    * 
* - * .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
@@ -97,7 +140,8 @@ public interface UpdateAzureClusterRequestOrBuilder extends
    *  *   `logging_config`
    * 
* - * .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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java index 7fb6bc0..2fc63d1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateAzureNodePoolRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,44 +68,49 @@ private UpdateAzureNodePoolRequest( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder subBuilder = null; - if (azureNodePool_ != null) { - subBuilder = azureNodePool_.toBuilder(); - } - azureNodePool_ = input.readMessage(com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(azureNodePool_); - azureNodePool_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder subBuilder = null; + if (azureNodePool_ != null) { + subBuilder = azureNodePool_.toBuilder(); + } + azureNodePool_ = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(azureNodePool_); + azureNodePool_ = subBuilder.buildPartial(); + } - break; - } - case 16: { - - validateOnly_ = input.readBool(); - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 16: + { + validateOnly_ = input.readBool(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,34 +118,41 @@ private UpdateAzureNodePoolRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -132,23 +160,34 @@ 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() { @@ -158,11 +197,14 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; 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 @@ -173,6 +215,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
@@ -184,7 +228,9 @@ public boolean getValidateOnly() {
    *  *   `config.vm_size`.
    * 
* - * .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 @@ -192,6 +238,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
@@ -203,7 +251,9 @@ public boolean hasUpdateMask() {
    *  *   `config.vm_size`.
    * 
* - * .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 @@ -211,6 +261,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
@@ -222,7 +274,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `config.vm_size`.
    * 
* - * .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() { @@ -230,6 +283,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -241,8 +295,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()); } @@ -262,16 +315,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -281,24 +331,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -316,8 +364,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(); @@ -328,117 +375,127 @@ 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() @@ -446,16 +503,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -477,13 +533,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(); } @@ -498,7 +555,8 @@ 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); + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest(this); if (azureNodePoolBuilder_ == null) { result.azureNodePool_ = azureNodePool_; } else { @@ -518,38 +576,39 @@ public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest buildPartial 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; @@ -557,7 +616,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()); } @@ -586,7 +647,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,39 +660,58 @@ public Builder mergeFrom( 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 azureNodePoolBuilder_ != null || 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. */ 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) { @@ -646,11 +727,15 @@ 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) { @@ -664,17 +749,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 (azureNodePool_ != null) { azureNodePool_ = - com.google.cloud.gkemulticloud.v1.AzureNodePool.newBuilder(azureNodePool_).mergeFrom(value).buildPartial(); + com.google.cloud.gkemulticloud.v1.AzureNodePool.newBuilder(azureNodePool_) + .mergeFrom(value) + .buildPartial(); } else { azureNodePool_ = value; } @@ -686,11 +777,15 @@ 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() { if (azureNodePoolBuilder_ == null) { @@ -704,60 +799,79 @@ 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() { - + onChanged(); 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 @@ -765,30 +879,36 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; @@ -796,8 +916,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
@@ -809,13 +934,17 @@ public Builder clearValidateOnly() {
      *  *   `config.vm_size`.
      * 
* - * .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 updateMaskBuilder_ != null || 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
@@ -827,17 +956,23 @@ public boolean hasUpdateMask() {
      *  *   `config.vm_size`.
      * 
* - * .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
@@ -849,7 +984,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `config.vm_size`.
      * 
* - * .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) { @@ -865,6 +1001,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
@@ -876,10 +1014,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.vm_size`.
      * 
* - * .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(); onChanged(); @@ -890,6 +1028,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
@@ -901,13 +1041,14 @@ public Builder setUpdateMask(
      *  *   `config.vm_size`.
      * 
* - * .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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -919,6 +1060,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
@@ -930,7 +1073,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.vm_size`.
      * 
* - * .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() { if (updateMaskBuilder_ == null) { @@ -944,6 +1088,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
@@ -955,14 +1101,17 @@ public Builder clearUpdateMask() {
      *  *   `config.vm_size`.
      * 
* - * .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() { - + onChanged(); 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
@@ -974,17 +1123,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `config.vm_size`.
      * 
* - * .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
@@ -996,24 +1149,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `config.vm_size`.
      * 
* - * .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); } @@ -1023,12 +1180,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(); } @@ -1037,16 +1195,16 @@ 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 { - return new UpdateAzureNodePoolRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateAzureNodePoolRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1061,6 +1219,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java index 4cd8733..6cff924 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java @@ -1,50 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -56,11 +91,15 @@ public interface UpdateAzureNodePoolRequestOrBuilder extends
    *  *   `config.vm_size`.
    * 
* - * .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
@@ -72,11 +111,15 @@ public interface UpdateAzureNodePoolRequestOrBuilder extends
    *  *   `config.vm_size`.
    * 
* - * .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
@@ -88,7 +131,8 @@ public interface UpdateAzureNodePoolRequestOrBuilder extends
    *  *   `config.vm_size`.
    * 
* - * .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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java index c3668cc..95bae54 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,16 +45,15 @@ private WorkloadIdentityConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WorkloadIdentityConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WorkloadIdentityConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private WorkloadIdentityConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - issuerUri_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + issuerUri_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - workloadPool_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + workloadPool_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - identityProvider_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + identityProvider_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +107,39 @@ private WorkloadIdentityConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object issuerUri_; /** + * + * *
    * The OIDC issuer URL for this cluster.
    * 
* * string issuer_uri = 1; + * * @return The issuerUri. */ @java.lang.Override @@ -123,29 +148,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 { @@ -156,11 +181,14 @@ public java.lang.String getIssuerUri() { public static final int WORKLOAD_POOL_FIELD_NUMBER = 2; private volatile java.lang.Object workloadPool_; /** + * + * *
    * The Workload Identity Pool associated to the cluster.
    * 
* * string workload_pool = 2; + * * @return The workloadPool. */ @java.lang.Override @@ -169,29 +197,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 { @@ -202,12 +230,15 @@ public java.lang.String getWorkloadPool() { public static final int IDENTITY_PROVIDER_FIELD_NUMBER = 3; 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 @@ -216,30 +247,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 { @@ -248,6 +279,7 @@ public java.lang.String getIdentityProvider() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuerUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuerUri_); } @@ -296,19 +327,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,117 +361,127 @@ 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() @@ -450,16 +489,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +511,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 @@ -494,7 +532,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); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig result = + new com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig(this); result.issuerUri_ = issuerUri_; result.workloadPool_ = workloadPool_; result.identityProvider_ = identityProvider_; @@ -506,38 +545,39 @@ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig buildPartial() { 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; @@ -545,7 +585,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_; onChanged(); @@ -577,7 +618,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -589,18 +631,20 @@ public Builder mergeFrom( 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; @@ -609,20 +653,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 { @@ -630,54 +675,61 @@ 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) { + public Builder setIssuerUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issuerUri_ = value; onChanged(); return this; } /** + * + * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; + * * @return This builder for chaining. */ public Builder clearIssuerUri() { - + issuerUri_ = getDefaultInstance().getIssuerUri(); onChanged(); 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) { + public Builder setIssuerUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issuerUri_ = value; onChanged(); return this; @@ -685,18 +737,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; @@ -705,20 +759,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 { @@ -726,54 +781,61 @@ 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) { + public Builder setWorkloadPool(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workloadPool_ = value; onChanged(); return this; } /** + * + * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; + * * @return This builder for chaining. */ public Builder clearWorkloadPool() { - + workloadPool_ = getDefaultInstance().getWorkloadPool(); onChanged(); 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) { + public Builder setWorkloadPoolBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workloadPool_ = value; onChanged(); return this; @@ -781,19 +843,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; @@ -802,21 +866,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 { @@ -824,64 +889,71 @@ 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) { + public Builder setIdentityProvider(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + identityProvider_ = value; 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() { - + identityProvider_ = getDefaultInstance().getIdentityProvider(); onChanged(); 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) { + public Builder setIdentityProviderBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identityProvider_ = 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); } @@ -891,12 +963,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(); } @@ -905,16 +977,16 @@ 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 { - return new WorkloadIdentityConfig(input, extensionRegistry); - } - }; + 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 { + return new WorkloadIdentityConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -929,6 +1001,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java rename to proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java index fda5f36..96e2b50 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java +++ b/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java @@ -1,71 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto rename to proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto rename to proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto rename to proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto rename to proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto b/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/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto rename to proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsClusterLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsClusterLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsClusterLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/AsyncCreateAwsClusterLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePoolLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePoolLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePoolLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/AsyncCreateAwsNodePoolLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsClusterLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsClusterLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsClusterLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/AsyncDeleteAwsClusterLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawscluster/SyncDeleteAwsClusterString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/deleteawsnodepool/SyncDeleteAwsNodePoolString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/SyncGenerateAwsAccessToken.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/SyncGenerateAwsAccessToken.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/SyncGenerateAwsAccessToken.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/generateawsaccesstoken/SyncGenerateAwsAccessToken.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/AsyncGetAwsCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/AsyncGetAwsCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/AsyncGetAwsCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/AsyncGetAwsCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterAwsclustername.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterAwsclustername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterAwsclustername.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterAwsclustername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawscluster/SyncGetAwsClusterString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/AsyncGetAwsNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/AsyncGetAwsNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/AsyncGetAwsNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/AsyncGetAwsNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsnodepool/SyncGetAwsNodePoolString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/AsyncGetAwsServerConfig.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/AsyncGetAwsServerConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/AsyncGetAwsServerConfig.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/AsyncGetAwsServerConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfig.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfig.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/getawsserverconfig/SyncGetAwsServerConfigString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClusters.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClusters.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClusters.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClusters.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClustersPaged.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClustersPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClustersPaged.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/AsyncListAwsClustersPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClusters.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClusters.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClusters.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClusters.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersLocationname.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersLocationname.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsclusters/SyncListAwsClustersString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePools.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePools.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePools.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePools.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePoolsPaged.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePoolsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePoolsPaged.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/AsyncListAwsNodePoolsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePools.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePools.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePools.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePools.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/listawsnodepools/SyncListAwsNodePoolsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsClusterLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsClusterLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsClusterLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/AsyncUpdateAwsClusterLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclustersclient/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClient.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClient.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClient.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClient.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClientLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClientLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClientLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/AsyncCreateAzureClientLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClient.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClient.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClient.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClient.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientStringAzureclientString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientStringAzureclientString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientStringAzureclientString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazureclient/SyncCreateAzureClientStringAzureclientString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureClusterLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureClusterLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureClusterLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/AsyncCreateAzureClusterLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePoolLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePoolLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePoolLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/AsyncCreateAzureNodePoolLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClient.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClient.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClient.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClient.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClientLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClientLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClientLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/AsyncDeleteAzureClientLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClient.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClient.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClient.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClient.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientAzureclientname.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientAzureclientname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientAzureclientname.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientAzureclientname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazureclient/SyncDeleteAzureClientString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureClusterLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureClusterLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureClusterLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/AsyncDeleteAzureClusterLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurecluster/SyncDeleteAzureClusterString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/deleteazurenodepool/SyncDeleteAzureNodePoolString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/SyncGenerateAzureAccessToken.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/SyncGenerateAzureAccessToken.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/SyncGenerateAzureAccessToken.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/generateazureaccesstoken/SyncGenerateAzureAccessToken.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/AsyncGetAzureClient.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/AsyncGetAzureClient.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/AsyncGetAzureClient.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/AsyncGetAzureClient.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClient.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClient.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClient.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClient.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientAzureclientname.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientAzureclientname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientAzureclientname.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientAzureclientname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureclient/SyncGetAzureClientString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/AsyncGetAzureCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/AsyncGetAzureCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/AsyncGetAzureCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/AsyncGetAzureCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterAzureclustername.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterAzureclustername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterAzureclustername.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterAzureclustername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurecluster/SyncGetAzureClusterString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/AsyncGetAzureNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/AsyncGetAzureNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/AsyncGetAzureNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/AsyncGetAzureNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazurenodepool/SyncGetAzureNodePoolString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/AsyncGetAzureServerConfig.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/AsyncGetAzureServerConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/AsyncGetAzureServerConfig.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/AsyncGetAzureServerConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfig.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfig.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfig.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfig.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/getazureserverconfig/SyncGetAzureServerConfigString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClients.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClients.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClients.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClients.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClientsPaged.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClientsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClientsPaged.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/AsyncListAzureClientsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClients.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClients.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClients.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClients.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsLocationname.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsLocationname.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclients/SyncListAzureClientsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClusters.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClusters.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClusters.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClusters.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClustersPaged.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClustersPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClustersPaged.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/AsyncListAzureClustersPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClusters.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClusters.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClusters.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClusters.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersLocationname.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersLocationname.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazureclusters/SyncListAzureClustersString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePools.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePools.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePools.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePools.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePoolsPaged.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePoolsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePoolsPaged.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/AsyncListAzureNodePoolsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePools.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePools.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePools.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePools.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsString.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsString.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/listazurenodepools/SyncListAzureNodePoolsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureClusterLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureClusterLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureClusterLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/AsyncUpdateAzureClusterLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePool.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePool.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePool.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePool.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclustersclient/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java b/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java rename to samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java From c872e239cb5f762899c457cad29dc5208c7aa0b9 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 23 Jun 2022 20:59:50 +0000 Subject: [PATCH 3/4] deps: adding gax-httpjson --- google-cloud-gke-multi-cloud/pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/google-cloud-gke-multi-cloud/pom.xml b/google-cloud-gke-multi-cloud/pom.xml index dc4e31e..9615373 100644 --- a/google-cloud-gke-multi-cloud/pom.xml +++ b/google-cloud-gke-multi-cloud/pom.xml @@ -58,6 +58,10 @@ com.google.api gax-grpc + + com.google.api + gax-httpjson + org.threeten threetenbp @@ -77,12 +81,24 @@ test + + com.google.api + gax + testlib + test + com.google.api gax-grpc testlib test + + com.google.api + gax-httpjson + testlib + test + From dec1e2af459d401b3f7872965b60e456b13f8d86 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 21:02:23 +0000 Subject: [PATCH 4/4] =?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 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 03b9906..14a8978 100644 --- a/README.md +++ b/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-gke-multi-cloud - 0.1.0 + 0.1.1 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.1.0' +implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.1.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.1.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.1.1" ``` ## Authentication