From 1be133f4dc818dece35518a8df15813dbb68052c Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Fri, 22 Mar 2024 13:59:17 -0400 Subject: [PATCH] chore: generate libraries at Fri Mar 22 03:08:47 UTC 2024 (#10603) --- generation_config.yaml | 2 +- .../v1beta1/PredictionServiceClient.java | 3 + .../reflect-config.json | 45 + .../v1beta1/PredictionServiceClientTest.java | 2 + .../v1beta1/FunctionCallingConfig.java | 1122 + .../FunctionCallingConfigOrBuilder.java | 118 + .../v1beta1/GenerateContentRequest.java | 337 +- .../GenerateContentRequestOrBuilder.java | 41 + .../v1beta1/PredictionServiceProto.java | 223 +- .../cloud/aiplatform/v1beta1/ToolConfig.java | 756 + .../v1beta1/ToolConfigOrBuilder.java | 68 + .../cloud/aiplatform/v1beta1/ToolProto.java | 45 +- .../v1beta1/prediction_service.proto | 3 + .../cloud/aiplatform/v1beta1/tool.proto | 35 + .../generatecontent/AsyncGenerateContent.java | 2 + .../generatecontent/SyncGenerateContent.java | 2 + .../AsyncStreamGenerateContent.java | 2 + .../reflect-config.json | 18 + .../reflect-config.json | 18 + .../com/google/container/v1/AddonsConfig.java | 8 +- .../container/v1/AddonsConfigOrBuilder.java | 4 +- .../v1/AutoprovisioningNodePoolDefaults.java | 14 +- ...provisioningNodePoolDefaultsOrBuilder.java | 4 +- .../container/v1/BinaryAuthorization.java | 8 +- .../v1/BinaryAuthorizationOrBuilder.java | 2 +- .../container/v1/CancelOperationRequest.java | 42 +- .../v1/CancelOperationRequestOrBuilder.java | 12 +- .../java/com/google/container/v1/Cluster.java | 92 +- .../google/container/v1/ClusterOrBuilder.java | 28 +- .../container/v1/ClusterServiceProto.java | 2393 +- .../google/container/v1/ClusterUpdate.java | 190 +- .../container/v1/ClusterUpdateOrBuilder.java | 25 + .../v1/CompleteIPRotationRequest.java | 42 +- .../CompleteIPRotationRequestOrBuilder.java | 12 +- .../container/v1/CreateClusterRequest.java | 28 +- .../v1/CreateClusterRequestOrBuilder.java | 8 +- .../container/v1/CreateNodePoolRequest.java | 42 +- .../v1/CreateNodePoolRequestOrBuilder.java | 12 +- .../container/v1/DeleteClusterRequest.java | 42 +- .../v1/DeleteClusterRequestOrBuilder.java | 12 +- .../container/v1/DeleteNodePoolRequest.java | 56 +- .../v1/DeleteNodePoolRequestOrBuilder.java | 16 +- .../container/v1/GetClusterRequest.java | 42 +- .../v1/GetClusterRequestOrBuilder.java | 12 +- .../container/v1/GetNodePoolRequest.java | 56 +- .../v1/GetNodePoolRequestOrBuilder.java | 16 +- .../container/v1/GetOperationRequest.java | 42 +- .../v1/GetOperationRequestOrBuilder.java | 12 +- .../container/v1/GetServerConfigRequest.java | 28 +- .../v1/GetServerConfigRequestOrBuilder.java | 8 +- .../container/v1/IPAllocationPolicy.java | 42 +- .../v1/IPAllocationPolicyOrBuilder.java | 12 +- .../container/v1/ListClustersRequest.java | 28 +- .../v1/ListClustersRequestOrBuilder.java | 8 +- .../container/v1/ListNodePoolsRequest.java | 42 +- .../v1/ListNodePoolsRequestOrBuilder.java | 12 +- .../container/v1/ListOperationsRequest.java | 28 +- .../v1/ListOperationsRequestOrBuilder.java | 8 +- .../com/google/container/v1/MasterAuth.java | 28 +- .../container/v1/MasterAuthOrBuilder.java | 8 +- .../com/google/container/v1/NodeConfig.java | 311 + .../container/v1/NodeConfigOrBuilder.java | 42 + .../com/google/container/v1/NodePool.java | 14 +- .../container/v1/NodePoolOrBuilder.java | 4 +- .../com/google/container/v1/Operation.java | 28 +- .../container/v1/OperationOrBuilder.java | 8 +- .../v1/RollbackNodePoolUpgradeRequest.java | 56 +- ...llbackNodePoolUpgradeRequestOrBuilder.java | 16 +- .../v1/SecondaryBootDiskUpdateStrategy.java | 436 + ...ondaryBootDiskUpdateStrategyOrBuilder.java | 25 + .../container/v1/SetAddonsConfigRequest.java | 42 +- .../v1/SetAddonsConfigRequestOrBuilder.java | 12 +- .../google/container/v1/SetLabelsRequest.java | 42 +- .../v1/SetLabelsRequestOrBuilder.java | 12 +- .../container/v1/SetLegacyAbacRequest.java | 42 +- .../v1/SetLegacyAbacRequestOrBuilder.java | 12 +- .../container/v1/SetLocationsRequest.java | 42 +- .../v1/SetLocationsRequestOrBuilder.java | 12 +- .../v1/SetLoggingServiceRequest.java | 42 +- .../v1/SetLoggingServiceRequestOrBuilder.java | 12 +- .../container/v1/SetMasterAuthRequest.java | 42 +- .../v1/SetMasterAuthRequestOrBuilder.java | 12 +- .../v1/SetMonitoringServiceRequest.java | 42 +- .../SetMonitoringServiceRequestOrBuilder.java | 12 +- .../container/v1/SetNetworkPolicyRequest.java | 42 +- .../v1/SetNetworkPolicyRequestOrBuilder.java | 12 +- .../v1/SetNodePoolAutoscalingRequest.java | 56 +- ...etNodePoolAutoscalingRequestOrBuilder.java | 16 +- .../v1/SetNodePoolManagementRequest.java | 56 +- ...SetNodePoolManagementRequestOrBuilder.java | 16 +- .../container/v1/SetNodePoolSizeRequest.java | 56 +- .../v1/SetNodePoolSizeRequestOrBuilder.java | 16 +- .../container/v1/StartIPRotationRequest.java | 42 +- .../v1/StartIPRotationRequestOrBuilder.java | 12 +- .../google/container/v1/StatusCondition.java | 14 +- .../v1/StatusConditionOrBuilder.java | 4 +- .../container/v1/UpdateClusterRequest.java | 42 +- .../v1/UpdateClusterRequestOrBuilder.java | 12 +- .../container/v1/UpdateMasterRequest.java | 42 +- .../v1/UpdateMasterRequestOrBuilder.java | 12 +- .../container/v1/UpdateNodePoolRequest.java | 56 +- .../v1/UpdateNodePoolRequestOrBuilder.java | 16 +- .../google/container/v1/cluster_service.proto | 11 + .../container/v1beta1/AcceleratorConfig.java | 8 +- .../v1beta1/AcceleratorConfigOrBuilder.java | 2 +- .../container/v1beta1/AddonsConfig.java | 24 +- .../v1beta1/AddonsConfigOrBuilder.java | 12 +- .../AutoprovisioningNodePoolDefaults.java | 14 +- ...provisioningNodePoolDefaultsOrBuilder.java | 4 +- .../v1beta1/BinaryAuthorization.java | 8 +- .../v1beta1/BinaryAuthorizationOrBuilder.java | 2 +- .../v1beta1/CancelOperationRequest.java | 42 +- .../CancelOperationRequestOrBuilder.java | 12 +- .../com/google/container/v1beta1/Cluster.java | 122 +- .../container/v1beta1/ClusterOrBuilder.java | 38 +- .../v1beta1/ClusterServiceProto.java | 2793 +-- .../container/v1beta1/ClusterUpdate.java | 224 +- .../v1beta1/ClusterUpdateOrBuilder.java | 29 +- .../v1beta1/CompleteIPRotationRequest.java | 42 +- .../CompleteIPRotationRequestOrBuilder.java | 12 +- .../v1beta1/CreateClusterRequest.java | 28 +- .../CreateClusterRequestOrBuilder.java | 8 +- .../v1beta1/CreateNodePoolRequest.java | 42 +- .../CreateNodePoolRequestOrBuilder.java | 12 +- .../v1beta1/DeleteClusterRequest.java | 42 +- .../DeleteClusterRequestOrBuilder.java | 12 +- .../v1beta1/DeleteNodePoolRequest.java | 56 +- .../DeleteNodePoolRequestOrBuilder.java | 16 +- .../container/v1beta1/GetClusterRequest.java | 42 +- .../v1beta1/GetClusterRequestOrBuilder.java | 12 +- .../container/v1beta1/GetNodePoolRequest.java | 56 +- .../v1beta1/GetNodePoolRequestOrBuilder.java | 16 +- .../v1beta1/GetOperationRequest.java | 42 +- .../v1beta1/GetOperationRequestOrBuilder.java | 12 +- .../v1beta1/GetServerConfigRequest.java | 28 +- .../GetServerConfigRequestOrBuilder.java | 8 +- .../container/v1beta1/IPAllocationPolicy.java | 42 +- .../v1beta1/IPAllocationPolicyOrBuilder.java | 12 +- .../google/container/v1beta1/IstioConfig.java | 22 +- .../v1beta1/IstioConfigOrBuilder.java | 6 +- .../google/container/v1beta1/KalmConfig.java | 8 +- .../v1beta1/KalmConfigOrBuilder.java | 2 +- .../v1beta1/ListClustersRequest.java | 28 +- .../v1beta1/ListClustersRequestOrBuilder.java | 8 +- .../v1beta1/ListNodePoolsRequest.java | 42 +- .../ListNodePoolsRequestOrBuilder.java | 12 +- .../v1beta1/ListOperationsRequest.java | 28 +- .../ListOperationsRequestOrBuilder.java | 8 +- .../google/container/v1beta1/MasterAuth.java | 28 +- .../v1beta1/MasterAuthOrBuilder.java | 8 +- .../google/container/v1beta1/NodeConfig.java | 313 + .../v1beta1/NodeConfigOrBuilder.java | 42 + .../google/container/v1beta1/NodePool.java | 14 +- .../container/v1beta1/NodePoolOrBuilder.java | 4 +- .../google/container/v1beta1/Operation.java | 28 +- .../container/v1beta1/OperationOrBuilder.java | 8 +- .../RollbackNodePoolUpgradeRequest.java | 56 +- ...llbackNodePoolUpgradeRequestOrBuilder.java | 16 +- .../container/v1beta1/SandboxConfig.java | 14 +- .../v1beta1/SandboxConfigOrBuilder.java | 4 +- .../SecondaryBootDiskUpdateStrategy.java | 439 + ...ondaryBootDiskUpdateStrategyOrBuilder.java | 25 + .../v1beta1/SetAddonsConfigRequest.java | 42 +- .../SetAddonsConfigRequestOrBuilder.java | 12 +- .../container/v1beta1/SetLabelsRequest.java | 42 +- .../v1beta1/SetLabelsRequestOrBuilder.java | 12 +- .../v1beta1/SetLegacyAbacRequest.java | 42 +- .../SetLegacyAbacRequestOrBuilder.java | 12 +- .../v1beta1/SetLocationsRequest.java | 42 +- .../v1beta1/SetLocationsRequestOrBuilder.java | 12 +- .../v1beta1/SetLoggingServiceRequest.java | 42 +- .../SetLoggingServiceRequestOrBuilder.java | 12 +- .../v1beta1/SetMasterAuthRequest.java | 42 +- .../SetMasterAuthRequestOrBuilder.java | 12 +- .../v1beta1/SetMonitoringServiceRequest.java | 42 +- .../SetMonitoringServiceRequestOrBuilder.java | 12 +- .../v1beta1/SetNetworkPolicyRequest.java | 42 +- .../SetNetworkPolicyRequestOrBuilder.java | 12 +- .../SetNodePoolAutoscalingRequest.java | 56 +- ...etNodePoolAutoscalingRequestOrBuilder.java | 16 +- .../v1beta1/SetNodePoolManagementRequest.java | 56 +- ...SetNodePoolManagementRequestOrBuilder.java | 16 +- .../v1beta1/SetNodePoolSizeRequest.java | 56 +- .../SetNodePoolSizeRequestOrBuilder.java | 16 +- .../v1beta1/StartIPRotationRequest.java | 42 +- .../StartIPRotationRequestOrBuilder.java | 12 +- .../container/v1beta1/StatusCondition.java | 14 +- .../v1beta1/StatusConditionOrBuilder.java | 4 +- .../v1beta1/UpdateClusterRequest.java | 42 +- .../UpdateClusterRequestOrBuilder.java | 12 +- .../v1beta1/UpdateMasterRequest.java | 42 +- .../v1beta1/UpdateMasterRequestOrBuilder.java | 12 +- .../v1beta1/UpdateNodePoolRequest.java | 56 +- .../UpdateNodePoolRequestOrBuilder.java | 16 +- .../v1beta1/WorkloadIdentityConfig.java | 14 +- .../WorkloadIdentityConfigOrBuilder.java | 4 +- .../v1beta1/WorkloadMetadataConfig.java | 14 +- .../WorkloadMetadataConfigOrBuilder.java | 4 +- .../container/v1beta1/cluster_service.proto | 11 + .../edgecontainer/v1/EdgeContainerClient.java | 716 + .../v1/EdgeContainerSettings.java | 74 + .../edgecontainer/v1/gapic_metadata.json | 15 + .../v1/stub/EdgeContainerStub.java | 41 + .../v1/stub/EdgeContainerStubSettings.java | 280 +- .../v1/stub/GrpcEdgeContainerStub.java | 189 + .../v1/stub/HttpJsonEdgeContainerStub.java | 326 + .../reflect-config.json | 432 + .../v1/EdgeContainerClientHttpJsonTest.java | 553 + .../v1/EdgeContainerClientTest.java | 493 +- .../v1/MockEdgeContainerImpl.java | 64 + .../cloud/edgecontainer/v1/MockLocations.java | 59 + .../edgecontainer/v1/MockLocationsImpl.java | 105 + .../edgecontainer/v1/EdgeContainerGrpc.java | 389 +- .../cloud/edgecontainer/v1/Authorization.java | 72 +- .../v1/AuthorizationOrBuilder.java | 18 +- .../cloud/edgecontainer/v1/ChannelConfig.java | 625 + .../v1/ChannelConfigOrBuilder.java | 51 + .../cloud/edgecontainer/v1/Cluster.java | 18326 ++++++++++++++-- .../edgecontainer/v1/ClusterNetworking.java | 156 +- .../v1/ClusterNetworkingOrBuilder.java | 48 +- .../edgecontainer/v1/ClusterOrBuilder.java | 542 +- .../google/cloud/edgecontainer/v1/Fleet.java | 42 +- .../edgecontainer/v1/FleetOrBuilder.java | 12 +- .../v1/GenerateOfflineCredentialRequest.java | 652 + ...rateOfflineCredentialRequestOrBuilder.java | 55 + .../v1/GenerateOfflineCredentialResponse.java | 1298 ++ ...ateOfflineCredentialResponseOrBuilder.java | 139 + .../v1/GetServerConfigRequest.java | 647 + .../v1/GetServerConfigRequestOrBuilder.java | 57 + .../v1/ListVpnConnectionsRequest.java | 21 +- .../ListVpnConnectionsRequestOrBuilder.java | 6 +- .../edgecontainer/v1/LocationMetadata.java | 6 +- .../cloud/edgecontainer/v1/Machine.java | 232 +- .../edgecontainer/v1/MachineOrBuilder.java | 37 +- .../cloud/edgecontainer/v1/NodePool.java | 1643 +- .../edgecontainer/v1/NodePoolOrBuilder.java | 78 +- .../edgecontainer/v1/OperationMetadata.java | 306 +- .../v1/OperationMetadataOrBuilder.java | 59 +- .../edgecontainer/v1/ResourcesProto.java | 584 +- .../cloud/edgecontainer/v1/ServerConfig.java | 1609 ++ .../v1/ServerConfigOrBuilder.java | 181 + .../cloud/edgecontainer/v1/ServiceProto.java | 361 +- .../v1/UpgradeClusterRequest.java | 1316 ++ .../v1/UpgradeClusterRequestOrBuilder.java | 134 + .../cloud/edgecontainer/v1/Version.java | 624 + .../edgecontainer/v1/VersionOrBuilder.java | 51 + .../cloud/edgecontainer/v1/VpnConnection.java | 431 +- .../v1/VpnConnectionOrBuilder.java | 41 +- .../cloud/edgecontainer/v1/ZoneMetadata.java | 696 + .../v1/ZoneMetadataOrBuilder.java | 101 + .../cloud/edgecontainer/v1/resources.proto | 489 +- .../cloud/edgecontainer/v1/service.proto | 155 +- .../AsyncGenerateOfflineCredential.java | 50 + .../SyncGenerateOfflineCredential.java | 47 + ...cGenerateOfflineCredentialClustername.java | 43 + .../SyncGenerateOfflineCredentialString.java | 43 + .../getlocation/AsyncGetLocation.java | 45 + .../getlocation/SyncGetLocation.java | 42 + .../getserverconfig/AsyncGetServerConfig.java | 50 + .../getserverconfig/SyncGetServerConfig.java | 46 + .../SyncGetServerConfigLocationname.java | 42 + .../SyncGetServerConfigString.java | 42 + .../listlocations/AsyncListLocations.java | 54 + .../AsyncListLocationsPaged.java | 61 + .../listlocations/SyncListLocations.java | 50 + .../upgradecluster/AsyncUpgradeCluster.java | 52 + .../AsyncUpgradeClusterLRO.java | 53 + .../upgradecluster/SyncUpgradeCluster.java | 48 + ...meStringUpgradeclusterrequestschedule.java | 47 + ...ngStringUpgradeclusterrequestschedule.java | 47 + ...ctiveEventThreatDetectionCustomModule.java | 28 +- ...tThreatDetectionCustomModuleOrBuilder.java | 8 +- ...veSecurityHealthAnalyticsCustomModule.java | 28 +- ...yHealthAnalyticsCustomModuleOrBuilder.java | 8 +- .../v1/EventThreatDetectionCustomModule.java | 28 +- ...tThreatDetectionCustomModuleOrBuilder.java | 8 +- .../v1/SecurityCenterManagementProto.java | 8 +- .../SecurityHealthAnalyticsCustomModule.java | 28 +- ...yHealthAnalyticsCustomModuleOrBuilder.java | 8 +- .../v1/security_center_management.proto | 16 +- 280 files changed, 43124 insertions(+), 7744 deletions(-) create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FunctionCallingConfig.java create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FunctionCallingConfigOrBuilder.java create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolConfig.java create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolConfigOrBuilder.java create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecondaryBootDiskUpdateStrategy.java create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecondaryBootDiskUpdateStrategyOrBuilder.java create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecondaryBootDiskUpdateStrategy.java create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecondaryBootDiskUpdateStrategyOrBuilder.java create mode 100644 java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockLocations.java create mode 100644 java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockLocationsImpl.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ChannelConfig.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ChannelConfigOrBuilder.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialRequest.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialRequestOrBuilder.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialResponse.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialResponseOrBuilder.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GetServerConfigRequest.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GetServerConfigRequestOrBuilder.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServerConfig.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServerConfigOrBuilder.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/UpgradeClusterRequest.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/UpgradeClusterRequestOrBuilder.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Version.java create mode 100644 java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VersionOrBuilder.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/AsyncGenerateOfflineCredential.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredential.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredentialClustername.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredentialString.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getlocation/AsyncGetLocation.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getlocation/SyncGetLocation.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/AsyncGetServerConfig.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfig.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfigLocationname.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfigString.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/AsyncListLocations.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/AsyncListLocationsPaged.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/SyncListLocations.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/AsyncUpgradeCluster.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/AsyncUpgradeClusterLRO.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeCluster.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeClusterClusternameStringUpgradeclusterrequestschedule.java create mode 100644 java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeClusterStringStringUpgradeclusterrequestschedule.java diff --git a/generation_config.yaml b/generation_config.yaml index 33b51602052f..5b8fe9396645 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ gapic_generator_version: 2.38.1 protobuf_version: '25.2' -googleapis_commitish: 7aad45192aa74cb8fc874fe27c3abac56bf1a200 +googleapis_commitish: 5e2ca445cd8fd09440fbc7d296fa9b3e78effb68 owlbot_cli_image: sha256:623647ee79ac605858d09e60c1382a716c125fb776f69301b72de1cd35d49409 synthtool_commitish: 6612ab8f3afcd5e292aecd647f0fa68812c9f5b5 template_excludes: diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java index dc67889add4a..6d45592aa68a 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java @@ -1517,6 +1517,7 @@ public final GenerateContentResponse generateContent(String model, List * .setModel("model104069929") * .addAllContents(new ArrayList()) * .addAllTools(new ArrayList()) + * .setToolConfig(ToolConfig.newBuilder().build()) * .addAllSafetySettings(new ArrayList()) * .setGenerationConfig(GenerationConfig.newBuilder().build()) * .build(); @@ -1549,6 +1550,7 @@ public final GenerateContentResponse generateContent(GenerateContentRequest requ * .setModel("model104069929") * .addAllContents(new ArrayList()) * .addAllTools(new ArrayList()) + * .setToolConfig(ToolConfig.newBuilder().build()) * .addAllSafetySettings(new ArrayList()) * .setGenerationConfig(GenerationConfig.newBuilder().build()) * .build(); @@ -1582,6 +1584,7 @@ public final GenerateContentResponse generateContent(GenerateContentRequest requ * .setModel("model104069929") * .addAllContents(new ArrayList()) * .addAllTools(new ArrayList()) + * .setToolConfig(ToolConfig.newBuilder().build()) * .addAllSafetySettings(new ArrayList()) * .setGenerationConfig(GenerationConfig.newBuilder().build()) * .build(); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json index 3b6555bea893..15c59827ac65 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json @@ -6083,6 +6083,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig$Mode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.FunctionDeclaration", "queryAllDeclaredConstructors": true, @@ -14228,6 +14255,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ToolConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ToolConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.TrainingConfig", "queryAllDeclaredConstructors": true, diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClientTest.java index d63349bc2b90..a9282ad98b84 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClientTest.java @@ -963,6 +963,7 @@ public void streamGenerateContentTest() throws Exception { .setModel("model104069929") .addAllContents(new ArrayList()) .addAllTools(new ArrayList()) + .setToolConfig(ToolConfig.newBuilder().build()) .addAllSafetySettings(new ArrayList()) .setGenerationConfig(GenerationConfig.newBuilder().build()) .build(); @@ -987,6 +988,7 @@ public void streamGenerateContentExceptionTest() throws Exception { .setModel("model104069929") .addAllContents(new ArrayList()) .addAllTools(new ArrayList()) + .setToolConfig(ToolConfig.newBuilder().build()) .addAllSafetySettings(new ArrayList()) .setGenerationConfig(GenerationConfig.newBuilder().build()) .build(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FunctionCallingConfig.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FunctionCallingConfig.java new file mode 100644 index 000000000000..21ea6da4881d --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FunctionCallingConfig.java @@ -0,0 +1,1122 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/tool.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Function calling config.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.FunctionCallingConfig} + */ +public final class FunctionCallingConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.FunctionCallingConfig) + FunctionCallingConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use FunctionCallingConfig.newBuilder() to construct. + private FunctionCallingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private FunctionCallingConfig() { + mode_ = 0; + allowedFunctionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new FunctionCallingConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ToolProto + .internal_static_google_cloud_aiplatform_v1beta1_FunctionCallingConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ToolProto + .internal_static_google_cloud_aiplatform_v1beta1_FunctionCallingConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.class, + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Builder.class); + } + + /** + * + * + *
+   * Function calling mode.
+   * 
+ * + * Protobuf enum {@code google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode} + */ + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified function calling mode. This value should not be used.
+     * 
+ * + * MODE_UNSPECIFIED = 0; + */ + MODE_UNSPECIFIED(0), + /** + * + * + *
+     * Default model behavior, model decides to predict either a function call
+     * or a natural language repspose.
+     * 
+ * + * AUTO = 1; + */ + AUTO(1), + /** + * + * + *
+     * Model is constrained to always predicting a function call only.
+     * If "allowed_function_names" are set, the predicted function call will be
+     * limited to any one of "allowed_function_names", else the predicted
+     * function call will be any one of the provided "function_declarations".
+     * 
+ * + * ANY = 2; + */ + ANY(2), + /** + * + * + *
+     * Model will not predict any function call. Model behavior is same as when
+     * not passing any function declarations.
+     * 
+ * + * NONE = 3; + */ + NONE(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Unspecified function calling mode. This value should not be used.
+     * 
+ * + * MODE_UNSPECIFIED = 0; + */ + public static final int MODE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Default model behavior, model decides to predict either a function call
+     * or a natural language repspose.
+     * 
+ * + * AUTO = 1; + */ + public static final int AUTO_VALUE = 1; + /** + * + * + *
+     * Model is constrained to always predicting a function call only.
+     * If "allowed_function_names" are set, the predicted function call will be
+     * limited to any one of "allowed_function_names", else the predicted
+     * function call will be any one of the provided "function_declarations".
+     * 
+ * + * ANY = 2; + */ + public static final int ANY_VALUE = 2; + /** + * + * + *
+     * Model will not predict any function call. Model behavior is same as when
+     * not passing any function declarations.
+     * 
+ * + * NONE = 3; + */ + public static final int NONE_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Mode valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Mode forNumber(int value) { + switch (value) { + case 0: + return MODE_UNSPECIFIED; + case 1: + return AUTO; + case 2: + return ANY; + case 3: + return NONE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Mode[] VALUES = values(); + + public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Mode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode) + } + + public static final int MODE_FIELD_NUMBER = 1; + private int mode_ = 0; + /** + * + * + *
+   * Function calling mode.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for mode. + */ + @java.lang.Override + public int getModeValue() { + return mode_; + } + /** + * + * + *
+   * Function calling mode.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The mode. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode getMode() { + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode result = + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode.UNRECOGNIZED + : result; + } + + public static final int ALLOWED_FUNCTION_NAMES_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList allowedFunctionNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * Function names to call. Only set when the Mode is ANY. Function names
+   * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+   * predict a function call from the set of function names provided.
+   * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the allowedFunctionNames. + */ + public com.google.protobuf.ProtocolStringList getAllowedFunctionNamesList() { + return allowedFunctionNames_; + } + /** + * + * + *
+   * Function names to call. Only set when the Mode is ANY. Function names
+   * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+   * predict a function call from the set of function names provided.
+   * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of allowedFunctionNames. + */ + public int getAllowedFunctionNamesCount() { + return allowedFunctionNames_.size(); + } + /** + * + * + *
+   * Function names to call. Only set when the Mode is ANY. Function names
+   * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+   * predict a function call from the set of function names provided.
+   * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The allowedFunctionNames at the given index. + */ + public java.lang.String getAllowedFunctionNames(int index) { + return allowedFunctionNames_.get(index); + } + /** + * + * + *
+   * Function names to call. Only set when the Mode is ANY. Function names
+   * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+   * predict a function call from the set of function names provided.
+   * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the allowedFunctionNames at the given index. + */ + public com.google.protobuf.ByteString getAllowedFunctionNamesBytes(int index) { + return allowedFunctionNames_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (mode_ + != com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode.MODE_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, mode_); + } + for (int i = 0; i < allowedFunctionNames_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, allowedFunctionNames_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (mode_ + != com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode.MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_); + } + { + int dataSize = 0; + for (int i = 0; i < allowedFunctionNames_.size(); i++) { + dataSize += computeStringSizeNoTag(allowedFunctionNames_.getRaw(i)); + } + size += dataSize; + size += 1 * getAllowedFunctionNamesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig other = + (com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig) obj; + + if (mode_ != other.mode_) return false; + if (!getAllowedFunctionNamesList().equals(other.getAllowedFunctionNamesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MODE_FIELD_NUMBER; + hash = (53 * hash) + mode_; + if (getAllowedFunctionNamesCount() > 0) { + hash = (37 * hash) + ALLOWED_FUNCTION_NAMES_FIELD_NUMBER; + hash = (53 * hash) + getAllowedFunctionNamesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig 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.aiplatform.v1beta1.FunctionCallingConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Function calling config.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.FunctionCallingConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.FunctionCallingConfig) + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ToolProto + .internal_static_google_cloud_aiplatform_v1beta1_FunctionCallingConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ToolProto + .internal_static_google_cloud_aiplatform_v1beta1_FunctionCallingConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.class, + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + mode_ = 0; + allowedFunctionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ToolProto + .internal_static_google_cloud_aiplatform_v1beta1_FunctionCallingConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig build() { + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig buildPartial() { + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig result = + new com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.mode_ = mode_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + allowedFunctionNames_.makeImmutable(); + result.allowedFunctionNames_ = allowedFunctionNames_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig other) { + if (other == com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.getDefaultInstance()) + return this; + if (other.mode_ != 0) { + setModeValue(other.getModeValue()); + } + if (!other.allowedFunctionNames_.isEmpty()) { + if (allowedFunctionNames_.isEmpty()) { + allowedFunctionNames_ = other.allowedFunctionNames_; + bitField0_ |= 0x00000002; + } else { + ensureAllowedFunctionNamesIsMutable(); + allowedFunctionNames_.addAll(other.allowedFunctionNames_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + mode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAllowedFunctionNamesIsMutable(); + allowedFunctionNames_.add(s); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int mode_ = 0; + /** + * + * + *
+     * Function calling mode.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for mode. + */ + @java.lang.Override + public int getModeValue() { + return mode_; + } + /** + * + * + *
+     * Function calling mode.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for mode to set. + * @return This builder for chaining. + */ + public Builder setModeValue(int value) { + mode_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Function calling mode.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The mode. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode getMode() { + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode result = + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Function calling mode.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The mode to set. + * @return This builder for chaining. + */ + public Builder setMode(com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + mode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Function calling mode.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearMode() { + bitField0_ = (bitField0_ & ~0x00000001); + mode_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList allowedFunctionNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureAllowedFunctionNamesIsMutable() { + if (!allowedFunctionNames_.isModifiable()) { + allowedFunctionNames_ = new com.google.protobuf.LazyStringArrayList(allowedFunctionNames_); + } + bitField0_ |= 0x00000002; + } + /** + * + * + *
+     * Function names to call. Only set when the Mode is ANY. Function names
+     * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+     * predict a function call from the set of function names provided.
+     * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the allowedFunctionNames. + */ + public com.google.protobuf.ProtocolStringList getAllowedFunctionNamesList() { + allowedFunctionNames_.makeImmutable(); + return allowedFunctionNames_; + } + /** + * + * + *
+     * Function names to call. Only set when the Mode is ANY. Function names
+     * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+     * predict a function call from the set of function names provided.
+     * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of allowedFunctionNames. + */ + public int getAllowedFunctionNamesCount() { + return allowedFunctionNames_.size(); + } + /** + * + * + *
+     * Function names to call. Only set when the Mode is ANY. Function names
+     * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+     * predict a function call from the set of function names provided.
+     * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The allowedFunctionNames at the given index. + */ + public java.lang.String getAllowedFunctionNames(int index) { + return allowedFunctionNames_.get(index); + } + /** + * + * + *
+     * Function names to call. Only set when the Mode is ANY. Function names
+     * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+     * predict a function call from the set of function names provided.
+     * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the allowedFunctionNames at the given index. + */ + public com.google.protobuf.ByteString getAllowedFunctionNamesBytes(int index) { + return allowedFunctionNames_.getByteString(index); + } + /** + * + * + *
+     * Function names to call. Only set when the Mode is ANY. Function names
+     * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+     * predict a function call from the set of function names provided.
+     * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index to set the value at. + * @param value The allowedFunctionNames to set. + * @return This builder for chaining. + */ + public Builder setAllowedFunctionNames(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAllowedFunctionNamesIsMutable(); + allowedFunctionNames_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Function names to call. Only set when the Mode is ANY. Function names
+     * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+     * predict a function call from the set of function names provided.
+     * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The allowedFunctionNames to add. + * @return This builder for chaining. + */ + public Builder addAllowedFunctionNames(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAllowedFunctionNamesIsMutable(); + allowedFunctionNames_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Function names to call. Only set when the Mode is ANY. Function names
+     * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+     * predict a function call from the set of function names provided.
+     * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param values The allowedFunctionNames to add. + * @return This builder for chaining. + */ + public Builder addAllAllowedFunctionNames(java.lang.Iterable values) { + ensureAllowedFunctionNamesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedFunctionNames_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Function names to call. Only set when the Mode is ANY. Function names
+     * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+     * predict a function call from the set of function names provided.
+     * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearAllowedFunctionNames() { + allowedFunctionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * Function names to call. Only set when the Mode is ANY. Function names
+     * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+     * predict a function call from the set of function names provided.
+     * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The bytes of the allowedFunctionNames to add. + * @return This builder for chaining. + */ + public Builder addAllowedFunctionNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAllowedFunctionNamesIsMutable(); + allowedFunctionNames_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.FunctionCallingConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.FunctionCallingConfig) + private static final com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig(); + } + + public static com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FunctionCallingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FunctionCallingConfigOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FunctionCallingConfigOrBuilder.java new file mode 100644 index 000000000000..2ff7d4362b6f --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FunctionCallingConfigOrBuilder.java @@ -0,0 +1,118 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/tool.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.aiplatform.v1beta1; + +public interface FunctionCallingConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.FunctionCallingConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Function calling mode.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for mode. + */ + int getModeValue(); + /** + * + * + *
+   * Function calling mode.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The mode. + */ + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Mode getMode(); + + /** + * + * + *
+   * Function names to call. Only set when the Mode is ANY. Function names
+   * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+   * predict a function call from the set of function names provided.
+   * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the allowedFunctionNames. + */ + java.util.List getAllowedFunctionNamesList(); + /** + * + * + *
+   * Function names to call. Only set when the Mode is ANY. Function names
+   * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+   * predict a function call from the set of function names provided.
+   * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of allowedFunctionNames. + */ + int getAllowedFunctionNamesCount(); + /** + * + * + *
+   * Function names to call. Only set when the Mode is ANY. Function names
+   * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+   * predict a function call from the set of function names provided.
+   * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The allowedFunctionNames at the given index. + */ + java.lang.String getAllowedFunctionNames(int index); + /** + * + * + *
+   * Function names to call. Only set when the Mode is ANY. Function names
+   * should match [FunctionDeclaration.name]. With mode set to ANY, model will
+   * predict a function call from the set of function names provided.
+   * 
+ * + * repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the allowedFunctionNames at the given index. + */ + com.google.protobuf.ByteString getAllowedFunctionNamesBytes(int index); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentRequest.java index 71d64313db75..a2bf21b6a87b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentRequest.java @@ -329,6 +329,62 @@ public com.google.cloud.aiplatform.v1beta1.ToolOrBuilder getToolsOrBuilder(int i return tools_.get(index); } + public static final int TOOL_CONFIG_FIELD_NUMBER = 7; + private com.google.cloud.aiplatform.v1beta1.ToolConfig toolConfig_; + /** + * + * + *
+   * Tool config. This config is shared for all tools provided in the request.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the toolConfig field is set. + */ + @java.lang.Override + public boolean hasToolConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Tool config. This config is shared for all tools provided in the request.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The toolConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ToolConfig getToolConfig() { + return toolConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.ToolConfig.getDefaultInstance() + : toolConfig_; + } + /** + * + * + *
+   * Tool config. This config is shared for all tools provided in the request.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ToolConfigOrBuilder getToolConfigOrBuilder() { + return toolConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.ToolConfig.getDefaultInstance() + : toolConfig_; + } + public static final int SAFETY_SETTINGS_FIELD_NUMBER = 3; @SuppressWarnings("serial") @@ -433,7 +489,7 @@ public com.google.cloud.aiplatform.v1beta1.SafetySettingOrBuilder getSafetySetti */ @java.lang.Override public boolean hasGenerationConfig() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -493,7 +549,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < safetySettings_.size(); i++) { output.writeMessage(3, safetySettings_.get(i)); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getGenerationConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { @@ -502,6 +558,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < tools_.size(); i++) { output.writeMessage(6, tools_.get(i)); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(7, getToolConfig()); + } getUnknownFields().writeTo(output); } @@ -517,7 +576,7 @@ public int getSerializedSize() { for (int i = 0; i < safetySettings_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, safetySettings_.get(i)); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getGenerationConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { @@ -526,6 +585,9 @@ public int getSerializedSize() { for (int i = 0; i < tools_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, tools_.get(i)); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getToolConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -545,6 +607,10 @@ public boolean equals(final java.lang.Object obj) { if (!getModel().equals(other.getModel())) return false; if (!getContentsList().equals(other.getContentsList())) return false; if (!getToolsList().equals(other.getToolsList())) return false; + if (hasToolConfig() != other.hasToolConfig()) return false; + if (hasToolConfig()) { + if (!getToolConfig().equals(other.getToolConfig())) return false; + } if (!getSafetySettingsList().equals(other.getSafetySettingsList())) return false; if (hasGenerationConfig() != other.hasGenerationConfig()) return false; if (hasGenerationConfig()) { @@ -571,6 +637,10 @@ public int hashCode() { hash = (37 * hash) + TOOLS_FIELD_NUMBER; hash = (53 * hash) + getToolsList().hashCode(); } + if (hasToolConfig()) { + hash = (37 * hash) + TOOL_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getToolConfig().hashCode(); + } if (getSafetySettingsCount() > 0) { hash = (37 * hash) + SAFETY_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSafetySettingsList().hashCode(); @@ -722,6 +792,7 @@ private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getContentsFieldBuilder(); getToolsFieldBuilder(); + getToolConfigFieldBuilder(); getSafetySettingsFieldBuilder(); getGenerationConfigFieldBuilder(); } @@ -746,13 +817,18 @@ public Builder clear() { toolsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); + toolConfig_ = null; + if (toolConfigBuilder_ != null) { + toolConfigBuilder_.dispose(); + toolConfigBuilder_ = null; + } if (safetySettingsBuilder_ == null) { safetySettings_ = java.util.Collections.emptyList(); } else { safetySettings_ = null; safetySettingsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); generationConfig_ = null; if (generationConfigBuilder_ != null) { generationConfigBuilder_.dispose(); @@ -814,9 +890,9 @@ private void buildPartialRepeatedFields( result.tools_ = toolsBuilder_.build(); } if (safetySettingsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { safetySettings_ = java.util.Collections.unmodifiableList(safetySettings_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } result.safetySettings_ = safetySettings_; } else { @@ -830,10 +906,14 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.GenerateContentRe result.model_ = model_; } int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000010) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.toolConfig_ = toolConfigBuilder_ == null ? toolConfig_ : toolConfigBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000020) != 0)) { result.generationConfig_ = generationConfigBuilder_ == null ? generationConfig_ : generationConfigBuilder_.build(); - to_bitField0_ |= 0x00000001; + to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @@ -943,11 +1023,14 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.GenerateContentRequ } } } + if (other.hasToolConfig()) { + mergeToolConfig(other.getToolConfig()); + } if (safetySettingsBuilder_ == null) { if (!other.safetySettings_.isEmpty()) { if (safetySettings_.isEmpty()) { safetySettings_ = other.safetySettings_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } else { ensureSafetySettingsIsMutable(); safetySettings_.addAll(other.safetySettings_); @@ -960,7 +1043,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.GenerateContentRequ safetySettingsBuilder_.dispose(); safetySettingsBuilder_ = null; safetySettings_ = other.safetySettings_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); safetySettingsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSafetySettingsFieldBuilder() @@ -1030,7 +1113,7 @@ public Builder mergeFrom( { input.readMessage( getGenerationConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 34 case 42: @@ -1052,6 +1135,12 @@ public Builder mergeFrom( } break; } // case 50 + case 58: + { + input.readMessage(getToolConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2119,15 +2208,219 @@ public java.util.List getTools return toolsBuilder_; } + private com.google.cloud.aiplatform.v1beta1.ToolConfig toolConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ToolConfig, + com.google.cloud.aiplatform.v1beta1.ToolConfig.Builder, + com.google.cloud.aiplatform.v1beta1.ToolConfigOrBuilder> + toolConfigBuilder_; + /** + * + * + *
+     * Tool config. This config is shared for all tools provided in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the toolConfig field is set. + */ + public boolean hasToolConfig() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Tool config. This config is shared for all tools provided in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The toolConfig. + */ + public com.google.cloud.aiplatform.v1beta1.ToolConfig getToolConfig() { + if (toolConfigBuilder_ == null) { + return toolConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.ToolConfig.getDefaultInstance() + : toolConfig_; + } else { + return toolConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Tool config. This config is shared for all tools provided in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setToolConfig(com.google.cloud.aiplatform.v1beta1.ToolConfig value) { + if (toolConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + toolConfig_ = value; + } else { + toolConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Tool config. This config is shared for all tools provided in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setToolConfig( + com.google.cloud.aiplatform.v1beta1.ToolConfig.Builder builderForValue) { + if (toolConfigBuilder_ == null) { + toolConfig_ = builderForValue.build(); + } else { + toolConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Tool config. This config is shared for all tools provided in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeToolConfig(com.google.cloud.aiplatform.v1beta1.ToolConfig value) { + if (toolConfigBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && toolConfig_ != null + && toolConfig_ != com.google.cloud.aiplatform.v1beta1.ToolConfig.getDefaultInstance()) { + getToolConfigBuilder().mergeFrom(value); + } else { + toolConfig_ = value; + } + } else { + toolConfigBuilder_.mergeFrom(value); + } + if (toolConfig_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Tool config. This config is shared for all tools provided in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearToolConfig() { + bitField0_ = (bitField0_ & ~0x00000008); + toolConfig_ = null; + if (toolConfigBuilder_ != null) { + toolConfigBuilder_.dispose(); + toolConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Tool config. This config is shared for all tools provided in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.ToolConfig.Builder getToolConfigBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getToolConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Tool config. This config is shared for all tools provided in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.ToolConfigOrBuilder getToolConfigOrBuilder() { + if (toolConfigBuilder_ != null) { + return toolConfigBuilder_.getMessageOrBuilder(); + } else { + return toolConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.ToolConfig.getDefaultInstance() + : toolConfig_; + } + } + /** + * + * + *
+     * Tool config. This config is shared for all tools provided in the request.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ToolConfig, + com.google.cloud.aiplatform.v1beta1.ToolConfig.Builder, + com.google.cloud.aiplatform.v1beta1.ToolConfigOrBuilder> + getToolConfigFieldBuilder() { + if (toolConfigBuilder_ == null) { + toolConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ToolConfig, + com.google.cloud.aiplatform.v1beta1.ToolConfig.Builder, + com.google.cloud.aiplatform.v1beta1.ToolConfigOrBuilder>( + getToolConfig(), getParentForChildren(), isClean()); + toolConfig_ = null; + } + return toolConfigBuilder_; + } + private java.util.List safetySettings_ = java.util.Collections.emptyList(); private void ensureSafetySettingsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000010) != 0)) { safetySettings_ = new java.util.ArrayList( safetySettings_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; } } @@ -2379,7 +2672,7 @@ public Builder addAllSafetySettings( public Builder clearSafetySettings() { if (safetySettingsBuilder_ == null) { safetySettings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { safetySettingsBuilder_.clear(); @@ -2527,7 +2820,7 @@ public com.google.cloud.aiplatform.v1beta1.SafetySetting.Builder addSafetySettin com.google.cloud.aiplatform.v1beta1.SafetySetting.Builder, com.google.cloud.aiplatform.v1beta1.SafetySettingOrBuilder>( safetySettings_, - ((bitField0_ & 0x00000008) != 0), + ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); safetySettings_ = null; @@ -2555,7 +2848,7 @@ public com.google.cloud.aiplatform.v1beta1.SafetySetting.Builder addSafetySettin * @return Whether the generationConfig field is set. */ public boolean hasGenerationConfig() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -2599,7 +2892,7 @@ public Builder setGenerationConfig(com.google.cloud.aiplatform.v1beta1.Generatio } else { generationConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2621,7 +2914,7 @@ public Builder setGenerationConfig( } else { generationConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2639,7 +2932,7 @@ public Builder setGenerationConfig( public Builder mergeGenerationConfig( com.google.cloud.aiplatform.v1beta1.GenerationConfig value) { if (generationConfigBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) + if (((bitField0_ & 0x00000020) != 0) && generationConfig_ != null && generationConfig_ != com.google.cloud.aiplatform.v1beta1.GenerationConfig.getDefaultInstance()) { @@ -2651,7 +2944,7 @@ public Builder mergeGenerationConfig( generationConfigBuilder_.mergeFrom(value); } if (generationConfig_ != null) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } return this; @@ -2668,7 +2961,7 @@ public Builder mergeGenerationConfig( * */ public Builder clearGenerationConfig() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); generationConfig_ = null; if (generationConfigBuilder_ != null) { generationConfigBuilder_.dispose(); @@ -2690,7 +2983,7 @@ public Builder clearGenerationConfig() { */ public com.google.cloud.aiplatform.v1beta1.GenerationConfig.Builder getGenerationConfigBuilder() { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return getGenerationConfigFieldBuilder().getBuilder(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentRequestOrBuilder.java index aa46b5a4289c..e1c7722dbccd 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentRequestOrBuilder.java @@ -222,6 +222,47 @@ public interface GenerateContentRequestOrBuilder */ com.google.cloud.aiplatform.v1beta1.ToolOrBuilder getToolsOrBuilder(int index); + /** + * + * + *
+   * Tool config. This config is shared for all tools provided in the request.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the toolConfig field is set. + */ + boolean hasToolConfig(); + /** + * + * + *
+   * Tool config. This config is shared for all tools provided in the request.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The toolConfig. + */ + com.google.cloud.aiplatform.v1beta1.ToolConfig getToolConfig(); + /** + * + * + *
+   * Tool config. This config is shared for all tools provided in the request.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1beta1.ToolConfigOrBuilder getToolConfigOrBuilder(); + /** * * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java index 906f981ab361..7b2435dd4342 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java @@ -240,121 +240,122 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "?\n\010contents\030\004 \003(\0132(.google.cloud.aiplatf" + "orm.v1beta1.ContentB\003\340A\002\"N\n\023CountTokensR" + "esponse\022\024\n\014total_tokens\030\001 \001(\005\022!\n\031total_b" - + "illable_characters\030\002 \001(\005\"\311\002\n\026GenerateCon" + + "illable_characters\030\002 \001(\005\"\220\003\n\026GenerateCon" + "tentRequest\022\022\n\005model\030\005 \001(\tB\003\340A\002\022?\n\010conte" + "nts\030\002 \003(\0132(.google.cloud.aiplatform.v1be" + "ta1.ContentB\003\340A\002\0229\n\005tools\030\006 \003(\0132%.google" - + ".cloud.aiplatform.v1beta1.ToolB\003\340A\001\022L\n\017s" - + "afety_settings\030\003 \003(\0132..google.cloud.aipl" - + "atform.v1beta1.SafetySettingB\003\340A\001\022Q\n\021gen" - + "eration_config\030\004 \001(\01321.google.cloud.aipl" - + "atform.v1beta1.GenerationConfigB\003\340A\001\"\311\005\n" - + "\027GenerateContentResponse\022C\n\ncandidates\030\002" - + " \003(\0132*.google.cloud.aiplatform.v1beta1.C" - + "andidateB\003\340A\003\022e\n\017prompt_feedback\030\003 \001(\0132G" - + ".google.cloud.aiplatform.v1beta1.Generat" - + "eContentResponse.PromptFeedbackB\003\340A\003\022^\n\016" - + "usage_metadata\030\004 \001(\0132F.google.cloud.aipl" - + "atform.v1beta1.GenerateContentResponse.U" - + "sageMetadata\032\271\002\n\016PromptFeedback\022p\n\014block" - + "_reason\030\001 \001(\0162U.google.cloud.aiplatform." - + "v1beta1.GenerateContentResponse.PromptFe" - + "edback.BlockedReasonB\003\340A\003\022J\n\016safety_rati" - + "ngs\030\002 \003(\0132-.google.cloud.aiplatform.v1be" - + "ta1.SafetyRatingB\003\340A\003\022!\n\024block_reason_me" - + "ssage\030\003 \001(\tB\003\340A\003\"F\n\rBlockedReason\022\036\n\032BLO" - + "CKED_REASON_UNSPECIFIED\020\000\022\n\n\006SAFETY\020\001\022\t\n" - + "\005OTHER\020\002\032f\n\rUsageMetadata\022\032\n\022prompt_toke" - + "n_count\030\001 \001(\005\022\036\n\026candidates_token_count\030" - + "\002 \001(\005\022\031\n\021total_token_count\030\003 \001(\0052\255\031\n\021Pre" - + "dictionService\022\250\002\n\007Predict\022/.google.clou" - + "d.aiplatform.v1beta1.PredictRequest\0320.go" - + "ogle.cloud.aiplatform.v1beta1.PredictRes" - + "ponse\"\271\001\332A\035endpoint,instances,parameters" - + "\202\323\344\223\002\222\001\">/v1beta1/{endpoint=projects/*/l" - + "ocations/*/endpoints/*}:predict:\001*ZM\"H/v" - + "1beta1/{endpoint=projects/*/locations/*/" - + "publishers/*/models/*}:predict:\001*\022\215\002\n\nRa" - + "wPredict\0222.google.cloud.aiplatform.v1bet" - + "a1.RawPredictRequest\032\024.google.api.HttpBo" - + "dy\"\264\001\332A\022endpoint,http_body\202\323\344\223\002\230\001\"A/v1be" + + ".cloud.aiplatform.v1beta1.ToolB\003\340A\001\022E\n\013t" + + "ool_config\030\007 \001(\0132+.google.cloud.aiplatfo" + + "rm.v1beta1.ToolConfigB\003\340A\001\022L\n\017safety_set" + + "tings\030\003 \003(\0132..google.cloud.aiplatform.v1" + + "beta1.SafetySettingB\003\340A\001\022Q\n\021generation_c" + + "onfig\030\004 \001(\01321.google.cloud.aiplatform.v1" + + "beta1.GenerationConfigB\003\340A\001\"\311\005\n\027Generate" + + "ContentResponse\022C\n\ncandidates\030\002 \003(\0132*.go" + + "ogle.cloud.aiplatform.v1beta1.CandidateB" + + "\003\340A\003\022e\n\017prompt_feedback\030\003 \001(\0132G.google.c" + + "loud.aiplatform.v1beta1.GenerateContentR" + + "esponse.PromptFeedbackB\003\340A\003\022^\n\016usage_met" + + "adata\030\004 \001(\0132F.google.cloud.aiplatform.v1" + + "beta1.GenerateContentResponse.UsageMetad" + + "ata\032\271\002\n\016PromptFeedback\022p\n\014block_reason\030\001" + + " \001(\0162U.google.cloud.aiplatform.v1beta1.G" + + "enerateContentResponse.PromptFeedback.Bl" + + "ockedReasonB\003\340A\003\022J\n\016safety_ratings\030\002 \003(\013" + + "2-.google.cloud.aiplatform.v1beta1.Safet" + + "yRatingB\003\340A\003\022!\n\024block_reason_message\030\003 \001" + + "(\tB\003\340A\003\"F\n\rBlockedReason\022\036\n\032BLOCKED_REAS" + + "ON_UNSPECIFIED\020\000\022\n\n\006SAFETY\020\001\022\t\n\005OTHER\020\002\032" + + "f\n\rUsageMetadata\022\032\n\022prompt_token_count\030\001" + + " \001(\005\022\036\n\026candidates_token_count\030\002 \001(\005\022\031\n\021" + + "total_token_count\030\003 \001(\0052\255\031\n\021PredictionSe" + + "rvice\022\250\002\n\007Predict\022/.google.cloud.aiplatf" + + "orm.v1beta1.PredictRequest\0320.google.clou" + + "d.aiplatform.v1beta1.PredictResponse\"\271\001\332" + + "A\035endpoint,instances,parameters\202\323\344\223\002\222\001\">" + + "/v1beta1/{endpoint=projects/*/locations/" + + "*/endpoints/*}:predict:\001*ZM\"H/v1beta1/{e" + + "ndpoint=projects/*/locations/*/publisher" + + "s/*/models/*}:predict:\001*\022\215\002\n\nRawPredict\022" + + "2.google.cloud.aiplatform.v1beta1.RawPre" + + "dictRequest\032\024.google.api.HttpBody\"\264\001\332A\022e" + + "ndpoint,http_body\202\323\344\223\002\230\001\"A/v1beta1/{endp" + + "oint=projects/*/locations/*/endpoints/*}" + + ":rawPredict:\001*ZP\"K/v1beta1/{endpoint=pro" + + "jects/*/locations/*/publishers/*/models/" + + "*}:rawPredict:\001*\022\317\001\n\rDirectPredict\0225.goo" + + "gle.cloud.aiplatform.v1beta1.DirectPredi" + + "ctRequest\0326.google.cloud.aiplatform.v1be" + + "ta1.DirectPredictResponse\"O\202\323\344\223\002I\"D/v1be" + "ta1/{endpoint=projects/*/locations/*/end" - + "points/*}:rawPredict:\001*ZP\"K/v1beta1/{end" - + "point=projects/*/locations/*/publishers/" - + "*/models/*}:rawPredict:\001*\022\317\001\n\rDirectPred" - + "ict\0225.google.cloud.aiplatform.v1beta1.Di" - + "rectPredictRequest\0326.google.cloud.aiplat" - + "form.v1beta1.DirectPredictResponse\"O\202\323\344\223" - + "\002I\"D/v1beta1/{endpoint=projects/*/locati" - + "ons/*/endpoints/*}:directPredict:\001*\022\333\001\n\020" - + "DirectRawPredict\0228.google.cloud.aiplatfo" - + "rm.v1beta1.DirectRawPredictRequest\0329.goo" - + "gle.cloud.aiplatform.v1beta1.DirectRawPr" - + "edictResponse\"R\202\323\344\223\002L\"G/v1beta1/{endpoin" - + "t=projects/*/locations/*/endpoints/*}:di" - + "rectRawPredict:\001*\022\226\001\n\023StreamDirectPredic" - + "t\022;.google.cloud.aiplatform.v1beta1.Stre" - + "amDirectPredictRequest\032<.google.cloud.ai" - + "platform.v1beta1.StreamDirectPredictResp" - + "onse\"\000(\0010\001\022\237\001\n\026StreamDirectRawPredict\022>." - + "google.cloud.aiplatform.v1beta1.StreamDi" - + "rectRawPredictRequest\032?.google.cloud.aip" - + "latform.v1beta1.StreamDirectRawPredictRe" - + "sponse\"\000(\0010\001\022\215\001\n\020StreamingPredict\0228.goog" - + "le.cloud.aiplatform.v1beta1.StreamingPre" - + "dictRequest\0329.google.cloud.aiplatform.v1" - + "beta1.StreamingPredictResponse\"\000(\0010\001\022\311\002\n" - + "\026ServerStreamingPredict\0228.google.cloud.a" - + "iplatform.v1beta1.StreamingPredictReques" - + "t\0329.google.cloud.aiplatform.v1beta1.Stre" - + "amingPredictResponse\"\267\001\202\323\344\223\002\260\001\"M/v1beta1" - + "/{endpoint=projects/*/locations/*/endpoi" - + "nts/*}:serverStreamingPredict:\001*Z\\\"W/v1b" - + "eta1/{endpoint=projects/*/locations/*/pu" - + "blishers/*/models/*}:serverStreamingPred" - + "ict:\001*0\001\022\226\001\n\023StreamingRawPredict\022;.googl" - + "e.cloud.aiplatform.v1beta1.StreamingRawP" + + "points/*}:directPredict:\001*\022\333\001\n\020DirectRaw" + + "Predict\0228.google.cloud.aiplatform.v1beta" + + "1.DirectRawPredictRequest\0329.google.cloud" + + ".aiplatform.v1beta1.DirectRawPredictResp" + + "onse\"R\202\323\344\223\002L\"G/v1beta1/{endpoint=project" + + "s/*/locations/*/endpoints/*}:directRawPr" + + "edict:\001*\022\226\001\n\023StreamDirectPredict\022;.googl" + + "e.cloud.aiplatform.v1beta1.StreamDirectP" + "redictRequest\032<.google.cloud.aiplatform." - + "v1beta1.StreamingRawPredictResponse\"\000(\0010" - + "\001\022\351\001\n\007Explain\022/.google.cloud.aiplatform." - + "v1beta1.ExplainRequest\0320.google.cloud.ai" - + "platform.v1beta1.ExplainResponse\"{\332A/end" - + "point,instances,parameters,deployed_mode" - + "l_id\202\323\344\223\002C\">/v1beta1/{endpoint=projects/" - + "*/locations/*/endpoints/*}:explain:\001*\022\261\002" - + "\n\013CountTokens\0223.google.cloud.aiplatform." - + "v1beta1.CountTokensRequest\0324.google.clou" - + "d.aiplatform.v1beta1.CountTokensResponse" - + "\"\266\001\332A\022endpoint,instances\202\323\344\223\002\232\001\"B/v1beta" - + "1/{endpoint=projects/*/locations/*/endpo" - + "ints/*}:countTokens:\001*ZQ\"L/v1beta1/{endp" - + "oint=projects/*/locations/*/publishers/*" - + "/models/*}:countTokens:\001*\022\273\002\n\017GenerateCo" - + "ntent\0227.google.cloud.aiplatform.v1beta1." - + "GenerateContentRequest\0328.google.cloud.ai" - + "platform.v1beta1.GenerateContentResponse" - + "\"\264\001\332A\016model,contents\202\323\344\223\002\234\001\"C/v1beta1/{m" - + "odel=projects/*/locations/*/endpoints/*}" - + ":generateContent:\001*ZR\"M/v1beta1/{model=p" - + "rojects/*/locations/*/publishers/*/model" - + "s/*}:generateContent:\001*\022\317\002\n\025StreamGenera" - + "teContent\0227.google.cloud.aiplatform.v1be" - + "ta1.GenerateContentRequest\0328.google.clou" - + "d.aiplatform.v1beta1.GenerateContentResp" - + "onse\"\300\001\332A\016model,contents\202\323\344\223\002\250\001\"I/v1beta" - + "1/{model=projects/*/locations/*/endpoint" - + "s/*}:streamGenerateContent:\001*ZX\"S/v1beta" - + "1/{model=projects/*/locations/*/publishe" - + "rs/*/models/*}:streamGenerateContent:\001*0" - + "\001\032M\312A\031aiplatform.googleapis.com\322A.https:" - + "//www.googleapis.com/auth/cloud-platform" - + "B\355\001\n#com.google.cloud.aiplatform.v1beta1" - + "B\026PredictionServiceProtoP\001ZCcloud.google" - + ".com/go/aiplatform/apiv1beta1/aiplatform" - + "pb;aiplatformpb\252\002\037Google.Cloud.AIPlatfor" - + "m.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1be" - + "ta1\352\002\"Google::Cloud::AIPlatform::V1beta1" - + "b\006proto3" + + "v1beta1.StreamDirectPredictResponse\"\000(\0010" + + "\001\022\237\001\n\026StreamDirectRawPredict\022>.google.cl" + + "oud.aiplatform.v1beta1.StreamDirectRawPr" + + "edictRequest\032?.google.cloud.aiplatform.v" + + "1beta1.StreamDirectRawPredictResponse\"\000(" + + "\0010\001\022\215\001\n\020StreamingPredict\0228.google.cloud." + + "aiplatform.v1beta1.StreamingPredictReque" + + "st\0329.google.cloud.aiplatform.v1beta1.Str" + + "eamingPredictResponse\"\000(\0010\001\022\311\002\n\026ServerSt" + + "reamingPredict\0228.google.cloud.aiplatform" + + ".v1beta1.StreamingPredictRequest\0329.googl" + + "e.cloud.aiplatform.v1beta1.StreamingPred" + + "ictResponse\"\267\001\202\323\344\223\002\260\001\"M/v1beta1/{endpoin" + + "t=projects/*/locations/*/endpoints/*}:se" + + "rverStreamingPredict:\001*Z\\\"W/v1beta1/{end" + + "point=projects/*/locations/*/publishers/" + + "*/models/*}:serverStreamingPredict:\001*0\001\022" + + "\226\001\n\023StreamingRawPredict\022;.google.cloud.a" + + "iplatform.v1beta1.StreamingRawPredictReq" + + "uest\032<.google.cloud.aiplatform.v1beta1.S" + + "treamingRawPredictResponse\"\000(\0010\001\022\351\001\n\007Exp" + + "lain\022/.google.cloud.aiplatform.v1beta1.E" + + "xplainRequest\0320.google.cloud.aiplatform." + + "v1beta1.ExplainResponse\"{\332A/endpoint,ins" + + "tances,parameters,deployed_model_id\202\323\344\223\002" + + "C\">/v1beta1/{endpoint=projects/*/locatio" + + "ns/*/endpoints/*}:explain:\001*\022\261\002\n\013CountTo" + + "kens\0223.google.cloud.aiplatform.v1beta1.C" + + "ountTokensRequest\0324.google.cloud.aiplatf" + + "orm.v1beta1.CountTokensResponse\"\266\001\332A\022end" + + "point,instances\202\323\344\223\002\232\001\"B/v1beta1/{endpoi" + + "nt=projects/*/locations/*/endpoints/*}:c" + + "ountTokens:\001*ZQ\"L/v1beta1/{endpoint=proj" + + "ects/*/locations/*/publishers/*/models/*" + + "}:countTokens:\001*\022\273\002\n\017GenerateContent\0227.g" + + "oogle.cloud.aiplatform.v1beta1.GenerateC" + + "ontentRequest\0328.google.cloud.aiplatform." + + "v1beta1.GenerateContentResponse\"\264\001\332A\016mod" + + "el,contents\202\323\344\223\002\234\001\"C/v1beta1/{model=proj" + + "ects/*/locations/*/endpoints/*}:generate" + + "Content:\001*ZR\"M/v1beta1/{model=projects/*" + + "/locations/*/publishers/*/models/*}:gene" + + "rateContent:\001*\022\317\002\n\025StreamGenerateContent" + + "\0227.google.cloud.aiplatform.v1beta1.Gener" + + "ateContentRequest\0328.google.cloud.aiplatf" + + "orm.v1beta1.GenerateContentResponse\"\300\001\332A" + + "\016model,contents\202\323\344\223\002\250\001\"I/v1beta1/{model=" + + "projects/*/locations/*/endpoints/*}:stre" + + "amGenerateContent:\001*ZX\"S/v1beta1/{model=" + + "projects/*/locations/*/publishers/*/mode" + + "ls/*}:streamGenerateContent:\001*0\001\032M\312A\031aip" + + "latform.googleapis.com\322A.https://www.goo" + + "gleapis.com/auth/cloud-platformB\355\001\n#com." + + "google.cloud.aiplatform.v1beta1B\026Predict" + + "ionServiceProtoP\001ZCcloud.google.com/go/a" + + "iplatform/apiv1beta1/aiplatformpb;aiplat" + + "formpb\252\002\037Google.Cloud.AIPlatform.V1Beta1" + + "\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Goo" + + "gle::Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -569,7 +570,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_GenerateContentRequest_descriptor, new java.lang.String[] { - "Model", "Contents", "Tools", "SafetySettings", "GenerationConfig", + "Model", "Contents", "Tools", "ToolConfig", "SafetySettings", "GenerationConfig", }); internal_static_google_cloud_aiplatform_v1beta1_GenerateContentResponse_descriptor = getDescriptor().getMessageTypes().get(20); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolConfig.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolConfig.java new file mode 100644 index 000000000000..cf5617ef1c95 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolConfig.java @@ -0,0 +1,756 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/tool.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Tool config. This config is shared for all tools provided in the request.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ToolConfig} + */ +public final class ToolConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ToolConfig) + ToolConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ToolConfig.newBuilder() to construct. + private ToolConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ToolConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ToolConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ToolProto + .internal_static_google_cloud_aiplatform_v1beta1_ToolConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ToolProto + .internal_static_google_cloud_aiplatform_v1beta1_ToolConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ToolConfig.class, + com.google.cloud.aiplatform.v1beta1.ToolConfig.Builder.class); + } + + private int bitField0_; + public static final int FUNCTION_CALLING_CONFIG_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig functionCallingConfig_; + /** + * + * + *
+   * Function calling config.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the functionCallingConfig field is set. + */ + @java.lang.Override + public boolean hasFunctionCallingConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Function calling config.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The functionCallingConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig getFunctionCallingConfig() { + return functionCallingConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.getDefaultInstance() + : functionCallingConfig_; + } + /** + * + * + *
+   * Function calling config.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FunctionCallingConfigOrBuilder + getFunctionCallingConfigOrBuilder() { + return functionCallingConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.getDefaultInstance() + : functionCallingConfig_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getFunctionCallingConfig()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFunctionCallingConfig()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.ToolConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.ToolConfig other = + (com.google.cloud.aiplatform.v1beta1.ToolConfig) obj; + + if (hasFunctionCallingConfig() != other.hasFunctionCallingConfig()) return false; + if (hasFunctionCallingConfig()) { + if (!getFunctionCallingConfig().equals(other.getFunctionCallingConfig())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFunctionCallingConfig()) { + hash = (37 * hash) + FUNCTION_CALLING_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getFunctionCallingConfig().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig 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.aiplatform.v1beta1.ToolConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.ToolConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Tool config. This config is shared for all tools provided in the request.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ToolConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ToolConfig) + com.google.cloud.aiplatform.v1beta1.ToolConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ToolProto + .internal_static_google_cloud_aiplatform_v1beta1_ToolConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ToolProto + .internal_static_google_cloud_aiplatform_v1beta1_ToolConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ToolConfig.class, + com.google.cloud.aiplatform.v1beta1.ToolConfig.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.ToolConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getFunctionCallingConfigFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + functionCallingConfig_ = null; + if (functionCallingConfigBuilder_ != null) { + functionCallingConfigBuilder_.dispose(); + functionCallingConfigBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ToolProto + .internal_static_google_cloud_aiplatform_v1beta1_ToolConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ToolConfig getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.ToolConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ToolConfig build() { + com.google.cloud.aiplatform.v1beta1.ToolConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ToolConfig buildPartial() { + com.google.cloud.aiplatform.v1beta1.ToolConfig result = + new com.google.cloud.aiplatform.v1beta1.ToolConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.ToolConfig result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.functionCallingConfig_ = + functionCallingConfigBuilder_ == null + ? functionCallingConfig_ + : functionCallingConfigBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.ToolConfig) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.ToolConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ToolConfig other) { + if (other == com.google.cloud.aiplatform.v1beta1.ToolConfig.getDefaultInstance()) return this; + if (other.hasFunctionCallingConfig()) { + mergeFunctionCallingConfig(other.getFunctionCallingConfig()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + getFunctionCallingConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig functionCallingConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig, + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Builder, + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfigOrBuilder> + functionCallingConfigBuilder_; + /** + * + * + *
+     * Function calling config.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the functionCallingConfig field is set. + */ + public boolean hasFunctionCallingConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Function calling config.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The functionCallingConfig. + */ + public com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig getFunctionCallingConfig() { + if (functionCallingConfigBuilder_ == null) { + return functionCallingConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.getDefaultInstance() + : functionCallingConfig_; + } else { + return functionCallingConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Function calling config.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setFunctionCallingConfig( + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig value) { + if (functionCallingConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + functionCallingConfig_ = value; + } else { + functionCallingConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Function calling config.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setFunctionCallingConfig( + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Builder builderForValue) { + if (functionCallingConfigBuilder_ == null) { + functionCallingConfig_ = builderForValue.build(); + } else { + functionCallingConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Function calling config.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeFunctionCallingConfig( + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig value) { + if (functionCallingConfigBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && functionCallingConfig_ != null + && functionCallingConfig_ + != com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.getDefaultInstance()) { + getFunctionCallingConfigBuilder().mergeFrom(value); + } else { + functionCallingConfig_ = value; + } + } else { + functionCallingConfigBuilder_.mergeFrom(value); + } + if (functionCallingConfig_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Function calling config.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearFunctionCallingConfig() { + bitField0_ = (bitField0_ & ~0x00000001); + functionCallingConfig_ = null; + if (functionCallingConfigBuilder_ != null) { + functionCallingConfigBuilder_.dispose(); + functionCallingConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Function calling config.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Builder + getFunctionCallingConfigBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getFunctionCallingConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Function calling config.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.FunctionCallingConfigOrBuilder + getFunctionCallingConfigOrBuilder() { + if (functionCallingConfigBuilder_ != null) { + return functionCallingConfigBuilder_.getMessageOrBuilder(); + } else { + return functionCallingConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.getDefaultInstance() + : functionCallingConfig_; + } + } + /** + * + * + *
+     * Function calling config.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig, + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Builder, + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfigOrBuilder> + getFunctionCallingConfigFieldBuilder() { + if (functionCallingConfigBuilder_ == null) { + functionCallingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig, + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig.Builder, + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfigOrBuilder>( + getFunctionCallingConfig(), getParentForChildren(), isClean()); + functionCallingConfig_ = null; + } + return functionCallingConfigBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ToolConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ToolConfig) + private static final com.google.cloud.aiplatform.v1beta1.ToolConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.ToolConfig(); + } + + public static com.google.cloud.aiplatform.v1beta1.ToolConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ToolConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ToolConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolConfigOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolConfigOrBuilder.java new file mode 100644 index 000000000000..ceb5343ccd61 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolConfigOrBuilder.java @@ -0,0 +1,68 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/tool.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.aiplatform.v1beta1; + +public interface ToolConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ToolConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Function calling config.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the functionCallingConfig field is set. + */ + boolean hasFunctionCallingConfig(); + /** + * + * + *
+   * Function calling config.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The functionCallingConfig. + */ + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfig getFunctionCallingConfig(); + /** + * + * + *
+   * Function calling config.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FunctionCallingConfig function_calling_config = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1beta1.FunctionCallingConfigOrBuilder + getFunctionCallingConfigOrBuilder(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolProto.java index dd5e9a9b9ea6..b6c2ac85175a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ToolProto.java @@ -56,6 +56,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_GoogleSearchRetrieval_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_GoogleSearchRetrieval_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ToolConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ToolConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_FunctionCallingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_FunctionCallingConfig_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -90,13 +98,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ttribution\030\003 \001(\010B\003\340A\001B\010\n\006source\"(\n\016Verte" + "xAISearch\022\026\n\tdatastore\030\001 \001(\tB\003\340A\002\"9\n\025Goo" + "gleSearchRetrieval\022 \n\023disable_attributio" - + "n\030\001 \001(\010B\003\340A\001B\340\001\n#com.google.cloud.aiplat" - + "form.v1beta1B\tToolProtoP\001ZCcloud.google." - + "com/go/aiplatform/apiv1beta1/aiplatformp" - + "b;aiplatformpb\252\002\037Google.Cloud.AIPlatform" - + ".V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1bet" - + "a1\352\002\"Google::Cloud::AIPlatform::V1beta1b" - + "\006proto3" + + "n\030\001 \001(\010B\003\340A\001\"j\n\nToolConfig\022\\\n\027function_c" + + "alling_config\030\001 \001(\01326.google.cloud.aipla" + + "tform.v1beta1.FunctionCallingConfigB\003\340A\001" + + "\"\307\001\n\025FunctionCallingConfig\022N\n\004mode\030\001 \001(\016" + + "2;.google.cloud.aiplatform.v1beta1.Funct" + + "ionCallingConfig.ModeB\003\340A\001\022#\n\026allowed_fu" + + "nction_names\030\002 \003(\tB\003\340A\001\"9\n\004Mode\022\024\n\020MODE_" + + "UNSPECIFIED\020\000\022\010\n\004AUTO\020\001\022\007\n\003ANY\020\002\022\010\n\004NONE" + + "\020\003B\340\001\n#com.google.cloud.aiplatform.v1bet" + + "a1B\tToolProtoP\001ZCcloud.google.com/go/aip" + + "latform/apiv1beta1/aiplatformpb;aiplatfo" + + "rmpb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002" + + "\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Googl" + + "e::Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -163,6 +178,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "DisableAttribution", }); + internal_static_google_cloud_aiplatform_v1beta1_ToolConfig_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_aiplatform_v1beta1_ToolConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_ToolConfig_descriptor, + new java.lang.String[] { + "FunctionCallingConfig", + }); + internal_static_google_cloud_aiplatform_v1beta1_FunctionCallingConfig_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_aiplatform_v1beta1_FunctionCallingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_FunctionCallingConfig_descriptor, + new java.lang.String[] { + "Mode", "AllowedFunctionNames", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto index 5eafeabf3bbe..8e2e1cd1fc5b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto @@ -669,6 +669,9 @@ message GenerateContentRequest { // knowledge and scope of the model. repeated Tool tools = 6 [(google.api.field_behavior) = OPTIONAL]; + // Tool config. This config is shared for all tools provided in the request. + ToolConfig tool_config = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Per request settings for blocking unsafe content. // Enforced on GenerateContentResponse.candidates. repeated SafetySetting safety_settings = 3 diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tool.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tool.proto index a88b2f132268..641d066c2a08 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tool.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tool.proto @@ -145,3 +145,38 @@ message GoogleSearchRetrieval { // generation. bool disable_attribution = 1 [(google.api.field_behavior) = OPTIONAL]; } + +// Tool config. This config is shared for all tools provided in the request. +message ToolConfig { + // Function calling config. + FunctionCallingConfig function_calling_config = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Function calling config. +message FunctionCallingConfig { + // Function calling mode. + enum Mode { + // Unspecified function calling mode. This value should not be used. + MODE_UNSPECIFIED = 0; + // Default model behavior, model decides to predict either a function call + // or a natural language repspose. + AUTO = 1; + // Model is constrained to always predicting a function call only. + // If "allowed_function_names" are set, the predicted function call will be + // limited to any one of "allowed_function_names", else the predicted + // function call will be any one of the provided "function_declarations". + ANY = 2; + // Model will not predict any function call. Model behavior is same as when + // not passing any function declarations. + NONE = 3; + } + // Function calling mode. + Mode mode = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Function names to call. Only set when the Mode is ANY. Function names + // should match [FunctionDeclaration.name]. With mode set to ANY, model will + // predict a function call from the set of function names provided. + repeated string allowed_function_names = 2 + [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/generatecontent/AsyncGenerateContent.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/generatecontent/AsyncGenerateContent.java index ca18304790d2..62413499fe2a 100644 --- a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/generatecontent/AsyncGenerateContent.java +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/generatecontent/AsyncGenerateContent.java @@ -25,6 +25,7 @@ import com.google.cloud.aiplatform.v1beta1.PredictionServiceClient; import com.google.cloud.aiplatform.v1beta1.SafetySetting; import com.google.cloud.aiplatform.v1beta1.Tool; +import com.google.cloud.aiplatform.v1beta1.ToolConfig; import java.util.ArrayList; public class AsyncGenerateContent { @@ -45,6 +46,7 @@ public static void asyncGenerateContent() throws Exception { .setModel("model104069929") .addAllContents(new ArrayList()) .addAllTools(new ArrayList()) + .setToolConfig(ToolConfig.newBuilder().build()) .addAllSafetySettings(new ArrayList()) .setGenerationConfig(GenerationConfig.newBuilder().build()) .build(); diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/generatecontent/SyncGenerateContent.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/generatecontent/SyncGenerateContent.java index d42c9afd005c..0c99e763201b 100644 --- a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/generatecontent/SyncGenerateContent.java +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/generatecontent/SyncGenerateContent.java @@ -24,6 +24,7 @@ import com.google.cloud.aiplatform.v1beta1.PredictionServiceClient; import com.google.cloud.aiplatform.v1beta1.SafetySetting; import com.google.cloud.aiplatform.v1beta1.Tool; +import com.google.cloud.aiplatform.v1beta1.ToolConfig; import java.util.ArrayList; public class SyncGenerateContent { @@ -44,6 +45,7 @@ public static void syncGenerateContent() throws Exception { .setModel("model104069929") .addAllContents(new ArrayList()) .addAllTools(new ArrayList()) + .setToolConfig(ToolConfig.newBuilder().build()) .addAllSafetySettings(new ArrayList()) .setGenerationConfig(GenerationConfig.newBuilder().build()) .build(); diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/streamgeneratecontent/AsyncStreamGenerateContent.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/streamgeneratecontent/AsyncStreamGenerateContent.java index 1ce373b59ac2..d3c321546db5 100644 --- a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/streamgeneratecontent/AsyncStreamGenerateContent.java +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/predictionservice/streamgeneratecontent/AsyncStreamGenerateContent.java @@ -25,6 +25,7 @@ import com.google.cloud.aiplatform.v1beta1.PredictionServiceClient; import com.google.cloud.aiplatform.v1beta1.SafetySetting; import com.google.cloud.aiplatform.v1beta1.Tool; +import com.google.cloud.aiplatform.v1beta1.ToolConfig; import java.util.ArrayList; public class AsyncStreamGenerateContent { @@ -45,6 +46,7 @@ public static void asyncStreamGenerateContent() throws Exception { .setModel("model104069929") .addAllContents(new ArrayList()) .addAllTools(new ArrayList()) + .setToolConfig(ToolConfig.newBuilder().build()) .addAllSafetySettings(new ArrayList()) .setGenerationConfig(GenerationConfig.newBuilder().build()) .build(); diff --git a/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1/reflect-config.json b/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1/reflect-config.json index 14d27f8b23d4..21dc70a92ba6 100644 --- a/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1/reflect-config.json +++ b/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1/reflect-config.json @@ -3203,6 +3203,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.container.v1.SecondaryBootDiskUpdateStrategy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1.SecondaryBootDiskUpdateStrategy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.container.v1.SecurityBulletinEvent", "queryAllDeclaredConstructors": true, diff --git a/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json b/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json index 43694781dcf5..509fbac1f3ce 100644 --- a/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json +++ b/java-container/google-cloud-container/src/main/resources/META-INF/native-image/com.google.cloud.container.v1beta1/reflect-config.json @@ -3536,6 +3536,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.container.v1beta1.SecretManagerConfig", "queryAllDeclaredConstructors": true, diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java index 4ce8cc4249d2..62ed21b07681 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java @@ -190,7 +190,7 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1203 + * google/container/v1/cluster_service.proto;l=1207 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override @@ -213,7 +213,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1203 + * google/container/v1/cluster_service.proto;l=1207 * @return The kubernetesDashboard. */ @java.lang.Override @@ -1928,7 +1928,7 @@ public Builder clearHorizontalPodAutoscaling() { * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1203 + * google/container/v1/cluster_service.proto;l=1207 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -1950,7 +1950,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1203 + * google/container/v1/cluster_service.proto;l=1207 * @return The kubernetesDashboard. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java index 08d9da15af84..528bda03fefd 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java @@ -118,7 +118,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1203 + * google/container/v1/cluster_service.proto;l=1207 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -138,7 +138,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1203 + * google/container/v1/cluster_service.proto;l=1207 * @return The kubernetesDashboard. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java index 37fd07446ce4..543de2655b34 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java @@ -310,7 +310,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3946 + * deprecated. See google/container/v1/cluster_service.proto;l=3953 * @return The minCpuPlatform. */ @java.lang.Override @@ -346,7 +346,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3946 + * deprecated. See google/container/v1/cluster_service.proto;l=3953 * @return The bytes for minCpuPlatform. */ @java.lang.Override @@ -1963,7 +1963,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3946 + * deprecated. See google/container/v1/cluster_service.proto;l=3953 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -1998,7 +1998,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3946 + * deprecated. See google/container/v1/cluster_service.proto;l=3953 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -2033,7 +2033,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3946 + * deprecated. See google/container/v1/cluster_service.proto;l=3953 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ @@ -2067,7 +2067,7 @@ public Builder setMinCpuPlatform(java.lang.String value) { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3946 + * deprecated. See google/container/v1/cluster_service.proto;l=3953 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2097,7 +2097,7 @@ public Builder clearMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3946 + * deprecated. See google/container/v1/cluster_service.proto;l=3953 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java index 11554d60f513..4fa8c9d865c8 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -190,7 +190,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3946 + * deprecated. See google/container/v1/cluster_service.proto;l=3953 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -215,7 +215,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3946 + * deprecated. See google/container/v1/cluster_service.proto;l=3953 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java index 1abe51147618..4561de5a14fa 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java @@ -238,7 +238,7 @@ private EvaluationMode(int value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1457 + * google/container/v1/cluster_service.proto;l=1461 * @return The enabled. */ @java.lang.Override @@ -664,7 +664,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1457 + * google/container/v1/cluster_service.proto;l=1461 * @return The enabled. */ @java.lang.Override @@ -684,7 +684,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1457 + * google/container/v1/cluster_service.proto;l=1461 * @param value The enabled to set. * @return This builder for chaining. */ @@ -708,7 +708,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1457 + * google/container/v1/cluster_service.proto;l=1461 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java index fa7cade74976..dffd76826aea 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java @@ -36,7 +36,7 @@ public interface BinaryAuthorizationOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1457 + * google/container/v1/cluster_service.proto;l=1461 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java index 6368fcba49ca..5fd540067ab0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3115 + * google/container/v1/cluster_service.proto;l=3122 * @return The projectId. */ @java.lang.Override @@ -110,7 +110,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3115 + * google/container/v1/cluster_service.proto;l=3122 * @return The bytes for projectId. */ @java.lang.Override @@ -144,7 +144,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3121 + * google/container/v1/cluster_service.proto;l=3128 * @return The zone. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3121 + * google/container/v1/cluster_service.proto;l=3128 * @return The bytes for zone. */ @java.lang.Override @@ -205,7 +205,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3125 + * google/container/v1/cluster_service.proto;l=3132 * @return The operationId. */ @java.lang.Override @@ -232,7 +232,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3125 + * google/container/v1/cluster_service.proto;l=3132 * @return The bytes for operationId. */ @java.lang.Override @@ -728,7 +728,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3115 + * google/container/v1/cluster_service.proto;l=3122 * @return The projectId. */ @java.lang.Deprecated @@ -755,7 +755,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3115 + * google/container/v1/cluster_service.proto;l=3122 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -782,7 +782,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3115 + * google/container/v1/cluster_service.proto;l=3122 * @param value The projectId to set. * @return This builder for chaining. */ @@ -808,7 +808,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3115 + * google/container/v1/cluster_service.proto;l=3122 * @return This builder for chaining. */ @java.lang.Deprecated @@ -830,7 +830,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3115 + * google/container/v1/cluster_service.proto;l=3122 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -860,7 +860,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3121 + * google/container/v1/cluster_service.proto;l=3128 * @return The zone. */ @java.lang.Deprecated @@ -888,7 +888,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3121 + * google/container/v1/cluster_service.proto;l=3128 * @return The bytes for zone. */ @java.lang.Deprecated @@ -916,7 +916,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3121 + * google/container/v1/cluster_service.proto;l=3128 * @param value The zone to set. * @return This builder for chaining. */ @@ -943,7 +943,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3121 + * google/container/v1/cluster_service.proto;l=3128 * @return This builder for chaining. */ @java.lang.Deprecated @@ -966,7 +966,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3121 + * google/container/v1/cluster_service.proto;l=3128 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -994,7 +994,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3125 + * google/container/v1/cluster_service.proto;l=3132 * @return The operationId. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3125 + * google/container/v1/cluster_service.proto;l=3132 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1046,7 +1046,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3125 + * google/container/v1/cluster_service.proto;l=3132 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1071,7 +1071,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3125 + * google/container/v1/cluster_service.proto;l=3132 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3125 + * google/container/v1/cluster_service.proto;l=3132 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java index 0f25e04a9140..e826e6119dee 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CancelOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3115 + * google/container/v1/cluster_service.proto;l=3122 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface CancelOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3115 + * google/container/v1/cluster_service.proto;l=3122 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3121 + * google/container/v1/cluster_service.proto;l=3128 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3121 + * google/container/v1/cluster_service.proto;l=3128 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3125 + * google/container/v1/cluster_service.proto;l=3132 * @return The operationId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3125 + * google/container/v1/cluster_service.proto;l=3132 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java index 0811ccccc77a..96b6ec2060d2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java @@ -492,7 +492,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1686 + * google/container/v1/cluster_service.proto;l=1690 * @return The initialNodeCount. */ @java.lang.Override @@ -523,7 +523,7 @@ public int getInitialNodeCount() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1699 + * google/container/v1/cluster_service.proto;l=1703 * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -551,7 +551,7 @@ public boolean hasNodeConfig() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1699 + * google/container/v1/cluster_service.proto;l=1703 * @return The nodeConfig. */ @java.lang.Override @@ -2591,7 +2591,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1870 + * google/container/v1/cluster_service.proto;l=1874 * @return The zone. */ @java.lang.Override @@ -2619,7 +2619,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1870 + * google/container/v1/cluster_service.proto;l=1874 * @return The bytes for zone. */ @java.lang.Override @@ -2841,7 +2841,7 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1903 + * google/container/v1/cluster_service.proto;l=1907 * @return The currentNodeVersion. */ @java.lang.Override @@ -2871,7 +2871,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1903 + * google/container/v1/cluster_service.proto;l=1907 * @return The bytes for currentNodeVersion. */ @java.lang.Override @@ -2992,7 +2992,7 @@ public com.google.container.v1.Cluster.Status getStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1915 + * google/container/v1/cluster_service.proto;l=1919 * @return The statusMessage. */ @java.lang.Override @@ -3020,7 +3020,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1915 + * google/container/v1/cluster_service.proto;l=1919 * @return The bytes for statusMessage. */ @java.lang.Override @@ -3132,7 +3132,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -3149,7 +3149,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -3166,7 +3166,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -3184,7 +3184,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -3206,7 +3206,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1935 + * google/container/v1/cluster_service.proto;l=1939 * @return The currentNodeCount. */ @java.lang.Override @@ -6798,7 +6798,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1686 + * google/container/v1/cluster_service.proto;l=1690 * @return The initialNodeCount. */ @java.lang.Override @@ -6825,7 +6825,7 @@ public int getInitialNodeCount() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1686 + * google/container/v1/cluster_service.proto;l=1690 * @param value The initialNodeCount to set. * @return This builder for chaining. */ @@ -6856,7 +6856,7 @@ public Builder setInitialNodeCount(int value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1686 + * google/container/v1/cluster_service.proto;l=1690 * @return This builder for chaining. */ @java.lang.Deprecated @@ -6893,7 +6893,7 @@ public Builder clearInitialNodeCount() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1699 + * google/container/v1/cluster_service.proto;l=1703 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -6920,7 +6920,7 @@ public boolean hasNodeConfig() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1699 + * google/container/v1/cluster_service.proto;l=1703 * @return The nodeConfig. */ @java.lang.Deprecated @@ -13596,7 +13596,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1870 + * google/container/v1/cluster_service.proto;l=1874 * @return The zone. */ @java.lang.Deprecated @@ -13623,7 +13623,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1870 + * google/container/v1/cluster_service.proto;l=1874 * @return The bytes for zone. */ @java.lang.Deprecated @@ -13650,7 +13650,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1870 + * google/container/v1/cluster_service.proto;l=1874 * @param value The zone to set. * @return This builder for chaining. */ @@ -13676,7 +13676,7 @@ public Builder setZone(java.lang.String value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1870 + * google/container/v1/cluster_service.proto;l=1874 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13698,7 +13698,7 @@ public Builder clearZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1870 + * google/container/v1/cluster_service.proto;l=1874 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -14132,7 +14132,7 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1903 + * google/container/v1/cluster_service.proto;l=1907 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -14161,7 +14161,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1903 + * google/container/v1/cluster_service.proto;l=1907 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -14190,7 +14190,7 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1903 + * google/container/v1/cluster_service.proto;l=1907 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ @@ -14218,7 +14218,7 @@ public Builder setCurrentNodeVersion(java.lang.String value) { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1903 + * google/container/v1/cluster_service.proto;l=1907 * @return This builder for chaining. */ @java.lang.Deprecated @@ -14242,7 +14242,7 @@ public Builder clearCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1903 + * google/container/v1/cluster_service.proto;l=1907 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ @@ -14472,7 +14472,7 @@ public Builder clearStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1915 + * google/container/v1/cluster_service.proto;l=1919 * @return The statusMessage. */ @java.lang.Deprecated @@ -14499,7 +14499,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1915 + * google/container/v1/cluster_service.proto;l=1919 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -14526,7 +14526,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1915 + * google/container/v1/cluster_service.proto;l=1919 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -14552,7 +14552,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1915 + * google/container/v1/cluster_service.proto;l=1919 * @return This builder for chaining. */ @java.lang.Deprecated @@ -14574,7 +14574,7 @@ public Builder clearStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1915 + * google/container/v1/cluster_service.proto;l=1919 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -14797,7 +14797,7 @@ private void ensureInstanceGroupUrlsIsMutable() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -14815,7 +14815,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -14832,7 +14832,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -14850,7 +14850,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -14868,7 +14868,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. @@ -14894,7 +14894,7 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -14919,7 +14919,7 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -14941,7 +14941,7 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @return This builder for chaining. */ @java.lang.Deprecated @@ -14962,7 +14962,7 @@ public Builder clearInstanceGroupUrls() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ @@ -14991,7 +14991,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1935 + * google/container/v1/cluster_service.proto;l=1939 * @return The currentNodeCount. */ @java.lang.Override @@ -15010,7 +15010,7 @@ public int getCurrentNodeCount() { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1935 + * google/container/v1/cluster_service.proto;l=1939 * @param value The currentNodeCount to set. * @return This builder for chaining. */ @@ -15033,7 +15033,7 @@ public Builder setCurrentNodeCount(int value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1935 + * google/container/v1/cluster_service.proto;l=1939 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java index 8f4cb2e2d76d..9c925de2aae5 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java @@ -105,7 +105,7 @@ public interface ClusterOrBuilder * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1686 + * google/container/v1/cluster_service.proto;l=1690 * @return The initialNodeCount. */ @java.lang.Deprecated @@ -131,7 +131,7 @@ public interface ClusterOrBuilder * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1699 + * google/container/v1/cluster_service.proto;l=1703 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -156,7 +156,7 @@ public interface ClusterOrBuilder * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1699 + * google/container/v1/cluster_service.proto;l=1703 * @return The nodeConfig. */ @java.lang.Deprecated @@ -1553,7 +1553,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1870 + * google/container/v1/cluster_service.proto;l=1874 * @return The zone. */ @java.lang.Deprecated @@ -1570,7 +1570,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1870 + * google/container/v1/cluster_service.proto;l=1874 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1699,7 +1699,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1903 + * google/container/v1/cluster_service.proto;l=1907 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -1718,7 +1718,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1903 + * google/container/v1/cluster_service.proto;l=1907 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -1788,7 +1788,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1915 + * google/container/v1/cluster_service.proto;l=1919 * @return The statusMessage. */ @java.lang.Deprecated @@ -1805,7 +1805,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1915 + * google/container/v1/cluster_service.proto;l=1919 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -1870,7 +1870,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -1885,7 +1885,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -1900,7 +1900,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -1916,7 +1916,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1931 + * google/container/v1/cluster_service.proto;l=1935 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -1934,7 +1934,7 @@ java.lang.String getResourceLabelsOrDefault( * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1935 + * google/container/v1/cluster_service.proto;l=1939 * @return The currentNodeCount. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java index 4115d24ad218..82b5615c6e1d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java @@ -772,6 +772,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1_SecondaryBootDisk_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1_SecondaryBootDisk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1_SecondaryBootDiskUpdateStrategy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1_SecondaryBootDiskUpdateStrategy_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -807,7 +811,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "lValue\022\034\n\024cpu_cfs_quota_period\030\003 \001(\t\022\026\n\016" + "pod_pids_limit\030\004 \001(\003\0223\n&insecure_kubelet" + "_readonly_port_enabled\030\007 \001(\010H\000\210\001\001B)\n\'_in" - + "secure_kubelet_readonly_port_enabled\"\224\020\n" + + "secure_kubelet_readonly_port_enabled\"\244\021\n" + "\nNodeConfig\022\024\n\014machine_type\030\001 \001(\t\022\024\n\014dis" + "k_size_gb\030\002 \001(\005\022\024\n\014oauth_scopes\030\003 \003(\t\022\027\n" + "\017service_account\030\t \001(\t\022?\n\010metadata\030\004 \003(\013" @@ -855,1201 +859,1208 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ainer.v1.ResourceManagerTags\022(\n\033enable_c" + "onfidential_storage\030. \001(\010B\003\340A\001\022D\n\024second" + "ary_boot_disks\0300 \003(\0132&.google.container." - + "v1.SecondaryBootDisk\032/\n\rMetadataEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0325\n\023" - + "ResourceLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001B\016\n\014_fast_socket\"M\n\027AdvancedM" - + "achineFeatures\022\035\n\020threads_per_core\030\001 \001(\003" - + "H\000\210\001\001B\023\n\021_threads_per_core\"\263\006\n\021NodeNetwo" - + "rkConfig\022\035\n\020create_pod_range\030\004 \001(\010B\003\340A\004\022" - + "\021\n\tpod_range\030\005 \001(\t\022\033\n\023pod_ipv4_cidr_bloc" - + "k\030\006 \001(\t\022!\n\024enable_private_nodes\030\t \001(\010H\000\210" - + "\001\001\022h\n\032network_performance_config\030\013 \001(\0132?" - + ".google.container.v1.NodeNetworkConfig.N" - + "etworkPerformanceConfigH\001\210\001\001\022V\n\035pod_cidr" - + "_overprovision_config\030\r \001(\0132/.google.con" - + "tainer.v1.PodCIDROverprovisionConfig\022Y\n\037" - + "additional_node_network_configs\030\016 \003(\01320." - + "google.container.v1.AdditionalNodeNetwor" - + "kConfig\022W\n\036additional_pod_network_config" - + "s\030\017 \003(\0132/.google.container.v1.Additional" - + "PodNetworkConfig\022\'\n\032pod_ipv4_range_utili" - + "zation\030\020 \001(\001B\003\340A\003\032\324\001\n\030NetworkPerformance" - + "Config\022n\n\033total_egress_bandwidth_tier\030\001 " - + "\001(\0162D.google.container.v1.NodeNetworkCon" - + "fig.NetworkPerformanceConfig.TierH\000\210\001\001\"(" - + "\n\004Tier\022\024\n\020TIER_UNSPECIFIED\020\000\022\n\n\006TIER_1\020\001" - + "B\036\n\034_total_egress_bandwidth_tierB\027\n\025_ena" - + "ble_private_nodesB\035\n\033_network_performanc" - + "e_config\"B\n\033AdditionalNodeNetworkConfig\022" - + "\017\n\007network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\"\253\001\n" - + "\032AdditionalPodNetworkConfig\022\022\n\nsubnetwor" - + "k\030\001 \001(\t\022\033\n\023secondary_pod_range\030\002 \001(\t\022F\n\021" - + "max_pods_per_node\030\003 \001(\0132&.google.contain" - + "er.v1.MaxPodsConstraintH\000\210\001\001B\024\n\022_max_pod" - + "s_per_node\"Y\n\026ShieldedInstanceConfig\022\032\n\022" - + "enable_secure_boot\030\001 \001(\010\022#\n\033enable_integ" - + "rity_monitoring\030\002 \001(\010\"k\n\rSandboxConfig\0225" - + "\n\004type\030\002 \001(\0162\'.google.container.v1.Sandb" - + "oxConfig.Type\"#\n\004Type\022\017\n\013UNSPECIFIED\020\000\022\n" - + "\n\006GVISOR\020\001\"\035\n\nGcfsConfig\022\017\n\007enabled\030\001 \001(" - + "\010\"\337\001\n\023ReservationAffinity\022O\n\030consume_res" - + "ervation_type\030\001 \001(\0162-.google.container.v" - + "1.ReservationAffinity.Type\022\013\n\003key\030\002 \001(\t\022" - + "\016\n\006values\030\003 \003(\t\"Z\n\004Type\022\017\n\013UNSPECIFIED\020\000" - + "\022\022\n\016NO_RESERVATION\020\001\022\023\n\017ANY_RESERVATION\020" - + "\002\022\030\n\024SPECIFIC_RESERVATION\020\003\"\226\002\n\020SoleTena" - + "ntConfig\022K\n\017node_affinities\030\001 \003(\01322.goog" - + "le.container.v1.SoleTenantConfig.NodeAff" - + "inity\032\264\001\n\014NodeAffinity\022\013\n\003key\030\001 \001(\t\022M\n\010o" - + "perator\030\002 \001(\0162;.google.container.v1.Sole" - + "TenantConfig.NodeAffinity.Operator\022\016\n\006va" - + "lues\030\003 \003(\t\"8\n\010Operator\022\030\n\024OPERATOR_UNSPE" - + "CIFIED\020\000\022\006\n\002IN\020\001\022\n\n\006NOT_IN\020\002\"\271\001\n\tNodeTai" - + "nt\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\0225\n\006effect" - + "\030\003 \001(\0162%.google.container.v1.NodeTaint.E" - + "ffect\"Y\n\006Effect\022\026\n\022EFFECT_UNSPECIFIED\020\000\022" - + "\017\n\013NO_SCHEDULE\020\001\022\026\n\022PREFER_NO_SCHEDULE\020\002" - + "\022\016\n\nNO_EXECUTE\020\003\"<\n\nNodeTaints\022.\n\006taints" - + "\030\001 \003(\0132\036.google.container.v1.NodeTaint\"x" - + "\n\nNodeLabels\022;\n\006labels\030\001 \003(\0132+.google.co" - + "ntainer.v1.NodeLabels.LabelsEntry\032-\n\013Lab" - + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "\"\200\001\n\016ResourceLabels\022?\n\006labels\030\001 \003(\0132/.go" - + "ogle.container.v1.ResourceLabels.LabelsE" - + "ntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001\"\033\n\013NetworkTags\022\014\n\004tags\030\001 \003(\t" - + "\"\331\001\n\nMasterAuth\022\024\n\010username\030\001 \001(\tB\002\030\001\022\024\n" - + "\010password\030\002 \001(\tB\002\030\001\022O\n\031client_certificat" - + "e_config\030\003 \001(\0132,.google.container.v1.Cli" - + "entCertificateConfig\022\036\n\026cluster_ca_certi" - + "ficate\030d \001(\t\022\032\n\022client_certificate\030e \001(\t" - + "\022\022\n\nclient_key\030f \001(\t\";\n\027ClientCertificat" - + "eConfig\022 \n\030issue_client_certificate\030\001 \001(" - + "\010\"\254\007\n\014AddonsConfig\022C\n\023http_load_balancin" - + "g\030\001 \001(\0132&.google.container.v1.HttpLoadBa" - + "lancing\022Q\n\032horizontal_pod_autoscaling\030\002 " - + "\001(\0132-.google.container.v1.HorizontalPodA" - + "utoscaling\022J\n\024kubernetes_dashboard\030\003 \001(\013" - + "2(.google.container.v1.KubernetesDashboa" - + "rdB\002\030\001\022G\n\025network_policy_config\030\004 \001(\0132(." - + "google.container.v1.NetworkPolicyConfig\022" - + "=\n\020cloud_run_config\030\007 \001(\0132#.google.conta" - + "iner.v1.CloudRunConfig\022=\n\020dns_cache_conf" - + "ig\030\010 \001(\0132#.google.container.v1.DnsCacheC" - + "onfig\022K\n\027config_connector_config\030\n \001(\0132*" - + ".google.container.v1.ConfigConnectorConf" - + "ig\022d\n%gce_persistent_disk_csi_driver_con" - + "fig\030\013 \001(\01325.google.container.v1.GcePersi" - + "stentDiskCsiDriverConfig\022Y\n\037gcp_filestor" - + "e_csi_driver_config\030\016 \001(\01320.google.conta" - + "iner.v1.GcpFilestoreCsiDriverConfig\022J\n\027g" - + "ke_backup_agent_config\030\020 \001(\0132).google.co" - + "ntainer.v1.GkeBackupAgentConfig\022O\n\032gcs_f" - + "use_csi_driver_config\030\021 \001(\0132+.google.con" - + "tainer.v1.GcsFuseCsiDriverConfig\022F\n\022stat" - + "eful_ha_config\030\022 \001(\0132%.google.container." - + "v1.StatefulHAConfigB\003\340A\001\"%\n\021HttpLoadBala" - + "ncing\022\020\n\010disabled\030\001 \001(\010\",\n\030HorizontalPod" - + "Autoscaling\022\020\n\010disabled\030\001 \001(\010\"\'\n\023Kuberne" - + "tesDashboard\022\020\n\010disabled\030\001 \001(\010\"\'\n\023Networ" - + "kPolicyConfig\022\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCa" - + "cheConfig\022\017\n\007enabled\030\001 \001(\010\"9\n&PrivateClu" - + "sterMasterGlobalAccessConfig\022\017\n\007enabled\030" - + "\001 \001(\010\"\305\002\n\024PrivateClusterConfig\022\034\n\024enable" - + "_private_nodes\030\001 \001(\010\022\037\n\027enable_private_e" - + "ndpoint\030\002 \001(\010\022\036\n\026master_ipv4_cidr_block\030" - + "\003 \001(\t\022\030\n\020private_endpoint\030\004 \001(\t\022\027\n\017publi" - + "c_endpoint\030\005 \001(\t\022\024\n\014peering_name\030\007 \001(\t\022`" - + "\n\033master_global_access_config\030\010 \001(\0132;.go" - + "ogle.container.v1.PrivateClusterMasterGl" - + "obalAccessConfig\022#\n\033private_endpoint_sub" - + "network\030\n \001(\t\"D\n\031AuthenticatorGroupsConf" - + "ig\022\017\n\007enabled\030\001 \001(\010\022\026\n\016security_group\030\002 " - + "\001(\t\"\356\001\n\016CloudRunConfig\022\020\n\010disabled\030\001 \001(\010" - + "\022P\n\022load_balancer_type\030\003 \001(\01624.google.co" - + "ntainer.v1.CloudRunConfig.LoadBalancerTy" - + "pe\"x\n\020LoadBalancerType\022\"\n\036LOAD_BALANCER_" - + "TYPE_UNSPECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE" - + "_EXTERNAL\020\001\022\037\n\033LOAD_BALANCER_TYPE_INTERN" - + "AL\020\002\"(\n\025ConfigConnectorConfig\022\017\n\007enabled" - + "\030\001 \001(\010\"3\n GcePersistentDiskCsiDriverConf" - + "ig\022\017\n\007enabled\030\001 \001(\010\".\n\033GcpFilestoreCsiDr" - + "iverConfig\022\017\n\007enabled\030\001 \001(\010\")\n\026GcsFuseCs" - + "iDriverConfig\022\017\n\007enabled\030\001 \001(\010\"\'\n\024GkeBac" - + "kupAgentConfig\022\017\n\007enabled\030\001 \001(\010\"#\n\020State" - + "fulHAConfig\022\017\n\007enabled\030\001 \001(\010\"\216\002\n\036MasterA" - + "uthorizedNetworksConfig\022\017\n\007enabled\030\001 \001(\010" - + "\022R\n\013cidr_blocks\030\002 \003(\0132=.google.container" - + ".v1.MasterAuthorizedNetworksConfig.CidrB" - + "lock\022,\n\037gcp_public_cidrs_access_enabled\030" - + "\003 \001(\010H\000\210\001\001\0325\n\tCidrBlock\022\024\n\014display_name\030" - + "\001 \001(\t\022\022\n\ncidr_block\030\002 \001(\tB\"\n _gcp_public" - + "_cidrs_access_enabled\"\035\n\nLegacyAbac\022\017\n\007e" - + "nabled\030\001 \001(\010\"\221\001\n\rNetworkPolicy\022=\n\010provid" - + "er\030\001 \001(\0162+.google.container.v1.NetworkPo" - + "licy.Provider\022\017\n\007enabled\030\002 \001(\010\"0\n\010Provid" - + "er\022\030\n\024PROVIDER_UNSPECIFIED\020\000\022\n\n\006CALICO\020\001" - + "\"\343\001\n\023BinaryAuthorization\022\023\n\007enabled\030\001 \001(" - + "\010B\002\030\001\022P\n\017evaluation_mode\030\002 \001(\01627.google." - + "container.v1.BinaryAuthorization.Evaluat" - + "ionMode\"e\n\016EvaluationMode\022\037\n\033EVALUATION_" - + "MODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022$\n PROJ" - + "ECT_SINGLETON_POLICY_ENFORCE\020\002\"-\n\032PodCID" - + "ROverprovisionConfig\022\017\n\007disable\030\001 \001(\010\"\275\006" - + "\n\022IPAllocationPolicy\022\026\n\016use_ip_aliases\030\001" - + " \001(\010\022\031\n\021create_subnetwork\030\002 \001(\010\022\027\n\017subne" - + "twork_name\030\003 \001(\t\022\035\n\021cluster_ipv4_cidr\030\004 " - + "\001(\tB\002\030\001\022\032\n\016node_ipv4_cidr\030\005 \001(\tB\002\030\001\022\036\n\022s" - + "ervices_ipv4_cidr\030\006 \001(\tB\002\030\001\022$\n\034cluster_s" - + "econdary_range_name\030\007 \001(\t\022%\n\035services_se" - + "condary_range_name\030\010 \001(\t\022\037\n\027cluster_ipv4" - + "_cidr_block\030\t \001(\t\022\034\n\024node_ipv4_cidr_bloc" - + "k\030\n \001(\t\022 \n\030services_ipv4_cidr_block\030\013 \001(" - + "\t\022\033\n\023tpu_ipv4_cidr_block\030\r \001(\t\022\022\n\nuse_ro" - + "utes\030\017 \001(\010\0222\n\nstack_type\030\020 \001(\0162\036.google." - + "container.v1.StackType\022=\n\020ipv6_access_ty" - + "pe\030\021 \001(\0162#.google.container.v1.IPv6Acces" - + "sType\022V\n\035pod_cidr_overprovision_config\030\025" - + " \001(\0132/.google.container.v1.PodCIDROverpr" - + "ovisionConfig\022#\n\026subnet_ipv6_cidr_block\030" - + "\026 \001(\tB\003\340A\003\022%\n\030services_ipv6_cidr_block\030\027" - + " \001(\tB\003\340A\003\022Y\n\034additional_pod_ranges_confi" - + "g\030\030 \001(\0132..google.container.v1.Additional" - + "PodRangesConfigB\003\340A\003\022/\n\"default_pod_ipv4" - + "_range_utilization\030\031 \001(\001B\003\340A\003\"\231\033\n\007Cluste" - + "r\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\036\n\022" - + "initial_node_count\030\003 \001(\005B\002\030\001\0228\n\013node_con" - + "fig\030\004 \001(\0132\037.google.container.v1.NodeConf" - + "igB\002\030\001\0224\n\013master_auth\030\005 \001(\0132\037.google.con" - + "tainer.v1.MasterAuth\022\027\n\017logging_service\030" - + "\006 \001(\t\022\032\n\022monitoring_service\030\007 \001(\t\022\017\n\007net" - + "work\030\010 \001(\t\022\031\n\021cluster_ipv4_cidr\030\t \001(\t\0228\n" - + "\raddons_config\030\n \001(\0132!.google.container." - + "v1.AddonsConfig\022\022\n\nsubnetwork\030\013 \001(\t\0221\n\nn" - + "ode_pools\030\014 \003(\0132\035.google.container.v1.No" - + "dePool\022\021\n\tlocations\030\r \003(\t\022\037\n\027enable_kube" - + "rnetes_alpha\030\016 \001(\010\022I\n\017resource_labels\030\017 " - + "\003(\01320.google.container.v1.Cluster.Resour" - + "ceLabelsEntry\022\031\n\021label_fingerprint\030\020 \001(\t" - + "\0224\n\013legacy_abac\030\022 \001(\0132\037.google.container" - + ".v1.LegacyAbac\022:\n\016network_policy\030\023 \001(\0132\"" - + ".google.container.v1.NetworkPolicy\022E\n\024ip" - + "_allocation_policy\030\024 \001(\0132\'.google.contai" - + "ner.v1.IPAllocationPolicy\022^\n!master_auth" - + "orized_networks_config\030\026 \001(\01323.google.co" - + "ntainer.v1.MasterAuthorizedNetworksConfi" - + "g\022B\n\022maintenance_policy\030\027 \001(\0132&.google.c" - + "ontainer.v1.MaintenancePolicy\022F\n\024binary_" - + "authorization\030\030 \001(\0132(.google.container.v" - + "1.BinaryAuthorization\022<\n\013autoscaling\030\032 \001" - + "(\0132\'.google.container.v1.ClusterAutoscal" - + "ing\022:\n\016network_config\030\033 \001(\0132\".google.con" - + "tainer.v1.NetworkConfig\022K\n\033default_max_p" - + "ods_constraint\030\036 \001(\0132&.google.container." - + "v1.MaxPodsConstraint\022T\n\034resource_usage_e" - + "xport_config\030! \001(\0132..google.container.v1" - + ".ResourceUsageExportConfig\022S\n\033authentica" - + "tor_groups_config\030\" \001(\0132..google.contain" - + "er.v1.AuthenticatorGroupsConfig\022I\n\026priva" - + "te_cluster_config\030% \001(\0132).google.contain" - + "er.v1.PrivateClusterConfig\022D\n\023database_e" - + "ncryption\030& \001(\0132\'.google.container.v1.Da" - + "tabaseEncryption\022M\n\030vertical_pod_autosca" - + "ling\030\' \001(\0132+.google.container.v1.Vertica" - + "lPodAutoscaling\022:\n\016shielded_nodes\030( \001(\0132" - + "\".google.container.v1.ShieldedNodes\022<\n\017r" - + "elease_channel\030) \001(\0132#.google.container." - + "v1.ReleaseChannel\022M\n\030workload_identity_c" - + "onfig\030+ \001(\0132+.google.container.v1.Worklo" - + "adIdentityConfig\022@\n\021mesh_certificates\030C " - + "\001(\0132%.google.container.v1.MeshCertificat" - + "es\022I\n\026cost_management_config\030- \001(\0132).goo" - + "gle.container.v1.CostManagementConfig\022D\n" - + "\023notification_config\0301 \001(\0132\'.google.cont" - + "ainer.v1.NotificationConfig\022B\n\022confident" - + "ial_nodes\0302 \001(\0132&.google.container.v1.Co" - + "nfidentialNodes\022K\n\027identity_service_conf" - + "ig\0306 \001(\0132*.google.container.v1.IdentityS" - + "erviceConfig\022\021\n\tself_link\030d \001(\t\022\020\n\004zone\030" - + "e \001(\tB\002\030\001\022\020\n\010endpoint\030f \001(\t\022\037\n\027initial_c" - + "luster_version\030g \001(\t\022\036\n\026current_master_v" - + "ersion\030h \001(\t\022 \n\024current_node_version\030i \001" - + "(\tB\002\030\001\022\023\n\013create_time\030j \001(\t\0223\n\006status\030k " - + "\001(\0162#.google.container.v1.Cluster.Status" - + "\022\032\n\016status_message\030l \001(\tB\002\030\001\022\033\n\023node_ipv" - + "4_cidr_size\030m \001(\005\022\032\n\022services_ipv4_cidr\030" - + "n \001(\t\022\037\n\023instance_group_urls\030o \003(\tB\002\030\001\022\036" - + "\n\022current_node_count\030p \001(\005B\002\030\001\022\023\n\013expire" - + "_time\030q \001(\t\022\020\n\010location\030r \001(\t\022\022\n\nenable_" - + "tpu\030s \001(\010\022\033\n\023tpu_ipv4_cidr_block\030t \001(\t\0228" - + "\n\nconditions\030v \003(\0132$.google.container.v1" - + ".StatusCondition\0222\n\tautopilot\030\200\001 \001(\0132\036.g" - + "oogle.container.v1.Autopilot\022\020\n\002id\030\201\001 \001(" - + "\tB\003\340A\003\022G\n\022node_pool_defaults\030\203\001 \001(\0132%.go" - + "ogle.container.v1.NodePoolDefaultsH\000\210\001\001\022" - + ";\n\016logging_config\030\204\001 \001(\0132\".google.contai" - + "ner.v1.LoggingConfig\022A\n\021monitoring_confi" - + "g\030\205\001 \001(\0132%.google.container.v1.Monitorin" - + "gConfig\022G\n\025node_pool_auto_config\030\210\001 \001(\0132" - + "\'.google.container.v1.NodePoolAutoConfig" - + "\022\r\n\004etag\030\213\001 \001(\t\022*\n\005fleet\030\214\001 \001(\0132\032.google" - + ".container.v1.Fleet\022L\n\027security_posture_" - + "config\030\221\001 \001(\0132*.google.container.v1.Secu" - + "rityPostureConfig\022D\n\024enable_k8s_beta_api" - + "s\030\217\001 \001(\0132%.google.container.v1.K8sBetaAP" - + "IConfig\022A\n\021enterprise_config\030\225\001 \001(\0132%.go" - + "ogle.container.v1.EnterpriseConfig\0325\n\023Re" - + "sourceLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - + "\002 \001(\t:\0028\001\"w\n\006Status\022\026\n\022STATUS_UNSPECIFIE" - + "D\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RE" - + "CONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010" - + "DEGRADED\020\006B\025\n\023_node_pool_defaults\"(\n\020K8s" - + "BetaAPIConfig\022\024\n\014enabled_apis\030\001 \003(\t\"\236\003\n\025" - + "SecurityPostureConfig\022B\n\004mode\030\001 \001(\0162/.go" - + "ogle.container.v1.SecurityPostureConfig." - + "ModeH\000\210\001\001\022]\n\022vulnerability_mode\030\002 \001(\0162<." + + "v1.SecondaryBootDisk\022f\n#secondary_boot_d" + + "isk_update_strategy\0302 \001(\01324.google.conta" + + "iner.v1.SecondaryBootDiskUpdateStrategyH" + + "\001\210\001\001\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\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\0325\n\023ResourceLabelsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\016\n\014_" + + "fast_socketB&\n$_secondary_boot_disk_upda" + + "te_strategy\"M\n\027AdvancedMachineFeatures\022\035" + + "\n\020threads_per_core\030\001 \001(\003H\000\210\001\001B\023\n\021_thread" + + "s_per_core\"\263\006\n\021NodeNetworkConfig\022\035\n\020crea" + + "te_pod_range\030\004 \001(\010B\003\340A\004\022\021\n\tpod_range\030\005 \001" + + "(\t\022\033\n\023pod_ipv4_cidr_block\030\006 \001(\t\022!\n\024enabl" + + "e_private_nodes\030\t \001(\010H\000\210\001\001\022h\n\032network_pe" + + "rformance_config\030\013 \001(\0132?.google.containe" + + "r.v1.NodeNetworkConfig.NetworkPerformanc" + + "eConfigH\001\210\001\001\022V\n\035pod_cidr_overprovision_c" + + "onfig\030\r \001(\0132/.google.container.v1.PodCID" + + "ROverprovisionConfig\022Y\n\037additional_node_" + + "network_configs\030\016 \003(\01320.google.container" + + ".v1.AdditionalNodeNetworkConfig\022W\n\036addit" + + "ional_pod_network_configs\030\017 \003(\0132/.google" + + ".container.v1.AdditionalPodNetworkConfig" + + "\022\'\n\032pod_ipv4_range_utilization\030\020 \001(\001B\003\340A" + + "\003\032\324\001\n\030NetworkPerformanceConfig\022n\n\033total_" + + "egress_bandwidth_tier\030\001 \001(\0162D.google.con" + + "tainer.v1.NodeNetworkConfig.NetworkPerfo" + + "rmanceConfig.TierH\000\210\001\001\"(\n\004Tier\022\024\n\020TIER_U" + + "NSPECIFIED\020\000\022\n\n\006TIER_1\020\001B\036\n\034_total_egres" + + "s_bandwidth_tierB\027\n\025_enable_private_node" + + "sB\035\n\033_network_performance_config\"B\n\033Addi" + + "tionalNodeNetworkConfig\022\017\n\007network\030\001 \001(\t" + + "\022\022\n\nsubnetwork\030\002 \001(\t\"\253\001\n\032AdditionalPodNe" + + "tworkConfig\022\022\n\nsubnetwork\030\001 \001(\t\022\033\n\023secon" + + "dary_pod_range\030\002 \001(\t\022F\n\021max_pods_per_nod" + + "e\030\003 \001(\0132&.google.container.v1.MaxPodsCon" + + "straintH\000\210\001\001B\024\n\022_max_pods_per_node\"Y\n\026Sh" + + "ieldedInstanceConfig\022\032\n\022enable_secure_bo" + + "ot\030\001 \001(\010\022#\n\033enable_integrity_monitoring\030" + + "\002 \001(\010\"k\n\rSandboxConfig\0225\n\004type\030\002 \001(\0162\'.g" + + "oogle.container.v1.SandboxConfig.Type\"#\n" + + "\004Type\022\017\n\013UNSPECIFIED\020\000\022\n\n\006GVISOR\020\001\"\035\n\nGc" + + "fsConfig\022\017\n\007enabled\030\001 \001(\010\"\337\001\n\023Reservatio" + + "nAffinity\022O\n\030consume_reservation_type\030\001 " + + "\001(\0162-.google.container.v1.ReservationAff" + + "inity.Type\022\013\n\003key\030\002 \001(\t\022\016\n\006values\030\003 \003(\t\"" + + "Z\n\004Type\022\017\n\013UNSPECIFIED\020\000\022\022\n\016NO_RESERVATI" + + "ON\020\001\022\023\n\017ANY_RESERVATION\020\002\022\030\n\024SPECIFIC_RE" + + "SERVATION\020\003\"\226\002\n\020SoleTenantConfig\022K\n\017node" + + "_affinities\030\001 \003(\01322.google.container.v1." + + "SoleTenantConfig.NodeAffinity\032\264\001\n\014NodeAf" + + "finity\022\013\n\003key\030\001 \001(\t\022M\n\010operator\030\002 \001(\0162;." + + "google.container.v1.SoleTenantConfig.Nod" + + "eAffinity.Operator\022\016\n\006values\030\003 \003(\t\"8\n\010Op" + + "erator\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\006\n\002IN\020\001" + + "\022\n\n\006NOT_IN\020\002\"\271\001\n\tNodeTaint\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t\0225\n\006effect\030\003 \001(\0162%.google." + + "container.v1.NodeTaint.Effect\"Y\n\006Effect\022" + + "\026\n\022EFFECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDULE\020\001" + + "\022\026\n\022PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECUTE\020\003" + + "\"<\n\nNodeTaints\022.\n\006taints\030\001 \003(\0132\036.google." + + "container.v1.NodeTaint\"x\n\nNodeLabels\022;\n\006" + + "labels\030\001 \003(\0132+.google.container.v1.NodeL" + + "abels.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\200\001\n\016ResourceLab" + + "els\022?\n\006labels\030\001 \003(\0132/.google.container.v" + + "1.ResourceLabels.LabelsEntry\032-\n\013LabelsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\033\n\013N" + + "etworkTags\022\014\n\004tags\030\001 \003(\t\"\331\001\n\nMasterAuth\022" + + "\024\n\010username\030\001 \001(\tB\002\030\001\022\024\n\010password\030\002 \001(\tB" + + "\002\030\001\022O\n\031client_certificate_config\030\003 \001(\0132," + + ".google.container.v1.ClientCertificateCo" + + "nfig\022\036\n\026cluster_ca_certificate\030d \001(\t\022\032\n\022" + + "client_certificate\030e \001(\t\022\022\n\nclient_key\030f" + + " \001(\t\";\n\027ClientCertificateConfig\022 \n\030issue" + + "_client_certificate\030\001 \001(\010\"\254\007\n\014AddonsConf" + + "ig\022C\n\023http_load_balancing\030\001 \001(\0132&.google" + + ".container.v1.HttpLoadBalancing\022Q\n\032horiz" + + "ontal_pod_autoscaling\030\002 \001(\0132-.google.con" + + "tainer.v1.HorizontalPodAutoscaling\022J\n\024ku" + + "bernetes_dashboard\030\003 \001(\0132(.google.contai" + + "ner.v1.KubernetesDashboardB\002\030\001\022G\n\025networ" + + "k_policy_config\030\004 \001(\0132(.google.container" + + ".v1.NetworkPolicyConfig\022=\n\020cloud_run_con" + + "fig\030\007 \001(\0132#.google.container.v1.CloudRun" + + "Config\022=\n\020dns_cache_config\030\010 \001(\0132#.googl" + + "e.container.v1.DnsCacheConfig\022K\n\027config_" + + "connector_config\030\n \001(\0132*.google.containe" + + "r.v1.ConfigConnectorConfig\022d\n%gce_persis" + + "tent_disk_csi_driver_config\030\013 \001(\01325.goog" + + "le.container.v1.GcePersistentDiskCsiDriv" + + "erConfig\022Y\n\037gcp_filestore_csi_driver_con" + + "fig\030\016 \001(\01320.google.container.v1.GcpFiles" + + "toreCsiDriverConfig\022J\n\027gke_backup_agent_" + + "config\030\020 \001(\0132).google.container.v1.GkeBa" + + "ckupAgentConfig\022O\n\032gcs_fuse_csi_driver_c" + + "onfig\030\021 \001(\0132+.google.container.v1.GcsFus" + + "eCsiDriverConfig\022F\n\022stateful_ha_config\030\022" + + " \001(\0132%.google.container.v1.StatefulHACon" + + "figB\003\340A\001\"%\n\021HttpLoadBalancing\022\020\n\010disable" + + "d\030\001 \001(\010\",\n\030HorizontalPodAutoscaling\022\020\n\010d" + + "isabled\030\001 \001(\010\"\'\n\023KubernetesDashboard\022\020\n\010" + + "disabled\030\001 \001(\010\"\'\n\023NetworkPolicyConfig\022\020\n" + + "\010disabled\030\001 \001(\010\"!\n\016DnsCacheConfig\022\017\n\007ena" + + "bled\030\001 \001(\010\"9\n&PrivateClusterMasterGlobal" + + "AccessConfig\022\017\n\007enabled\030\001 \001(\010\"\305\002\n\024Privat" + + "eClusterConfig\022\034\n\024enable_private_nodes\030\001" + + " \001(\010\022\037\n\027enable_private_endpoint\030\002 \001(\010\022\036\n" + + "\026master_ipv4_cidr_block\030\003 \001(\t\022\030\n\020private" + + "_endpoint\030\004 \001(\t\022\027\n\017public_endpoint\030\005 \001(\t" + + "\022\024\n\014peering_name\030\007 \001(\t\022`\n\033master_global_" + + "access_config\030\010 \001(\0132;.google.container.v" + + "1.PrivateClusterMasterGlobalAccessConfig" + + "\022#\n\033private_endpoint_subnetwork\030\n \001(\t\"D\n" + + "\031AuthenticatorGroupsConfig\022\017\n\007enabled\030\001 " + + "\001(\010\022\026\n\016security_group\030\002 \001(\t\"\356\001\n\016CloudRun" + + "Config\022\020\n\010disabled\030\001 \001(\010\022P\n\022load_balance" + + "r_type\030\003 \001(\01624.google.container.v1.Cloud" + + "RunConfig.LoadBalancerType\"x\n\020LoadBalanc" + + "erType\022\"\n\036LOAD_BALANCER_TYPE_UNSPECIFIED" + + "\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTERNAL\020\001\022\037\n\033L" + + "OAD_BALANCER_TYPE_INTERNAL\020\002\"(\n\025ConfigCo" + + "nnectorConfig\022\017\n\007enabled\030\001 \001(\010\"3\n GcePer" + + "sistentDiskCsiDriverConfig\022\017\n\007enabled\030\001 " + + "\001(\010\".\n\033GcpFilestoreCsiDriverConfig\022\017\n\007en" + + "abled\030\001 \001(\010\")\n\026GcsFuseCsiDriverConfig\022\017\n" + + "\007enabled\030\001 \001(\010\"\'\n\024GkeBackupAgentConfig\022\017" + + "\n\007enabled\030\001 \001(\010\"#\n\020StatefulHAConfig\022\017\n\007e" + + "nabled\030\001 \001(\010\"\216\002\n\036MasterAuthorizedNetwork" + + "sConfig\022\017\n\007enabled\030\001 \001(\010\022R\n\013cidr_blocks\030" + + "\002 \003(\0132=.google.container.v1.MasterAuthor" + + "izedNetworksConfig.CidrBlock\022,\n\037gcp_publ" + + "ic_cidrs_access_enabled\030\003 \001(\010H\000\210\001\001\0325\n\tCi" + + "drBlock\022\024\n\014display_name\030\001 \001(\t\022\022\n\ncidr_bl" + + "ock\030\002 \001(\tB\"\n _gcp_public_cidrs_access_en" + + "abled\"\035\n\nLegacyAbac\022\017\n\007enabled\030\001 \001(\010\"\221\001\n" + + "\rNetworkPolicy\022=\n\010provider\030\001 \001(\0162+.googl" + + "e.container.v1.NetworkPolicy.Provider\022\017\n" + + "\007enabled\030\002 \001(\010\"0\n\010Provider\022\030\n\024PROVIDER_U" + + "NSPECIFIED\020\000\022\n\n\006CALICO\020\001\"\343\001\n\023BinaryAutho" + + "rization\022\023\n\007enabled\030\001 \001(\010B\002\030\001\022P\n\017evaluat" + + "ion_mode\030\002 \001(\01627.google.container.v1.Bin" + + "aryAuthorization.EvaluationMode\"e\n\016Evalu" + + "ationMode\022\037\n\033EVALUATION_MODE_UNSPECIFIED" + + "\020\000\022\014\n\010DISABLED\020\001\022$\n PROJECT_SINGLETON_PO" + + "LICY_ENFORCE\020\002\"-\n\032PodCIDROverprovisionCo" + + "nfig\022\017\n\007disable\030\001 \001(\010\"\275\006\n\022IPAllocationPo" + + "licy\022\026\n\016use_ip_aliases\030\001 \001(\010\022\031\n\021create_s" + + "ubnetwork\030\002 \001(\010\022\027\n\017subnetwork_name\030\003 \001(\t" + + "\022\035\n\021cluster_ipv4_cidr\030\004 \001(\tB\002\030\001\022\032\n\016node_" + + "ipv4_cidr\030\005 \001(\tB\002\030\001\022\036\n\022services_ipv4_cid" + + "r\030\006 \001(\tB\002\030\001\022$\n\034cluster_secondary_range_n" + + "ame\030\007 \001(\t\022%\n\035services_secondary_range_na" + + "me\030\010 \001(\t\022\037\n\027cluster_ipv4_cidr_block\030\t \001(" + + "\t\022\034\n\024node_ipv4_cidr_block\030\n \001(\t\022 \n\030servi" + + "ces_ipv4_cidr_block\030\013 \001(\t\022\033\n\023tpu_ipv4_ci" + + "dr_block\030\r \001(\t\022\022\n\nuse_routes\030\017 \001(\010\0222\n\nst" + + "ack_type\030\020 \001(\0162\036.google.container.v1.Sta" + + "ckType\022=\n\020ipv6_access_type\030\021 \001(\0162#.googl" + + "e.container.v1.IPv6AccessType\022V\n\035pod_cid" + + "r_overprovision_config\030\025 \001(\0132/.google.co" + + "ntainer.v1.PodCIDROverprovisionConfig\022#\n" + + "\026subnet_ipv6_cidr_block\030\026 \001(\tB\003\340A\003\022%\n\030se" + + "rvices_ipv6_cidr_block\030\027 \001(\tB\003\340A\003\022Y\n\034add" + + "itional_pod_ranges_config\030\030 \001(\0132..google" + + ".container.v1.AdditionalPodRangesConfigB" + + "\003\340A\003\022/\n\"default_pod_ipv4_range_utilizati" + + "on\030\031 \001(\001B\003\340A\003\"\231\033\n\007Cluster\022\014\n\004name\030\001 \001(\t\022" + + "\023\n\013description\030\002 \001(\t\022\036\n\022initial_node_cou" + + "nt\030\003 \001(\005B\002\030\001\0228\n\013node_config\030\004 \001(\0132\037.goog" + + "le.container.v1.NodeConfigB\002\030\001\0224\n\013master" + + "_auth\030\005 \001(\0132\037.google.container.v1.Master" + + "Auth\022\027\n\017logging_service\030\006 \001(\t\022\032\n\022monitor" + + "ing_service\030\007 \001(\t\022\017\n\007network\030\010 \001(\t\022\031\n\021cl" + + "uster_ipv4_cidr\030\t \001(\t\0228\n\raddons_config\030\n" + + " \001(\0132!.google.container.v1.AddonsConfig\022" + + "\022\n\nsubnetwork\030\013 \001(\t\0221\n\nnode_pools\030\014 \003(\0132" + + "\035.google.container.v1.NodePool\022\021\n\tlocati" + + "ons\030\r \003(\t\022\037\n\027enable_kubernetes_alpha\030\016 \001" + + "(\010\022I\n\017resource_labels\030\017 \003(\01320.google.con" + + "tainer.v1.Cluster.ResourceLabelsEntry\022\031\n" + + "\021label_fingerprint\030\020 \001(\t\0224\n\013legacy_abac\030" + + "\022 \001(\0132\037.google.container.v1.LegacyAbac\022:" + + "\n\016network_policy\030\023 \001(\0132\".google.containe" + + "r.v1.NetworkPolicy\022E\n\024ip_allocation_poli" + + "cy\030\024 \001(\0132\'.google.container.v1.IPAllocat" + + "ionPolicy\022^\n!master_authorized_networks_" + + "config\030\026 \001(\01323.google.container.v1.Maste" + + "rAuthorizedNetworksConfig\022B\n\022maintenance" + + "_policy\030\027 \001(\0132&.google.container.v1.Main" + + "tenancePolicy\022F\n\024binary_authorization\030\030 " + + "\001(\0132(.google.container.v1.BinaryAuthoriz" + + "ation\022<\n\013autoscaling\030\032 \001(\0132\'.google.cont" + + "ainer.v1.ClusterAutoscaling\022:\n\016network_c" + + "onfig\030\033 \001(\0132\".google.container.v1.Networ" + + "kConfig\022K\n\033default_max_pods_constraint\030\036" + + " \001(\0132&.google.container.v1.MaxPodsConstr" + + "aint\022T\n\034resource_usage_export_config\030! \001" + + "(\0132..google.container.v1.ResourceUsageEx" + + "portConfig\022S\n\033authenticator_groups_confi" + + "g\030\" \001(\0132..google.container.v1.Authentica" + + "torGroupsConfig\022I\n\026private_cluster_confi" + + "g\030% \001(\0132).google.container.v1.PrivateClu" + + "sterConfig\022D\n\023database_encryption\030& \001(\0132" + + "\'.google.container.v1.DatabaseEncryption" + + "\022M\n\030vertical_pod_autoscaling\030\' \001(\0132+.goo" + + "gle.container.v1.VerticalPodAutoscaling\022" + + ":\n\016shielded_nodes\030( \001(\0132\".google.contain" + + "er.v1.ShieldedNodes\022<\n\017release_channel\030)" + + " \001(\0132#.google.container.v1.ReleaseChanne" + + "l\022M\n\030workload_identity_config\030+ \001(\0132+.go" + + "ogle.container.v1.WorkloadIdentityConfig" + + "\022@\n\021mesh_certificates\030C \001(\0132%.google.con" + + "tainer.v1.MeshCertificates\022I\n\026cost_manag" + + "ement_config\030- \001(\0132).google.container.v1" + + ".CostManagementConfig\022D\n\023notification_co" + + "nfig\0301 \001(\0132\'.google.container.v1.Notific" + + "ationConfig\022B\n\022confidential_nodes\0302 \001(\0132" + + "&.google.container.v1.ConfidentialNodes\022" + + "K\n\027identity_service_config\0306 \001(\0132*.googl" + + "e.container.v1.IdentityServiceConfig\022\021\n\t" + + "self_link\030d \001(\t\022\020\n\004zone\030e \001(\tB\002\030\001\022\020\n\010end" + + "point\030f \001(\t\022\037\n\027initial_cluster_version\030g" + + " \001(\t\022\036\n\026current_master_version\030h \001(\t\022 \n\024" + + "current_node_version\030i \001(\tB\002\030\001\022\023\n\013create" + + "_time\030j \001(\t\0223\n\006status\030k \001(\0162#.google.con" + + "tainer.v1.Cluster.Status\022\032\n\016status_messa" + + "ge\030l \001(\tB\002\030\001\022\033\n\023node_ipv4_cidr_size\030m \001(" + + "\005\022\032\n\022services_ipv4_cidr\030n \001(\t\022\037\n\023instanc" + + "e_group_urls\030o \003(\tB\002\030\001\022\036\n\022current_node_c" + + "ount\030p \001(\005B\002\030\001\022\023\n\013expire_time\030q \001(\t\022\020\n\010l" + + "ocation\030r \001(\t\022\022\n\nenable_tpu\030s \001(\010\022\033\n\023tpu" + + "_ipv4_cidr_block\030t \001(\t\0228\n\nconditions\030v \003" + + "(\0132$.google.container.v1.StatusCondition" + + "\0222\n\tautopilot\030\200\001 \001(\0132\036.google.container." + + "v1.Autopilot\022\020\n\002id\030\201\001 \001(\tB\003\340A\003\022G\n\022node_p" + + "ool_defaults\030\203\001 \001(\0132%.google.container.v" + + "1.NodePoolDefaultsH\000\210\001\001\022;\n\016logging_confi" + + "g\030\204\001 \001(\0132\".google.container.v1.LoggingCo" + + "nfig\022A\n\021monitoring_config\030\205\001 \001(\0132%.googl" + + "e.container.v1.MonitoringConfig\022G\n\025node_" + + "pool_auto_config\030\210\001 \001(\0132\'.google.contain" + + "er.v1.NodePoolAutoConfig\022\r\n\004etag\030\213\001 \001(\t\022" + + "*\n\005fleet\030\214\001 \001(\0132\032.google.container.v1.Fl" + + "eet\022L\n\027security_posture_config\030\221\001 \001(\0132*." + "google.container.v1.SecurityPostureConfi" - + "g.VulnerabilityModeH\001\210\001\001\"5\n\004Mode\022\024\n\020MODE" - + "_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\t\n\005BASIC\020\002\"" - + "\212\001\n\021VulnerabilityMode\022\"\n\036VULNERABILITY_M" - + "ODE_UNSPECIFIED\020\000\022\032\n\026VULNERABILITY_DISAB" - + "LED\020\001\022\027\n\023VULNERABILITY_BASIC\020\002\022\034\n\030VULNER" - + "ABILITY_ENTERPRISE\020\003B\007\n\005_modeB\025\n\023_vulner" - + "ability_mode\"\225\001\n\022NodePoolAutoConfig\0226\n\014n" - + "etwork_tags\030\001 \001(\0132 .google.container.v1." - + "NetworkTags\022G\n\025resource_manager_tags\030\002 \001" - + "(\0132(.google.container.v1.ResourceManager" - + "Tags\"Y\n\020NodePoolDefaults\022E\n\024node_config_" - + "defaults\030\001 \001(\0132\'.google.container.v1.Nod" - + "eConfigDefaults\"\216\001\n\022NodeConfigDefaults\0224" - + "\n\013gcfs_config\030\001 \001(\0132\037.google.container.v" - + "1.GcfsConfig\022B\n\016logging_config\030\003 \001(\0132*.g" - + "oogle.container.v1.NodePoolLoggingConfig" - + "\"\305\036\n\rClusterUpdate\022\034\n\024desired_node_versi" - + "on\030\004 \001(\t\022\"\n\032desired_monitoring_service\030\005" - + " \001(\t\022@\n\025desired_addons_config\030\006 \001(\0132!.go" - + "ogle.container.v1.AddonsConfig\022\034\n\024desire" - + "d_node_pool_id\030\007 \001(\t\022\032\n\022desired_image_ty" - + "pe\030\010 \001(\t\022L\n\033desired_database_encryption\030" - + ". \001(\0132\'.google.container.v1.DatabaseEncr" - + "yption\022U\n desired_workload_identity_conf" - + "ig\030/ \001(\0132+.google.container.v1.WorkloadI" - + "dentityConfig\022H\n\031desired_mesh_certificat" - + "es\030C \001(\0132%.google.container.v1.MeshCerti" - + "ficates\022B\n\026desired_shielded_nodes\0300 \001(\0132" - + "\".google.container.v1.ShieldedNodes\022Q\n\036d" - + "esired_cost_management_config\0301 \001(\0132).go" - + "ogle.container.v1.CostManagementConfig\022:" - + "\n\022desired_dns_config\0305 \001(\0132\036.google.cont" - + "ainer.v1.DNSConfig\022O\n\035desired_node_pool_" - + "autoscaling\030\t \001(\0132(.google.container.v1." - + "NodePoolAutoscaling\022\031\n\021desired_locations" - + "\030\n \003(\t\022f\n)desired_master_authorized_netw" - + "orks_config\030\014 \001(\01323.google.container.v1." - + "MasterAuthorizedNetworksConfig\022L\n\033desire" - + "d_cluster_autoscaling\030\017 \001(\0132\'.google.con" - + "tainer.v1.ClusterAutoscaling\022N\n\034desired_" - + "binary_authorization\030\020 \001(\0132(.google.cont" - + "ainer.v1.BinaryAuthorization\022\037\n\027desired_" - + "logging_service\030\023 \001(\t\022\\\n$desired_resourc" - + "e_usage_export_config\030\025 \001(\0132..google.con" - + "tainer.v1.ResourceUsageExportConfig\022U\n d" - + "esired_vertical_pod_autoscaling\030\026 \001(\0132+." - + "google.container.v1.VerticalPodAutoscali" - + "ng\022Q\n\036desired_private_cluster_config\030\031 \001" - + "(\0132).google.container.v1.PrivateClusterC" - + "onfig\022\\\n$desired_intra_node_visibility_c" - + "onfig\030\032 \001(\0132..google.container.v1.IntraN" - + "odeVisibilityConfig\022K\n\033desired_default_s" - + "nat_status\030\034 \001(\0132&.google.container.v1.D" - + "efaultSnatStatus\022D\n\027desired_release_chan" - + "nel\030\037 \001(\0132#.google.container.v1.ReleaseC" - + "hannel\022Q\n\037desired_l4ilb_subsetting_confi" - + "g\030\' \001(\0132(.google.container.v1.ILBSubsett" - + "ingConfig\022H\n\031desired_datapath_provider\0302" - + " \001(\0162%.google.container.v1.DatapathProvi" - + "der\022X\n\"desired_private_ipv6_google_acces" - + "s\0303 \001(\0162,.google.container.v1.PrivateIPv" - + "6GoogleAccess\022L\n\033desired_notification_co" - + "nfig\0307 \001(\0132\'.google.container.v1.Notific" - + "ationConfig\022[\n#desired_authenticator_gro" - + "ups_config\030? \001(\0132..google.container.v1.A" - + "uthenticatorGroupsConfig\022B\n\026desired_logg" - + "ing_config\030@ \001(\0132\".google.container.v1.L" - + "oggingConfig\022H\n\031desired_monitoring_confi" - + "g\030A \001(\0132%.google.container.v1.Monitoring" - + "Config\022S\n\037desired_identity_service_confi", - "g\030B \001(\0132*.google.container.v1.IdentitySe" - + "rviceConfig\022Z\n#desired_service_external_" - + "ips_config\030< \001(\0132-.google.container.v1.S" - + "erviceExternalIPsConfig\022,\n\037desired_enabl" - + "e_private_endpoint\030G \001(\010H\000\210\001\001\022\036\n\026desired" - + "_master_version\030d \001(\t\022<\n\023desired_gcfs_co" - + "nfig\030m \001(\0132\037.google.container.v1.GcfsCon" - + "fig\022T\n*desired_node_pool_auto_config_net" - + "work_tags\030n \001(\0132 .google.container.v1.Ne" - + "tworkTags\022I\n\032desired_gateway_api_config\030" - + "r \001(\0132%.google.container.v1.GatewayAPICo" - + "nfig\022\014\n\004etag\030s \001(\t\022T\n desired_node_pool_" - + "logging_config\030t \001(\0132*.google.container." - + "v1.NodePoolLoggingConfig\0221\n\rdesired_flee" - + "t\030u \001(\0132\032.google.container.v1.Fleet\022:\n\022d" - + "esired_stack_type\030w \001(\0162\036.google.contain" - + "er.v1.StackType\022T\n\034additional_pod_ranges" - + "_config\030x \001(\0132..google.container.v1.Addi" - + "tionalPodRangesConfig\022\\\n$removed_additio" - + "nal_pod_ranges_config\030y \001(\0132..google.con" - + "tainer.v1.AdditionalPodRangesConfig\022C\n\024e" - + "nable_k8s_beta_apis\030z \001(\0132%.google.conta" - + "iner.v1.K8sBetaAPIConfig\022S\n\037desired_secu" - + "rity_posture_config\030| \001(\0132*.google.conta" - + "iner.v1.SecurityPostureConfig\022n\n\"desired" - + "_network_performance_config\030} \001(\0132B.goog" - + "le.container.v1.NetworkConfig.ClusterNet" - + "workPerformanceConfig\022/\n\"desired_enable_" - + "fqdn_network_policy\030~ \001(\010H\001\210\001\001\022\\\n(desire" - + "d_autopilot_workload_policy_config\030\200\001 \001(" - + "\0132).google.container.v1.WorkloadPolicyCo" - + "nfig\022E\n\025desired_k8s_beta_apis\030\203\001 \001(\0132%.g" - + "oogle.container.v1.K8sBetaAPIConfig\022f\n3d" - + "esired_node_pool_auto_config_resource_ma" - + "nager_tags\030\210\001 \001(\0132(.google.container.v1." - + "ResourceManagerTags\022b\n$desired_in_transi" - + "t_encryption_config\030\211\001 \001(\0162..google.cont" - + "ainer.v1.InTransitEncryptionConfigH\002\210\001\001\022" - + ">\n0desired_enable_cilium_clusterwide_net" - + "work_policy\030\212\001 \001(\010H\003\210\001\001B\"\n _desired_enab" - + "le_private_endpointB%\n#_desired_enable_f" - + "qdn_network_policyB\'\n%_desired_in_transi" - + "t_encryption_configB3\n1_desired_enable_c" - + "ilium_clusterwide_network_policy\"q\n\031Addi" - + "tionalPodRangesConfig\022\027\n\017pod_range_names" - + "\030\001 \003(\t\022;\n\016pod_range_info\030\002 \003(\0132\036.google." - + "container.v1.RangeInfoB\003\340A\003\">\n\tRangeInfo" - + "\022\027\n\nrange_name\030\001 \001(\tB\003\340A\003\022\030\n\013utilization" - + "\030\002 \001(\001B\003\340A\003\"\264\010\n\tOperation\022\014\n\004name\030\001 \001(\t\022" - + "\020\n\004zone\030\002 \001(\tB\002\030\001\022;\n\016operation_type\030\003 \001(" - + "\0162#.google.container.v1.Operation.Type\0225" - + "\n\006status\030\004 \001(\0162%.google.container.v1.Ope" - + "ration.Status\022\016\n\006detail\030\010 \001(\t\022\035\n\016status_" - + "message\030\005 \001(\tB\005\030\001\340A\003\022\021\n\tself_link\030\006 \001(\t\022" - + "\023\n\013target_link\030\007 \001(\t\022\020\n\010location\030\t \001(\t\022\022" - + "\n\nstart_time\030\n \001(\t\022\020\n\010end_time\030\013 \001(\t\022=\n\010" - + "progress\030\014 \001(\0132&.google.container.v1.Ope" - + "rationProgressB\003\340A\003\022D\n\022cluster_condition" - + "s\030\r \003(\0132$.google.container.v1.StatusCond" - + "itionB\002\030\001\022E\n\023nodepool_conditions\030\016 \003(\0132$" - + ".google.container.v1.StatusConditionB\002\030\001" - + "\022!\n\005error\030\017 \001(\0132\022.google.rpc.Status\"R\n\006S" - + "tatus\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007PENDING" - + "\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020\004\"" - + "\300\003\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016CREATE" - + "_CLUSTER\020\001\022\022\n\016DELETE_CLUSTER\020\002\022\022\n\016UPGRAD" - + "E_MASTER\020\003\022\021\n\rUPGRADE_NODES\020\004\022\022\n\016REPAIR_" - + "CLUSTER\020\005\022\022\n\016UPDATE_CLUSTER\020\006\022\024\n\020CREATE_" - + "NODE_POOL\020\007\022\024\n\020DELETE_NODE_POOL\020\010\022\034\n\030SET" - + "_NODE_POOL_MANAGEMENT\020\t\022\025\n\021AUTO_REPAIR_N" - + "ODES\020\n\022\032\n\022AUTO_UPGRADE_NODES\020\013\032\002\010\001\022\022\n\nSE" - + "T_LABELS\020\014\032\002\010\001\022\027\n\017SET_MASTER_AUTH\020\r\032\002\010\001\022" - + "\026\n\022SET_NODE_POOL_SIZE\020\016\022\032\n\022SET_NETWORK_P" - + "OLICY\020\017\032\002\010\001\022\036\n\026SET_MAINTENANCE_POLICY\020\020\032" - + "\002\010\001\022\022\n\016RESIZE_CLUSTER\020\022\022\031\n\025FLEET_FEATURE" - + "_UPGRADE\020\023\"\273\002\n\021OperationProgress\022\014\n\004name" - + "\030\001 \001(\t\0225\n\006status\030\002 \001(\0162%.google.containe" - + "r.v1.Operation.Status\022>\n\007metrics\030\003 \003(\0132-" - + ".google.container.v1.OperationProgress.M" - + "etric\0226\n\006stages\030\004 \003(\0132&.google.container" - + ".v1.OperationProgress\032i\n\006Metric\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014doubl" - + "e_value\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000B" - + "\007\n\005value\"\204\001\n\024CreateClusterRequest\022\026\n\npro" - + "ject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\0222\n\007c" - + "luster\030\003 \001(\0132\034.google.container.v1.Clust" - + "erB\003\340A\002\022\016\n\006parent\030\005 \001(\t\"c\n\021GetClusterReq" - + "uest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001" - + "(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005" - + " \001(\t\"\237\001\n\024UpdateClusterRequest\022\026\n\nproject" - + "_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\nclust" - + "er_id\030\003 \001(\tB\002\030\001\0227\n\006update\030\004 \001(\0132\".google" - + ".container.v1.ClusterUpdateB\003\340A\002\022\014\n\004name" - + "\030\005 \001(\t\"\323\n\n\025UpdateNodePoolRequest\022\026\n\nproj" - + "ect_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncl" - + "uster_id\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\t" - + "B\002\030\001\022\031\n\014node_version\030\005 \001(\tB\003\340A\002\022\027\n\nimage" - + "_type\030\006 \001(\tB\003\340A\002\022\014\n\004name\030\010 \001(\t\022\021\n\tlocati" - + "ons\030\r \003(\t\022M\n\030workload_metadata_config\030\016 " - + "\001(\0132+.google.container.v1.WorkloadMetada" - + "taConfig\022G\n\020upgrade_settings\030\017 \001(\0132-.goo" - + "gle.container.v1.NodePool.UpgradeSetting" - + "s\022.\n\004tags\030\020 \001(\0132 .google.container.v1.Ne" - + "tworkTags\022/\n\006taints\030\021 \001(\0132\037.google.conta" - + "iner.v1.NodeTaints\022/\n\006labels\030\022 \001(\0132\037.goo" - + "gle.container.v1.NodeLabels\022?\n\021linux_nod" - + "e_config\030\023 \001(\0132$.google.container.v1.Lin" - + "uxNodeConfig\022>\n\016kubelet_config\030\024 \001(\0132&.g" - + "oogle.container.v1.NodeKubeletConfig\022C\n\023" - + "node_network_config\030\025 \001(\0132&.google.conta" - + "iner.v1.NodeNetworkConfig\0224\n\013gcfs_config" - + "\030\026 \001(\0132\037.google.container.v1.GcfsConfig\022" - + "B\n\022confidential_nodes\030\027 \001(\0132&.google.con" - + "tainer.v1.ConfidentialNodes\022.\n\005gvnic\030\035 \001" - + "(\0132\037.google.container.v1.VirtualNIC\022\014\n\004e" - + "tag\030\036 \001(\t\0224\n\013fast_socket\030\037 \001(\0132\037.google." - + "container.v1.FastSocket\022B\n\016logging_confi" - + "g\030 \001(\0132*.google.container.v1.NodePoolLo" - + "ggingConfig\022<\n\017resource_labels\030! \001(\0132#.g" - + "oogle.container.v1.ResourceLabels\022C\n\023win" - + "dows_node_config\030\" \001(\0132&.google.containe" - + "r.v1.WindowsNodeConfig\022\031\n\014machine_type\030$" - + " \001(\tB\003\340A\001\022\026\n\tdisk_type\030% \001(\tB\003\340A\001\022\031\n\014dis" - + "k_size_gb\030& \001(\003B\003\340A\001\022G\n\025resource_manager" - + "_tags\030\' \001(\0132(.google.container.v1.Resour" - + "ceManagerTags\022M\n\023queued_provisioning\030* \001" - + "(\01320.google.container.v1.NodePool.Queued" - + "Provisioning\"\315\001\n\035SetNodePoolAutoscalingR" - + "equest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002" - + " \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\030\n\014node" - + "_pool_id\030\004 \001(\tB\002\030\001\022B\n\013autoscaling\030\005 \001(\0132" - + "(.google.container.v1.NodePoolAutoscalin" - + "gB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\210\001\n\030SetLoggingServi" - + "ceRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zon" - + "e\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\034\n\017l" - + "ogging_service\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\005 \001(\t\"" - + "\216\001\n\033SetMonitoringServiceRequest\022\026\n\nproje" + + "g\022D\n\024enable_k8s_beta_apis\030\217\001 \001(\0132%.googl" + + "e.container.v1.K8sBetaAPIConfig\022A\n\021enter" + + "prise_config\030\225\001 \001(\0132%.google.container.v" + + "1.EnterpriseConfig\0325\n\023ResourceLabelsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"w\n\006Sta" + + "tus\022\026\n\022STATUS_UNSPECIFIED\020\000\022\020\n\014PROVISION" + + "ING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010S" + + "TOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006B\025\n\023_n" + + "ode_pool_defaults\"(\n\020K8sBetaAPIConfig\022\024\n" + + "\014enabled_apis\030\001 \003(\t\"\236\003\n\025SecurityPostureC" + + "onfig\022B\n\004mode\030\001 \001(\0162/.google.container.v" + + "1.SecurityPostureConfig.ModeH\000\210\001\001\022]\n\022vul" + + "nerability_mode\030\002 \001(\0162<.google.container" + + ".v1.SecurityPostureConfig.VulnerabilityM" + + "odeH\001\210\001\001\"5\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\014" + + "\n\010DISABLED\020\001\022\t\n\005BASIC\020\002\"\212\001\n\021Vulnerabilit" + + "yMode\022\"\n\036VULNERABILITY_MODE_UNSPECIFIED\020" + + "\000\022\032\n\026VULNERABILITY_DISABLED\020\001\022\027\n\023VULNERA" + + "BILITY_BASIC\020\002\022\034\n\030VULNERABILITY_ENTERPRI" + + "SE\020\003B\007\n\005_modeB\025\n\023_vulnerability_mode\"\225\001\n" + + "\022NodePoolAutoConfig\0226\n\014network_tags\030\001 \001(" + + "\0132 .google.container.v1.NetworkTags\022G\n\025r" + + "esource_manager_tags\030\002 \001(\0132(.google.cont" + + "ainer.v1.ResourceManagerTags\"Y\n\020NodePool" + + "Defaults\022E\n\024node_config_defaults\030\001 \001(\0132\'" + + ".google.container.v1.NodeConfigDefaults\"" + + "\216\001\n\022NodeConfigDefaults\0224\n\013gcfs_config\030\001 " + + "\001(\0132\037.google.container.v1.GcfsConfig\022B\n\016" + + "logging_config\030\003 \001(\0132*.google.container." + + "v1.NodePoolLoggingConfig\"\230\037\n\rClusterUpda" + + "te\022\034\n\024desired_node_version\030\004 \001(\t\022\"\n\032desi" + + "red_monitoring_service\030\005 \001(\t\022@\n\025desired_" + + "addons_config\030\006 \001(\0132!.google.container.v" + + "1.AddonsConfig\022\034\n\024desired_node_pool_id\030\007" + + " \001(\t\022\032\n\022desired_image_type\030\010 \001(\t\022L\n\033desi" + + "red_database_encryption\030. \001(\0132\'.google.c" + + "ontainer.v1.DatabaseEncryption\022U\n desire" + + "d_workload_identity_config\030/ \001(\0132+.googl" + + "e.container.v1.WorkloadIdentityConfig\022H\n" + + "\031desired_mesh_certificates\030C \001(\0132%.googl" + + "e.container.v1.MeshCertificates\022B\n\026desir" + + "ed_shielded_nodes\0300 \001(\0132\".google.contain" + + "er.v1.ShieldedNodes\022Q\n\036desired_cost_mana" + + "gement_config\0301 \001(\0132).google.container.v" + + "1.CostManagementConfig\022:\n\022desired_dns_co" + + "nfig\0305 \001(\0132\036.google.container.v1.DNSConf" + + "ig\022O\n\035desired_node_pool_autoscaling\030\t \001(" + + "\0132(.google.container.v1.NodePoolAutoscal" + + "ing\022\031\n\021desired_locations\030\n \003(\t\022f\n)desire" + + "d_master_authorized_networks_config\030\014 \001(" + + "\01323.google.container.v1.MasterAuthorized" + + "NetworksConfig\022L\n\033desired_cluster_autosc" + + "aling\030\017 \001(\0132\'.google.container.v1.Cluste" + + "rAutoscaling\022N\n\034desired_binary_authoriza" + + "tion\030\020 \001(\0132(.google.container.v1.BinaryA" + + "uthorization\022\037\n\027desired_logging_service\030" + + "\023 \001(\t\022\\\n$desired_resource_usage_export_c" + + "onfig\030\025 \001(\0132..google.container.v1.Resour" + + "ceUsageExportConfig\022U\n desired_vertical_" + + "pod_autoscaling\030\026 \001(\0132+.google.container" + + ".v1.VerticalPodAutoscaling\022Q\n\036desired_pr" + + "ivate_cluster_config\030\031 \001(\0132).google.cont" + + "ainer.v1.PrivateClusterConfig\022\\\n$desired" + + "_intra_node_visibility_config\030\032 \001(\0132..go" + + "ogle.container.v1.IntraNodeVisibilityCon" + + "fig\022K\n\033desired_default_snat_status\030\034 \001(\013" + + "2&.google.container.v1.DefaultSnatStatus" + + "\022D\n\027desired_release_channel\030\037 \001(\0132#.goog" + + "le.container.v1.ReleaseChannel\022Q\n\037desire" + + "d_l4ilb_subsetting_config\030\' \001(\0132(.google" + + ".container.v1.ILBSubsettingConfig\022H\n\031des" + + "ired_datapath_provider\0302 \001(\0162%.google.co" + + "ntainer.v1.DatapathProvider\022X\n\"desired_p" + + "rivate_ipv6_google_access\0303 \001(\0162,.google" + + ".container.v1.PrivateIPv6GoogleAccess\022L\n" + + "\033desired_notification_config\0307 \001(\0132\'.goo" + + "gle.container.v1.NotificationConfig\022[\n#d" + + "esired_authenticator_groups_config\030? \001(\013" + + "2..google.container.v1.AuthenticatorGrou" + + "psConfig\022B\n\026desired_logging_config\030@ \001(\013", + "2\".google.container.v1.LoggingConfig\022H\n\031" + + "desired_monitoring_config\030A \001(\0132%.google" + + ".container.v1.MonitoringConfig\022S\n\037desire" + + "d_identity_service_config\030B \001(\0132*.google" + + ".container.v1.IdentityServiceConfig\022Z\n#d" + + "esired_service_external_ips_config\030< \001(\013" + + "2-.google.container.v1.ServiceExternalIP" + + "sConfig\022,\n\037desired_enable_private_endpoi" + + "nt\030G \001(\010H\000\210\001\001\022\036\n\026desired_master_version\030" + + "d \001(\t\022<\n\023desired_gcfs_config\030m \001(\0132\037.goo" + + "gle.container.v1.GcfsConfig\022T\n*desired_n" + + "ode_pool_auto_config_network_tags\030n \001(\0132" + + " .google.container.v1.NetworkTags\022I\n\032des" + + "ired_gateway_api_config\030r \001(\0132%.google.c" + + "ontainer.v1.GatewayAPIConfig\022\014\n\004etag\030s \001" + + "(\t\022T\n desired_node_pool_logging_config\030t" + + " \001(\0132*.google.container.v1.NodePoolLoggi" + + "ngConfig\0221\n\rdesired_fleet\030u \001(\0132\032.google" + + ".container.v1.Fleet\022:\n\022desired_stack_typ" + + "e\030w \001(\0162\036.google.container.v1.StackType\022" + + "T\n\034additional_pod_ranges_config\030x \001(\0132.." + + "google.container.v1.AdditionalPodRangesC" + + "onfig\022\\\n$removed_additional_pod_ranges_c" + + "onfig\030y \001(\0132..google.container.v1.Additi" + + "onalPodRangesConfig\022C\n\024enable_k8s_beta_a" + + "pis\030z \001(\0132%.google.container.v1.K8sBetaA" + + "PIConfig\022S\n\037desired_security_posture_con" + + "fig\030| \001(\0132*.google.container.v1.Security" + + "PostureConfig\022n\n\"desired_network_perform" + + "ance_config\030} \001(\0132B.google.container.v1." + + "NetworkConfig.ClusterNetworkPerformanceC" + + "onfig\022/\n\"desired_enable_fqdn_network_pol" + + "icy\030~ \001(\010H\001\210\001\001\022\\\n(desired_autopilot_work" + + "load_policy_config\030\200\001 \001(\0132).google.conta" + + "iner.v1.WorkloadPolicyConfig\022E\n\025desired_" + + "k8s_beta_apis\030\203\001 \001(\0132%.google.container." + + "v1.K8sBetaAPIConfig\022-\n\037desired_enable_mu" + + "lti_networking\030\207\001 \001(\010H\002\210\001\001\022f\n3desired_no" + + "de_pool_auto_config_resource_manager_tag" + + "s\030\210\001 \001(\0132(.google.container.v1.ResourceM" + + "anagerTags\022b\n$desired_in_transit_encrypt" + + "ion_config\030\211\001 \001(\0162..google.container.v1." + + "InTransitEncryptionConfigH\003\210\001\001\022>\n0desire" + + "d_enable_cilium_clusterwide_network_poli" + + "cy\030\212\001 \001(\010H\004\210\001\001B\"\n _desired_enable_privat" + + "e_endpointB%\n#_desired_enable_fqdn_netwo" + + "rk_policyB\"\n _desired_enable_multi_netwo" + + "rkingB\'\n%_desired_in_transit_encryption_" + + "configB3\n1_desired_enable_cilium_cluster" + + "wide_network_policy\"q\n\031AdditionalPodRang" + + "esConfig\022\027\n\017pod_range_names\030\001 \003(\t\022;\n\016pod" + + "_range_info\030\002 \003(\0132\036.google.container.v1." + + "RangeInfoB\003\340A\003\">\n\tRangeInfo\022\027\n\nrange_nam" + + "e\030\001 \001(\tB\003\340A\003\022\030\n\013utilization\030\002 \001(\001B\003\340A\003\"\264" + + "\010\n\tOperation\022\014\n\004name\030\001 \001(\t\022\020\n\004zone\030\002 \001(\t" + + "B\002\030\001\022;\n\016operation_type\030\003 \001(\0162#.google.co" + + "ntainer.v1.Operation.Type\0225\n\006status\030\004 \001(" + + "\0162%.google.container.v1.Operation.Status" + + "\022\016\n\006detail\030\010 \001(\t\022\035\n\016status_message\030\005 \001(\t" + + "B\005\030\001\340A\003\022\021\n\tself_link\030\006 \001(\t\022\023\n\013target_lin" + + "k\030\007 \001(\t\022\020\n\010location\030\t \001(\t\022\022\n\nstart_time\030" + + "\n \001(\t\022\020\n\010end_time\030\013 \001(\t\022=\n\010progress\030\014 \001(" + + "\0132&.google.container.v1.OperationProgres" + + "sB\003\340A\003\022D\n\022cluster_conditions\030\r \003(\0132$.goo" + + "gle.container.v1.StatusConditionB\002\030\001\022E\n\023" + + "nodepool_conditions\030\016 \003(\0132$.google.conta" + + "iner.v1.StatusConditionB\002\030\001\022!\n\005error\030\017 \001" + + "(\0132\022.google.rpc.Status\"R\n\006Status\022\026\n\022STAT" + + "US_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING" + + "\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020\004\"\300\003\n\004Type\022\024\n\020T" + + "YPE_UNSPECIFIED\020\000\022\022\n\016CREATE_CLUSTER\020\001\022\022\n" + + "\016DELETE_CLUSTER\020\002\022\022\n\016UPGRADE_MASTER\020\003\022\021\n" + + "\rUPGRADE_NODES\020\004\022\022\n\016REPAIR_CLUSTER\020\005\022\022\n\016" + + "UPDATE_CLUSTER\020\006\022\024\n\020CREATE_NODE_POOL\020\007\022\024" + + "\n\020DELETE_NODE_POOL\020\010\022\034\n\030SET_NODE_POOL_MA" + + "NAGEMENT\020\t\022\025\n\021AUTO_REPAIR_NODES\020\n\022\032\n\022AUT" + + "O_UPGRADE_NODES\020\013\032\002\010\001\022\022\n\nSET_LABELS\020\014\032\002\010" + + "\001\022\027\n\017SET_MASTER_AUTH\020\r\032\002\010\001\022\026\n\022SET_NODE_P" + + "OOL_SIZE\020\016\022\032\n\022SET_NETWORK_POLICY\020\017\032\002\010\001\022\036" + + "\n\026SET_MAINTENANCE_POLICY\020\020\032\002\010\001\022\022\n\016RESIZE" + + "_CLUSTER\020\022\022\031\n\025FLEET_FEATURE_UPGRADE\020\023\"\273\002" + + "\n\021OperationProgress\022\014\n\004name\030\001 \001(\t\0225\n\006sta" + + "tus\030\002 \001(\0162%.google.container.v1.Operatio" + + "n.Status\022>\n\007metrics\030\003 \003(\0132-.google.conta" + + "iner.v1.OperationProgress.Metric\0226\n\006stag" + + "es\030\004 \003(\0132&.google.container.v1.Operation" + + "Progress\032i\n\006Metric\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n" + + "\tint_value\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001" + + "H\000\022\026\n\014string_value\030\004 \001(\tH\000B\007\n\005value\"\204\001\n\024" + + "CreateClusterRequest\022\026\n\nproject_id\030\001 \001(\t" + + "B\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\0222\n\007cluster\030\003 \001(\0132" + + "\034.google.container.v1.ClusterB\003\340A\002\022\016\n\006pa" + + "rent\030\005 \001(\t\"c\n\021GetClusterRequest\022\026\n\nproje" + "ct_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\nclu" - + "ster_id\030\003 \001(\tB\002\030\001\022\037\n\022monitoring_service\030" - + "\004 \001(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\247\001\n\026SetAddonsCo" - + "nfigRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004z" - + "one\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022=\n" - + "\raddons_config\030\004 \001(\0132!.google.container." - + "v1.AddonsConfigB\003\340A\002\022\014\n\004name\030\006 \001(\t\"}\n\023Se" - + "tLocationsRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030" - + "\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB" - + "\002\030\001\022\026\n\tlocations\030\004 \003(\tB\003\340A\002\022\014\n\004name\030\006 \001(" - + "\t\"\202\001\n\023UpdateMasterRequest\022\026\n\nproject_id\030" - + "\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_i" - + "d\030\003 \001(\tB\002\030\001\022\033\n\016master_version\030\004 \001(\tB\003\340A\002" - + "\022\014\n\004name\030\007 \001(\t\"\265\002\n\024SetMasterAuthRequest\022" - + "\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030" - + "\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022E\n\006action\030\004 \001(" - + "\01620.google.container.v1.SetMasterAuthReq" - + "uest.ActionB\003\340A\002\0224\n\006update\030\005 \001(\0132\037.googl" - + "e.container.v1.MasterAuthB\003\340A\002\022\014\n\004name\030\007" - + " \001(\t\"P\n\006Action\022\013\n\007UNKNOWN\020\000\022\020\n\014SET_PASSW" - + "ORD\020\001\022\025\n\021GENERATE_PASSWORD\020\002\022\020\n\014SET_USER" - + "NAME\020\003\"f\n\024DeleteClusterRequest\022\026\n\nprojec" - + "t_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\nclus" - + "ter_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\004 \001(\t\"O\n\023ListCl" - + "ustersRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n" - + "\004zone\030\002 \001(\tB\002\030\001\022\016\n\006parent\030\004 \001(\t\"]\n\024ListC" - + "lustersResponse\022.\n\010clusters\030\001 \003(\0132\034.goog" - + "le.container.v1.Cluster\022\025\n\rmissing_zones" - + "\030\002 \003(\t\"g\n\023GetOperationRequest\022\026\n\nproject" - + "_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\030\n\014opera" - + "tion_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005 \001(\t\"Q\n\025ListO" - + "perationsRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001" - + "\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\016\n\006parent\030\004 \001(\t\"j\n\026Ca" - + "ncelOperationRequest\022\026\n\nproject_id\030\001 \001(\t" - + "B\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\030\n\014operation_id\030\003" - + " \001(\tB\002\030\001\022\014\n\004name\030\004 \001(\t\"c\n\026ListOperations" - + "Response\0222\n\noperations\030\001 \003(\0132\036.google.co" - + "ntainer.v1.Operation\022\025\n\rmissing_zones\030\002 " - + "\003(\t\"P\n\026GetServerConfigRequest\022\026\n\nproject" - + "_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\014\n\004name\030" - + "\004 \001(\t\"\364\002\n\014ServerConfig\022\037\n\027default_cluste" - + "r_version\030\001 \001(\t\022\033\n\023valid_node_versions\030\003" - + " \003(\t\022\032\n\022default_image_type\030\004 \001(\t\022\031\n\021vali" - + "d_image_types\030\005 \003(\t\022\035\n\025valid_master_vers" - + "ions\030\006 \003(\t\022H\n\010channels\030\t \003(\01326.google.co" - + "ntainer.v1.ServerConfig.ReleaseChannelCo" - + "nfig\032\205\001\n\024ReleaseChannelConfig\022<\n\007channel" - + "\030\001 \001(\0162+.google.container.v1.ReleaseChan" - + "nel.Channel\022\027\n\017default_version\030\002 \001(\t\022\026\n\016" - + "valid_versions\030\004 \003(\t\"\240\001\n\025CreateNodePoolR" - + "equest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002" - + " \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\0225\n\tnode" - + "_pool\030\004 \001(\0132\035.google.container.v1.NodePo" - + "olB\003\340A\002\022\016\n\006parent\030\006 \001(\t\"\201\001\n\025DeleteNodePo" - + "olRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zon" - + "e\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\030\n\014n" - + "ode_pool_id\030\004 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\"h\n\024L" - + "istNodePoolsRequest\022\026\n\nproject_id\030\001 \001(\tB" + + "ster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005 \001(\t\"\237\001\n\024Upda" + + "teClusterRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001" + + "\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002" + + "\030\001\0227\n\006update\030\004 \001(\0132\".google.container.v1" + + ".ClusterUpdateB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\323\n\n\025Up" + + "dateNodePoolRequest\022\026\n\nproject_id\030\001 \001(\tB" + "\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(" - + "\tB\002\030\001\022\016\n\006parent\030\005 \001(\t\"~\n\022GetNodePoolRequ" - + "est\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(" - + "\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\030\n\014node_po" - + "ol_id\030\004 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\"\237\003\n\021BlueGr" - + "eenSettings\022_\n\027standard_rollout_policy\030\001" - + " \001(\0132<.google.container.v1.BlueGreenSett" - + "ings.StandardRolloutPolicyH\000\022?\n\027node_poo" - + "l_soak_duration\030\002 \001(\0132\031.google.protobuf." - + "DurationH\001\210\001\001\032\271\001\n\025StandardRolloutPolicy\022" - + "\032\n\020batch_percentage\030\001 \001(\002H\000\022\032\n\020batch_nod" - + "e_count\030\002 \001(\005H\000\022;\n\023batch_soak_duration\030\003" - + " \001(\0132\031.google.protobuf.DurationH\001\210\001\001B\023\n\021" - + "update_batch_sizeB\026\n\024_batch_soak_duratio" - + "nB\020\n\016rollout_policyB\032\n\030_node_pool_soak_d" - + "uration\"\272\020\n\010NodePool\022\014\n\004name\030\001 \001(\t\022/\n\006co" - + "nfig\030\002 \001(\0132\037.google.container.v1.NodeCon" - + "fig\022\032\n\022initial_node_count\030\003 \001(\005\022\021\n\tlocat" - + "ions\030\r \003(\t\022>\n\016network_config\030\016 \001(\0132&.goo" - + "gle.container.v1.NodeNetworkConfig\022\021\n\tse" - + "lf_link\030d \001(\t\022\017\n\007version\030e \001(\t\022\033\n\023instan" - + "ce_group_urls\030f \003(\t\0224\n\006status\030g \001(\0162$.go" - + "ogle.container.v1.NodePool.Status\022\032\n\016sta" - + "tus_message\030h \001(\tB\002\030\001\022=\n\013autoscaling\030\004 \001" - + "(\0132(.google.container.v1.NodePoolAutosca" - + "ling\0227\n\nmanagement\030\005 \001(\0132#.google.contai" - + "ner.v1.NodeManagement\022C\n\023max_pods_constr" - + "aint\030\006 \001(\0132&.google.container.v1.MaxPods" - + "Constraint\0228\n\nconditions\030i \003(\0132$.google." - + "container.v1.StatusCondition\022\032\n\022pod_ipv4" - + "_cidr_size\030\007 \001(\005\022G\n\020upgrade_settings\030k \001" - + "(\0132-.google.container.v1.NodePool.Upgrad" - + "eSettings\022G\n\020placement_policy\030l \001(\0132-.go" - + "ogle.container.v1.NodePool.PlacementPoli" - + "cy\022B\n\013update_info\030m \001(\0132(.google.contain" - + "er.v1.NodePool.UpdateInfoB\003\340A\003\022\014\n\004etag\030n" - + " \001(\t\022M\n\023queued_provisioning\030p \001(\01320.goog" - + "le.container.v1.NodePool.QueuedProvision" - + "ing\022M\n\030best_effort_provisioning\030q \001(\0132+." - + "google.container.v1.BestEffortProvisioni" - + "ng\032\360\001\n\017UpgradeSettings\022\021\n\tmax_surge\030\001 \001(" - + "\005\022\027\n\017max_unavailable\030\002 \001(\005\022B\n\010strategy\030\003" - + " \001(\0162+.google.container.v1.NodePoolUpdat" - + "eStrategyH\000\210\001\001\022H\n\023blue_green_settings\030\004 " - + "\001(\0132&.google.container.v1.BlueGreenSetti" - + "ngsH\001\210\001\001B\013\n\t_strategyB\026\n\024_blue_green_set" - + "tings\032\210\004\n\nUpdateInfo\022O\n\017blue_green_info\030" - + "\001 \001(\01326.google.container.v1.NodePool.Upd" - + "ateInfo.BlueGreenInfo\032\250\003\n\rBlueGreenInfo\022" - + "K\n\005phase\030\001 \001(\0162<.google.container.v1.Nod" - + "ePool.UpdateInfo.BlueGreenInfo.Phase\022 \n\030" - + "blue_instance_group_urls\030\002 \003(\t\022!\n\031green_" - + "instance_group_urls\030\003 \003(\t\022%\n\035blue_pool_d" - + "eletion_start_time\030\004 \001(\t\022\032\n\022green_pool_v" - + "ersion\030\005 \001(\t\"\301\001\n\005Phase\022\025\n\021PHASE_UNSPECIF" - + "IED\020\000\022\022\n\016UPDATE_STARTED\020\001\022\027\n\023CREATING_GR" - + "EEN_POOL\020\002\022\027\n\023CORDONING_BLUE_POOL\020\003\022\026\n\022D" - + "RAINING_BLUE_POOL\020\004\022\025\n\021NODE_POOL_SOAKING" - + "\020\005\022\026\n\022DELETING_BLUE_POOL\020\006\022\024\n\020ROLLBACK_S" - + "TARTED\020\007\032\256\001\n\017PlacementPolicy\022@\n\004type\030\001 \001" - + "(\01622.google.container.v1.NodePool.Placem" - + "entPolicy.Type\022\031\n\014tpu_topology\030\002 \001(\tB\003\340A" - + "\001\022\023\n\013policy_name\030\003 \001(\t\")\n\004Type\022\024\n\020TYPE_U" - + "NSPECIFIED\020\000\022\013\n\007COMPACT\020\001\032%\n\022QueuedProvi" - + "sioning\022\017\n\007enabled\030\001 \001(\010\"\201\001\n\006Status\022\026\n\022S" - + "TATUS_UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n" - + "\007RUNNING\020\002\022\026\n\022RUNNING_WITH_ERROR\020\003\022\017\n\013RE" - + "CONCILING\020\004\022\014\n\010STOPPING\020\005\022\t\n\005ERROR\020\006\"}\n\016" - + "NodeManagement\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n\013" - + "auto_repair\030\002 \001(\010\022@\n\017upgrade_options\030\n \001" - + "(\0132\'.google.container.v1.AutoUpgradeOpti" - + "ons\"F\n\026BestEffortProvisioning\022\017\n\007enabled" - + "\030\001 \001(\010\022\033\n\023min_provision_nodes\030\002 \001(\005\"J\n\022A" - + "utoUpgradeOptions\022\037\n\027auto_upgrade_start_" - + "time\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\"e\n\021Maint" - + "enancePolicy\0226\n\006window\030\001 \001(\0132&.google.co" - + "ntainer.v1.MaintenanceWindow\022\030\n\020resource" - + "_version\030\003 \001(\t\"\366\002\n\021MaintenanceWindow\022O\n\030" - + "daily_maintenance_window\030\002 \001(\0132+.google." - + "container.v1.DailyMaintenanceWindowH\000\022D\n" - + "\020recurring_window\030\003 \001(\0132(.google.contain" - + "er.v1.RecurringTimeWindowH\000\022a\n\026maintenan" - + "ce_exclusions\030\004 \003(\0132A.google.container.v" - + "1.MaintenanceWindow.MaintenanceExclusion" - + "sEntry\032]\n\032MaintenanceExclusionsEntry\022\013\n\003" - + "key\030\001 \001(\t\022.\n\005value\030\002 \001(\0132\037.google.contai" - + "ner.v1.TimeWindow:\0028\001B\010\n\006policy\"\320\001\n\nTime" - + "Window\022Y\n\035maintenance_exclusion_options\030" - + "\003 \001(\01320.google.container.v1.MaintenanceE" - + "xclusionOptionsH\000\022.\n\nstart_time\030\001 \001(\0132\032." - + "google.protobuf.Timestamp\022,\n\010end_time\030\002 " - + "\001(\0132\032.google.protobuf.TimestampB\t\n\007optio" - + "ns\"\264\001\n\033MaintenanceExclusionOptions\022E\n\005sc" - + "ope\030\001 \001(\01626.google.container.v1.Maintena" - + "nceExclusionOptions.Scope\"N\n\005Scope\022\017\n\013NO" - + "_UPGRADES\020\000\022\025\n\021NO_MINOR_UPGRADES\020\001\022\035\n\031NO" - + "_MINOR_OR_NODE_UPGRADES\020\002\"Z\n\023RecurringTi" - + "meWindow\022/\n\006window\030\001 \001(\0132\037.google.contai" - + "ner.v1.TimeWindow\022\022\n\nrecurrence\030\002 \001(\t\">\n" - + "\026DailyMaintenanceWindow\022\022\n\nstart_time\030\002 " - + "\001(\t\022\020\n\010duration\030\003 \001(\t\"\306\001\n\034SetNodePoolMan" - + "agementRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020" - + "\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001" - + "\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022<\n\nmanagement" - + "\030\005 \001(\0132#.google.container.v1.NodeManagem" - + "entB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\233\001\n\026SetNodePoolSi" - + "zeRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zon" - + "e\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\030\n\014n" - + "ode_pool_id\030\004 \001(\tB\002\030\001\022\027\n\nnode_count\030\005 \001(" - + "\005B\003\340A\002\022\014\n\004name\030\007 \001(\t\".\n\036CompleteNodePool" - + "UpgradeRequest\022\014\n\004name\030\001 \001(\t\"\237\001\n\036Rollbac" - + "kNodePoolUpgradeRequest\022\026\n\nproject_id\030\001 " - + "\001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030" - + "\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022\014\n\004n" - + "ame\030\006 \001(\t\022\023\n\013respect_pdb\030\007 \001(\010\"J\n\025ListNo" - + "dePoolsResponse\0221\n\nnode_pools\030\001 \003(\0132\035.go" - + "ogle.container.v1.NodePool\"\257\003\n\022ClusterAu" - + "toscaling\022$\n\034enable_node_autoprovisionin" - + "g\030\001 \001(\010\022;\n\017resource_limits\030\002 \003(\0132\".googl" - + "e.container.v1.ResourceLimit\022W\n\023autoscal" - + "ing_profile\030\003 \001(\0162:.google.container.v1." - + "ClusterAutoscaling.AutoscalingProfile\022b\n" - + "#autoprovisioning_node_pool_defaults\030\004 \001" - + "(\01325.google.container.v1.Autoprovisionin" - + "gNodePoolDefaults\022\"\n\032autoprovisioning_lo" - + "cations\030\005 \003(\t\"U\n\022AutoscalingProfile\022\027\n\023P" - + "ROFILE_UNSPECIFIED\020\000\022\030\n\024OPTIMIZE_UTILIZA" - + "TION\020\001\022\014\n\010BALANCED\020\002\"\370\003\n Autoprovisionin" - + "gNodePoolDefaults\022\024\n\014oauth_scopes\030\001 \003(\t\022" - + "\027\n\017service_account\030\002 \001(\t\022G\n\020upgrade_sett" - + "ings\030\003 \001(\0132-.google.container.v1.NodePoo" - + "l.UpgradeSettings\0227\n\nmanagement\030\004 \001(\0132#." - + "google.container.v1.NodeManagement\022\034\n\020mi" - + "n_cpu_platform\030\005 \001(\tB\002\030\001\022\024\n\014disk_size_gb" - + "\030\006 \001(\005\022\021\n\tdisk_type\030\007 \001(\t\022M\n\030shielded_in" - + "stance_config\030\010 \001(\0132+.google.container.v" - + "1.ShieldedInstanceConfig\022\031\n\021boot_disk_km" - + "s_key\030\t \001(\t\022\022\n\nimage_type\030\n \001(\t\0223\n&insec" - + "ure_kubelet_readonly_port_enabled\030\r \001(\010H" - + "\000\210\001\001B)\n\'_insecure_kubelet_readonly_port_" - + "enabled\"H\n\rResourceLimit\022\025\n\rresource_typ" - + "e\030\001 \001(\t\022\017\n\007minimum\030\002 \001(\003\022\017\n\007maximum\030\003 \001(" - + "\003\"\307\002\n\023NodePoolAutoscaling\022\017\n\007enabled\030\001 \001" - + "(\010\022\026\n\016min_node_count\030\002 \001(\005\022\026\n\016max_node_c" - + "ount\030\003 \001(\005\022\027\n\017autoprovisioned\030\004 \001(\010\022P\n\017l" - + "ocation_policy\030\005 \001(\01627.google.container." - + "v1.NodePoolAutoscaling.LocationPolicy\022\034\n" - + "\024total_min_node_count\030\006 \001(\005\022\034\n\024total_max" - + "_node_count\030\007 \001(\005\"H\n\016LocationPolicy\022\037\n\033L" - + "OCATION_POLICY_UNSPECIFIED\020\000\022\014\n\010BALANCED" - + "\020\001\022\007\n\003ANY\020\002\"\222\002\n\020SetLabelsRequest\022\026\n\nproj" - + "ect_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncl" - + "uster_id\030\003 \001(\tB\002\030\001\022W\n\017resource_labels\030\004 " - + "\003(\01329.google.container.v1.SetLabelsReque" - + "st.ResourceLabelsEntryB\003\340A\002\022\036\n\021label_fin" - + "gerprint\030\005 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\0325\n\023Res" - + "ourceLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001\"|\n\024SetLegacyAbacRequest\022\026\n\nproj" - + "ect_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncl" - + "uster_id\030\003 \001(\tB\002\030\001\022\024\n\007enabled\030\004 \001(\010B\003\340A\002" - + "\022\014\n\004name\030\006 \001(\t\"\204\001\n\026StartIPRotationReques" - + "t\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB" - + "\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(" - + "\t\022\032\n\022rotate_credentials\030\007 \001(\010\"k\n\031Complet" - + "eIPRotationRequest\022\026\n\nproject_id\030\001 \001(\tB\002" + + "\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022\031\n\014node_" + + "version\030\005 \001(\tB\003\340A\002\022\027\n\nimage_type\030\006 \001(\tB\003" + + "\340A\002\022\014\n\004name\030\010 \001(\t\022\021\n\tlocations\030\r \003(\t\022M\n\030" + + "workload_metadata_config\030\016 \001(\0132+.google." + + "container.v1.WorkloadMetadataConfig\022G\n\020u" + + "pgrade_settings\030\017 \001(\0132-.google.container" + + ".v1.NodePool.UpgradeSettings\022.\n\004tags\030\020 \001" + + "(\0132 .google.container.v1.NetworkTags\022/\n\006" + + "taints\030\021 \001(\0132\037.google.container.v1.NodeT" + + "aints\022/\n\006labels\030\022 \001(\0132\037.google.container" + + ".v1.NodeLabels\022?\n\021linux_node_config\030\023 \001(" + + "\0132$.google.container.v1.LinuxNodeConfig\022" + + ">\n\016kubelet_config\030\024 \001(\0132&.google.contain" + + "er.v1.NodeKubeletConfig\022C\n\023node_network_" + + "config\030\025 \001(\0132&.google.container.v1.NodeN" + + "etworkConfig\0224\n\013gcfs_config\030\026 \001(\0132\037.goog" + + "le.container.v1.GcfsConfig\022B\n\022confidenti" + + "al_nodes\030\027 \001(\0132&.google.container.v1.Con" + + "fidentialNodes\022.\n\005gvnic\030\035 \001(\0132\037.google.c" + + "ontainer.v1.VirtualNIC\022\014\n\004etag\030\036 \001(\t\0224\n\013" + + "fast_socket\030\037 \001(\0132\037.google.container.v1." + + "FastSocket\022B\n\016logging_config\030 \001(\0132*.goo" + + "gle.container.v1.NodePoolLoggingConfig\022<" + + "\n\017resource_labels\030! \001(\0132#.google.contain" + + "er.v1.ResourceLabels\022C\n\023windows_node_con" + + "fig\030\" \001(\0132&.google.container.v1.WindowsN" + + "odeConfig\022\031\n\014machine_type\030$ \001(\tB\003\340A\001\022\026\n\t" + + "disk_type\030% \001(\tB\003\340A\001\022\031\n\014disk_size_gb\030& \001" + + "(\003B\003\340A\001\022G\n\025resource_manager_tags\030\' \001(\0132(" + + ".google.container.v1.ResourceManagerTags" + + "\022M\n\023queued_provisioning\030* \001(\01320.google.c" + + "ontainer.v1.NodePool.QueuedProvisioning\"" + + "\315\001\n\035SetNodePoolAutoscalingRequest\022\026\n\npro" + + "ject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\nc" + + "luster_id\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(" + + "\tB\002\030\001\022B\n\013autoscaling\030\005 \001(\0132(.google.cont" + + "ainer.v1.NodePoolAutoscalingB\003\340A\002\022\014\n\004nam" + + "e\030\006 \001(\t\"\210\001\n\030SetLoggingServiceRequest\022\026\n\n" + + "project_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026" + + "\n\ncluster_id\030\003 \001(\tB\002\030\001\022\034\n\017logging_servic" + + "e\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\216\001\n\033SetMonito" + + "ringServiceRequest\022\026\n\nproject_id\030\001 \001(\tB\002" + "\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\t" - + "B\002\030\001\022\014\n\004name\030\007 \001(\t\"\305\002\n\021AcceleratorConfig" - + "\022\031\n\021accelerator_count\030\001 \001(\003\022\030\n\020accelerat" - + "or_type\030\002 \001(\t\022\032\n\022gpu_partition_size\030\003 \001(" - + "\t\022F\n\022gpu_sharing_config\030\005 \001(\0132%.google.c" - + "ontainer.v1.GPUSharingConfigH\000\210\001\001\022]\n\036gpu" - + "_driver_installation_config\030\006 \001(\01320.goog" - + "le.container.v1.GPUDriverInstallationCon" - + "figH\001\210\001\001B\025\n\023_gpu_sharing_configB!\n\037_gpu_" - + "driver_installation_config\"\372\001\n\020GPUSharin" - + "gConfig\022\"\n\032max_shared_clients_per_gpu\030\001 " - + "\001(\003\022[\n\024gpu_sharing_strategy\030\002 \001(\01628.goog" - + "le.container.v1.GPUSharingConfig.GPUShar" - + "ingStrategyH\000\210\001\001\"L\n\022GPUSharingStrategy\022$" - + "\n GPU_SHARING_STRATEGY_UNSPECIFIED\020\000\022\020\n\014" - + "TIME_SHARING\020\001B\027\n\025_gpu_sharing_strategy\"" - + "\204\002\n\033GPUDriverInstallationConfig\022b\n\022gpu_d" - + "river_version\030\001 \001(\0162A.google.container.v" - + "1.GPUDriverInstallationConfig.GPUDriverV" - + "ersionH\000\210\001\001\"j\n\020GPUDriverVersion\022\"\n\036GPU_D" - + "RIVER_VERSION_UNSPECIFIED\020\000\022\031\n\025INSTALLAT" - + "ION_DISABLED\020\001\022\013\n\007DEFAULT\020\002\022\n\n\006LATEST\020\003B" - + "\025\n\023_gpu_driver_version\"\232\001\n\026WorkloadMetad" - + "ataConfig\022>\n\004mode\030\002 \001(\01620.google.contain" - + "er.v1.WorkloadMetadataConfig.Mode\"@\n\004Mod" - + "e\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n\014GCE_METADATA\020" - + "\001\022\020\n\014GKE_METADATA\020\002\"\252\001\n\027SetNetworkPolicy" + + "B\002\030\001\022\037\n\022monitoring_service\030\004 \001(\tB\003\340A\002\022\014\n" + + "\004name\030\006 \001(\t\"\247\001\n\026SetAddonsConfigRequest\022\026" + + "\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001" + + "\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022=\n\raddons_confi" + + "g\030\004 \001(\0132!.google.container.v1.AddonsConf" + + "igB\003\340A\002\022\014\n\004name\030\006 \001(\t\"}\n\023SetLocationsReq" + + "uest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001" + + "(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\026\n\tlocati" + + "ons\030\004 \003(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\202\001\n\023UpdateM" + + "asterRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004" + + "zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\033" + + "\n\016master_version\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(" + + "\t\"\265\002\n\024SetMasterAuthRequest\022\026\n\nproject_id" + + "\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_" + + "id\030\003 \001(\tB\002\030\001\022E\n\006action\030\004 \001(\01620.google.co" + + "ntainer.v1.SetMasterAuthRequest.ActionB\003" + + "\340A\002\0224\n\006update\030\005 \001(\0132\037.google.container.v" + + "1.MasterAuthB\003\340A\002\022\014\n\004name\030\007 \001(\t\"P\n\006Actio" + + "n\022\013\n\007UNKNOWN\020\000\022\020\n\014SET_PASSWORD\020\001\022\025\n\021GENE" + + "RATE_PASSWORD\020\002\022\020\n\014SET_USERNAME\020\003\"f\n\024Del" + + "eteClusterRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030" + + "\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB" + + "\002\030\001\022\014\n\004name\030\004 \001(\t\"O\n\023ListClustersRequest" + + "\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002" + + "\030\001\022\016\n\006parent\030\004 \001(\t\"]\n\024ListClustersRespon" + + "se\022.\n\010clusters\030\001 \003(\0132\034.google.container." + + "v1.Cluster\022\025\n\rmissing_zones\030\002 \003(\t\"g\n\023Get" + + "OperationRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001" + + "\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\030\n\014operation_id\030\003 \001(\t" + + "B\002\030\001\022\014\n\004name\030\005 \001(\t\"Q\n\025ListOperationsRequ" + + "est\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(" + + "\tB\002\030\001\022\016\n\006parent\030\004 \001(\t\"j\n\026CancelOperation" + "Request\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030" - + "\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022?\n\016net" - + "work_policy\030\004 \001(\0132\".google.container.v1." - + "NetworkPolicyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\271\001\n\033Set" - + "MaintenancePolicyRequest\022\027\n\nproject_id\030\001" - + " \001(\tB\003\340A\002\022\021\n\004zone\030\002 \001(\tB\003\340A\002\022\027\n\ncluster_" - + "id\030\003 \001(\tB\003\340A\002\022G\n\022maintenance_policy\030\004 \001(" - + "\0132&.google.container.v1.MaintenancePolic" - + "yB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\251\002\n\017StatusCondition" - + "\022;\n\004code\030\001 \001(\0162).google.container.v1.Sta" - + "tusCondition.CodeB\002\030\001\022\017\n\007message\030\002 \001(\t\022(" - + "\n\016canonical_code\030\003 \001(\0162\020.google.rpc.Code" - + "\"\235\001\n\004Code\022\013\n\007UNKNOWN\020\000\022\020\n\014GCE_STOCKOUT\020\001", - "\022\037\n\033GKE_SERVICE_ACCOUNT_DELETED\020\002\022\026\n\022GCE" - + "_QUOTA_EXCEEDED\020\003\022\023\n\017SET_BY_OPERATOR\020\004\022\027" - + "\n\023CLOUD_KMS_KEY_ERROR\020\007\022\017\n\013CA_EXPIRING\020\t" - + "\"\261\t\n\rNetworkConfig\022\017\n\007network\030\001 \001(\t\022\022\n\ns" - + "ubnetwork\030\002 \001(\t\022$\n\034enable_intra_node_vis" - + "ibility\030\005 \001(\010\022C\n\023default_snat_status\030\007 \001" - + "(\0132&.google.container.v1.DefaultSnatStat" - + "us\022\037\n\027enable_l4ilb_subsetting\030\n \001(\010\022@\n\021d" - + "atapath_provider\030\013 \001(\0162%.google.containe" - + "r.v1.DatapathProvider\022P\n\032private_ipv6_go" - + "ogle_access\030\014 \001(\0162,.google.container.v1." - + "PrivateIPv6GoogleAccess\0222\n\ndns_config\030\r " - + "\001(\0132\036.google.container.v1.DNSConfig\022R\n\033s" - + "ervice_external_ips_config\030\017 \001(\0132-.googl" - + "e.container.v1.ServiceExternalIPsConfig\022" - + "A\n\022gateway_api_config\030\020 \001(\0132%.google.con" - + "tainer.v1.GatewayAPIConfig\022\037\n\027enable_mul" - + "ti_networking\030\021 \001(\010\022f\n\032network_performan" - + "ce_config\030\022 \001(\0132B.google.container.v1.Ne" - + "tworkConfig.ClusterNetworkPerformanceCon" - + "fig\022\'\n\032enable_fqdn_network_policy\030\023 \001(\010H" - + "\000\210\001\001\022Y\n\034in_transit_encryption_config\030\024 \001" - + "(\0162..google.container.v1.InTransitEncryp" - + "tionConfigH\001\210\001\001\0225\n(enable_cilium_cluster" - + "wide_network_policy\030\025 \001(\010H\002\210\001\001\032\336\001\n\037Clust" - + "erNetworkPerformanceConfig\022q\n\033total_egre" - + "ss_bandwidth_tier\030\001 \001(\0162G.google.contain" - + "er.v1.NetworkConfig.ClusterNetworkPerfor" - + "manceConfig.TierH\000\210\001\001\"(\n\004Tier\022\024\n\020TIER_UN" - + "SPECIFIED\020\000\022\n\n\006TIER_1\020\001B\036\n\034_total_egress" - + "_bandwidth_tierB\035\n\033_enable_fqdn_network_" - + "policyB\037\n\035_in_transit_encryption_configB" - + "+\n)_enable_cilium_clusterwide_network_po" - + "licy\"\274\001\n\020GatewayAPIConfig\022>\n\007channel\030\001 \001" - + "(\0162-.google.container.v1.GatewayAPIConfi" - + "g.Channel\"h\n\007Channel\022\027\n\023CHANNEL_UNSPECIF" - + "IED\020\000\022\024\n\020CHANNEL_DISABLED\020\001\022\030\n\024CHANNEL_E" - + "XPERIMENTAL\020\003\022\024\n\020CHANNEL_STANDARD\020\004\"+\n\030S" - + "erviceExternalIPsConfig\022\017\n\007enabled\030\001 \001(\010" - + "\"(\n\026GetOpenIDConfigRequest\022\016\n\006parent\030\001 \001" - + "(\t\"\334\001\n\027GetOpenIDConfigResponse\022\016\n\006issuer" - + "\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n\030response_typ" - + "es_supported\030\003 \003(\t\022\037\n\027subject_types_supp" - + "orted\030\004 \003(\t\022-\n%id_token_signing_alg_valu" - + "es_supported\030\005 \003(\t\022\030\n\020claims_supported\030\006" - + " \003(\t\022\023\n\013grant_types\030\007 \003(\t\"\'\n\025GetJSONWebK" - + "eysRequest\022\016\n\006parent\030\001 \001(\t\"r\n\003Jwk\022\013\n\003kty" - + "\030\001 \001(\t\022\013\n\003alg\030\002 \001(\t\022\013\n\003use\030\003 \001(\t\022\013\n\003kid\030" - + "\004 \001(\t\022\t\n\001n\030\005 \001(\t\022\t\n\001e\030\006 \001(\t\022\t\n\001x\030\007 \001(\t\022\t" - + "\n\001y\030\010 \001(\t\022\013\n\003crv\030\t \001(\t\"@\n\026GetJSONWebKeys" - + "Response\022&\n\004keys\030\001 \003(\0132\030.google.containe" - + "r.v1.Jwk\"2\n\"CheckAutopilotCompatibilityR" - + "equest\022\014\n\004name\030\001 \001(\t\"\374\002\n\033AutopilotCompat" - + "ibilityIssue\0224\n\020last_observation\030\001 \001(\0132\032" - + ".google.protobuf.Timestamp\022\027\n\017constraint" - + "_type\030\002 \001(\t\022X\n\024incompatibility_type\030\003 \001(" - + "\0162:.google.container.v1.AutopilotCompati" - + "bilityIssue.IssueType\022\020\n\010subjects\030\004 \003(\t\022" - + "\031\n\021documentation_url\030\005 \001(\t\022\023\n\013descriptio" - + "n\030\006 \001(\t\"r\n\tIssueType\022\017\n\013UNSPECIFIED\020\000\022\023\n" - + "\017INCOMPATIBILITY\020\001\022\036\n\032ADDITIONAL_CONFIG_" - + "REQUIRED\020\002\022\037\n\033PASSED_WITH_OPTIONAL_CONFI" - + "G\020\003\"x\n#CheckAutopilotCompatibilityRespon" - + "se\022@\n\006issues\030\001 \003(\01320.google.container.v1" - + ".AutopilotCompatibilityIssue\022\017\n\007summary\030" - + "\002 \001(\t\"\216\001\n\016ReleaseChannel\022<\n\007channel\030\001 \001(" - + "\0162+.google.container.v1.ReleaseChannel.C" - + "hannel\">\n\007Channel\022\017\n\013UNSPECIFIED\020\000\022\t\n\005RA" - + "PID\020\001\022\013\n\007REGULAR\020\002\022\n\n\006STABLE\020\003\"\'\n\024CostMa" - + "nagementConfig\022\017\n\007enabled\030\001 \001(\010\",\n\031Intra" - + "NodeVisibilityConfig\022\017\n\007enabled\030\001 \001(\010\"&\n" - + "\023ILBSubsettingConfig\022\017\n\007enabled\030\001 \001(\010\"\313\002" - + "\n\tDNSConfig\022<\n\013cluster_dns\030\001 \001(\0162\'.googl" - + "e.container.v1.DNSConfig.Provider\022B\n\021clu" - + "ster_dns_scope\030\002 \001(\0162\'.google.container." - + "v1.DNSConfig.DNSScope\022\032\n\022cluster_dns_dom" - + "ain\030\003 \001(\t\"W\n\010Provider\022\030\n\024PROVIDER_UNSPEC" - + "IFIED\020\000\022\024\n\020PLATFORM_DEFAULT\020\001\022\r\n\tCLOUD_D" - + "NS\020\002\022\014\n\010KUBE_DNS\020\003\"G\n\010DNSScope\022\031\n\025DNS_SC" - + "OPE_UNSPECIFIED\020\000\022\021\n\rCLUSTER_SCOPE\020\001\022\r\n\t" - + "VPC_SCOPE\020\002\".\n\021MaxPodsConstraint\022\031\n\021max_" - + "pods_per_node\030\001 \001(\003\"/\n\026WorkloadIdentityC" - + "onfig\022\025\n\rworkload_pool\030\002 \001(\t\"(\n\025Identity" - + "ServiceConfig\022\017\n\007enabled\030\001 \001(\010\"K\n\020MeshCe" - + "rtificates\0227\n\023enable_certificates\030\001 \001(\0132" - + "\032.google.protobuf.BoolValue\"\230\001\n\022Database" - + "Encryption\022\020\n\010key_name\030\001 \001(\t\022<\n\005state\030\002 " - + "\001(\0162-.google.container.v1.DatabaseEncryp" - + "tion.State\"2\n\005State\022\013\n\007UNKNOWN\020\000\022\r\n\tENCR" - + "YPTED\020\001\022\r\n\tDECRYPTED\020\002\"e\n\034ListUsableSubn" - + "etworksRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter" - + "\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030" - + "\004 \001(\t\"t\n\035ListUsableSubnetworksResponse\022:" - + "\n\013subnetworks\030\001 \003(\0132%.google.container.v" - + "1.UsableSubnetwork\022\027\n\017next_page_token\030\002 " - + "\001(\t\"\200\002\n\036UsableSubnetworkSecondaryRange\022\022" - + "\n\nrange_name\030\001 \001(\t\022\025\n\rip_cidr_range\030\002 \001(" - + "\t\022J\n\006status\030\003 \001(\0162:.google.container.v1." - + "UsableSubnetworkSecondaryRange.Status\"g\n" - + "\006Status\022\013\n\007UNKNOWN\020\000\022\n\n\006UNUSED\020\001\022\022\n\016IN_U" - + "SE_SERVICE\020\002\022\030\n\024IN_USE_SHAREABLE_POD\020\003\022\026" - + "\n\022IN_USE_MANAGED_POD\020\004\"\270\001\n\020UsableSubnetw" - + "ork\022\022\n\nsubnetwork\030\001 \001(\t\022\017\n\007network\030\002 \001(\t" - + "\022\025\n\rip_cidr_range\030\003 \001(\t\022P\n\023secondary_ip_" - + "ranges\030\004 \003(\01323.google.container.v1.Usabl" - + "eSubnetworkSecondaryRange\022\026\n\016status_mess" - + "age\030\005 \001(\t\"\355\002\n\031ResourceUsageExportConfig\022" - + "`\n\024bigquery_destination\030\001 \001(\0132B.google.c" - + "ontainer.v1.ResourceUsageExportConfig.Bi" - + "gQueryDestination\022&\n\036enable_network_egre" - + "ss_metering\030\002 \001(\010\022m\n\033consumption_meterin" - + "g_config\030\003 \001(\0132H.google.container.v1.Res" - + "ourceUsageExportConfig.ConsumptionMeteri" - + "ngConfig\032)\n\023BigQueryDestination\022\022\n\ndatas" - + "et_id\030\001 \001(\t\032,\n\031ConsumptionMeteringConfig" - + "\022\017\n\007enabled\030\001 \001(\010\")\n\026VerticalPodAutoscal" - + "ing\022\017\n\007enabled\030\001 \001(\010\"%\n\021DefaultSnatStatu" - + "s\022\020\n\010disabled\030\001 \001(\010\" \n\rShieldedNodes\022\017\n\007" - + "enabled\030\001 \001(\010\"\035\n\nVirtualNIC\022\017\n\007enabled\030\001" - + " \001(\010\"\035\n\nFastSocket\022\017\n\007enabled\030\001 \001(\010\"\250\003\n\022" - + "NotificationConfig\022>\n\006pubsub\030\001 \001(\0132..goo" - + "gle.container.v1.NotificationConfig.PubS" - + "ub\032\212\001\n\006PubSub\022\017\n\007enabled\030\001 \001(\010\022/\n\005topic\030" - + "\002 \001(\tB \372A\035\n\033pubsub.googleapis.com/Topic\022" - + ">\n\006filter\030\003 \001(\0132..google.container.v1.No" - + "tificationConfig.Filter\032O\n\006Filter\022E\n\neve" - + "nt_type\030\001 \003(\01621.google.container.v1.Noti" - + "ficationConfig.EventType\"t\n\tEventType\022\032\n" - + "\026EVENT_TYPE_UNSPECIFIED\020\000\022\033\n\027UPGRADE_AVA" - + "ILABLE_EVENT\020\001\022\021\n\rUPGRADE_EVENT\020\002\022\033\n\027SEC" - + "URITY_BULLETIN_EVENT\020\003\"$\n\021ConfidentialNo" - + "des\022\017\n\007enabled\030\001 \001(\010\"\337\001\n\014UpgradeEvent\022?\n" - + "\rresource_type\030\001 \001(\0162(.google.container." - + "v1.UpgradeResourceType\022\021\n\toperation\030\002 \001(" - + "\t\0228\n\024operation_start_time\030\003 \001(\0132\032.google" - + ".protobuf.Timestamp\022\027\n\017current_version\030\004" - + " \001(\t\022\026\n\016target_version\030\005 \001(\t\022\020\n\010resource" - + "\030\006 \001(\t\"\271\001\n\025UpgradeAvailableEvent\022\017\n\007vers" - + "ion\030\001 \001(\t\022?\n\rresource_type\030\002 \001(\0162(.googl" - + "e.container.v1.UpgradeResourceType\022<\n\017re" - + "lease_channel\030\003 \001(\0132#.google.container.v" - + "1.ReleaseChannel\022\020\n\010resource\030\004 \001(\t\"\236\002\n\025S" - + "ecurityBulletinEvent\022\036\n\026resource_type_af" - + "fected\030\001 \001(\t\022\023\n\013bulletin_id\030\002 \001(\t\022\017\n\007cve" - + "_ids\030\003 \003(\t\022\020\n\010severity\030\004 \001(\t\022\024\n\014bulletin" - + "_uri\030\005 \001(\t\022\031\n\021brief_description\030\006 \001(\t\022!\n" - + "\031affected_supported_minors\030\007 \003(\t\022\030\n\020patc" - + "hed_versions\030\010 \003(\t\022 \n\030suggested_upgrade_" - + "target\030\t \001(\t\022\035\n\025manual_steps_required\030\n " - + "\001(\010\"g\n\tAutopilot\022\017\n\007enabled\030\001 \001(\010\022I\n\026wor" - + "kload_policy_config\030\002 \001(\0132).google.conta" - + "iner.v1.WorkloadPolicyConfig\"H\n\024Workload" - + "PolicyConfig\022\034\n\017allow_net_admin\030\001 \001(\010H\000\210" - + "\001\001B\022\n\020_allow_net_admin\"V\n\rLoggingConfig\022" - + "E\n\020component_config\030\001 \001(\0132+.google.conta" - + "iner.v1.LoggingComponentConfig\"\357\001\n\026Loggi" - + "ngComponentConfig\022P\n\021enable_components\030\001" - + " \003(\01625.google.container.v1.LoggingCompon" - + "entConfig.Component\"\202\001\n\tComponent\022\031\n\025COM" - + "PONENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENT" - + "S\020\001\022\r\n\tWORKLOADS\020\002\022\r\n\tAPISERVER\020\003\022\r\n\tSCH" - + "EDULER\020\004\022\026\n\022CONTROLLER_MANAGER\020\005\"\227\002\n\020Mon" - + "itoringConfig\022H\n\020component_config\030\001 \001(\0132" - + "..google.container.v1.MonitoringComponen" - + "tConfig\022O\n\031managed_prometheus_config\030\002 \001" - + "(\0132,.google.container.v1.ManagedPromethe" - + "usConfig\022h\n&advanced_datapath_observabil" - + "ity_config\030\003 \001(\01328.google.container.v1.A" - + "dvancedDatapathObservabilityConfig\"\236\002\n#A" - + "dvancedDatapathObservabilityConfig\022\026\n\016en" - + "able_metrics\030\001 \001(\010\022V\n\nrelay_mode\030\002 \001(\0162B" - + ".google.container.v1.AdvancedDatapathObs" - + "ervabilityConfig.RelayMode\022\031\n\014enable_rel" - + "ay\030\003 \001(\010H\000\210\001\001\"[\n\tRelayMode\022\032\n\026RELAY_MODE" - + "_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\023\n\017INTERNAL" - + "_VPC_LB\020\003\022\017\n\013EXTERNAL_LB\020\004B\017\n\r_enable_re" - + "lay\"Z\n\025NodePoolLoggingConfig\022A\n\016variant_" - + "config\030\001 \001(\0132).google.container.v1.Loggi" - + "ngVariantConfig\"\237\001\n\024LoggingVariantConfig" - + "\022B\n\007variant\030\001 \001(\01621.google.container.v1." - + "LoggingVariantConfig.Variant\"C\n\007Variant\022" - + "\027\n\023VARIANT_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\022\n" - + "\016MAX_THROUGHPUT\020\002\"\265\002\n\031MonitoringComponen" - + "tConfig\022S\n\021enable_components\030\001 \003(\01628.goo" - + "gle.container.v1.MonitoringComponentConf" - + "ig.Component\"\302\001\n\tComponent\022\031\n\025COMPONENT_" - + "UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\t" - + "APISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022CONTROLLER" - + "_MANAGER\020\005\022\013\n\007STORAGE\020\007\022\007\n\003HPA\020\010\022\007\n\003POD\020" - + "\t\022\r\n\tDAEMONSET\020\n\022\016\n\nDEPLOYMENT\020\013\022\017\n\013STAT" - + "EFULSET\020\014\"*\n\027ManagedPrometheusConfig\022\017\n\007" - + "enabled\030\001 \001(\010\"D\n\005Fleet\022\017\n\007project\030\001 \001(\t\022" - + "\022\n\nmembership\030\002 \001(\t\022\026\n\016pre_registered\030\003 " - + "\001(\010\"2\n\027LocalNvmeSsdBlockConfig\022\027\n\017local_" - + "ssd_count\030\001 \001(\005\"9\n\036EphemeralStorageLocal" - + "SsdConfig\022\027\n\017local_ssd_count\030\001 \001(\005\"\204\001\n\023R" - + "esourceManagerTags\022@\n\004tags\030\001 \003(\01322.googl" - + "e.container.v1.ResourceManagerTags.TagsE" - + "ntry\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - + "\002 \001(\t:\0028\001\"\253\001\n\020EnterpriseConfig\022L\n\014cluste" - + "r_tier\030\001 \001(\01621.google.container.v1.Enter" - + "priseConfig.ClusterTierB\003\340A\003\"I\n\013ClusterT" - + "ier\022\034\n\030CLUSTER_TIER_UNSPECIFIED\020\000\022\014\n\010STA" - + "NDARD\020\001\022\016\n\nENTERPRISE\020\002\"\233\001\n\021SecondaryBoo" - + "tDisk\0229\n\004mode\030\001 \001(\0162+.google.container.v" - + "1.SecondaryBootDisk.Mode\022\022\n\ndisk_image\030\002" - + " \001(\t\"7\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\031\n\025CO" - + "NTAINER_IMAGE_CACHE\020\001*\306\001\n\027PrivateIPv6Goo" - + "gleAccess\022*\n&PRIVATE_IPV6_GOOGLE_ACCESS_" - + "UNSPECIFIED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_ACC" - + "ESS_DISABLED\020\001\022(\n$PRIVATE_IPV6_GOOGLE_AC" - + "CESS_TO_GOOGLE\020\002\022,\n(PRIVATE_IPV6_GOOGLE_" - + "ACCESS_BIDIRECTIONAL\020\003*W\n\023UpgradeResourc" - + "eType\022%\n!UPGRADE_RESOURCE_TYPE_UNSPECIFI" - + "ED\020\000\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020\002*a\n\020Datap" - + "athProvider\022!\n\035DATAPATH_PROVIDER_UNSPECI" - + "FIED\020\000\022\023\n\017LEGACY_DATAPATH\020\001\022\025\n\021ADVANCED_" - + "DATAPATH\020\002*^\n\026NodePoolUpdateStrategy\022)\n%" - + "NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED\020\000\022" - + "\016\n\nBLUE_GREEN\020\002\022\t\n\005SURGE\020\003*@\n\tStackType\022" - + "\032\n\026STACK_TYPE_UNSPECIFIED\020\000\022\010\n\004IPV4\020\001\022\r\n" - + "\tIPV4_IPV6\020\002*N\n\016IPv6AccessType\022 \n\034IPV6_A" - + "CCESS_TYPE_UNSPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014" - + "\n\010EXTERNAL\020\002*\237\001\n\031InTransitEncryptionConf" - + "ig\022,\n(IN_TRANSIT_ENCRYPTION_CONFIG_UNSPE" - + "CIFIED\020\000\022\"\n\036IN_TRANSIT_ENCRYPTION_DISABL" - + "ED\020\001\0220\n,IN_TRANSIT_ENCRYPTION_INTER_NODE" - + "_TRANSPARENT\020\0022\250I\n\016ClusterManager\022\350\001\n\014Li" - + "stClusters\022(.google.container.v1.ListClu" - + "stersRequest\032).google.container.v1.ListC" - + "lustersResponse\"\202\001\332A\017project_id,zone\332A\006p" - + "arent\202\323\344\223\002a\022,/v1/{parent=projects/*/loca" - + "tions/*}/clustersZ1\022//v1/projects/{proje" - + "ct_id}/zones/{zone}/clusters\022\355\001\n\nGetClus" - + "ter\022&.google.container.v1.GetClusterRequ" - + "est\032\034.google.container.v1.Cluster\"\230\001\332A\032p" - + "roject_id,zone,cluster_id\332A\004name\202\323\344\223\002n\022," - + "/v1/{name=projects/*/locations/*/cluster" - + "s/*}Z>\022\n" + + "\016network_config\030\016 \001(\0132&.google.container" + + ".v1.NodeNetworkConfig\022\021\n\tself_link\030d \001(\t" + + "\022\017\n\007version\030e \001(\t\022\033\n\023instance_group_urls" + + "\030f \003(\t\0224\n\006status\030g \001(\0162$.google.containe" + + "r.v1.NodePool.Status\022\032\n\016status_message\030h" + + " \001(\tB\002\030\001\022=\n\013autoscaling\030\004 \001(\0132(.google.c" + + "ontainer.v1.NodePoolAutoscaling\0227\n\nmanag" + + "ement\030\005 \001(\0132#.google.container.v1.NodeMa" + + "nagement\022C\n\023max_pods_constraint\030\006 \001(\0132&." + + "google.container.v1.MaxPodsConstraint\0228\n" + + "\nconditions\030i \003(\0132$.google.container.v1." + + "StatusCondition\022\032\n\022pod_ipv4_cidr_size\030\007 " + + "\001(\005\022G\n\020upgrade_settings\030k \001(\0132-.google.c" + + "ontainer.v1.NodePool.UpgradeSettings\022G\n\020" + + "placement_policy\030l \001(\0132-.google.containe" + + "r.v1.NodePool.PlacementPolicy\022B\n\013update_" + + "info\030m \001(\0132(.google.container.v1.NodePoo" + + "l.UpdateInfoB\003\340A\003\022\014\n\004etag\030n \001(\t\022M\n\023queue" + + "d_provisioning\030p \001(\01320.google.container." + + "v1.NodePool.QueuedProvisioning\022M\n\030best_e" + + "ffort_provisioning\030q \001(\0132+.google.contai" + + "ner.v1.BestEffortProvisioning\032\360\001\n\017Upgrad" + + "eSettings\022\021\n\tmax_surge\030\001 \001(\005\022\027\n\017max_unav" + + "ailable\030\002 \001(\005\022B\n\010strategy\030\003 \001(\0162+.google" + + ".container.v1.NodePoolUpdateStrategyH\000\210\001" + + "\001\022H\n\023blue_green_settings\030\004 \001(\0132&.google." + + "container.v1.BlueGreenSettingsH\001\210\001\001B\013\n\t_" + + "strategyB\026\n\024_blue_green_settings\032\210\004\n\nUpd" + + "ateInfo\022O\n\017blue_green_info\030\001 \001(\01326.googl" + + "e.container.v1.NodePool.UpdateInfo.BlueG" + + "reenInfo\032\250\003\n\rBlueGreenInfo\022K\n\005phase\030\001 \001(" + + "\0162<.google.container.v1.NodePool.UpdateI" + + "nfo.BlueGreenInfo.Phase\022 \n\030blue_instance" + + "_group_urls\030\002 \003(\t\022!\n\031green_instance_grou" + + "p_urls\030\003 \003(\t\022%\n\035blue_pool_deletion_start" + + "_time\030\004 \001(\t\022\032\n\022green_pool_version\030\005 \001(\t\"" + + "\301\001\n\005Phase\022\025\n\021PHASE_UNSPECIFIED\020\000\022\022\n\016UPDA" + + "TE_STARTED\020\001\022\027\n\023CREATING_GREEN_POOL\020\002\022\027\n" + + "\023CORDONING_BLUE_POOL\020\003\022\026\n\022DRAINING_BLUE_" + + "POOL\020\004\022\025\n\021NODE_POOL_SOAKING\020\005\022\026\n\022DELETIN" + + "G_BLUE_POOL\020\006\022\024\n\020ROLLBACK_STARTED\020\007\032\256\001\n\017" + + "PlacementPolicy\022@\n\004type\030\001 \001(\01622.google.c" + + "ontainer.v1.NodePool.PlacementPolicy.Typ" + + "e\022\031\n\014tpu_topology\030\002 \001(\tB\003\340A\001\022\023\n\013policy_n" + + "ame\030\003 \001(\t\")\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022" + + "\013\n\007COMPACT\020\001\032%\n\022QueuedProvisioning\022\017\n\007en" + + "abled\030\001 \001(\010\"\201\001\n\006Status\022\026\n\022STATUS_UNSPECI" + + "FIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\026\n" + + "\022RUNNING_WITH_ERROR\020\003\022\017\n\013RECONCILING\020\004\022\014" + + "\n\010STOPPING\020\005\022\t\n\005ERROR\020\006\"}\n\016NodeManagemen" + + "t\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n\013auto_repair\030\002" + + " \001(\010\022@\n\017upgrade_options\030\n \001(\0132\'.google.c" + + "ontainer.v1.AutoUpgradeOptions\"F\n\026BestEf" + + "fortProvisioning\022\017\n\007enabled\030\001 \001(\010\022\033\n\023min" + + "_provision_nodes\030\002 \001(\005\"J\n\022AutoUpgradeOpt" + + "ions\022\037\n\027auto_upgrade_start_time\030\001 \001(\t\022\023\n" + + "\013description\030\002 \001(\t\"e\n\021MaintenancePolicy\022" + + "6\n\006window\030\001 \001(\0132&.google.container.v1.Ma" + + "intenanceWindow\022\030\n\020resource_version\030\003 \001(" + + "\t\"\366\002\n\021MaintenanceWindow\022O\n\030daily_mainten" + + "ance_window\030\002 \001(\0132+.google.container.v1." + + "DailyMaintenanceWindowH\000\022D\n\020recurring_wi" + + "ndow\030\003 \001(\0132(.google.container.v1.Recurri" + + "ngTimeWindowH\000\022a\n\026maintenance_exclusions" + + "\030\004 \003(\0132A.google.container.v1.Maintenance" + + "Window.MaintenanceExclusionsEntry\032]\n\032Mai" + + "ntenanceExclusionsEntry\022\013\n\003key\030\001 \001(\t\022.\n\005" + + "value\030\002 \001(\0132\037.google.container.v1.TimeWi" + + "ndow:\0028\001B\010\n\006policy\"\320\001\n\nTimeWindow\022Y\n\035mai" + + "ntenance_exclusion_options\030\003 \001(\01320.googl" + + "e.container.v1.MaintenanceExclusionOptio" + + "nsH\000\022.\n\nstart_time\030\001 \001(\0132\032.google.protob" + + "uf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google." + + "protobuf.TimestampB\t\n\007options\"\264\001\n\033Mainte" + + "nanceExclusionOptions\022E\n\005scope\030\001 \001(\01626.g" + + "oogle.container.v1.MaintenanceExclusionO" + + "ptions.Scope\"N\n\005Scope\022\017\n\013NO_UPGRADES\020\000\022\025" + + "\n\021NO_MINOR_UPGRADES\020\001\022\035\n\031NO_MINOR_OR_NOD" + + "E_UPGRADES\020\002\"Z\n\023RecurringTimeWindow\022/\n\006w" + + "indow\030\001 \001(\0132\037.google.container.v1.TimeWi" + + "ndow\022\022\n\nrecurrence\030\002 \001(\t\">\n\026DailyMainten" + + "anceWindow\022\022\n\nstart_time\030\002 \001(\t\022\020\n\010durati" + + "on\030\003 \001(\t\"\306\001\n\034SetNodePoolManagementReques" + + "t\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB" + + "\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\030\n\014node_pool" + + "_id\030\004 \001(\tB\002\030\001\022<\n\nmanagement\030\005 \001(\0132#.goog" + + "le.container.v1.NodeManagementB\003\340A\002\022\014\n\004n" + + "ame\030\007 \001(\t\"\233\001\n\026SetNodePoolSizeRequest\022\026\n\n" + + "project_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026" + + "\n\ncluster_id\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004" + + " \001(\tB\002\030\001\022\027\n\nnode_count\030\005 \001(\005B\003\340A\002\022\014\n\004nam" + + "e\030\007 \001(\t\".\n\036CompleteNodePoolUpgradeReques" + + "t\022\014\n\004name\030\001 \001(\t\"\237\001\n\036RollbackNodePoolUpgr" + + "adeRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zo" + + "ne\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\030\n\014" + + "node_pool_id\030\004 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\022\023\n\013" + + "respect_pdb\030\007 \001(\010\"J\n\025ListNodePoolsRespon" + + "se\0221\n\nnode_pools\030\001 \003(\0132\035.google.containe" + + "r.v1.NodePool\"\257\003\n\022ClusterAutoscaling\022$\n\034" + + "enable_node_autoprovisioning\030\001 \001(\010\022;\n\017re" + + "source_limits\030\002 \003(\0132\".google.container.v" + + "1.ResourceLimit\022W\n\023autoscaling_profile\030\003" + + " \001(\0162:.google.container.v1.ClusterAutosc" + + "aling.AutoscalingProfile\022b\n#autoprovisio" + + "ning_node_pool_defaults\030\004 \001(\01325.google.c" + + "ontainer.v1.AutoprovisioningNodePoolDefa" + + "ults\022\"\n\032autoprovisioning_locations\030\005 \003(\t" + + "\"U\n\022AutoscalingProfile\022\027\n\023PROFILE_UNSPEC" + + "IFIED\020\000\022\030\n\024OPTIMIZE_UTILIZATION\020\001\022\014\n\010BAL" + + "ANCED\020\002\"\370\003\n AutoprovisioningNodePoolDefa" + + "ults\022\024\n\014oauth_scopes\030\001 \003(\t\022\027\n\017service_ac" + + "count\030\002 \001(\t\022G\n\020upgrade_settings\030\003 \001(\0132-." + + "google.container.v1.NodePool.UpgradeSett" + + "ings\0227\n\nmanagement\030\004 \001(\0132#.google.contai" + + "ner.v1.NodeManagement\022\034\n\020min_cpu_platfor" + + "m\030\005 \001(\tB\002\030\001\022\024\n\014disk_size_gb\030\006 \001(\005\022\021\n\tdis" + + "k_type\030\007 \001(\t\022M\n\030shielded_instance_config" + + "\030\010 \001(\0132+.google.container.v1.ShieldedIns" + + "tanceConfig\022\031\n\021boot_disk_kms_key\030\t \001(\t\022\022" + + "\n\nimage_type\030\n \001(\t\0223\n&insecure_kubelet_r" + + "eadonly_port_enabled\030\r \001(\010H\000\210\001\001B)\n\'_inse" + + "cure_kubelet_readonly_port_enabled\"H\n\rRe" + + "sourceLimit\022\025\n\rresource_type\030\001 \001(\t\022\017\n\007mi" + + "nimum\030\002 \001(\003\022\017\n\007maximum\030\003 \001(\003\"\307\002\n\023NodePoo" + + "lAutoscaling\022\017\n\007enabled\030\001 \001(\010\022\026\n\016min_nod" + + "e_count\030\002 \001(\005\022\026\n\016max_node_count\030\003 \001(\005\022\027\n" + + "\017autoprovisioned\030\004 \001(\010\022P\n\017location_polic" + + "y\030\005 \001(\01627.google.container.v1.NodePoolAu" + + "toscaling.LocationPolicy\022\034\n\024total_min_no" + + "de_count\030\006 \001(\005\022\034\n\024total_max_node_count\030\007" + + " \001(\005\"H\n\016LocationPolicy\022\037\n\033LOCATION_POLIC" + + "Y_UNSPECIFIED\020\000\022\014\n\010BALANCED\020\001\022\007\n\003ANY\020\002\"\222" + + "\002\n\020SetLabelsRequest\022\026\n\nproject_id\030\001 \001(\tB" + + "\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(" + + "\tB\002\030\001\022W\n\017resource_labels\030\004 \003(\01329.google." + + "container.v1.SetLabelsRequest.ResourceLa" + + "belsEntryB\003\340A\002\022\036\n\021label_fingerprint\030\005 \001(" + + "\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\0325\n\023ResourceLabelsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"|\n\024S" + + "etLegacyAbacRequest\022\026\n\nproject_id\030\001 \001(\tB" + + "\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(" + + "\tB\002\030\001\022\024\n\007enabled\030\004 \001(\010B\003\340A\002\022\014\n\004name\030\006 \001(" + + "\t\"\204\001\n\026StartIPRotationRequest\022\026\n\nproject_" + + "id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluste" + + "r_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\022\032\n\022rotate_c" + + "redentials\030\007 \001(\010\"k\n\031CompleteIPRotationRe" + + "quest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 " + + "\001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030" + + "\007 \001(\t\"\305\002\n\021AcceleratorConfig\022\031\n\021accelerat" + + "or_count\030\001 \001(\003\022\030\n\020accelerator_type\030\002 \001(\t" + + "\022\032\n\022gpu_partition_size\030\003 \001(\t\022F\n\022gpu_shar" + + "ing_config\030\005 \001(\0132%.google.container.v1.G" + + "PUSharingConfigH\000\210\001\001\022]\n\036gpu_driver_insta" + + "llation_config\030\006 \001(\01320.google.container." + + "v1.GPUDriverInstallationConfigH\001\210\001\001B\025\n\023_" + + "gpu_sharing_configB!\n\037_gpu_driver_instal" + + "lation_config\"\372\001\n\020GPUSharingConfig\022\"\n\032ma" + + "x_shared_clients_per_gpu\030\001 \001(\003\022[\n\024gpu_sh" + + "aring_strategy\030\002 \001(\01628.google.container." + + "v1.GPUSharingConfig.GPUSharingStrategyH\000" + + "\210\001\001\"L\n\022GPUSharingStrategy\022$\n GPU_SHARING" + + "_STRATEGY_UNSPECIFIED\020\000\022\020\n\014TIME_SHARING\020" + + "\001B\027\n\025_gpu_sharing_strategy\"\204\002\n\033GPUDriver" + + "InstallationConfig\022b\n\022gpu_driver_version" + + "\030\001 \001(\0162A.google.container.v1.GPUDriverIn" + + "stallationConfig.GPUDriverVersionH\000\210\001\001\"j" + + "\n\020GPUDriverVersion\022\"\n\036GPU_DRIVER_VERSION" + + "_UNSPECIFIED\020\000\022\031\n\025INSTALLATION_DISABLED\020" + + "\001\022\013\n\007DEFAULT\020\002\022\n\n\006LATEST\020\003B\025\n\023_gpu_drive" + + "r_version\"\232\001\n\026WorkloadMetadataConfig\022>\n\004" + + "mode\030\002 \001(\01620.google.container.v1.Workloa" + + "dMetadataConfig.Mode\"@\n\004Mode\022\024\n\020MODE_UNS" + + "PECIFIED\020\000\022\020\n\014GCE_METADATA\020\001\022\020\n\014GKE_META" + + "DATA\020\002\"\252\001\n\027SetNetworkPolicyRequest\022\026\n\npr" + + "oject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\n" + + "cluster_id\030\003 \001(\tB\002\030\001\022?\n\016network_policy\030\004" + + " \001(\0132\".google.container.v1.NetworkPolicy" + + "B\003\340A\002\022\014\n\004name\030\006 \001(\t\"\271\001\n\033SetMaintenancePo" + + "licyRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\021\n\004" + + "zone\030\002 \001(\tB\003\340A\002\022\027\n\ncluster_id\030\003 \001(\tB\003\340A\002" + + "\022G\n\022maintenance_policy\030\004 \001(\0132&.google.co", + "ntainer.v1.MaintenancePolicyB\003\340A\002\022\014\n\004nam" + + "e\030\005 \001(\t\"\251\002\n\017StatusCondition\022;\n\004code\030\001 \001(" + + "\0162).google.container.v1.StatusCondition." + + "CodeB\002\030\001\022\017\n\007message\030\002 \001(\t\022(\n\016canonical_c" + + "ode\030\003 \001(\0162\020.google.rpc.Code\"\235\001\n\004Code\022\013\n\007" + + "UNKNOWN\020\000\022\020\n\014GCE_STOCKOUT\020\001\022\037\n\033GKE_SERVI" + + "CE_ACCOUNT_DELETED\020\002\022\026\n\022GCE_QUOTA_EXCEED" + + "ED\020\003\022\023\n\017SET_BY_OPERATOR\020\004\022\027\n\023CLOUD_KMS_K" + + "EY_ERROR\020\007\022\017\n\013CA_EXPIRING\020\t\"\261\t\n\rNetworkC" + + "onfig\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001" + + "(\t\022$\n\034enable_intra_node_visibility\030\005 \001(\010" + + "\022C\n\023default_snat_status\030\007 \001(\0132&.google.c" + + "ontainer.v1.DefaultSnatStatus\022\037\n\027enable_" + + "l4ilb_subsetting\030\n \001(\010\022@\n\021datapath_provi" + + "der\030\013 \001(\0162%.google.container.v1.Datapath" + + "Provider\022P\n\032private_ipv6_google_access\030\014" + + " \001(\0162,.google.container.v1.PrivateIPv6Go" + + "ogleAccess\0222\n\ndns_config\030\r \001(\0132\036.google." + + "container.v1.DNSConfig\022R\n\033service_extern" + + "al_ips_config\030\017 \001(\0132-.google.container.v" + + "1.ServiceExternalIPsConfig\022A\n\022gateway_ap" + + "i_config\030\020 \001(\0132%.google.container.v1.Gat" + + "ewayAPIConfig\022\037\n\027enable_multi_networking" + + "\030\021 \001(\010\022f\n\032network_performance_config\030\022 \001" + + "(\0132B.google.container.v1.NetworkConfig.C" + + "lusterNetworkPerformanceConfig\022\'\n\032enable" + + "_fqdn_network_policy\030\023 \001(\010H\000\210\001\001\022Y\n\034in_tr" + + "ansit_encryption_config\030\024 \001(\0162..google.c" + + "ontainer.v1.InTransitEncryptionConfigH\001\210" + + "\001\001\0225\n(enable_cilium_clusterwide_network_" + + "policy\030\025 \001(\010H\002\210\001\001\032\336\001\n\037ClusterNetworkPerf" + + "ormanceConfig\022q\n\033total_egress_bandwidth_" + + "tier\030\001 \001(\0162G.google.container.v1.Network" + + "Config.ClusterNetworkPerformanceConfig.T" + + "ierH\000\210\001\001\"(\n\004Tier\022\024\n\020TIER_UNSPECIFIED\020\000\022\n" + + "\n\006TIER_1\020\001B\036\n\034_total_egress_bandwidth_ti" + + "erB\035\n\033_enable_fqdn_network_policyB\037\n\035_in" + + "_transit_encryption_configB+\n)_enable_ci" + + "lium_clusterwide_network_policy\"\274\001\n\020Gate" + + "wayAPIConfig\022>\n\007channel\030\001 \001(\0162-.google.c" + + "ontainer.v1.GatewayAPIConfig.Channel\"h\n\007" + + "Channel\022\027\n\023CHANNEL_UNSPECIFIED\020\000\022\024\n\020CHAN" + + "NEL_DISABLED\020\001\022\030\n\024CHANNEL_EXPERIMENTAL\020\003" + + "\022\024\n\020CHANNEL_STANDARD\020\004\"+\n\030ServiceExterna" + + "lIPsConfig\022\017\n\007enabled\030\001 \001(\010\"(\n\026GetOpenID" + + "ConfigRequest\022\016\n\006parent\030\001 \001(\t\"\334\001\n\027GetOpe" + + "nIDConfigResponse\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwk" + + "s_uri\030\002 \001(\t\022 \n\030response_types_supported\030" + + "\003 \003(\t\022\037\n\027subject_types_supported\030\004 \003(\t\022-" + + "\n%id_token_signing_alg_values_supported\030" + + "\005 \003(\t\022\030\n\020claims_supported\030\006 \003(\t\022\023\n\013grant" + + "_types\030\007 \003(\t\"\'\n\025GetJSONWebKeysRequest\022\016\n" + + "\006parent\030\001 \001(\t\"r\n\003Jwk\022\013\n\003kty\030\001 \001(\t\022\013\n\003alg" + + "\030\002 \001(\t\022\013\n\003use\030\003 \001(\t\022\013\n\003kid\030\004 \001(\t\022\t\n\001n\030\005 " + + "\001(\t\022\t\n\001e\030\006 \001(\t\022\t\n\001x\030\007 \001(\t\022\t\n\001y\030\010 \001(\t\022\013\n\003" + + "crv\030\t \001(\t\"@\n\026GetJSONWebKeysResponse\022&\n\004k" + + "eys\030\001 \003(\0132\030.google.container.v1.Jwk\"2\n\"C" + + "heckAutopilotCompatibilityRequest\022\014\n\004nam" + + "e\030\001 \001(\t\"\374\002\n\033AutopilotCompatibilityIssue\022" + + "4\n\020last_observation\030\001 \001(\0132\032.google.proto" + + "buf.Timestamp\022\027\n\017constraint_type\030\002 \001(\t\022X" + + "\n\024incompatibility_type\030\003 \001(\0162:.google.co" + + "ntainer.v1.AutopilotCompatibilityIssue.I" + + "ssueType\022\020\n\010subjects\030\004 \003(\t\022\031\n\021documentat" + + "ion_url\030\005 \001(\t\022\023\n\013description\030\006 \001(\t\"r\n\tIs" + + "sueType\022\017\n\013UNSPECIFIED\020\000\022\023\n\017INCOMPATIBIL" + + "ITY\020\001\022\036\n\032ADDITIONAL_CONFIG_REQUIRED\020\002\022\037\n" + + "\033PASSED_WITH_OPTIONAL_CONFIG\020\003\"x\n#CheckA" + + "utopilotCompatibilityResponse\022@\n\006issues\030" + + "\001 \003(\01320.google.container.v1.AutopilotCom" + + "patibilityIssue\022\017\n\007summary\030\002 \001(\t\"\216\001\n\016Rel" + + "easeChannel\022<\n\007channel\030\001 \001(\0162+.google.co" + + "ntainer.v1.ReleaseChannel.Channel\">\n\007Cha" + + "nnel\022\017\n\013UNSPECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGU" + + "LAR\020\002\022\n\n\006STABLE\020\003\"\'\n\024CostManagementConfi" + + "g\022\017\n\007enabled\030\001 \001(\010\",\n\031IntraNodeVisibilit" + + "yConfig\022\017\n\007enabled\030\001 \001(\010\"&\n\023ILBSubsettin" + + "gConfig\022\017\n\007enabled\030\001 \001(\010\"\313\002\n\tDNSConfig\022<" + + "\n\013cluster_dns\030\001 \001(\0162\'.google.container.v" + + "1.DNSConfig.Provider\022B\n\021cluster_dns_scop" + + "e\030\002 \001(\0162\'.google.container.v1.DNSConfig." + + "DNSScope\022\032\n\022cluster_dns_domain\030\003 \001(\t\"W\n\010" + + "Provider\022\030\n\024PROVIDER_UNSPECIFIED\020\000\022\024\n\020PL" + + "ATFORM_DEFAULT\020\001\022\r\n\tCLOUD_DNS\020\002\022\014\n\010KUBE_" + + "DNS\020\003\"G\n\010DNSScope\022\031\n\025DNS_SCOPE_UNSPECIFI" + + "ED\020\000\022\021\n\rCLUSTER_SCOPE\020\001\022\r\n\tVPC_SCOPE\020\002\"." + + "\n\021MaxPodsConstraint\022\031\n\021max_pods_per_node" + + "\030\001 \001(\003\"/\n\026WorkloadIdentityConfig\022\025\n\rwork" + + "load_pool\030\002 \001(\t\"(\n\025IdentityServiceConfig" + + "\022\017\n\007enabled\030\001 \001(\010\"K\n\020MeshCertificates\0227\n" + + "\023enable_certificates\030\001 \001(\0132\032.google.prot" + + "obuf.BoolValue\"\230\001\n\022DatabaseEncryption\022\020\n" + + "\010key_name\030\001 \001(\t\022<\n\005state\030\002 \001(\0162-.google." + + "container.v1.DatabaseEncryption.State\"2\n" + + "\005State\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDE" + + "CRYPTED\020\002\"e\n\034ListUsableSubnetworksReques" + + "t\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpag" + + "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"t\n\035List" + + "UsableSubnetworksResponse\022:\n\013subnetworks" + + "\030\001 \003(\0132%.google.container.v1.UsableSubne" + + "twork\022\027\n\017next_page_token\030\002 \001(\t\"\200\002\n\036Usabl" + + "eSubnetworkSecondaryRange\022\022\n\nrange_name\030" + + "\001 \001(\t\022\025\n\rip_cidr_range\030\002 \001(\t\022J\n\006status\030\003" + + " \001(\0162:.google.container.v1.UsableSubnetw" + + "orkSecondaryRange.Status\"g\n\006Status\022\013\n\007UN" + + "KNOWN\020\000\022\n\n\006UNUSED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022" + + "\030\n\024IN_USE_SHAREABLE_POD\020\003\022\026\n\022IN_USE_MANA" + + "GED_POD\020\004\"\270\001\n\020UsableSubnetwork\022\022\n\nsubnet" + + "work\030\001 \001(\t\022\017\n\007network\030\002 \001(\t\022\025\n\rip_cidr_r" + + "ange\030\003 \001(\t\022P\n\023secondary_ip_ranges\030\004 \003(\0132" + + "3.google.container.v1.UsableSubnetworkSe" + + "condaryRange\022\026\n\016status_message\030\005 \001(\t\"\355\002\n" + + "\031ResourceUsageExportConfig\022`\n\024bigquery_d" + + "estination\030\001 \001(\0132B.google.container.v1.R" + + "esourceUsageExportConfig.BigQueryDestina" + + "tion\022&\n\036enable_network_egress_metering\030\002" + + " \001(\010\022m\n\033consumption_metering_config\030\003 \001(" + + "\0132H.google.container.v1.ResourceUsageExp" + + "ortConfig.ConsumptionMeteringConfig\032)\n\023B" + + "igQueryDestination\022\022\n\ndataset_id\030\001 \001(\t\032," + + "\n\031ConsumptionMeteringConfig\022\017\n\007enabled\030\001" + + " \001(\010\")\n\026VerticalPodAutoscaling\022\017\n\007enable" + + "d\030\001 \001(\010\"%\n\021DefaultSnatStatus\022\020\n\010disabled" + + "\030\001 \001(\010\" \n\rShieldedNodes\022\017\n\007enabled\030\001 \001(\010" + + "\"\035\n\nVirtualNIC\022\017\n\007enabled\030\001 \001(\010\"\035\n\nFastS" + + "ocket\022\017\n\007enabled\030\001 \001(\010\"\250\003\n\022NotificationC" + + "onfig\022>\n\006pubsub\030\001 \001(\0132..google.container" + + ".v1.NotificationConfig.PubSub\032\212\001\n\006PubSub" + + "\022\017\n\007enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033p" + + "ubsub.googleapis.com/Topic\022>\n\006filter\030\003 \001" + + "(\0132..google.container.v1.NotificationCon" + + "fig.Filter\032O\n\006Filter\022E\n\nevent_type\030\001 \003(\016" + + "21.google.container.v1.NotificationConfi" + + "g.EventType\"t\n\tEventType\022\032\n\026EVENT_TYPE_U" + + "NSPECIFIED\020\000\022\033\n\027UPGRADE_AVAILABLE_EVENT\020" + + "\001\022\021\n\rUPGRADE_EVENT\020\002\022\033\n\027SECURITY_BULLETI" + + "N_EVENT\020\003\"$\n\021ConfidentialNodes\022\017\n\007enable" + + "d\030\001 \001(\010\"\337\001\n\014UpgradeEvent\022?\n\rresource_typ" + + "e\030\001 \001(\0162(.google.container.v1.UpgradeRes" + + "ourceType\022\021\n\toperation\030\002 \001(\t\0228\n\024operatio" + + "n_start_time\030\003 \001(\0132\032.google.protobuf.Tim" + + "estamp\022\027\n\017current_version\030\004 \001(\t\022\026\n\016targe" + + "t_version\030\005 \001(\t\022\020\n\010resource\030\006 \001(\t\"\271\001\n\025Up" + + "gradeAvailableEvent\022\017\n\007version\030\001 \001(\t\022?\n\r" + + "resource_type\030\002 \001(\0162(.google.container.v" + + "1.UpgradeResourceType\022<\n\017release_channel" + + "\030\003 \001(\0132#.google.container.v1.ReleaseChan" + + "nel\022\020\n\010resource\030\004 \001(\t\"\236\002\n\025SecurityBullet" + + "inEvent\022\036\n\026resource_type_affected\030\001 \001(\t\022" + + "\023\n\013bulletin_id\030\002 \001(\t\022\017\n\007cve_ids\030\003 \003(\t\022\020\n" + + "\010severity\030\004 \001(\t\022\024\n\014bulletin_uri\030\005 \001(\t\022\031\n" + + "\021brief_description\030\006 \001(\t\022!\n\031affected_sup" + + "ported_minors\030\007 \003(\t\022\030\n\020patched_versions\030" + + "\010 \003(\t\022 \n\030suggested_upgrade_target\030\t \001(\t\022" + + "\035\n\025manual_steps_required\030\n \001(\010\"g\n\tAutopi" + + "lot\022\017\n\007enabled\030\001 \001(\010\022I\n\026workload_policy_" + + "config\030\002 \001(\0132).google.container.v1.Workl" + + "oadPolicyConfig\"H\n\024WorkloadPolicyConfig\022" + + "\034\n\017allow_net_admin\030\001 \001(\010H\000\210\001\001B\022\n\020_allow_" + + "net_admin\"V\n\rLoggingConfig\022E\n\020component_" + + "config\030\001 \001(\0132+.google.container.v1.Loggi" + + "ngComponentConfig\"\357\001\n\026LoggingComponentCo" + + "nfig\022P\n\021enable_components\030\001 \003(\01625.google" + + ".container.v1.LoggingComponentConfig.Com" + + "ponent\"\202\001\n\tComponent\022\031\n\025COMPONENT_UNSPEC" + + "IFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tWORKLO" + + "ADS\020\002\022\r\n\tAPISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022C" + + "ONTROLLER_MANAGER\020\005\"\227\002\n\020MonitoringConfig" + + "\022H\n\020component_config\030\001 \001(\0132..google.cont" + + "ainer.v1.MonitoringComponentConfig\022O\n\031ma" + + "naged_prometheus_config\030\002 \001(\0132,.google.c" + + "ontainer.v1.ManagedPrometheusConfig\022h\n&a" + + "dvanced_datapath_observability_config\030\003 " + + "\001(\01328.google.container.v1.AdvancedDatapa" + + "thObservabilityConfig\"\236\002\n#AdvancedDatapa" + + "thObservabilityConfig\022\026\n\016enable_metrics\030" + + "\001 \001(\010\022V\n\nrelay_mode\030\002 \001(\0162B.google.conta" + + "iner.v1.AdvancedDatapathObservabilityCon" + + "fig.RelayMode\022\031\n\014enable_relay\030\003 \001(\010H\000\210\001\001" + + "\"[\n\tRelayMode\022\032\n\026RELAY_MODE_UNSPECIFIED\020" + + "\000\022\014\n\010DISABLED\020\001\022\023\n\017INTERNAL_VPC_LB\020\003\022\017\n\013" + + "EXTERNAL_LB\020\004B\017\n\r_enable_relay\"Z\n\025NodePo" + + "olLoggingConfig\022A\n\016variant_config\030\001 \001(\0132" + + ").google.container.v1.LoggingVariantConf" + + "ig\"\237\001\n\024LoggingVariantConfig\022B\n\007variant\030\001" + + " \001(\01621.google.container.v1.LoggingVarian" + + "tConfig.Variant\"C\n\007Variant\022\027\n\023VARIANT_UN" + + "SPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\022\n\016MAX_THROUGHP" + + "UT\020\002\"\265\002\n\031MonitoringComponentConfig\022S\n\021en" + + "able_components\030\001 \003(\01628.google.container" + + ".v1.MonitoringComponentConfig.Component\"" + + "\302\001\n\tComponent\022\031\n\025COMPONENT_UNSPECIFIED\020\000" + + "\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tAPISERVER\020\003\022\r" + + "\n\tSCHEDULER\020\004\022\026\n\022CONTROLLER_MANAGER\020\005\022\013\n" + + "\007STORAGE\020\007\022\007\n\003HPA\020\010\022\007\n\003POD\020\t\022\r\n\tDAEMONSE" + + "T\020\n\022\016\n\nDEPLOYMENT\020\013\022\017\n\013STATEFULSET\020\014\"*\n\027" + + "ManagedPrometheusConfig\022\017\n\007enabled\030\001 \001(\010" + + "\"D\n\005Fleet\022\017\n\007project\030\001 \001(\t\022\022\n\nmembership" + + "\030\002 \001(\t\022\026\n\016pre_registered\030\003 \001(\010\"2\n\027LocalN" + + "vmeSsdBlockConfig\022\027\n\017local_ssd_count\030\001 \001" + + "(\005\"9\n\036EphemeralStorageLocalSsdConfig\022\027\n\017" + + "local_ssd_count\030\001 \001(\005\"\204\001\n\023ResourceManage" + + "rTags\022@\n\004tags\030\001 \003(\01322.google.container.v" + + "1.ResourceManagerTags.TagsEntry\032+\n\tTagsE" + + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\253\001\n" + + "\020EnterpriseConfig\022L\n\014cluster_tier\030\001 \001(\0162" + + "1.google.container.v1.EnterpriseConfig.C" + + "lusterTierB\003\340A\003\"I\n\013ClusterTier\022\034\n\030CLUSTE" + + "R_TIER_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\016\n\nEN" + + "TERPRISE\020\002\"\233\001\n\021SecondaryBootDisk\0229\n\004mode" + + "\030\001 \001(\0162+.google.container.v1.SecondaryBo" + + "otDisk.Mode\022\022\n\ndisk_image\030\002 \001(\t\"7\n\004Mode\022" + + "\024\n\020MODE_UNSPECIFIED\020\000\022\031\n\025CONTAINER_IMAGE" + + "_CACHE\020\001\"!\n\037SecondaryBootDiskUpdateStrat" + + "egy*\306\001\n\027PrivateIPv6GoogleAccess\022*\n&PRIVA" + + "TE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\020\000\022\'\n#P" + + "RIVATE_IPV6_GOOGLE_ACCESS_DISABLED\020\001\022(\n$" + + "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE\020\002\022," + + "\n(PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTION" + + "AL\020\003*W\n\023UpgradeResourceType\022%\n!UPGRADE_R" + + "ESOURCE_TYPE_UNSPECIFIED\020\000\022\n\n\006MASTER\020\001\022\r" + + "\n\tNODE_POOL\020\002*a\n\020DatapathProvider\022!\n\035DAT" + + "APATH_PROVIDER_UNSPECIFIED\020\000\022\023\n\017LEGACY_D" + + "ATAPATH\020\001\022\025\n\021ADVANCED_DATAPATH\020\002*^\n\026Node" + + "PoolUpdateStrategy\022)\n%NODE_POOL_UPDATE_S" + + "TRATEGY_UNSPECIFIED\020\000\022\016\n\nBLUE_GREEN\020\002\022\t\n" + + "\005SURGE\020\003*@\n\tStackType\022\032\n\026STACK_TYPE_UNSP" + + "ECIFIED\020\000\022\010\n\004IPV4\020\001\022\r\n\tIPV4_IPV6\020\002*N\n\016IP" + + "v6AccessType\022 \n\034IPV6_ACCESS_TYPE_UNSPECI" + + "FIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EXTERNAL\020\002*\237\001\n\031I" + + "nTransitEncryptionConfig\022,\n(IN_TRANSIT_E" + + "NCRYPTION_CONFIG_UNSPECIFIED\020\000\022\"\n\036IN_TRA" + + "NSIT_ENCRYPTION_DISABLED\020\001\0220\n,IN_TRANSIT" + + "_ENCRYPTION_INTER_NODE_TRANSPARENT\020\0022\250I\n" + + "\016ClusterManager\022\350\001\n\014ListClusters\022(.googl" + + "e.container.v1.ListClustersRequest\032).goo" + + "gle.container.v1.ListClustersResponse\"\202\001" + + "\332A\017project_id,zone\332A\006parent\202\323\344\223\002a\022,/v1/{" + + "parent=projects/*/locations/*}/clustersZ" + + "1\022//v1/projects/{project_id}/zones/{zone" + + "}/clusters\022\355\001\n\nGetCluster\022&.google.conta" + + "iner.v1.GetClusterRequest\032\034.google.conta" + + "iner.v1.Cluster\"\230\001\332A\032project_id,zone,clu" + + "ster_id\332A\004name\202\323\344\223\002n\022,/v1/{name=projects" + + "/*/locations/*/clusters/*}Z>\022*/v1/", - "{name=projects/*/locations/*/clusters/*}" - + ":setResourceLabels:\001*ZP\"K/v1/projects/{p" - + "roject_id}/zones/{zone}/clusters/{cluste" - + "r_id}/resourceLabels:\001*\022\245\002\n\rSetLegacyAba" - + "c\022).google.container.v1.SetLegacyAbacReq" - + "uest\032\036.google.container.v1.Operation\"\310\001\332" - + "A\"project_id,zone,cluster_id,enabled\332A\014n" - + "ame,enabled\202\323\344\223\002\215\001\":/v1/{name=projects/*" - + "/locations/*/clusters/*}:setLegacyAbac:\001" - + "*ZL\"G/v1/projects/{project_id}/zones/{zo" - + "ne}/clusters/{cluster_id}/legacyAbac:\001*\022" - + "\240\002\n\017StartIPRotation\022+.google.container.v" - + "1.StartIPRotationRequest\032\036.google.contai" - + "ner.v1.Operation\"\277\001\332A\032project_id,zone,cl" - + "uster_id\332A\004name\202\323\344\223\002\224\001\"*/v1/{name=projects/*/l" + + "ocations/*/clusters/*}:setResourceLabels" + + ":\001*ZP\"K/v1/projects/{project_id}/zones/{" + + "zone}/clusters/{cluster_id}/resourceLabe" + + "ls:\001*\022\245\002\n\rSetLegacyAbac\022).google.contain" + + "er.v1.SetLegacyAbacRequest\032\036.google.cont" + + "ainer.v1.Operation\"\310\001\332A\"project_id,zone," + + "cluster_id,enabled\332A\014name,enabled\202\323\344\223\002\215\001" + + "\":/v1/{name=projects/*/locations/*/clust" + + "ers/*}:setLegacyAbac:\001*ZL\"G/v1/projects/" + + "{project_id}/zones/{zone}/clusters/{clus" + + "ter_id}/legacyAbac:\001*\022\240\002\n\017StartIPRotatio" + + "n\022+.google.container.v1.StartIPRotationR" + + "equest\032\036.google.container.v1.Operation\"\277" + + "\001\332A\032project_id,zone,cluster_id\332A\004name\202\323\344" + + "\223\002\224\001\" + * Enable/Disable Multi-Networking for the cluster + * + * + * optional bool desired_enable_multi_networking = 135; + * + * @return Whether the desiredEnableMultiNetworking field is set. + */ + @java.lang.Override + public boolean hasDesiredEnableMultiNetworking() { + return ((bitField1_ & 0x00000040) != 0); + } + /** + * + * + *
+   * Enable/Disable Multi-Networking for the cluster
+   * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return The desiredEnableMultiNetworking. + */ + @java.lang.Override + public boolean getDesiredEnableMultiNetworking() { + return desiredEnableMultiNetworking_; + } + public static final int DESIRED_NODE_POOL_AUTO_CONFIG_RESOURCE_MANAGER_TAGS_FIELD_NUMBER = 136; private com.google.container.v1.ResourceManagerTags desiredNodePoolAutoConfigResourceManagerTags_; /** @@ -2699,7 +2732,7 @@ public com.google.container.v1.K8sBetaAPIConfigOrBuilder getDesiredK8SBetaApisOr */ @java.lang.Override public boolean hasDesiredNodePoolAutoConfigResourceManagerTags() { - return ((bitField1_ & 0x00000040) != 0); + return ((bitField1_ & 0x00000080) != 0); } /** * @@ -2759,7 +2792,7 @@ public boolean hasDesiredNodePoolAutoConfigResourceManagerTags() { */ @java.lang.Override public boolean hasDesiredInTransitEncryptionConfig() { - return ((bitField1_ & 0x00000080) != 0); + return ((bitField1_ & 0x00000100) != 0); } /** * @@ -2814,7 +2847,7 @@ public com.google.container.v1.InTransitEncryptionConfig getDesiredInTransitEncr */ @java.lang.Override public boolean hasDesiredEnableCiliumClusterwideNetworkPolicy() { - return ((bitField1_ & 0x00000100) != 0); + return ((bitField1_ & 0x00000200) != 0); } /** * @@ -2997,12 +3030,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(131, getDesiredK8SBetaApis()); } if (((bitField1_ & 0x00000040) != 0)) { - output.writeMessage(136, getDesiredNodePoolAutoConfigResourceManagerTags()); + output.writeBool(135, desiredEnableMultiNetworking_); } if (((bitField1_ & 0x00000080) != 0)) { - output.writeEnum(137, desiredInTransitEncryptionConfig_); + output.writeMessage(136, getDesiredNodePoolAutoConfigResourceManagerTags()); } if (((bitField1_ & 0x00000100) != 0)) { + output.writeEnum(137, desiredInTransitEncryptionConfig_); + } + if (((bitField1_ & 0x00000200) != 0)) { output.writeBool(138, desiredEnableCiliumClusterwideNetworkPolicy_); } getUnknownFields().writeTo(output); @@ -3234,16 +3270,20 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize(131, getDesiredK8SBetaApis()); } if (((bitField1_ & 0x00000040) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(135, desiredEnableMultiNetworking_); + } + if (((bitField1_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 136, getDesiredNodePoolAutoConfigResourceManagerTags()); } - if (((bitField1_ & 0x00000080) != 0)) { + if (((bitField1_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream.computeEnumSize( 137, desiredInTransitEncryptionConfig_); } - if (((bitField1_ & 0x00000100) != 0)) { + if (((bitField1_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize( 138, desiredEnableCiliumClusterwideNetworkPolicy_); @@ -3463,6 +3503,11 @@ public boolean equals(final java.lang.Object obj) { if (hasDesiredK8SBetaApis()) { if (!getDesiredK8SBetaApis().equals(other.getDesiredK8SBetaApis())) return false; } + if (hasDesiredEnableMultiNetworking() != other.hasDesiredEnableMultiNetworking()) return false; + if (hasDesiredEnableMultiNetworking()) { + if (getDesiredEnableMultiNetworking() != other.getDesiredEnableMultiNetworking()) + return false; + } if (hasDesiredNodePoolAutoConfigResourceManagerTags() != other.hasDesiredNodePoolAutoConfigResourceManagerTags()) return false; if (hasDesiredNodePoolAutoConfigResourceManagerTags()) { @@ -3671,6 +3716,11 @@ public int hashCode() { hash = (37 * hash) + DESIRED_K8S_BETA_APIS_FIELD_NUMBER; hash = (53 * hash) + getDesiredK8SBetaApis().hashCode(); } + if (hasDesiredEnableMultiNetworking()) { + hash = (37 * hash) + DESIRED_ENABLE_MULTI_NETWORKING_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesiredEnableMultiNetworking()); + } if (hasDesiredNodePoolAutoConfigResourceManagerTags()) { hash = (37 * hash) + DESIRED_NODE_POOL_AUTO_CONFIG_RESOURCE_MANAGER_TAGS_FIELD_NUMBER; hash = (53 * hash) + getDesiredNodePoolAutoConfigResourceManagerTags().hashCode(); @@ -4065,6 +4115,7 @@ public Builder clear() { desiredK8SBetaApisBuilder_.dispose(); desiredK8SBetaApisBuilder_ = null; } + desiredEnableMultiNetworking_ = false; desiredNodePoolAutoConfigResourceManagerTags_ = null; if (desiredNodePoolAutoConfigResourceManagerTagsBuilder_ != null) { desiredNodePoolAutoConfigResourceManagerTagsBuilder_.dispose(); @@ -4410,20 +4461,24 @@ private void buildPartial1(com.google.container.v1.ClusterUpdate result) { to_bitField1_ |= 0x00000020; } if (((from_bitField1_ & 0x00020000) != 0)) { + result.desiredEnableMultiNetworking_ = desiredEnableMultiNetworking_; + to_bitField1_ |= 0x00000040; + } + if (((from_bitField1_ & 0x00040000) != 0)) { result.desiredNodePoolAutoConfigResourceManagerTags_ = desiredNodePoolAutoConfigResourceManagerTagsBuilder_ == null ? desiredNodePoolAutoConfigResourceManagerTags_ : desiredNodePoolAutoConfigResourceManagerTagsBuilder_.build(); - to_bitField1_ |= 0x00000040; - } - if (((from_bitField1_ & 0x00040000) != 0)) { - result.desiredInTransitEncryptionConfig_ = desiredInTransitEncryptionConfig_; to_bitField1_ |= 0x00000080; } if (((from_bitField1_ & 0x00080000) != 0)) { + result.desiredInTransitEncryptionConfig_ = desiredInTransitEncryptionConfig_; + to_bitField1_ |= 0x00000100; + } + if (((from_bitField1_ & 0x00100000) != 0)) { result.desiredEnableCiliumClusterwideNetworkPolicy_ = desiredEnableCiliumClusterwideNetworkPolicy_; - to_bitField1_ |= 0x00000100; + to_bitField1_ |= 0x00000200; } result.bitField0_ |= to_bitField0_; result.bitField1_ |= to_bitField1_; @@ -4643,6 +4698,9 @@ public Builder mergeFrom(com.google.container.v1.ClusterUpdate other) { if (other.hasDesiredK8SBetaApis()) { mergeDesiredK8SBetaApis(other.getDesiredK8SBetaApis()); } + if (other.hasDesiredEnableMultiNetworking()) { + setDesiredEnableMultiNetworking(other.getDesiredEnableMultiNetworking()); + } if (other.hasDesiredNodePoolAutoConfigResourceManagerTags()) { mergeDesiredNodePoolAutoConfigResourceManagerTags( other.getDesiredNodePoolAutoConfigResourceManagerTags()); @@ -5019,24 +5077,30 @@ public Builder mergeFrom( bitField1_ |= 0x00010000; break; } // case 1050 + case 1080: + { + desiredEnableMultiNetworking_ = input.readBool(); + bitField1_ |= 0x00020000; + break; + } // case 1080 case 1090: { input.readMessage( getDesiredNodePoolAutoConfigResourceManagerTagsFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x00020000; + bitField1_ |= 0x00040000; break; } // case 1090 case 1096: { desiredInTransitEncryptionConfig_ = input.readEnum(); - bitField1_ |= 0x00040000; + bitField1_ |= 0x00080000; break; } // case 1096 case 1104: { desiredEnableCiliumClusterwideNetworkPolicy_ = input.readBool(); - bitField1_ |= 0x00080000; + bitField1_ |= 0x00100000; break; } // case 1104 default: @@ -13780,6 +13844,74 @@ public com.google.container.v1.K8sBetaAPIConfigOrBuilder getDesiredK8SBetaApisOr return desiredK8SBetaApisBuilder_; } + private boolean desiredEnableMultiNetworking_; + /** + * + * + *
+     * Enable/Disable Multi-Networking for the cluster
+     * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return Whether the desiredEnableMultiNetworking field is set. + */ + @java.lang.Override + public boolean hasDesiredEnableMultiNetworking() { + return ((bitField1_ & 0x00020000) != 0); + } + /** + * + * + *
+     * Enable/Disable Multi-Networking for the cluster
+     * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return The desiredEnableMultiNetworking. + */ + @java.lang.Override + public boolean getDesiredEnableMultiNetworking() { + return desiredEnableMultiNetworking_; + } + /** + * + * + *
+     * Enable/Disable Multi-Networking for the cluster
+     * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @param value The desiredEnableMultiNetworking to set. + * @return This builder for chaining. + */ + public Builder setDesiredEnableMultiNetworking(boolean value) { + + desiredEnableMultiNetworking_ = value; + bitField1_ |= 0x00020000; + onChanged(); + return this; + } + /** + * + * + *
+     * Enable/Disable Multi-Networking for the cluster
+     * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return This builder for chaining. + */ + public Builder clearDesiredEnableMultiNetworking() { + bitField1_ = (bitField1_ & ~0x00020000); + desiredEnableMultiNetworking_ = false; + onChanged(); + return this; + } + private com.google.container.v1.ResourceManagerTags desiredNodePoolAutoConfigResourceManagerTags_; private com.google.protobuf.SingleFieldBuilderV3< @@ -13802,7 +13934,7 @@ public com.google.container.v1.K8sBetaAPIConfigOrBuilder getDesiredK8SBetaApisOr * @return Whether the desiredNodePoolAutoConfigResourceManagerTags field is set. */ public boolean hasDesiredNodePoolAutoConfigResourceManagerTags() { - return ((bitField1_ & 0x00020000) != 0); + return ((bitField1_ & 0x00040000) != 0); } /** * @@ -13850,7 +13982,7 @@ public Builder setDesiredNodePoolAutoConfigResourceManagerTags( } else { desiredNodePoolAutoConfigResourceManagerTagsBuilder_.setMessage(value); } - bitField1_ |= 0x00020000; + bitField1_ |= 0x00040000; onChanged(); return this; } @@ -13873,7 +14005,7 @@ public Builder setDesiredNodePoolAutoConfigResourceManagerTags( } else { desiredNodePoolAutoConfigResourceManagerTagsBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00020000; + bitField1_ |= 0x00040000; onChanged(); return this; } @@ -13892,7 +14024,7 @@ public Builder setDesiredNodePoolAutoConfigResourceManagerTags( public Builder mergeDesiredNodePoolAutoConfigResourceManagerTags( com.google.container.v1.ResourceManagerTags value) { if (desiredNodePoolAutoConfigResourceManagerTagsBuilder_ == null) { - if (((bitField1_ & 0x00020000) != 0) + if (((bitField1_ & 0x00040000) != 0) && desiredNodePoolAutoConfigResourceManagerTags_ != null && desiredNodePoolAutoConfigResourceManagerTags_ != com.google.container.v1.ResourceManagerTags.getDefaultInstance()) { @@ -13904,7 +14036,7 @@ public Builder mergeDesiredNodePoolAutoConfigResourceManagerTags( desiredNodePoolAutoConfigResourceManagerTagsBuilder_.mergeFrom(value); } if (desiredNodePoolAutoConfigResourceManagerTags_ != null) { - bitField1_ |= 0x00020000; + bitField1_ |= 0x00040000; onChanged(); } return this; @@ -13922,7 +14054,7 @@ public Builder mergeDesiredNodePoolAutoConfigResourceManagerTags( * */ public Builder clearDesiredNodePoolAutoConfigResourceManagerTags() { - bitField1_ = (bitField1_ & ~0x00020000); + bitField1_ = (bitField1_ & ~0x00040000); desiredNodePoolAutoConfigResourceManagerTags_ = null; if (desiredNodePoolAutoConfigResourceManagerTagsBuilder_ != null) { desiredNodePoolAutoConfigResourceManagerTagsBuilder_.dispose(); @@ -13945,7 +14077,7 @@ public Builder clearDesiredNodePoolAutoConfigResourceManagerTags() { */ public com.google.container.v1.ResourceManagerTags.Builder getDesiredNodePoolAutoConfigResourceManagerTagsBuilder() { - bitField1_ |= 0x00020000; + bitField1_ |= 0x00040000; onChanged(); return getDesiredNodePoolAutoConfigResourceManagerTagsFieldBuilder().getBuilder(); } @@ -14018,7 +14150,7 @@ public Builder clearDesiredNodePoolAutoConfigResourceManagerTags() { */ @java.lang.Override public boolean hasDesiredInTransitEncryptionConfig() { - return ((bitField1_ & 0x00040000) != 0); + return ((bitField1_ & 0x00080000) != 0); } /** * @@ -14053,7 +14185,7 @@ public int getDesiredInTransitEncryptionConfigValue() { */ public Builder setDesiredInTransitEncryptionConfigValue(int value) { desiredInTransitEncryptionConfig_ = value; - bitField1_ |= 0x00040000; + bitField1_ |= 0x00080000; onChanged(); return this; } @@ -14098,7 +14230,7 @@ public Builder setDesiredInTransitEncryptionConfig( if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00040000; + bitField1_ |= 0x00080000; desiredInTransitEncryptionConfig_ = value.getNumber(); onChanged(); return this; @@ -14117,7 +14249,7 @@ public Builder setDesiredInTransitEncryptionConfig( * @return This builder for chaining. */ public Builder clearDesiredInTransitEncryptionConfig() { - bitField1_ = (bitField1_ & ~0x00040000); + bitField1_ = (bitField1_ & ~0x00080000); desiredInTransitEncryptionConfig_ = 0; onChanged(); return this; @@ -14137,7 +14269,7 @@ public Builder clearDesiredInTransitEncryptionConfig() { */ @java.lang.Override public boolean hasDesiredEnableCiliumClusterwideNetworkPolicy() { - return ((bitField1_ & 0x00080000) != 0); + return ((bitField1_ & 0x00100000) != 0); } /** * @@ -14169,7 +14301,7 @@ public boolean getDesiredEnableCiliumClusterwideNetworkPolicy() { public Builder setDesiredEnableCiliumClusterwideNetworkPolicy(boolean value) { desiredEnableCiliumClusterwideNetworkPolicy_ = value; - bitField1_ |= 0x00080000; + bitField1_ |= 0x00100000; onChanged(); return this; } @@ -14185,7 +14317,7 @@ public Builder setDesiredEnableCiliumClusterwideNetworkPolicy(boolean value) { * @return This builder for chaining. */ public Builder clearDesiredEnableCiliumClusterwideNetworkPolicy() { - bitField1_ = (bitField1_ & ~0x00080000); + bitField1_ = (bitField1_ & ~0x00100000); desiredEnableCiliumClusterwideNetworkPolicy_ = false; onChanged(); return this; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java index 7e9e562cbd98..75e709f267c3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java @@ -1831,6 +1831,31 @@ public interface ClusterUpdateOrBuilder */ com.google.container.v1.K8sBetaAPIConfigOrBuilder getDesiredK8SBetaApisOrBuilder(); + /** + * + * + *
+   * Enable/Disable Multi-Networking for the cluster
+   * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return Whether the desiredEnableMultiNetworking field is set. + */ + boolean hasDesiredEnableMultiNetworking(); + /** + * + * + *
+   * Enable/Disable Multi-Networking for the cluster
+   * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return The desiredEnableMultiNetworking. + */ + boolean getDesiredEnableMultiNetworking(); + /** * * diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java index 1c7b9d72d461..4cc36980cdbe 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4133 + * google/container/v1/cluster_service.proto;l=4140 * @return The projectId. */ @java.lang.Override @@ -110,7 +110,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4133 + * google/container/v1/cluster_service.proto;l=4140 * @return The bytes for projectId. */ @java.lang.Override @@ -144,7 +144,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4139 + * google/container/v1/cluster_service.proto;l=4146 * @return The zone. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4139 + * google/container/v1/cluster_service.proto;l=4146 * @return The bytes for zone. */ @java.lang.Override @@ -205,7 +205,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4143 + * google/container/v1/cluster_service.proto;l=4150 * @return The clusterId. */ @java.lang.Override @@ -232,7 +232,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4143 + * google/container/v1/cluster_service.proto;l=4150 * @return The bytes for clusterId. */ @java.lang.Override @@ -729,7 +729,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4133 + * google/container/v1/cluster_service.proto;l=4140 * @return The projectId. */ @java.lang.Deprecated @@ -756,7 +756,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4133 + * google/container/v1/cluster_service.proto;l=4140 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -783,7 +783,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4133 + * google/container/v1/cluster_service.proto;l=4140 * @param value The projectId to set. * @return This builder for chaining. */ @@ -809,7 +809,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4133 + * google/container/v1/cluster_service.proto;l=4140 * @return This builder for chaining. */ @java.lang.Deprecated @@ -831,7 +831,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4133 + * google/container/v1/cluster_service.proto;l=4140 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -861,7 +861,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4139 + * google/container/v1/cluster_service.proto;l=4146 * @return The zone. */ @java.lang.Deprecated @@ -889,7 +889,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4139 + * google/container/v1/cluster_service.proto;l=4146 * @return The bytes for zone. */ @java.lang.Deprecated @@ -917,7 +917,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4139 + * google/container/v1/cluster_service.proto;l=4146 * @param value The zone to set. * @return This builder for chaining. */ @@ -944,7 +944,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4139 + * google/container/v1/cluster_service.proto;l=4146 * @return This builder for chaining. */ @java.lang.Deprecated @@ -967,7 +967,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4139 + * google/container/v1/cluster_service.proto;l=4146 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -995,7 +995,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4143 + * google/container/v1/cluster_service.proto;l=4150 * @return The clusterId. */ @java.lang.Deprecated @@ -1021,7 +1021,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4143 + * google/container/v1/cluster_service.proto;l=4150 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1047,7 +1047,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4143 + * google/container/v1/cluster_service.proto;l=4150 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1072,7 +1072,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4143 + * google/container/v1/cluster_service.proto;l=4150 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1093,7 +1093,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4143 + * google/container/v1/cluster_service.proto;l=4150 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java index 4af3b0ff07cb..f762d10874df 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CompleteIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4133 + * google/container/v1/cluster_service.proto;l=4140 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface CompleteIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4133 + * google/container/v1/cluster_service.proto;l=4140 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4139 + * google/container/v1/cluster_service.proto;l=4146 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4139 + * google/container/v1/cluster_service.proto;l=4146 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4143 + * google/container/v1/cluster_service.proto;l=4150 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4143 + * google/container/v1/cluster_service.proto;l=4150 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java index 7b84a22ec7ae..d7b2f0095d18 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2580 + * google/container/v1/cluster_service.proto;l=2587 * @return The projectId. */ @java.lang.Override @@ -110,7 +110,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2580 + * google/container/v1/cluster_service.proto;l=2587 * @return The bytes for projectId. */ @java.lang.Override @@ -144,7 +144,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2586 + * google/container/v1/cluster_service.proto;l=2593 * @return The zone. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2586 + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for zone. */ @java.lang.Override @@ -740,7 +740,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2580 + * google/container/v1/cluster_service.proto;l=2587 * @return The projectId. */ @java.lang.Deprecated @@ -767,7 +767,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2580 + * google/container/v1/cluster_service.proto;l=2587 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -794,7 +794,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2580 + * google/container/v1/cluster_service.proto;l=2587 * @param value The projectId to set. * @return This builder for chaining. */ @@ -820,7 +820,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2580 + * google/container/v1/cluster_service.proto;l=2587 * @return This builder for chaining. */ @java.lang.Deprecated @@ -842,7 +842,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2580 + * google/container/v1/cluster_service.proto;l=2587 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -872,7 +872,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2586 + * google/container/v1/cluster_service.proto;l=2593 * @return The zone. */ @java.lang.Deprecated @@ -900,7 +900,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2586 + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for zone. */ @java.lang.Deprecated @@ -928,7 +928,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2586 + * google/container/v1/cluster_service.proto;l=2593 * @param value The zone to set. * @return This builder for chaining. */ @@ -955,7 +955,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2586 + * google/container/v1/cluster_service.proto;l=2593 * @return This builder for chaining. */ @java.lang.Deprecated @@ -978,7 +978,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2586 + * google/container/v1/cluster_service.proto;l=2593 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java index 650b872c31b7..4c213d3903b6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CreateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2580 + * google/container/v1/cluster_service.proto;l=2587 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface CreateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2580 + * google/container/v1/cluster_service.proto;l=2587 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2586 + * google/container/v1/cluster_service.proto;l=2593 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2586 + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java index 974634a5914f..9263bf51f0bb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3198 + * google/container/v1/cluster_service.proto;l=3205 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3198 + * google/container/v1/cluster_service.proto;l=3205 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3204 + * google/container/v1/cluster_service.proto;l=3211 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3204 + * google/container/v1/cluster_service.proto;l=3211 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3208 + * google/container/v1/cluster_service.proto;l=3215 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3208 + * google/container/v1/cluster_service.proto;l=3215 * @return The bytes for clusterId. */ @java.lang.Override @@ -823,7 +823,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3198 + * google/container/v1/cluster_service.proto;l=3205 * @return The projectId. */ @java.lang.Deprecated @@ -850,7 +850,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3198 + * google/container/v1/cluster_service.proto;l=3205 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -877,7 +877,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3198 + * google/container/v1/cluster_service.proto;l=3205 * @param value The projectId to set. * @return This builder for chaining. */ @@ -903,7 +903,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3198 + * google/container/v1/cluster_service.proto;l=3205 * @return This builder for chaining. */ @java.lang.Deprecated @@ -925,7 +925,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3198 + * google/container/v1/cluster_service.proto;l=3205 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -955,7 +955,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3204 + * google/container/v1/cluster_service.proto;l=3211 * @return The zone. */ @java.lang.Deprecated @@ -983,7 +983,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3204 + * google/container/v1/cluster_service.proto;l=3211 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1011,7 +1011,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3204 + * google/container/v1/cluster_service.proto;l=3211 * @param value The zone to set. * @return This builder for chaining. */ @@ -1038,7 +1038,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3204 + * google/container/v1/cluster_service.proto;l=3211 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1061,7 +1061,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3204 + * google/container/v1/cluster_service.proto;l=3211 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3208 + * google/container/v1/cluster_service.proto;l=3215 * @return The clusterId. */ @java.lang.Deprecated @@ -1115,7 +1115,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3208 + * google/container/v1/cluster_service.proto;l=3215 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1141,7 +1141,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3208 + * google/container/v1/cluster_service.proto;l=3215 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1166,7 +1166,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3208 + * google/container/v1/cluster_service.proto;l=3215 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1187,7 +1187,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3208 + * google/container/v1/cluster_service.proto;l=3215 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java index f96d11f0e5d7..5088318ca4b6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CreateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3198 + * google/container/v1/cluster_service.proto;l=3205 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface CreateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3198 + * google/container/v1/cluster_service.proto;l=3205 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3204 + * google/container/v1/cluster_service.proto;l=3211 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3204 + * google/container/v1/cluster_service.proto;l=3211 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3208 + * google/container/v1/cluster_service.proto;l=3215 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3208 + * google/container/v1/cluster_service.proto;l=3215 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java index 59222368ff73..a375dec69660 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3022 + * google/container/v1/cluster_service.proto;l=3029 * @return The projectId. */ @java.lang.Override @@ -110,7 +110,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3022 + * google/container/v1/cluster_service.proto;l=3029 * @return The bytes for projectId. */ @java.lang.Override @@ -144,7 +144,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3028 + * google/container/v1/cluster_service.proto;l=3035 * @return The zone. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3028 + * google/container/v1/cluster_service.proto;l=3035 * @return The bytes for zone. */ @java.lang.Override @@ -205,7 +205,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3032 + * google/container/v1/cluster_service.proto;l=3039 * @return The clusterId. */ @java.lang.Override @@ -232,7 +232,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3032 + * google/container/v1/cluster_service.proto;l=3039 * @return The bytes for clusterId. */ @java.lang.Override @@ -728,7 +728,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3022 + * google/container/v1/cluster_service.proto;l=3029 * @return The projectId. */ @java.lang.Deprecated @@ -755,7 +755,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3022 + * google/container/v1/cluster_service.proto;l=3029 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -782,7 +782,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3022 + * google/container/v1/cluster_service.proto;l=3029 * @param value The projectId to set. * @return This builder for chaining. */ @@ -808,7 +808,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3022 + * google/container/v1/cluster_service.proto;l=3029 * @return This builder for chaining. */ @java.lang.Deprecated @@ -830,7 +830,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3022 + * google/container/v1/cluster_service.proto;l=3029 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -860,7 +860,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3028 + * google/container/v1/cluster_service.proto;l=3035 * @return The zone. */ @java.lang.Deprecated @@ -888,7 +888,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3028 + * google/container/v1/cluster_service.proto;l=3035 * @return The bytes for zone. */ @java.lang.Deprecated @@ -916,7 +916,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3028 + * google/container/v1/cluster_service.proto;l=3035 * @param value The zone to set. * @return This builder for chaining. */ @@ -943,7 +943,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3028 + * google/container/v1/cluster_service.proto;l=3035 * @return This builder for chaining. */ @java.lang.Deprecated @@ -966,7 +966,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3028 + * google/container/v1/cluster_service.proto;l=3035 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -994,7 +994,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3032 + * google/container/v1/cluster_service.proto;l=3039 * @return The clusterId. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3032 + * google/container/v1/cluster_service.proto;l=3039 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1046,7 +1046,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3032 + * google/container/v1/cluster_service.proto;l=3039 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1071,7 +1071,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3032 + * google/container/v1/cluster_service.proto;l=3039 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3032 + * google/container/v1/cluster_service.proto;l=3039 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java index 98a2abca5717..8195c7ee6105 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface DeleteClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3022 + * google/container/v1/cluster_service.proto;l=3029 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface DeleteClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3022 + * google/container/v1/cluster_service.proto;l=3029 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3028 + * google/container/v1/cluster_service.proto;l=3035 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3028 + * google/container/v1/cluster_service.proto;l=3035 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3032 + * google/container/v1/cluster_service.proto;l=3039 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3032 + * google/container/v1/cluster_service.proto;l=3039 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java index df86224adf4b..da5b859fe16f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3224 + * google/container/v1/cluster_service.proto;l=3231 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3224 + * google/container/v1/cluster_service.proto;l=3231 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3230 + * google/container/v1/cluster_service.proto;l=3237 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3230 + * google/container/v1/cluster_service.proto;l=3237 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3234 + * google/container/v1/cluster_service.proto;l=3241 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3234 + * google/container/v1/cluster_service.proto;l=3241 * @return The bytes for clusterId. */ @java.lang.Override @@ -265,7 +265,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3238 + * google/container/v1/cluster_service.proto;l=3245 * @return The nodePoolId. */ @java.lang.Override @@ -292,7 +292,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3238 + * google/container/v1/cluster_service.proto;l=3245 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -814,7 +814,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3224 + * google/container/v1/cluster_service.proto;l=3231 * @return The projectId. */ @java.lang.Deprecated @@ -841,7 +841,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3224 + * google/container/v1/cluster_service.proto;l=3231 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -868,7 +868,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3224 + * google/container/v1/cluster_service.proto;l=3231 * @param value The projectId to set. * @return This builder for chaining. */ @@ -894,7 +894,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3224 + * google/container/v1/cluster_service.proto;l=3231 * @return This builder for chaining. */ @java.lang.Deprecated @@ -916,7 +916,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3224 + * google/container/v1/cluster_service.proto;l=3231 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -946,7 +946,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3230 + * google/container/v1/cluster_service.proto;l=3237 * @return The zone. */ @java.lang.Deprecated @@ -974,7 +974,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3230 + * google/container/v1/cluster_service.proto;l=3237 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1002,7 +1002,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3230 + * google/container/v1/cluster_service.proto;l=3237 * @param value The zone to set. * @return This builder for chaining. */ @@ -1029,7 +1029,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3230 + * google/container/v1/cluster_service.proto;l=3237 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1052,7 +1052,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3230 + * google/container/v1/cluster_service.proto;l=3237 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1080,7 +1080,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3234 + * google/container/v1/cluster_service.proto;l=3241 * @return The clusterId. */ @java.lang.Deprecated @@ -1106,7 +1106,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3234 + * google/container/v1/cluster_service.proto;l=3241 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1132,7 +1132,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3234 + * google/container/v1/cluster_service.proto;l=3241 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1157,7 +1157,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3234 + * google/container/v1/cluster_service.proto;l=3241 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1178,7 +1178,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3234 + * google/container/v1/cluster_service.proto;l=3241 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1206,7 +1206,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3238 + * google/container/v1/cluster_service.proto;l=3245 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1232,7 +1232,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3238 + * google/container/v1/cluster_service.proto;l=3245 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1258,7 +1258,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3238 + * google/container/v1/cluster_service.proto;l=3245 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1283,7 +1283,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3238 + * google/container/v1/cluster_service.proto;l=3245 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1304,7 +1304,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3238 + * google/container/v1/cluster_service.proto;l=3245 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java index 02ffe82d1f69..1823bae24590 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface DeleteNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3224 + * google/container/v1/cluster_service.proto;l=3231 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface DeleteNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3224 + * google/container/v1/cluster_service.proto;l=3231 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3230 + * google/container/v1/cluster_service.proto;l=3237 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3230 + * google/container/v1/cluster_service.proto;l=3237 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3234 + * google/container/v1/cluster_service.proto;l=3241 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3234 + * google/container/v1/cluster_service.proto;l=3241 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface DeleteNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3238 + * google/container/v1/cluster_service.proto;l=3245 * @return The nodePoolId. */ @java.lang.Deprecated @@ -156,7 +156,7 @@ public interface DeleteNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3238 + * google/container/v1/cluster_service.proto;l=3245 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java index d8aba5c18e91..610a394f88db 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2602 + * google/container/v1/cluster_service.proto;l=2609 * @return The projectId. */ @java.lang.Override @@ -110,7 +110,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2602 + * google/container/v1/cluster_service.proto;l=2609 * @return The bytes for projectId. */ @java.lang.Override @@ -144,7 +144,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2608 + * google/container/v1/cluster_service.proto;l=2615 * @return The zone. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2608 + * google/container/v1/cluster_service.proto;l=2615 * @return The bytes for zone. */ @java.lang.Override @@ -205,7 +205,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2612 + * google/container/v1/cluster_service.proto;l=2619 * @return The clusterId. */ @java.lang.Override @@ -232,7 +232,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2612 + * google/container/v1/cluster_service.proto;l=2619 * @return The bytes for clusterId. */ @java.lang.Override @@ -728,7 +728,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2602 + * google/container/v1/cluster_service.proto;l=2609 * @return The projectId. */ @java.lang.Deprecated @@ -755,7 +755,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2602 + * google/container/v1/cluster_service.proto;l=2609 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -782,7 +782,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2602 + * google/container/v1/cluster_service.proto;l=2609 * @param value The projectId to set. * @return This builder for chaining. */ @@ -808,7 +808,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2602 + * google/container/v1/cluster_service.proto;l=2609 * @return This builder for chaining. */ @java.lang.Deprecated @@ -830,7 +830,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2602 + * google/container/v1/cluster_service.proto;l=2609 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -860,7 +860,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2608 + * google/container/v1/cluster_service.proto;l=2615 * @return The zone. */ @java.lang.Deprecated @@ -888,7 +888,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2608 + * google/container/v1/cluster_service.proto;l=2615 * @return The bytes for zone. */ @java.lang.Deprecated @@ -916,7 +916,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2608 + * google/container/v1/cluster_service.proto;l=2615 * @param value The zone to set. * @return This builder for chaining. */ @@ -943,7 +943,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2608 + * google/container/v1/cluster_service.proto;l=2615 * @return This builder for chaining. */ @java.lang.Deprecated @@ -966,7 +966,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2608 + * google/container/v1/cluster_service.proto;l=2615 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -994,7 +994,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2612 + * google/container/v1/cluster_service.proto;l=2619 * @return The clusterId. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2612 + * google/container/v1/cluster_service.proto;l=2619 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1046,7 +1046,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2612 + * google/container/v1/cluster_service.proto;l=2619 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1071,7 +1071,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2612 + * google/container/v1/cluster_service.proto;l=2619 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2612 + * google/container/v1/cluster_service.proto;l=2619 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java index 6051c2b1f38e..02843fc7f9db 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2602 + * google/container/v1/cluster_service.proto;l=2609 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface GetClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2602 + * google/container/v1/cluster_service.proto;l=2609 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2608 + * google/container/v1/cluster_service.proto;l=2615 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2608 + * google/container/v1/cluster_service.proto;l=2615 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2612 + * google/container/v1/cluster_service.proto;l=2619 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2612 + * google/container/v1/cluster_service.proto;l=2619 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java index efe9ba20def5..70d4cb2931fb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3273 + * google/container/v1/cluster_service.proto;l=3280 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3273 + * google/container/v1/cluster_service.proto;l=3280 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3279 + * google/container/v1/cluster_service.proto;l=3286 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3279 + * google/container/v1/cluster_service.proto;l=3286 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3283 + * google/container/v1/cluster_service.proto;l=3290 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3283 + * google/container/v1/cluster_service.proto;l=3290 * @return The bytes for clusterId. */ @java.lang.Override @@ -265,7 +265,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3287 + * google/container/v1/cluster_service.proto;l=3294 * @return The nodePoolId. */ @java.lang.Override @@ -292,7 +292,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3287 + * google/container/v1/cluster_service.proto;l=3294 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -814,7 +814,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3273 + * google/container/v1/cluster_service.proto;l=3280 * @return The projectId. */ @java.lang.Deprecated @@ -841,7 +841,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3273 + * google/container/v1/cluster_service.proto;l=3280 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -868,7 +868,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3273 + * google/container/v1/cluster_service.proto;l=3280 * @param value The projectId to set. * @return This builder for chaining. */ @@ -894,7 +894,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3273 + * google/container/v1/cluster_service.proto;l=3280 * @return This builder for chaining. */ @java.lang.Deprecated @@ -916,7 +916,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3273 + * google/container/v1/cluster_service.proto;l=3280 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -946,7 +946,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3279 + * google/container/v1/cluster_service.proto;l=3286 * @return The zone. */ @java.lang.Deprecated @@ -974,7 +974,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3279 + * google/container/v1/cluster_service.proto;l=3286 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1002,7 +1002,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3279 + * google/container/v1/cluster_service.proto;l=3286 * @param value The zone to set. * @return This builder for chaining. */ @@ -1029,7 +1029,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3279 + * google/container/v1/cluster_service.proto;l=3286 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1052,7 +1052,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3279 + * google/container/v1/cluster_service.proto;l=3286 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1080,7 +1080,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3283 + * google/container/v1/cluster_service.proto;l=3290 * @return The clusterId. */ @java.lang.Deprecated @@ -1106,7 +1106,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3283 + * google/container/v1/cluster_service.proto;l=3290 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1132,7 +1132,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3283 + * google/container/v1/cluster_service.proto;l=3290 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1157,7 +1157,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3283 + * google/container/v1/cluster_service.proto;l=3290 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1178,7 +1178,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3283 + * google/container/v1/cluster_service.proto;l=3290 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1206,7 +1206,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3287 + * google/container/v1/cluster_service.proto;l=3294 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1232,7 +1232,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3287 + * google/container/v1/cluster_service.proto;l=3294 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1258,7 +1258,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3287 + * google/container/v1/cluster_service.proto;l=3294 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1283,7 +1283,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3287 + * google/container/v1/cluster_service.proto;l=3294 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1304,7 +1304,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3287 + * google/container/v1/cluster_service.proto;l=3294 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java index 5c87854771e7..1a4423172c47 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3273 + * google/container/v1/cluster_service.proto;l=3280 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface GetNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3273 + * google/container/v1/cluster_service.proto;l=3280 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3279 + * google/container/v1/cluster_service.proto;l=3286 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3279 + * google/container/v1/cluster_service.proto;l=3286 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3283 + * google/container/v1/cluster_service.proto;l=3290 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3283 + * google/container/v1/cluster_service.proto;l=3290 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface GetNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3287 + * google/container/v1/cluster_service.proto;l=3294 * @return The nodePoolId. */ @java.lang.Deprecated @@ -156,7 +156,7 @@ public interface GetNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3287 + * google/container/v1/cluster_service.proto;l=3294 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java index 44933ade083c..5a9408217335 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3074 + * google/container/v1/cluster_service.proto;l=3081 * @return The projectId. */ @java.lang.Override @@ -110,7 +110,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3074 + * google/container/v1/cluster_service.proto;l=3081 * @return The bytes for projectId. */ @java.lang.Override @@ -144,7 +144,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3080 + * google/container/v1/cluster_service.proto;l=3087 * @return The zone. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3080 + * google/container/v1/cluster_service.proto;l=3087 * @return The bytes for zone. */ @java.lang.Override @@ -205,7 +205,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3084 + * google/container/v1/cluster_service.proto;l=3091 * @return The operationId. */ @java.lang.Override @@ -232,7 +232,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3084 + * google/container/v1/cluster_service.proto;l=3091 * @return The bytes for operationId. */ @java.lang.Override @@ -728,7 +728,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3074 + * google/container/v1/cluster_service.proto;l=3081 * @return The projectId. */ @java.lang.Deprecated @@ -755,7 +755,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3074 + * google/container/v1/cluster_service.proto;l=3081 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -782,7 +782,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3074 + * google/container/v1/cluster_service.proto;l=3081 * @param value The projectId to set. * @return This builder for chaining. */ @@ -808,7 +808,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3074 + * google/container/v1/cluster_service.proto;l=3081 * @return This builder for chaining. */ @java.lang.Deprecated @@ -830,7 +830,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3074 + * google/container/v1/cluster_service.proto;l=3081 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -860,7 +860,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3080 + * google/container/v1/cluster_service.proto;l=3087 * @return The zone. */ @java.lang.Deprecated @@ -888,7 +888,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3080 + * google/container/v1/cluster_service.proto;l=3087 * @return The bytes for zone. */ @java.lang.Deprecated @@ -916,7 +916,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3080 + * google/container/v1/cluster_service.proto;l=3087 * @param value The zone to set. * @return This builder for chaining. */ @@ -943,7 +943,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3080 + * google/container/v1/cluster_service.proto;l=3087 * @return This builder for chaining. */ @java.lang.Deprecated @@ -966,7 +966,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3080 + * google/container/v1/cluster_service.proto;l=3087 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -994,7 +994,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3084 + * google/container/v1/cluster_service.proto;l=3091 * @return The operationId. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3084 + * google/container/v1/cluster_service.proto;l=3091 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1046,7 +1046,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3084 + * google/container/v1/cluster_service.proto;l=3091 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1071,7 +1071,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3084 + * google/container/v1/cluster_service.proto;l=3091 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3084 + * google/container/v1/cluster_service.proto;l=3091 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java index 7e46a0ba86e6..1e2209eddba8 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3074 + * google/container/v1/cluster_service.proto;l=3081 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface GetOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3074 + * google/container/v1/cluster_service.proto;l=3081 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3080 + * google/container/v1/cluster_service.proto;l=3087 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3080 + * google/container/v1/cluster_service.proto;l=3087 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3084 + * google/container/v1/cluster_service.proto;l=3091 * @return The operationId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3084 + * google/container/v1/cluster_service.proto;l=3091 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java index 741d6a5d7ee0..40b765e35684 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java @@ -81,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3147 + * google/container/v1/cluster_service.proto;l=3154 * @return The projectId. */ @java.lang.Override @@ -109,7 +109,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3147 + * google/container/v1/cluster_service.proto;l=3154 * @return The bytes for projectId. */ @java.lang.Override @@ -143,7 +143,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3153 + * google/container/v1/cluster_service.proto;l=3160 * @return The zone. */ @java.lang.Override @@ -172,7 +172,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3153 + * google/container/v1/cluster_service.proto;l=3160 * @return The bytes for zone. */ @java.lang.Override @@ -644,7 +644,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3147 + * google/container/v1/cluster_service.proto;l=3154 * @return The projectId. */ @java.lang.Deprecated @@ -671,7 +671,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3147 + * google/container/v1/cluster_service.proto;l=3154 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -698,7 +698,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3147 + * google/container/v1/cluster_service.proto;l=3154 * @param value The projectId to set. * @return This builder for chaining. */ @@ -724,7 +724,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3147 + * google/container/v1/cluster_service.proto;l=3154 * @return This builder for chaining. */ @java.lang.Deprecated @@ -746,7 +746,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3147 + * google/container/v1/cluster_service.proto;l=3154 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -776,7 +776,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3153 + * google/container/v1/cluster_service.proto;l=3160 * @return The zone. */ @java.lang.Deprecated @@ -804,7 +804,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3153 + * google/container/v1/cluster_service.proto;l=3160 * @return The bytes for zone. */ @java.lang.Deprecated @@ -832,7 +832,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3153 + * google/container/v1/cluster_service.proto;l=3160 * @param value The zone to set. * @return This builder for chaining. */ @@ -859,7 +859,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3153 + * google/container/v1/cluster_service.proto;l=3160 * @return This builder for chaining. */ @java.lang.Deprecated @@ -882,7 +882,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3153 + * google/container/v1/cluster_service.proto;l=3160 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java index 69b00974290b..db880ce975fb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetServerConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3147 + * google/container/v1/cluster_service.proto;l=3154 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface GetServerConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3147 + * google/container/v1/cluster_service.proto;l=3154 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3153 + * google/container/v1/cluster_service.proto;l=3160 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3153 + * google/container/v1/cluster_service.proto;l=3160 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java index c13b414921b1..e1edb2e0768c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java @@ -187,7 +187,7 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1491 + * google/container/v1/cluster_service.proto;l=1495 * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -213,7 +213,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1491 + * google/container/v1/cluster_service.proto;l=1495 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override @@ -244,7 +244,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1494 + * google/container/v1/cluster_service.proto;l=1498 * @return The nodeIpv4Cidr. */ @java.lang.Override @@ -270,7 +270,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1494 + * google/container/v1/cluster_service.proto;l=1498 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override @@ -301,7 +301,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1497 + * google/container/v1/cluster_service.proto;l=1501 * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -327,7 +327,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1497 + * google/container/v1/cluster_service.proto;l=1501 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override @@ -2241,7 +2241,7 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1491 + * google/container/v1/cluster_service.proto;l=1495 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2266,7 +2266,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1491 + * google/container/v1/cluster_service.proto;l=1495 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2291,7 +2291,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1491 + * google/container/v1/cluster_service.proto;l=1495 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2315,7 +2315,7 @@ public Builder setClusterIpv4Cidr(java.lang.String value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1491 + * google/container/v1/cluster_service.proto;l=1495 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2335,7 +2335,7 @@ public Builder clearClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1491 + * google/container/v1/cluster_service.proto;l=1495 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2362,7 +2362,7 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1494 + * google/container/v1/cluster_service.proto;l=1498 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2387,7 +2387,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1494 + * google/container/v1/cluster_service.proto;l=1498 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2412,7 +2412,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1494 + * google/container/v1/cluster_service.proto;l=1498 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2436,7 +2436,7 @@ public Builder setNodeIpv4Cidr(java.lang.String value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1494 + * google/container/v1/cluster_service.proto;l=1498 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2456,7 +2456,7 @@ public Builder clearNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1494 + * google/container/v1/cluster_service.proto;l=1498 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2483,7 +2483,7 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1497 + * google/container/v1/cluster_service.proto;l=1501 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2508,7 +2508,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1497 + * google/container/v1/cluster_service.proto;l=1501 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2533,7 +2533,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1497 + * google/container/v1/cluster_service.proto;l=1501 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -2557,7 +2557,7 @@ public Builder setServicesIpv4Cidr(java.lang.String value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1497 + * google/container/v1/cluster_service.proto;l=1501 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2577,7 +2577,7 @@ public Builder clearServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1497 + * google/container/v1/cluster_service.proto;l=1501 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java index 2277e8895d7a..050b882e17cf 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java @@ -94,7 +94,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1491 + * google/container/v1/cluster_service.proto;l=1495 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1491 + * google/container/v1/cluster_service.proto;l=1495 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -125,7 +125,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1494 + * google/container/v1/cluster_service.proto;l=1498 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1494 + * google/container/v1/cluster_service.proto;l=1498 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -156,7 +156,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1497 + * google/container/v1/cluster_service.proto;l=1501 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -171,7 +171,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1497 + * google/container/v1/cluster_service.proto;l=1501 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java index fb98f8609263..ab843b9f9f03 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java @@ -81,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3044 + * google/container/v1/cluster_service.proto;l=3051 * @return The projectId. */ @java.lang.Override @@ -109,7 +109,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3044 + * google/container/v1/cluster_service.proto;l=3051 * @return The bytes for projectId. */ @java.lang.Override @@ -143,7 +143,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3050 + * google/container/v1/cluster_service.proto;l=3057 * @return The zone. */ @java.lang.Override @@ -172,7 +172,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3050 + * google/container/v1/cluster_service.proto;l=3057 * @return The bytes for zone. */ @java.lang.Override @@ -646,7 +646,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3044 + * google/container/v1/cluster_service.proto;l=3051 * @return The projectId. */ @java.lang.Deprecated @@ -673,7 +673,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3044 + * google/container/v1/cluster_service.proto;l=3051 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -700,7 +700,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3044 + * google/container/v1/cluster_service.proto;l=3051 * @param value The projectId to set. * @return This builder for chaining. */ @@ -726,7 +726,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3044 + * google/container/v1/cluster_service.proto;l=3051 * @return This builder for chaining. */ @java.lang.Deprecated @@ -748,7 +748,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3044 + * google/container/v1/cluster_service.proto;l=3051 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -778,7 +778,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3050 + * google/container/v1/cluster_service.proto;l=3057 * @return The zone. */ @java.lang.Deprecated @@ -806,7 +806,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3050 + * google/container/v1/cluster_service.proto;l=3057 * @return The bytes for zone. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3050 + * google/container/v1/cluster_service.proto;l=3057 * @param value The zone to set. * @return This builder for chaining. */ @@ -861,7 +861,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3050 + * google/container/v1/cluster_service.proto;l=3057 * @return This builder for chaining. */ @java.lang.Deprecated @@ -884,7 +884,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3050 + * google/container/v1/cluster_service.proto;l=3057 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java index b90239cb90cf..f293f8ed15ec 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListClustersRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3044 + * google/container/v1/cluster_service.proto;l=3051 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface ListClustersRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3044 + * google/container/v1/cluster_service.proto;l=3051 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3050 + * google/container/v1/cluster_service.proto;l=3057 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3050 + * google/container/v1/cluster_service.proto;l=3057 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java index 6358188843a4..5c006c26a962 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3258 * @return The projectId. */ @java.lang.Override @@ -110,7 +110,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3258 * @return The bytes for projectId. */ @java.lang.Override @@ -144,7 +144,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3264 * @return The zone. */ @java.lang.Override @@ -173,7 +173,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3264 * @return The bytes for zone. */ @java.lang.Override @@ -205,7 +205,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3268 * @return The clusterId. */ @java.lang.Override @@ -232,7 +232,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3268 * @return The bytes for clusterId. */ @java.lang.Override @@ -728,7 +728,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3258 * @return The projectId. */ @java.lang.Deprecated @@ -755,7 +755,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3258 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -782,7 +782,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3258 * @param value The projectId to set. * @return This builder for chaining. */ @@ -808,7 +808,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3258 * @return This builder for chaining. */ @java.lang.Deprecated @@ -830,7 +830,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3258 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -860,7 +860,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3264 * @return The zone. */ @java.lang.Deprecated @@ -888,7 +888,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3264 * @return The bytes for zone. */ @java.lang.Deprecated @@ -916,7 +916,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3264 * @param value The zone to set. * @return This builder for chaining. */ @@ -943,7 +943,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3264 * @return This builder for chaining. */ @java.lang.Deprecated @@ -966,7 +966,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3264 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -994,7 +994,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3268 * @return The clusterId. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3268 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1046,7 +1046,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3268 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1071,7 +1071,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3268 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3268 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java index 983802f9929e..0d5b8e3aeb69 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListNodePoolsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3258 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface ListNodePoolsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3251 + * google/container/v1/cluster_service.proto;l=3258 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3264 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3257 + * google/container/v1/cluster_service.proto;l=3264 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3268 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3261 + * google/container/v1/cluster_service.proto;l=3268 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java index 86dc663cb6fa..1bfb4b751032 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java @@ -81,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3096 + * google/container/v1/cluster_service.proto;l=3103 * @return The projectId. */ @java.lang.Override @@ -109,7 +109,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3096 + * google/container/v1/cluster_service.proto;l=3103 * @return The bytes for projectId. */ @java.lang.Override @@ -143,7 +143,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3102 + * google/container/v1/cluster_service.proto;l=3109 * @return The zone. */ @java.lang.Override @@ -172,7 +172,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3102 + * google/container/v1/cluster_service.proto;l=3109 * @return The bytes for zone. */ @java.lang.Override @@ -646,7 +646,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3096 + * google/container/v1/cluster_service.proto;l=3103 * @return The projectId. */ @java.lang.Deprecated @@ -673,7 +673,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3096 + * google/container/v1/cluster_service.proto;l=3103 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -700,7 +700,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3096 + * google/container/v1/cluster_service.proto;l=3103 * @param value The projectId to set. * @return This builder for chaining. */ @@ -726,7 +726,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3096 + * google/container/v1/cluster_service.proto;l=3103 * @return This builder for chaining. */ @java.lang.Deprecated @@ -748,7 +748,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3096 + * google/container/v1/cluster_service.proto;l=3103 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -778,7 +778,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3102 + * google/container/v1/cluster_service.proto;l=3109 * @return The zone. */ @java.lang.Deprecated @@ -806,7 +806,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3102 + * google/container/v1/cluster_service.proto;l=3109 * @return The bytes for zone. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3102 + * google/container/v1/cluster_service.proto;l=3109 * @param value The zone to set. * @return This builder for chaining. */ @@ -861,7 +861,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3102 + * google/container/v1/cluster_service.proto;l=3109 * @return This builder for chaining. */ @java.lang.Deprecated @@ -884,7 +884,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3102 + * google/container/v1/cluster_service.proto;l=3109 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java index a9976d808fe0..daa410f7c6b1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListOperationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3096 + * google/container/v1/cluster_service.proto;l=3103 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface ListOperationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3096 + * google/container/v1/cluster_service.proto;l=3103 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3102 + * google/container/v1/cluster_service.proto;l=3109 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3102 + * google/container/v1/cluster_service.proto;l=3109 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java index 5dfde56112d8..63dc8763e367 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java @@ -91,7 +91,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1149 + * google/container/v1/cluster_service.proto;l=1153 * @return The username. */ @java.lang.Override @@ -124,7 +124,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1149 + * google/container/v1/cluster_service.proto;l=1153 * @return The bytes for username. */ @java.lang.Override @@ -163,7 +163,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1160 + * google/container/v1/cluster_service.proto;l=1164 * @return The password. */ @java.lang.Override @@ -197,7 +197,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1160 + * google/container/v1/cluster_service.proto;l=1164 * @return The bytes for password. */ @java.lang.Override @@ -932,7 +932,7 @@ public Builder mergeFrom( * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1149 + * google/container/v1/cluster_service.proto;l=1153 * @return The username. */ @java.lang.Deprecated @@ -964,7 +964,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1149 + * google/container/v1/cluster_service.proto;l=1153 * @return The bytes for username. */ @java.lang.Deprecated @@ -996,7 +996,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1149 + * google/container/v1/cluster_service.proto;l=1153 * @param value The username to set. * @return This builder for chaining. */ @@ -1027,7 +1027,7 @@ public Builder setUsername(java.lang.String value) { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1149 + * google/container/v1/cluster_service.proto;l=1153 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1054,7 +1054,7 @@ public Builder clearUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1149 + * google/container/v1/cluster_service.proto;l=1153 * @param value The bytes for username to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1160 + * google/container/v1/cluster_service.proto;l=1164 * @return The password. */ @java.lang.Deprecated @@ -1122,7 +1122,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1160 + * google/container/v1/cluster_service.proto;l=1164 * @return The bytes for password. */ @java.lang.Deprecated @@ -1155,7 +1155,7 @@ public com.google.protobuf.ByteString getPasswordBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1160 + * google/container/v1/cluster_service.proto;l=1164 * @param value The password to set. * @return This builder for chaining. */ @@ -1187,7 +1187,7 @@ public Builder setPassword(java.lang.String value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1160 + * google/container/v1/cluster_service.proto;l=1164 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1215,7 +1215,7 @@ public Builder clearPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1160 + * google/container/v1/cluster_service.proto;l=1164 * @param value The bytes for password to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java index 6d7bdab34b5c..1456d062e91d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java @@ -41,7 +41,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1149 + * google/container/v1/cluster_service.proto;l=1153 * @return The username. */ @java.lang.Deprecated @@ -63,7 +63,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1149 + * google/container/v1/cluster_service.proto;l=1153 * @return The bytes for username. */ @java.lang.Deprecated @@ -87,7 +87,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1160 + * google/container/v1/cluster_service.proto;l=1164 * @return The password. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1160 + * google/container/v1/cluster_service.proto;l=1164 * @return The bytes for password. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java index eca09680c687..cb9a5771f4fc 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java @@ -2378,6 +2378,64 @@ public com.google.container.v1.SecondaryBootDiskOrBuilder getSecondaryBootDisksO return secondaryBootDisks_.get(index); } + public static final int SECONDARY_BOOT_DISK_UPDATE_STRATEGY_FIELD_NUMBER = 50; + private com.google.container.v1.SecondaryBootDiskUpdateStrategy secondaryBootDiskUpdateStrategy_; + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return Whether the secondaryBootDiskUpdateStrategy field is set. + */ + @java.lang.Override + public boolean hasSecondaryBootDiskUpdateStrategy() { + return ((bitField0_ & 0x00020000) != 0); + } + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return The secondaryBootDiskUpdateStrategy. + */ + @java.lang.Override + public com.google.container.v1.SecondaryBootDiskUpdateStrategy + getSecondaryBootDiskUpdateStrategy() { + return secondaryBootDiskUpdateStrategy_ == null + ? com.google.container.v1.SecondaryBootDiskUpdateStrategy.getDefaultInstance() + : secondaryBootDiskUpdateStrategy_; + } + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + @java.lang.Override + public com.google.container.v1.SecondaryBootDiskUpdateStrategyOrBuilder + getSecondaryBootDiskUpdateStrategyOrBuilder() { + return secondaryBootDiskUpdateStrategy_ == null + ? com.google.container.v1.SecondaryBootDiskUpdateStrategy.getDefaultInstance() + : secondaryBootDiskUpdateStrategy_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2500,6 +2558,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < secondaryBootDisks_.size(); i++) { output.writeMessage(48, secondaryBootDisks_.get(i)); } + if (((bitField0_ & 0x00020000) != 0)) { + output.writeMessage(50, getSecondaryBootDiskUpdateStrategy()); + } getUnknownFields().writeTo(output); } @@ -2662,6 +2723,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(48, secondaryBootDisks_.get(i)); } + if (((bitField0_ & 0x00020000) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 50, getSecondaryBootDiskUpdateStrategy()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2767,6 +2833,12 @@ public boolean equals(final java.lang.Object obj) { } if (getEnableConfidentialStorage() != other.getEnableConfidentialStorage()) return false; if (!getSecondaryBootDisksList().equals(other.getSecondaryBootDisksList())) return false; + if (hasSecondaryBootDiskUpdateStrategy() != other.hasSecondaryBootDiskUpdateStrategy()) + return false; + if (hasSecondaryBootDiskUpdateStrategy()) { + if (!getSecondaryBootDiskUpdateStrategy().equals(other.getSecondaryBootDiskUpdateStrategy())) + return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2902,6 +2974,10 @@ public int hashCode() { hash = (37 * hash) + SECONDARY_BOOT_DISKS_FIELD_NUMBER; hash = (53 * hash) + getSecondaryBootDisksList().hashCode(); } + if (hasSecondaryBootDiskUpdateStrategy()) { + hash = (37 * hash) + SECONDARY_BOOT_DISK_UPDATE_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + getSecondaryBootDiskUpdateStrategy().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -3096,6 +3172,7 @@ private void maybeForceBuilderInitialization() { getSoleTenantConfigFieldBuilder(); getResourceManagerTagsFieldBuilder(); getSecondaryBootDisksFieldBuilder(); + getSecondaryBootDiskUpdateStrategyFieldBuilder(); } } @@ -3227,6 +3304,11 @@ public Builder clear() { secondaryBootDisksBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000010); + secondaryBootDiskUpdateStrategy_ = null; + if (secondaryBootDiskUpdateStrategyBuilder_ != null) { + secondaryBootDiskUpdateStrategyBuilder_.dispose(); + secondaryBootDiskUpdateStrategyBuilder_ = null; + } return this; } @@ -3459,6 +3541,13 @@ private void buildPartial1(com.google.container.v1.NodeConfig result) { if (((from_bitField1_ & 0x00000008) != 0)) { result.enableConfidentialStorage_ = enableConfidentialStorage_; } + if (((from_bitField1_ & 0x00000020) != 0)) { + result.secondaryBootDiskUpdateStrategy_ = + secondaryBootDiskUpdateStrategyBuilder_ == null + ? secondaryBootDiskUpdateStrategy_ + : secondaryBootDiskUpdateStrategyBuilder_.build(); + to_bitField0_ |= 0x00020000; + } result.bitField0_ |= to_bitField0_; } @@ -3715,6 +3804,9 @@ public Builder mergeFrom(com.google.container.v1.NodeConfig other) { } } } + if (other.hasSecondaryBootDiskUpdateStrategy()) { + mergeSecondaryBootDiskUpdateStrategy(other.getSecondaryBootDiskUpdateStrategy()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -4015,6 +4107,14 @@ public Builder mergeFrom( } break; } // case 386 + case 402: + { + input.readMessage( + getSecondaryBootDiskUpdateStrategyFieldBuilder().getBuilder(), + extensionRegistry); + bitField1_ |= 0x00000020; + break; + } // case 402 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -10864,6 +10964,217 @@ public com.google.container.v1.SecondaryBootDisk.Builder addSecondaryBootDisksBu return secondaryBootDisksBuilder_; } + private com.google.container.v1.SecondaryBootDiskUpdateStrategy + secondaryBootDiskUpdateStrategy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.SecondaryBootDiskUpdateStrategy, + com.google.container.v1.SecondaryBootDiskUpdateStrategy.Builder, + com.google.container.v1.SecondaryBootDiskUpdateStrategyOrBuilder> + secondaryBootDiskUpdateStrategyBuilder_; + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return Whether the secondaryBootDiskUpdateStrategy field is set. + */ + public boolean hasSecondaryBootDiskUpdateStrategy() { + return ((bitField1_ & 0x00000020) != 0); + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return The secondaryBootDiskUpdateStrategy. + */ + public com.google.container.v1.SecondaryBootDiskUpdateStrategy + getSecondaryBootDiskUpdateStrategy() { + if (secondaryBootDiskUpdateStrategyBuilder_ == null) { + return secondaryBootDiskUpdateStrategy_ == null + ? com.google.container.v1.SecondaryBootDiskUpdateStrategy.getDefaultInstance() + : secondaryBootDiskUpdateStrategy_; + } else { + return secondaryBootDiskUpdateStrategyBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public Builder setSecondaryBootDiskUpdateStrategy( + com.google.container.v1.SecondaryBootDiskUpdateStrategy value) { + if (secondaryBootDiskUpdateStrategyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + secondaryBootDiskUpdateStrategy_ = value; + } else { + secondaryBootDiskUpdateStrategyBuilder_.setMessage(value); + } + bitField1_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public Builder setSecondaryBootDiskUpdateStrategy( + com.google.container.v1.SecondaryBootDiskUpdateStrategy.Builder builderForValue) { + if (secondaryBootDiskUpdateStrategyBuilder_ == null) { + secondaryBootDiskUpdateStrategy_ = builderForValue.build(); + } else { + secondaryBootDiskUpdateStrategyBuilder_.setMessage(builderForValue.build()); + } + bitField1_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public Builder mergeSecondaryBootDiskUpdateStrategy( + com.google.container.v1.SecondaryBootDiskUpdateStrategy value) { + if (secondaryBootDiskUpdateStrategyBuilder_ == null) { + if (((bitField1_ & 0x00000020) != 0) + && secondaryBootDiskUpdateStrategy_ != null + && secondaryBootDiskUpdateStrategy_ + != com.google.container.v1.SecondaryBootDiskUpdateStrategy.getDefaultInstance()) { + getSecondaryBootDiskUpdateStrategyBuilder().mergeFrom(value); + } else { + secondaryBootDiskUpdateStrategy_ = value; + } + } else { + secondaryBootDiskUpdateStrategyBuilder_.mergeFrom(value); + } + if (secondaryBootDiskUpdateStrategy_ != null) { + bitField1_ |= 0x00000020; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public Builder clearSecondaryBootDiskUpdateStrategy() { + bitField1_ = (bitField1_ & ~0x00000020); + secondaryBootDiskUpdateStrategy_ = null; + if (secondaryBootDiskUpdateStrategyBuilder_ != null) { + secondaryBootDiskUpdateStrategyBuilder_.dispose(); + secondaryBootDiskUpdateStrategyBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public com.google.container.v1.SecondaryBootDiskUpdateStrategy.Builder + getSecondaryBootDiskUpdateStrategyBuilder() { + bitField1_ |= 0x00000020; + onChanged(); + return getSecondaryBootDiskUpdateStrategyFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public com.google.container.v1.SecondaryBootDiskUpdateStrategyOrBuilder + getSecondaryBootDiskUpdateStrategyOrBuilder() { + if (secondaryBootDiskUpdateStrategyBuilder_ != null) { + return secondaryBootDiskUpdateStrategyBuilder_.getMessageOrBuilder(); + } else { + return secondaryBootDiskUpdateStrategy_ == null + ? com.google.container.v1.SecondaryBootDiskUpdateStrategy.getDefaultInstance() + : secondaryBootDiskUpdateStrategy_; + } + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.SecondaryBootDiskUpdateStrategy, + com.google.container.v1.SecondaryBootDiskUpdateStrategy.Builder, + com.google.container.v1.SecondaryBootDiskUpdateStrategyOrBuilder> + getSecondaryBootDiskUpdateStrategyFieldBuilder() { + if (secondaryBootDiskUpdateStrategyBuilder_ == null) { + secondaryBootDiskUpdateStrategyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.SecondaryBootDiskUpdateStrategy, + com.google.container.v1.SecondaryBootDiskUpdateStrategy.Builder, + com.google.container.v1.SecondaryBootDiskUpdateStrategyOrBuilder>( + getSecondaryBootDiskUpdateStrategy(), getParentForChildren(), isClean()); + secondaryBootDiskUpdateStrategy_ = null; + } + return secondaryBootDiskUpdateStrategyBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java index 4338ed04336f..0c362424b0c9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java @@ -1662,4 +1662,46 @@ java.lang.String getResourceLabelsOrDefault( * repeated .google.container.v1.SecondaryBootDisk secondary_boot_disks = 48; */ com.google.container.v1.SecondaryBootDiskOrBuilder getSecondaryBootDisksOrBuilder(int index); + + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return Whether the secondaryBootDiskUpdateStrategy field is set. + */ + boolean hasSecondaryBootDiskUpdateStrategy(); + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return The secondaryBootDiskUpdateStrategy. + */ + com.google.container.v1.SecondaryBootDiskUpdateStrategy getSecondaryBootDiskUpdateStrategy(); + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + com.google.container.v1.SecondaryBootDiskUpdateStrategyOrBuilder + getSecondaryBootDiskUpdateStrategyOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java index ba0f52043f60..9234b2285ebf 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java @@ -6686,7 +6686,7 @@ public com.google.container.v1.NodePool.Status getStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3565 + * google/container/v1/cluster_service.proto;l=3572 * @return The statusMessage. */ @java.lang.Override @@ -6714,7 +6714,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3565 + * google/container/v1/cluster_service.proto;l=3572 * @return The bytes for statusMessage. */ @java.lang.Override @@ -9638,7 +9638,7 @@ public Builder clearStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3565 + * google/container/v1/cluster_service.proto;l=3572 * @return The statusMessage. */ @java.lang.Deprecated @@ -9665,7 +9665,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3565 + * google/container/v1/cluster_service.proto;l=3572 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -9692,7 +9692,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3565 + * google/container/v1/cluster_service.proto;l=3572 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -9718,7 +9718,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3565 + * google/container/v1/cluster_service.proto;l=3572 * @return This builder for chaining. */ @java.lang.Deprecated @@ -9740,7 +9740,7 @@ public Builder clearStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3565 + * google/container/v1/cluster_service.proto;l=3572 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java index 94f5fd18078d..4cea8788fbfb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java @@ -383,7 +383,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3565 + * google/container/v1/cluster_service.proto;l=3572 * @return The statusMessage. */ @java.lang.Deprecated @@ -400,7 +400,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3565 + * google/container/v1/cluster_service.proto;l=3572 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java index e8a6cabfe814..3e471a27a4c6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java @@ -989,7 +989,7 @@ public com.google.protobuf.ByteString getNameBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2468 + * google/container/v1/cluster_service.proto;l=2475 * @return The zone. */ @java.lang.Override @@ -1017,7 +1017,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2468 + * google/container/v1/cluster_service.proto;l=2475 * @return The bytes for zone. */ @java.lang.Override @@ -1172,7 +1172,7 @@ public com.google.protobuf.ByteString getDetailBytes() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2481 + * google/container/v1/cluster_service.proto;l=2488 * @return The statusMessage. */ @java.lang.Override @@ -1201,7 +1201,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2481 + * google/container/v1/cluster_service.proto;l=2488 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2712,7 +2712,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2468 + * google/container/v1/cluster_service.proto;l=2475 * @return The zone. */ @java.lang.Deprecated @@ -2739,7 +2739,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2468 + * google/container/v1/cluster_service.proto;l=2475 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2766,7 +2766,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2468 + * google/container/v1/cluster_service.proto;l=2475 * @param value The zone to set. * @return This builder for chaining. */ @@ -2792,7 +2792,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2468 + * google/container/v1/cluster_service.proto;l=2475 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2814,7 +2814,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2468 + * google/container/v1/cluster_service.proto;l=2475 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -3130,7 +3130,7 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2481 + * google/container/v1/cluster_service.proto;l=2488 * @return The statusMessage. */ @java.lang.Deprecated @@ -3158,7 +3158,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2481 + * google/container/v1/cluster_service.proto;l=2488 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -3186,7 +3186,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2481 + * google/container/v1/cluster_service.proto;l=2488 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -3213,7 +3213,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2481 + * google/container/v1/cluster_service.proto;l=2488 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3236,7 +3236,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2481 + * google/container/v1/cluster_service.proto;l=2488 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java index b735f8e5baa7..9855322c926d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java @@ -61,7 +61,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2468 + * google/container/v1/cluster_service.proto;l=2475 * @return The zone. */ @java.lang.Deprecated @@ -78,7 +78,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2468 + * google/container/v1/cluster_service.proto;l=2475 * @return The bytes for zone. */ @java.lang.Deprecated @@ -172,7 +172,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2481 + * google/container/v1/cluster_service.proto;l=2488 * @return The statusMessage. */ @java.lang.Deprecated @@ -190,7 +190,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2481 + * google/container/v1/cluster_service.proto;l=2488 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java index dd77d88be164..d3ec83dd56f1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3851 + * google/container/v1/cluster_service.proto;l=3858 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3851 + * google/container/v1/cluster_service.proto;l=3858 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3857 + * google/container/v1/cluster_service.proto;l=3864 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3857 + * google/container/v1/cluster_service.proto;l=3864 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3861 + * google/container/v1/cluster_service.proto;l=3868 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3861 + * google/container/v1/cluster_service.proto;l=3868 * @return The bytes for clusterId. */ @java.lang.Override @@ -268,7 +268,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3865 + * google/container/v1/cluster_service.proto;l=3872 * @return The nodePoolId. */ @java.lang.Override @@ -295,7 +295,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3865 + * google/container/v1/cluster_service.proto;l=3872 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -862,7 +862,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3851 + * google/container/v1/cluster_service.proto;l=3858 * @return The projectId. */ @java.lang.Deprecated @@ -889,7 +889,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3851 + * google/container/v1/cluster_service.proto;l=3858 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -916,7 +916,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3851 + * google/container/v1/cluster_service.proto;l=3858 * @param value The projectId to set. * @return This builder for chaining. */ @@ -942,7 +942,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3851 + * google/container/v1/cluster_service.proto;l=3858 * @return This builder for chaining. */ @java.lang.Deprecated @@ -964,7 +964,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3851 + * google/container/v1/cluster_service.proto;l=3858 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -994,7 +994,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3857 + * google/container/v1/cluster_service.proto;l=3864 * @return The zone. */ @java.lang.Deprecated @@ -1022,7 +1022,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3857 + * google/container/v1/cluster_service.proto;l=3864 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3857 + * google/container/v1/cluster_service.proto;l=3864 * @param value The zone to set. * @return This builder for chaining. */ @@ -1077,7 +1077,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3857 + * google/container/v1/cluster_service.proto;l=3864 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1100,7 +1100,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3857 + * google/container/v1/cluster_service.proto;l=3864 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1128,7 +1128,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3861 + * google/container/v1/cluster_service.proto;l=3868 * @return The clusterId. */ @java.lang.Deprecated @@ -1154,7 +1154,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3861 + * google/container/v1/cluster_service.proto;l=3868 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1180,7 +1180,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3861 + * google/container/v1/cluster_service.proto;l=3868 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1205,7 +1205,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3861 + * google/container/v1/cluster_service.proto;l=3868 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1226,7 +1226,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3861 + * google/container/v1/cluster_service.proto;l=3868 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1254,7 +1254,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3865 + * See google/container/v1/cluster_service.proto;l=3872 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1280,7 +1280,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3865 + * See google/container/v1/cluster_service.proto;l=3872 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1306,7 +1306,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3865 + * See google/container/v1/cluster_service.proto;l=3872 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1331,7 +1331,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3865 + * See google/container/v1/cluster_service.proto;l=3872 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1352,7 +1352,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3865 + * See google/container/v1/cluster_service.proto;l=3872 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java index c999f43ba86d..c6f53c3d1eba 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3851 + * google/container/v1/cluster_service.proto;l=3858 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3851 + * google/container/v1/cluster_service.proto;l=3858 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3857 + * google/container/v1/cluster_service.proto;l=3864 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3857 + * google/container/v1/cluster_service.proto;l=3864 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3861 + * google/container/v1/cluster_service.proto;l=3868 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3861 + * google/container/v1/cluster_service.proto;l=3868 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3865 + * google/container/v1/cluster_service.proto;l=3872 * @return The nodePoolId. */ @java.lang.Deprecated @@ -156,7 +156,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3865 + * google/container/v1/cluster_service.proto;l=3872 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecondaryBootDiskUpdateStrategy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecondaryBootDiskUpdateStrategy.java new file mode 100644 index 000000000000..9cff0a932a1a --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecondaryBootDiskUpdateStrategy.java @@ -0,0 +1,436 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.container.v1; + +/** + * + * + *
+ * SecondaryBootDiskUpdateStrategy is a placeholder which will be extended
+ * in the future to define different options for updating secondary boot disks.
+ * 
+ * + * Protobuf type {@code google.container.v1.SecondaryBootDiskUpdateStrategy} + */ +public final class SecondaryBootDiskUpdateStrategy extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1.SecondaryBootDiskUpdateStrategy) + SecondaryBootDiskUpdateStrategyOrBuilder { + private static final long serialVersionUID = 0L; + // Use SecondaryBootDiskUpdateStrategy.newBuilder() to construct. + private SecondaryBootDiskUpdateStrategy( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SecondaryBootDiskUpdateStrategy() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SecondaryBootDiskUpdateStrategy(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SecondaryBootDiskUpdateStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SecondaryBootDiskUpdateStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.SecondaryBootDiskUpdateStrategy.class, + com.google.container.v1.SecondaryBootDiskUpdateStrategy.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.container.v1.SecondaryBootDiskUpdateStrategy)) { + return super.equals(obj); + } + com.google.container.v1.SecondaryBootDiskUpdateStrategy other = + (com.google.container.v1.SecondaryBootDiskUpdateStrategy) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy 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.container.v1.SecondaryBootDiskUpdateStrategy parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.container.v1.SecondaryBootDiskUpdateStrategy prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * SecondaryBootDiskUpdateStrategy is a placeholder which will be extended
+   * in the future to define different options for updating secondary boot disks.
+   * 
+ * + * Protobuf type {@code google.container.v1.SecondaryBootDiskUpdateStrategy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1.SecondaryBootDiskUpdateStrategy) + com.google.container.v1.SecondaryBootDiskUpdateStrategyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SecondaryBootDiskUpdateStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SecondaryBootDiskUpdateStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1.SecondaryBootDiskUpdateStrategy.class, + com.google.container.v1.SecondaryBootDiskUpdateStrategy.Builder.class); + } + + // Construct using com.google.container.v1.SecondaryBootDiskUpdateStrategy.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SecondaryBootDiskUpdateStrategy_descriptor; + } + + @java.lang.Override + public com.google.container.v1.SecondaryBootDiskUpdateStrategy getDefaultInstanceForType() { + return com.google.container.v1.SecondaryBootDiskUpdateStrategy.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1.SecondaryBootDiskUpdateStrategy build() { + com.google.container.v1.SecondaryBootDiskUpdateStrategy result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1.SecondaryBootDiskUpdateStrategy buildPartial() { + com.google.container.v1.SecondaryBootDiskUpdateStrategy result = + new com.google.container.v1.SecondaryBootDiskUpdateStrategy(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.container.v1.SecondaryBootDiskUpdateStrategy) { + return mergeFrom((com.google.container.v1.SecondaryBootDiskUpdateStrategy) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1.SecondaryBootDiskUpdateStrategy other) { + if (other == com.google.container.v1.SecondaryBootDiskUpdateStrategy.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1.SecondaryBootDiskUpdateStrategy) + } + + // @@protoc_insertion_point(class_scope:google.container.v1.SecondaryBootDiskUpdateStrategy) + private static final com.google.container.v1.SecondaryBootDiskUpdateStrategy DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1.SecondaryBootDiskUpdateStrategy(); + } + + public static com.google.container.v1.SecondaryBootDiskUpdateStrategy getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecondaryBootDiskUpdateStrategy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1.SecondaryBootDiskUpdateStrategy getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecondaryBootDiskUpdateStrategyOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecondaryBootDiskUpdateStrategyOrBuilder.java new file mode 100644 index 000000000000..433cd65a0bcf --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecondaryBootDiskUpdateStrategyOrBuilder.java @@ -0,0 +1,25 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.container.v1; + +public interface SecondaryBootDiskUpdateStrategyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.SecondaryBootDiskUpdateStrategy) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java index 84ece1616dd0..4b6e0e1c6c40 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2885 + * google/container/v1/cluster_service.proto;l=2892 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2885 + * google/container/v1/cluster_service.proto;l=2892 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2891 + * google/container/v1/cluster_service.proto;l=2898 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2891 + * google/container/v1/cluster_service.proto;l=2898 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2895 + * google/container/v1/cluster_service.proto;l=2902 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2895 + * google/container/v1/cluster_service.proto;l=2902 * @return The bytes for clusterId. */ @java.lang.Override @@ -832,7 +832,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2885 + * google/container/v1/cluster_service.proto;l=2892 * @return The projectId. */ @java.lang.Deprecated @@ -859,7 +859,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2885 + * google/container/v1/cluster_service.proto;l=2892 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -886,7 +886,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2885 + * google/container/v1/cluster_service.proto;l=2892 * @param value The projectId to set. * @return This builder for chaining. */ @@ -912,7 +912,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2885 + * google/container/v1/cluster_service.proto;l=2892 * @return This builder for chaining. */ @java.lang.Deprecated @@ -934,7 +934,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2885 + * google/container/v1/cluster_service.proto;l=2892 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -964,7 +964,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2891 + * google/container/v1/cluster_service.proto;l=2898 * @return The zone. */ @java.lang.Deprecated @@ -992,7 +992,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2891 + * google/container/v1/cluster_service.proto;l=2898 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2891 + * google/container/v1/cluster_service.proto;l=2898 * @param value The zone to set. * @return This builder for chaining. */ @@ -1047,7 +1047,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2891 + * google/container/v1/cluster_service.proto;l=2898 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1070,7 +1070,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2891 + * google/container/v1/cluster_service.proto;l=2898 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1098,7 +1098,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2895 + * google/container/v1/cluster_service.proto;l=2902 * @return The clusterId. */ @java.lang.Deprecated @@ -1124,7 +1124,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2895 + * google/container/v1/cluster_service.proto;l=2902 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1150,7 +1150,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2895 + * google/container/v1/cluster_service.proto;l=2902 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1175,7 +1175,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2895 + * google/container/v1/cluster_service.proto;l=2902 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1196,7 +1196,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2895 + * google/container/v1/cluster_service.proto;l=2902 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java index 1dcab809fbe9..b931a0674633 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetAddonsConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2885 + * google/container/v1/cluster_service.proto;l=2892 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface SetAddonsConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2885 + * google/container/v1/cluster_service.proto;l=2892 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2891 + * google/container/v1/cluster_service.proto;l=2898 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2891 + * google/container/v1/cluster_service.proto;l=2898 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2895 + * google/container/v1/cluster_service.proto;l=2902 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2895 + * google/container/v1/cluster_service.proto;l=2902 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java index a6f1c2f5f7b5..2b770e7d38ab 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java @@ -97,7 +97,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4047 + * google/container/v1/cluster_service.proto;l=4054 * @return The projectId. */ @java.lang.Override @@ -125,7 +125,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4047 + * google/container/v1/cluster_service.proto;l=4054 * @return The bytes for projectId. */ @java.lang.Override @@ -159,7 +159,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4053 + * google/container/v1/cluster_service.proto;l=4060 * @return The zone. */ @java.lang.Override @@ -188,7 +188,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4053 + * google/container/v1/cluster_service.proto;l=4060 * @return The bytes for zone. */ @java.lang.Override @@ -220,7 +220,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4064 * @return The clusterId. */ @java.lang.Override @@ -247,7 +247,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4064 * @return The bytes for clusterId. */ @java.lang.Override @@ -995,7 +995,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4047 + * google/container/v1/cluster_service.proto;l=4054 * @return The projectId. */ @java.lang.Deprecated @@ -1022,7 +1022,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4047 + * google/container/v1/cluster_service.proto;l=4054 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1049,7 +1049,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4047 + * google/container/v1/cluster_service.proto;l=4054 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4047 + * google/container/v1/cluster_service.proto;l=4054 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1097,7 +1097,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4047 + * google/container/v1/cluster_service.proto;l=4054 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1127,7 +1127,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4053 + * google/container/v1/cluster_service.proto;l=4060 * @return The zone. */ @java.lang.Deprecated @@ -1155,7 +1155,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4053 + * google/container/v1/cluster_service.proto;l=4060 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1183,7 +1183,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4053 + * google/container/v1/cluster_service.proto;l=4060 * @param value The zone to set. * @return This builder for chaining. */ @@ -1210,7 +1210,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4053 + * google/container/v1/cluster_service.proto;l=4060 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1233,7 +1233,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4053 + * google/container/v1/cluster_service.proto;l=4060 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1261,7 +1261,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4064 * @return The clusterId. */ @java.lang.Deprecated @@ -1287,7 +1287,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4064 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1313,7 +1313,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4064 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1338,7 +1338,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4064 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1359,7 +1359,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4064 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java index 1e4faa5ac067..2b918d52be1d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLabelsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4047 + * google/container/v1/cluster_service.proto;l=4054 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface SetLabelsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4047 + * google/container/v1/cluster_service.proto;l=4054 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4053 + * google/container/v1/cluster_service.proto;l=4060 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4053 + * google/container/v1/cluster_service.proto;l=4060 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4064 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4057 + * google/container/v1/cluster_service.proto;l=4064 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java index 5ce8b13a0526..067796b66502 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4082 + * google/container/v1/cluster_service.proto;l=4089 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4082 + * google/container/v1/cluster_service.proto;l=4089 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4088 + * google/container/v1/cluster_service.proto;l=4095 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4088 + * google/container/v1/cluster_service.proto;l=4095 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4092 + * google/container/v1/cluster_service.proto;l=4099 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4092 + * google/container/v1/cluster_service.proto;l=4099 * @return The bytes for clusterId. */ @java.lang.Override @@ -770,7 +770,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4082 + * google/container/v1/cluster_service.proto;l=4089 * @return The projectId. */ @java.lang.Deprecated @@ -797,7 +797,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4082 + * google/container/v1/cluster_service.proto;l=4089 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -824,7 +824,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4082 + * google/container/v1/cluster_service.proto;l=4089 * @param value The projectId to set. * @return This builder for chaining. */ @@ -850,7 +850,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4082 + * google/container/v1/cluster_service.proto;l=4089 * @return This builder for chaining. */ @java.lang.Deprecated @@ -872,7 +872,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4082 + * google/container/v1/cluster_service.proto;l=4089 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -902,7 +902,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4088 + * google/container/v1/cluster_service.proto;l=4095 * @return The zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4088 + * google/container/v1/cluster_service.proto;l=4095 * @return The bytes for zone. */ @java.lang.Deprecated @@ -958,7 +958,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4088 + * google/container/v1/cluster_service.proto;l=4095 * @param value The zone to set. * @return This builder for chaining. */ @@ -985,7 +985,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4088 + * google/container/v1/cluster_service.proto;l=4095 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1008,7 +1008,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4088 + * google/container/v1/cluster_service.proto;l=4095 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1036,7 +1036,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4092 + * google/container/v1/cluster_service.proto;l=4099 * @return The clusterId. */ @java.lang.Deprecated @@ -1062,7 +1062,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4092 + * google/container/v1/cluster_service.proto;l=4099 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1088,7 +1088,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4092 + * google/container/v1/cluster_service.proto;l=4099 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1113,7 +1113,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4092 + * google/container/v1/cluster_service.proto;l=4099 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1134,7 +1134,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4092 + * google/container/v1/cluster_service.proto;l=4099 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java index d0b9d94dd895..0f76ddfab172 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLegacyAbacRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4082 + * google/container/v1/cluster_service.proto;l=4089 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface SetLegacyAbacRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4082 + * google/container/v1/cluster_service.proto;l=4089 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4088 + * google/container/v1/cluster_service.proto;l=4095 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4088 + * google/container/v1/cluster_service.proto;l=4095 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4092 + * google/container/v1/cluster_service.proto;l=4099 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4092 + * google/container/v1/cluster_service.proto;l=4099 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java index 99dd16201104..3b361feea978 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2911 + * google/container/v1/cluster_service.proto;l=2918 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2911 + * google/container/v1/cluster_service.proto;l=2918 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2917 + * google/container/v1/cluster_service.proto;l=2924 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2917 + * google/container/v1/cluster_service.proto;l=2924 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2921 + * google/container/v1/cluster_service.proto;l=2928 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2921 + * google/container/v1/cluster_service.proto;l=2928 * @return The bytes for clusterId. */ @java.lang.Override @@ -855,7 +855,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2911 + * google/container/v1/cluster_service.proto;l=2918 * @return The projectId. */ @java.lang.Deprecated @@ -882,7 +882,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2911 + * google/container/v1/cluster_service.proto;l=2918 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -909,7 +909,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2911 + * google/container/v1/cluster_service.proto;l=2918 * @param value The projectId to set. * @return This builder for chaining. */ @@ -935,7 +935,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2911 + * google/container/v1/cluster_service.proto;l=2918 * @return This builder for chaining. */ @java.lang.Deprecated @@ -957,7 +957,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2911 + * google/container/v1/cluster_service.proto;l=2918 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -987,7 +987,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2917 + * google/container/v1/cluster_service.proto;l=2924 * @return The zone. */ @java.lang.Deprecated @@ -1015,7 +1015,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2917 + * google/container/v1/cluster_service.proto;l=2924 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1043,7 +1043,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2917 + * google/container/v1/cluster_service.proto;l=2924 * @param value The zone to set. * @return This builder for chaining. */ @@ -1070,7 +1070,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2917 + * google/container/v1/cluster_service.proto;l=2924 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1093,7 +1093,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2917 + * google/container/v1/cluster_service.proto;l=2924 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1121,7 +1121,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2921 + * google/container/v1/cluster_service.proto;l=2928 * @return The clusterId. */ @java.lang.Deprecated @@ -1147,7 +1147,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2921 + * google/container/v1/cluster_service.proto;l=2928 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1173,7 +1173,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2921 + * google/container/v1/cluster_service.proto;l=2928 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1198,7 +1198,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2921 + * google/container/v1/cluster_service.proto;l=2928 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1219,7 +1219,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2921 + * google/container/v1/cluster_service.proto;l=2928 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java index 80f44caad2a7..f3190f98aa7a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLocationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2911 + * google/container/v1/cluster_service.proto;l=2918 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface SetLocationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2911 + * google/container/v1/cluster_service.proto;l=2918 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2917 + * google/container/v1/cluster_service.proto;l=2924 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2917 + * google/container/v1/cluster_service.proto;l=2924 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2921 + * google/container/v1/cluster_service.proto;l=2928 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2921 + * google/container/v1/cluster_service.proto;l=2928 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java index 6846b2d9cab8..e901549eb403 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2815 + * google/container/v1/cluster_service.proto;l=2822 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2815 + * google/container/v1/cluster_service.proto;l=2822 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2821 + * google/container/v1/cluster_service.proto;l=2828 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2821 + * google/container/v1/cluster_service.proto;l=2828 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2832 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2832 * @return The bytes for clusterId. */ @java.lang.Override @@ -825,7 +825,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2815 + * google/container/v1/cluster_service.proto;l=2822 * @return The projectId. */ @java.lang.Deprecated @@ -852,7 +852,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2815 + * google/container/v1/cluster_service.proto;l=2822 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -879,7 +879,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2815 + * google/container/v1/cluster_service.proto;l=2822 * @param value The projectId to set. * @return This builder for chaining. */ @@ -905,7 +905,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2815 + * google/container/v1/cluster_service.proto;l=2822 * @return This builder for chaining. */ @java.lang.Deprecated @@ -927,7 +927,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2815 + * google/container/v1/cluster_service.proto;l=2822 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2821 + * google/container/v1/cluster_service.proto;l=2828 * @return The zone. */ @java.lang.Deprecated @@ -985,7 +985,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2821 + * google/container/v1/cluster_service.proto;l=2828 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1013,7 +1013,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2821 + * google/container/v1/cluster_service.proto;l=2828 * @param value The zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2821 + * google/container/v1/cluster_service.proto;l=2828 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2821 + * google/container/v1/cluster_service.proto;l=2828 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1091,7 +1091,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2832 * @return The clusterId. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2832 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1143,7 +1143,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2832 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1168,7 +1168,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2832 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1189,7 +1189,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2832 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java index 510311416945..d5adb6db24a6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLoggingServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2815 + * google/container/v1/cluster_service.proto;l=2822 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface SetLoggingServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2815 + * google/container/v1/cluster_service.proto;l=2822 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2821 + * google/container/v1/cluster_service.proto;l=2828 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2821 + * google/container/v1/cluster_service.proto;l=2828 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2832 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2832 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java index b24e24a9f4ba..213c8601dda2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java @@ -269,7 +269,7 @@ private Action(int value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2994 + * google/container/v1/cluster_service.proto;l=3001 * @return The projectId. */ @java.lang.Override @@ -297,7 +297,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2994 + * google/container/v1/cluster_service.proto;l=3001 * @return The bytes for projectId. */ @java.lang.Override @@ -331,7 +331,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3000 + * google/container/v1/cluster_service.proto;l=3007 * @return The zone. */ @java.lang.Override @@ -360,7 +360,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3000 + * google/container/v1/cluster_service.proto;l=3007 * @return The bytes for zone. */ @java.lang.Override @@ -392,7 +392,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3004 + * google/container/v1/cluster_service.proto;l=3011 * @return The clusterId. */ @java.lang.Override @@ -419,7 +419,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3004 + * google/container/v1/cluster_service.proto;l=3011 * @return The bytes for clusterId. */ @java.lang.Override @@ -1070,7 +1070,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2994 + * google/container/v1/cluster_service.proto;l=3001 * @return The projectId. */ @java.lang.Deprecated @@ -1097,7 +1097,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2994 + * google/container/v1/cluster_service.proto;l=3001 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1124,7 +1124,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2994 + * google/container/v1/cluster_service.proto;l=3001 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1150,7 +1150,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2994 + * google/container/v1/cluster_service.proto;l=3001 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1172,7 +1172,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2994 + * google/container/v1/cluster_service.proto;l=3001 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1202,7 +1202,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3000 + * google/container/v1/cluster_service.proto;l=3007 * @return The zone. */ @java.lang.Deprecated @@ -1230,7 +1230,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3000 + * google/container/v1/cluster_service.proto;l=3007 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1258,7 +1258,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3000 + * google/container/v1/cluster_service.proto;l=3007 * @param value The zone to set. * @return This builder for chaining. */ @@ -1285,7 +1285,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3000 + * google/container/v1/cluster_service.proto;l=3007 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1308,7 +1308,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3000 + * google/container/v1/cluster_service.proto;l=3007 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1336,7 +1336,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3004 + * google/container/v1/cluster_service.proto;l=3011 * @return The clusterId. */ @java.lang.Deprecated @@ -1362,7 +1362,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3004 + * google/container/v1/cluster_service.proto;l=3011 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1388,7 +1388,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3004 + * google/container/v1/cluster_service.proto;l=3011 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1413,7 +1413,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3004 + * google/container/v1/cluster_service.proto;l=3011 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1434,7 +1434,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3004 + * google/container/v1/cluster_service.proto;l=3011 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java index dd13423f73a9..2217fcada9f7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetMasterAuthRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2994 + * google/container/v1/cluster_service.proto;l=3001 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface SetMasterAuthRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2994 + * google/container/v1/cluster_service.proto;l=3001 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3000 + * google/container/v1/cluster_service.proto;l=3007 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3000 + * google/container/v1/cluster_service.proto;l=3007 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3004 + * google/container/v1/cluster_service.proto;l=3011 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3004 + * google/container/v1/cluster_service.proto;l=3011 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java index 495ca0b0094b..c4e6dd9cbe3c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2850 + * google/container/v1/cluster_service.proto;l=2857 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2850 + * google/container/v1/cluster_service.proto;l=2857 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2863 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2863 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2860 + * google/container/v1/cluster_service.proto;l=2867 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2860 + * google/container/v1/cluster_service.proto;l=2867 * @return The bytes for clusterId. */ @java.lang.Override @@ -825,7 +825,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2850 + * google/container/v1/cluster_service.proto;l=2857 * @return The projectId. */ @java.lang.Deprecated @@ -852,7 +852,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2850 + * google/container/v1/cluster_service.proto;l=2857 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -879,7 +879,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2850 + * google/container/v1/cluster_service.proto;l=2857 * @param value The projectId to set. * @return This builder for chaining. */ @@ -905,7 +905,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2850 + * google/container/v1/cluster_service.proto;l=2857 * @return This builder for chaining. */ @java.lang.Deprecated @@ -927,7 +927,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2850 + * google/container/v1/cluster_service.proto;l=2857 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2863 * @return The zone. */ @java.lang.Deprecated @@ -985,7 +985,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2863 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1013,7 +1013,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2863 * @param value The zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2863 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2863 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1091,7 +1091,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2860 + * google/container/v1/cluster_service.proto;l=2867 * @return The clusterId. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2860 + * google/container/v1/cluster_service.proto;l=2867 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1143,7 +1143,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2860 + * google/container/v1/cluster_service.proto;l=2867 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1168,7 +1168,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2860 + * google/container/v1/cluster_service.proto;l=2867 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1189,7 +1189,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2860 + * google/container/v1/cluster_service.proto;l=2867 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java index dc18bc9832d7..84810c9b3724 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2850 + * google/container/v1/cluster_service.proto;l=2857 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2850 + * google/container/v1/cluster_service.proto;l=2857 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2863 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2863 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2860 + * google/container/v1/cluster_service.proto;l=2867 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2860 + * google/container/v1/cluster_service.proto;l=2867 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java index 1bfa077e713c..866075bc96c3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4242 + * google/container/v1/cluster_service.proto;l=4249 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4242 + * google/container/v1/cluster_service.proto;l=4249 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4248 + * google/container/v1/cluster_service.proto;l=4255 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4248 + * google/container/v1/cluster_service.proto;l=4255 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4252 + * google/container/v1/cluster_service.proto;l=4259 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4252 + * google/container/v1/cluster_service.proto;l=4259 * @return The bytes for clusterId. */ @java.lang.Override @@ -830,7 +830,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4242 + * google/container/v1/cluster_service.proto;l=4249 * @return The projectId. */ @java.lang.Deprecated @@ -857,7 +857,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4242 + * google/container/v1/cluster_service.proto;l=4249 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -884,7 +884,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4242 + * google/container/v1/cluster_service.proto;l=4249 * @param value The projectId to set. * @return This builder for chaining. */ @@ -910,7 +910,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4242 + * google/container/v1/cluster_service.proto;l=4249 * @return This builder for chaining. */ @java.lang.Deprecated @@ -932,7 +932,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4242 + * google/container/v1/cluster_service.proto;l=4249 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -962,7 +962,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4248 + * google/container/v1/cluster_service.proto;l=4255 * @return The zone. */ @java.lang.Deprecated @@ -990,7 +990,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4248 + * google/container/v1/cluster_service.proto;l=4255 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4248 + * google/container/v1/cluster_service.proto;l=4255 * @param value The zone to set. * @return This builder for chaining. */ @@ -1045,7 +1045,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4248 + * google/container/v1/cluster_service.proto;l=4255 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1068,7 +1068,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4248 + * google/container/v1/cluster_service.proto;l=4255 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1096,7 +1096,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4252 + * google/container/v1/cluster_service.proto;l=4259 * @return The clusterId. */ @java.lang.Deprecated @@ -1122,7 +1122,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4252 + * google/container/v1/cluster_service.proto;l=4259 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1148,7 +1148,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4252 + * google/container/v1/cluster_service.proto;l=4259 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1173,7 +1173,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4252 + * google/container/v1/cluster_service.proto;l=4259 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1194,7 +1194,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4252 + * google/container/v1/cluster_service.proto;l=4259 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java index 8154b80291fd..fab7078471c1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4242 + * google/container/v1/cluster_service.proto;l=4249 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4242 + * google/container/v1/cluster_service.proto;l=4249 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4248 + * google/container/v1/cluster_service.proto;l=4255 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4248 + * google/container/v1/cluster_service.proto;l=4255 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4252 + * google/container/v1/cluster_service.proto;l=4259 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4252 + * google/container/v1/cluster_service.proto;l=4259 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java index 650ea61928bc..7f3b3c7c0669 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2785 + * google/container/v1/cluster_service.proto;l=2792 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2785 + * google/container/v1/cluster_service.proto;l=2792 * @return The bytes for projectId. */ @java.lang.Override @@ -146,7 +146,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2791 + * google/container/v1/cluster_service.proto;l=2798 * @return The zone. */ @java.lang.Override @@ -175,7 +175,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2791 + * google/container/v1/cluster_service.proto;l=2798 * @return The bytes for zone. */ @java.lang.Override @@ -207,7 +207,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2795 + * google/container/v1/cluster_service.proto;l=2802 * @return The clusterId. */ @java.lang.Override @@ -234,7 +234,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2795 + * google/container/v1/cluster_service.proto;l=2802 * @return The bytes for clusterId. */ @java.lang.Override @@ -266,7 +266,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2806 * @return The nodePoolId. */ @java.lang.Override @@ -293,7 +293,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2806 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -917,7 +917,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2785 + * google/container/v1/cluster_service.proto;l=2792 * @return The projectId. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2785 + * google/container/v1/cluster_service.proto;l=2792 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -971,7 +971,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2785 + * google/container/v1/cluster_service.proto;l=2792 * @param value The projectId to set. * @return This builder for chaining. */ @@ -997,7 +997,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2785 + * google/container/v1/cluster_service.proto;l=2792 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1019,7 +1019,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2785 + * google/container/v1/cluster_service.proto;l=2792 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1049,7 +1049,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2791 + * google/container/v1/cluster_service.proto;l=2798 * @return The zone. */ @java.lang.Deprecated @@ -1077,7 +1077,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2791 + * google/container/v1/cluster_service.proto;l=2798 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1105,7 +1105,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2791 + * google/container/v1/cluster_service.proto;l=2798 * @param value The zone to set. * @return This builder for chaining. */ @@ -1132,7 +1132,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2791 + * google/container/v1/cluster_service.proto;l=2798 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1155,7 +1155,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2791 + * google/container/v1/cluster_service.proto;l=2798 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1183,7 +1183,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2795 + * google/container/v1/cluster_service.proto;l=2802 * @return The clusterId. */ @java.lang.Deprecated @@ -1209,7 +1209,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2795 + * google/container/v1/cluster_service.proto;l=2802 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1235,7 +1235,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2795 + * google/container/v1/cluster_service.proto;l=2802 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1260,7 +1260,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2795 + * google/container/v1/cluster_service.proto;l=2802 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1281,7 +1281,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2795 + * google/container/v1/cluster_service.proto;l=2802 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1309,7 +1309,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2806 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1335,7 +1335,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2806 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1361,7 +1361,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2806 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1386,7 +1386,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2806 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1407,7 +1407,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2806 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java index 5f818559dbbc..9d00c30509bc 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2785 + * google/container/v1/cluster_service.proto;l=2792 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2785 + * google/container/v1/cluster_service.proto;l=2792 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2791 + * google/container/v1/cluster_service.proto;l=2798 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2791 + * google/container/v1/cluster_service.proto;l=2798 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2795 + * google/container/v1/cluster_service.proto;l=2802 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2795 + * google/container/v1/cluster_service.proto;l=2802 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2806 * @return The nodePoolId. */ @java.lang.Deprecated @@ -156,7 +156,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2806 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java index 7f0d60060025..65d22b63bf00 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3786 + * google/container/v1/cluster_service.proto;l=3793 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3786 + * google/container/v1/cluster_service.proto;l=3793 * @return The bytes for zone. */ @java.lang.Override @@ -208,7 +208,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3790 + * google/container/v1/cluster_service.proto;l=3797 * @return The clusterId. */ @java.lang.Override @@ -235,7 +235,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3790 + * google/container/v1/cluster_service.proto;l=3797 * @return The bytes for clusterId. */ @java.lang.Override @@ -267,7 +267,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3794 + * google/container/v1/cluster_service.proto;l=3801 * @return The nodePoolId. */ @java.lang.Override @@ -294,7 +294,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3794 + * google/container/v1/cluster_service.proto;l=3801 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -917,7 +917,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The projectId. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -971,7 +971,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @param value The projectId to set. * @return This builder for chaining. */ @@ -997,7 +997,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1019,7 +1019,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1049,7 +1049,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3786 + * google/container/v1/cluster_service.proto;l=3793 * @return The zone. */ @java.lang.Deprecated @@ -1077,7 +1077,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3786 + * google/container/v1/cluster_service.proto;l=3793 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1105,7 +1105,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3786 + * google/container/v1/cluster_service.proto;l=3793 * @param value The zone to set. * @return This builder for chaining. */ @@ -1132,7 +1132,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3786 + * google/container/v1/cluster_service.proto;l=3793 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1155,7 +1155,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3786 + * google/container/v1/cluster_service.proto;l=3793 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1183,7 +1183,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3790 + * google/container/v1/cluster_service.proto;l=3797 * @return The clusterId. */ @java.lang.Deprecated @@ -1209,7 +1209,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3790 + * google/container/v1/cluster_service.proto;l=3797 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1235,7 +1235,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3790 + * google/container/v1/cluster_service.proto;l=3797 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1260,7 +1260,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3790 + * google/container/v1/cluster_service.proto;l=3797 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1281,7 +1281,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3790 + * google/container/v1/cluster_service.proto;l=3797 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1309,7 +1309,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3794 + * google/container/v1/cluster_service.proto;l=3801 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1335,7 +1335,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3794 + * google/container/v1/cluster_service.proto;l=3801 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1361,7 +1361,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3794 + * google/container/v1/cluster_service.proto;l=3801 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1386,7 +1386,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3794 + * google/container/v1/cluster_service.proto;l=3801 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1407,7 +1407,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3794 + * google/container/v1/cluster_service.proto;l=3801 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java index 3d8a2c15f249..d32b310509f5 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3786 + * google/container/v1/cluster_service.proto;l=3793 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3786 + * google/container/v1/cluster_service.proto;l=3793 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3790 + * google/container/v1/cluster_service.proto;l=3797 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3790 + * google/container/v1/cluster_service.proto;l=3797 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3794 + * google/container/v1/cluster_service.proto;l=3801 * @return The nodePoolId. */ @java.lang.Deprecated @@ -156,7 +156,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3794 + * google/container/v1/cluster_service.proto;l=3801 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java index 8b9388b5eabc..8128895e2eee 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3810 + * google/container/v1/cluster_service.proto;l=3817 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3810 + * google/container/v1/cluster_service.proto;l=3817 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3816 + * google/container/v1/cluster_service.proto;l=3823 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3816 + * google/container/v1/cluster_service.proto;l=3823 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3820 + * google/container/v1/cluster_service.proto;l=3827 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3820 + * google/container/v1/cluster_service.proto;l=3827 * @return The bytes for clusterId. */ @java.lang.Override @@ -265,7 +265,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3824 + * google/container/v1/cluster_service.proto;l=3831 * @return The nodePoolId. */ @java.lang.Override @@ -292,7 +292,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3824 + * google/container/v1/cluster_service.proto;l=3831 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -854,7 +854,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3810 + * google/container/v1/cluster_service.proto;l=3817 * @return The projectId. */ @java.lang.Deprecated @@ -881,7 +881,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3810 + * google/container/v1/cluster_service.proto;l=3817 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -908,7 +908,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3810 + * google/container/v1/cluster_service.proto;l=3817 * @param value The projectId to set. * @return This builder for chaining. */ @@ -934,7 +934,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3810 + * google/container/v1/cluster_service.proto;l=3817 * @return This builder for chaining. */ @java.lang.Deprecated @@ -956,7 +956,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3810 + * google/container/v1/cluster_service.proto;l=3817 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -986,7 +986,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3816 + * google/container/v1/cluster_service.proto;l=3823 * @return The zone. */ @java.lang.Deprecated @@ -1014,7 +1014,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3816 + * google/container/v1/cluster_service.proto;l=3823 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3816 + * google/container/v1/cluster_service.proto;l=3823 * @param value The zone to set. * @return This builder for chaining. */ @@ -1069,7 +1069,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3816 + * google/container/v1/cluster_service.proto;l=3823 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3816 + * google/container/v1/cluster_service.proto;l=3823 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1120,7 +1120,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3820 + * google/container/v1/cluster_service.proto;l=3827 * @return The clusterId. */ @java.lang.Deprecated @@ -1146,7 +1146,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3820 + * google/container/v1/cluster_service.proto;l=3827 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1172,7 +1172,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3820 + * google/container/v1/cluster_service.proto;l=3827 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1197,7 +1197,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3820 + * google/container/v1/cluster_service.proto;l=3827 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1218,7 +1218,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3820 + * google/container/v1/cluster_service.proto;l=3827 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1246,7 +1246,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3824 + * google/container/v1/cluster_service.proto;l=3831 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1272,7 +1272,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3824 + * google/container/v1/cluster_service.proto;l=3831 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1298,7 +1298,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3824 + * google/container/v1/cluster_service.proto;l=3831 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1323,7 +1323,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3824 + * google/container/v1/cluster_service.proto;l=3831 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1344,7 +1344,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3824 + * google/container/v1/cluster_service.proto;l=3831 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java index 2113a38bacbb..d7cfa92ac345 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3810 + * google/container/v1/cluster_service.proto;l=3817 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3810 + * google/container/v1/cluster_service.proto;l=3817 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3816 + * google/container/v1/cluster_service.proto;l=3823 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3816 + * google/container/v1/cluster_service.proto;l=3823 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3820 + * google/container/v1/cluster_service.proto;l=3827 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3820 + * google/container/v1/cluster_service.proto;l=3827 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3824 + * google/container/v1/cluster_service.proto;l=3831 * @return The nodePoolId. */ @java.lang.Deprecated @@ -156,7 +156,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3824 + * google/container/v1/cluster_service.proto;l=3831 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java index 310763002248..f6170e94b18a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4108 + * google/container/v1/cluster_service.proto;l=4115 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4108 + * google/container/v1/cluster_service.proto;l=4115 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4114 + * google/container/v1/cluster_service.proto;l=4121 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4114 + * google/container/v1/cluster_service.proto;l=4121 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4118 + * google/container/v1/cluster_service.proto;l=4125 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4118 + * google/container/v1/cluster_service.proto;l=4125 * @return The bytes for clusterId. */ @java.lang.Override @@ -770,7 +770,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4108 + * google/container/v1/cluster_service.proto;l=4115 * @return The projectId. */ @java.lang.Deprecated @@ -797,7 +797,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4108 + * google/container/v1/cluster_service.proto;l=4115 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -824,7 +824,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4108 + * google/container/v1/cluster_service.proto;l=4115 * @param value The projectId to set. * @return This builder for chaining. */ @@ -850,7 +850,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4108 + * google/container/v1/cluster_service.proto;l=4115 * @return This builder for chaining. */ @java.lang.Deprecated @@ -872,7 +872,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4108 + * google/container/v1/cluster_service.proto;l=4115 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -902,7 +902,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4114 + * google/container/v1/cluster_service.proto;l=4121 * @return The zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4114 + * google/container/v1/cluster_service.proto;l=4121 * @return The bytes for zone. */ @java.lang.Deprecated @@ -958,7 +958,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4114 + * google/container/v1/cluster_service.proto;l=4121 * @param value The zone to set. * @return This builder for chaining. */ @@ -985,7 +985,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4114 + * google/container/v1/cluster_service.proto;l=4121 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1008,7 +1008,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4114 + * google/container/v1/cluster_service.proto;l=4121 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1036,7 +1036,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4118 + * google/container/v1/cluster_service.proto;l=4125 * @return The clusterId. */ @java.lang.Deprecated @@ -1062,7 +1062,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4118 + * google/container/v1/cluster_service.proto;l=4125 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1088,7 +1088,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4118 + * google/container/v1/cluster_service.proto;l=4125 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1113,7 +1113,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4118 + * google/container/v1/cluster_service.proto;l=4125 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1134,7 +1134,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4118 + * google/container/v1/cluster_service.proto;l=4125 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java index 56576e5dd52e..19bbb84ae005 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface StartIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4108 + * google/container/v1/cluster_service.proto;l=4115 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface StartIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4108 + * google/container/v1/cluster_service.proto;l=4115 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4114 + * google/container/v1/cluster_service.proto;l=4121 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=4114 + * google/container/v1/cluster_service.proto;l=4121 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4118 + * google/container/v1/cluster_service.proto;l=4125 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=4118 + * google/container/v1/cluster_service.proto;l=4125 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java index cb62f5e84c17..5787b19c69a8 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java @@ -330,7 +330,7 @@ private Code(int value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=4319 + * google/container/v1/cluster_service.proto;l=4326 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -349,7 +349,7 @@ public int getCodeValue() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=4319 + * google/container/v1/cluster_service.proto;l=4326 * @return The code. */ @java.lang.Override @@ -842,7 +842,7 @@ public Builder mergeFrom( * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=4319 + * google/container/v1/cluster_service.proto;l=4326 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -861,7 +861,7 @@ public int getCodeValue() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=4319 + * google/container/v1/cluster_service.proto;l=4326 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -883,7 +883,7 @@ public Builder setCodeValue(int value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=4319 + * google/container/v1/cluster_service.proto;l=4326 * @return The code. */ @java.lang.Override @@ -904,7 +904,7 @@ public com.google.container.v1.StatusCondition.Code getCode() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=4319 + * google/container/v1/cluster_service.proto;l=4326 * @param value The code to set. * @return This builder for chaining. */ @@ -929,7 +929,7 @@ public Builder setCode(com.google.container.v1.StatusCondition.Code value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=4319 + * google/container/v1/cluster_service.proto;l=4326 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java index bf9f5e05b37e..0fd7fb71e09d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java @@ -35,7 +35,7 @@ public interface StatusConditionOrBuilder * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=4319 + * google/container/v1/cluster_service.proto;l=4326 * @return The enum numeric value on the wire for code. */ @java.lang.Deprecated @@ -51,7 +51,7 @@ public interface StatusConditionOrBuilder * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=4319 + * google/container/v1/cluster_service.proto;l=4326 * @return The code. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java index 5685363ab0e1..03c37cae45ea 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2624 + * google/container/v1/cluster_service.proto;l=2631 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2624 + * google/container/v1/cluster_service.proto;l=2631 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2630 + * google/container/v1/cluster_service.proto;l=2637 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2630 + * google/container/v1/cluster_service.proto;l=2637 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2634 + * google/container/v1/cluster_service.proto;l=2641 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2634 + * google/container/v1/cluster_service.proto;l=2641 * @return The bytes for clusterId. */ @java.lang.Override @@ -821,7 +821,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2624 + * google/container/v1/cluster_service.proto;l=2631 * @return The projectId. */ @java.lang.Deprecated @@ -848,7 +848,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2624 + * google/container/v1/cluster_service.proto;l=2631 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -875,7 +875,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2624 + * google/container/v1/cluster_service.proto;l=2631 * @param value The projectId to set. * @return This builder for chaining. */ @@ -901,7 +901,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2624 + * google/container/v1/cluster_service.proto;l=2631 * @return This builder for chaining. */ @java.lang.Deprecated @@ -923,7 +923,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2624 + * google/container/v1/cluster_service.proto;l=2631 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -953,7 +953,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2630 + * google/container/v1/cluster_service.proto;l=2637 * @return The zone. */ @java.lang.Deprecated @@ -981,7 +981,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2630 + * google/container/v1/cluster_service.proto;l=2637 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1009,7 +1009,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2630 + * google/container/v1/cluster_service.proto;l=2637 * @param value The zone to set. * @return This builder for chaining. */ @@ -1036,7 +1036,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2630 + * google/container/v1/cluster_service.proto;l=2637 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1059,7 +1059,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2630 + * google/container/v1/cluster_service.proto;l=2637 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1087,7 +1087,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2634 + * google/container/v1/cluster_service.proto;l=2641 * @return The clusterId. */ @java.lang.Deprecated @@ -1113,7 +1113,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2634 + * google/container/v1/cluster_service.proto;l=2641 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1139,7 +1139,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2634 + * google/container/v1/cluster_service.proto;l=2641 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1164,7 +1164,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2634 + * google/container/v1/cluster_service.proto;l=2641 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1185,7 +1185,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2634 + * google/container/v1/cluster_service.proto;l=2641 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java index ed2606eaaa74..79783e84b28d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2624 + * google/container/v1/cluster_service.proto;l=2631 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface UpdateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2624 + * google/container/v1/cluster_service.proto;l=2631 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2630 + * google/container/v1/cluster_service.proto;l=2637 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2630 + * google/container/v1/cluster_service.proto;l=2637 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2634 + * google/container/v1/cluster_service.proto;l=2641 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2634 + * google/container/v1/cluster_service.proto;l=2641 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java index f5d01e318b7b..bab6ed32ecca 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2942 + * google/container/v1/cluster_service.proto;l=2949 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2942 + * google/container/v1/cluster_service.proto;l=2949 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=2955 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=2955 * @return The bytes for zone. */ @java.lang.Override @@ -206,7 +206,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2952 + * google/container/v1/cluster_service.proto;l=2959 * @return The clusterId. */ @java.lang.Override @@ -233,7 +233,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2952 + * google/container/v1/cluster_service.proto;l=2959 * @return The bytes for clusterId. */ @java.lang.Override @@ -822,7 +822,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2942 + * google/container/v1/cluster_service.proto;l=2949 * @return The projectId. */ @java.lang.Deprecated @@ -849,7 +849,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2942 + * google/container/v1/cluster_service.proto;l=2949 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -876,7 +876,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2942 + * google/container/v1/cluster_service.proto;l=2949 * @param value The projectId to set. * @return This builder for chaining. */ @@ -902,7 +902,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2942 + * google/container/v1/cluster_service.proto;l=2949 * @return This builder for chaining. */ @java.lang.Deprecated @@ -924,7 +924,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2942 + * google/container/v1/cluster_service.proto;l=2949 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -954,7 +954,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=2955 * @return The zone. */ @java.lang.Deprecated @@ -982,7 +982,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=2955 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1010,7 +1010,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=2955 * @param value The zone to set. * @return This builder for chaining. */ @@ -1037,7 +1037,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=2955 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1060,7 +1060,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=2955 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1088,7 +1088,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2952 + * google/container/v1/cluster_service.proto;l=2959 * @return The clusterId. */ @java.lang.Deprecated @@ -1114,7 +1114,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2952 + * google/container/v1/cluster_service.proto;l=2959 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1140,7 +1140,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2952 + * google/container/v1/cluster_service.proto;l=2959 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1165,7 +1165,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2952 + * google/container/v1/cluster_service.proto;l=2959 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1186,7 +1186,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2952 + * google/container/v1/cluster_service.proto;l=2959 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java index 61513334d40d..fa722c2156d9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateMasterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2942 + * google/container/v1/cluster_service.proto;l=2949 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface UpdateMasterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2942 + * google/container/v1/cluster_service.proto;l=2949 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=2955 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2948 + * google/container/v1/cluster_service.proto;l=2955 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2952 + * google/container/v1/cluster_service.proto;l=2959 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2952 + * google/container/v1/cluster_service.proto;l=2959 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java index a9772c57847a..7a3c5639a647 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java @@ -90,7 +90,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2649 + * google/container/v1/cluster_service.proto;l=2656 * @return The projectId. */ @java.lang.Override @@ -118,7 +118,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2649 + * google/container/v1/cluster_service.proto;l=2656 * @return The bytes for projectId. */ @java.lang.Override @@ -152,7 +152,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2655 + * google/container/v1/cluster_service.proto;l=2662 * @return The zone. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2655 + * google/container/v1/cluster_service.proto;l=2662 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2659 + * google/container/v1/cluster_service.proto;l=2666 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2659 + * google/container/v1/cluster_service.proto;l=2666 * @return The bytes for clusterId. */ @java.lang.Override @@ -272,7 +272,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2663 + * google/container/v1/cluster_service.proto;l=2670 * @return The nodePoolId. */ @java.lang.Override @@ -299,7 +299,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2663 + * google/container/v1/cluster_service.proto;l=2670 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -2865,7 +2865,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2649 + * google/container/v1/cluster_service.proto;l=2656 * @return The projectId. */ @java.lang.Deprecated @@ -2892,7 +2892,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2649 + * google/container/v1/cluster_service.proto;l=2656 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -2919,7 +2919,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2649 + * google/container/v1/cluster_service.proto;l=2656 * @param value The projectId to set. * @return This builder for chaining. */ @@ -2945,7 +2945,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2649 + * google/container/v1/cluster_service.proto;l=2656 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2967,7 +2967,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2649 + * google/container/v1/cluster_service.proto;l=2656 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -2997,7 +2997,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2655 + * google/container/v1/cluster_service.proto;l=2662 * @return The zone. */ @java.lang.Deprecated @@ -3025,7 +3025,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2655 + * google/container/v1/cluster_service.proto;l=2662 * @return The bytes for zone. */ @java.lang.Deprecated @@ -3053,7 +3053,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2655 + * google/container/v1/cluster_service.proto;l=2662 * @param value The zone to set. * @return This builder for chaining. */ @@ -3080,7 +3080,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2655 + * google/container/v1/cluster_service.proto;l=2662 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3103,7 +3103,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2655 + * google/container/v1/cluster_service.proto;l=2662 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -3131,7 +3131,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2659 + * google/container/v1/cluster_service.proto;l=2666 * @return The clusterId. */ @java.lang.Deprecated @@ -3157,7 +3157,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2659 + * google/container/v1/cluster_service.proto;l=2666 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -3183,7 +3183,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2659 + * google/container/v1/cluster_service.proto;l=2666 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -3208,7 +3208,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2659 + * google/container/v1/cluster_service.proto;l=2666 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3229,7 +3229,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2659 + * google/container/v1/cluster_service.proto;l=2666 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -3257,7 +3257,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2663 + * google/container/v1/cluster_service.proto;l=2670 * @return The nodePoolId. */ @java.lang.Deprecated @@ -3283,7 +3283,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2663 + * google/container/v1/cluster_service.proto;l=2670 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -3309,7 +3309,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2663 + * google/container/v1/cluster_service.proto;l=2670 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -3334,7 +3334,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2663 + * google/container/v1/cluster_service.proto;l=2670 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3355,7 +3355,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2663 + * google/container/v1/cluster_service.proto;l=2670 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java index 7a41d8483822..6931833ce1a2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2649 + * google/container/v1/cluster_service.proto;l=2656 * @return The projectId. */ @java.lang.Deprecated @@ -53,7 +53,7 @@ public interface UpdateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2649 + * google/container/v1/cluster_service.proto;l=2656 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -72,7 +72,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2655 + * google/container/v1/cluster_service.proto;l=2662 * @return The zone. */ @java.lang.Deprecated @@ -90,7 +90,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2655 + * google/container/v1/cluster_service.proto;l=2662 * @return The bytes for zone. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2659 + * google/container/v1/cluster_service.proto;l=2666 * @return The clusterId. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2659 + * google/container/v1/cluster_service.proto;l=2666 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface UpdateNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2663 + * google/container/v1/cluster_service.proto;l=2670 * @return The nodePoolId. */ @java.lang.Deprecated @@ -156,7 +156,7 @@ public interface UpdateNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2663 + * google/container/v1/cluster_service.proto;l=2670 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto index bc0c8c582f7b..8b808349c215 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto +++ b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto @@ -839,6 +839,10 @@ message NodeConfig { // List of secondary boot disks attached to the nodes. repeated SecondaryBootDisk secondary_boot_disks = 48; + + // Secondary boot disk update strategy. + optional SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = + 50; } // Specifies options for controlling advanced machine features. @@ -2283,6 +2287,9 @@ message ClusterUpdate { // Desired Beta APIs to be enabled for cluster. K8sBetaAPIConfig desired_k8s_beta_apis = 131; + // Enable/Disable Multi-Networking for the cluster + optional bool desired_enable_multi_networking = 135; + // The desired resource manager tags that apply to all auto-provisioned node // pools in autopilot clusters and node auto-provisioning enabled clusters. ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136; @@ -5392,3 +5399,7 @@ enum InTransitEncryptionConfig { // Data in-transit is encrypted using inter-node transparent encryption. IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT = 2; } + +// SecondaryBootDiskUpdateStrategy is a placeholder which will be extended +// in the future to define different options for updating secondary boot disks. +message SecondaryBootDiskUpdateStrategy {} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java index efe29311f5a6..9f3c91fa9457 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java @@ -203,7 +203,7 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4661 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4668 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override @@ -1105,7 +1105,7 @@ public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4661 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4668 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override @@ -1123,7 +1123,7 @@ public long getMaxTimeSharedClientsPerGpu() { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4661 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4668 * @param value The maxTimeSharedClientsPerGpu to set. * @return This builder for chaining. */ @@ -1145,7 +1145,7 @@ public Builder setMaxTimeSharedClientsPerGpu(long value) { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4661 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4668 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java index 037b2b5526ea..944f9f329552 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java @@ -103,7 +103,7 @@ public interface AcceleratorConfigOrBuilder * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4661 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4668 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java index 15b8dadd5ef0..d01b2677429a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java @@ -191,7 +191,7 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAut * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1333 + * google/container/v1beta1/cluster_service.proto;l=1337 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override @@ -215,7 +215,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1333 + * google/container/v1beta1/cluster_service.proto;l=1337 * @return The kubernetesDashboard. */ @java.lang.Override @@ -319,7 +319,7 @@ public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig() * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1342 + * google/container/v1beta1/cluster_service.proto;l=1346 * @return Whether the istioConfig field is set. */ @java.lang.Override @@ -338,7 +338,7 @@ public boolean hasIstioConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1342 + * google/container/v1beta1/cluster_service.proto;l=1346 * @return The istioConfig. */ @java.lang.Override @@ -598,7 +598,7 @@ public boolean hasGcePersistentDiskCsiDriverConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1361 + * google/container/v1beta1/cluster_service.proto;l=1365 * @return Whether the kalmConfig field is set. */ @java.lang.Override @@ -617,7 +617,7 @@ public boolean hasKalmConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1361 + * google/container/v1beta1/cluster_service.proto;l=1365 * @return The kalmConfig. */ @java.lang.Override @@ -2140,7 +2140,7 @@ public Builder clearHorizontalPodAutoscaling() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1333 + * google/container/v1beta1/cluster_service.proto;l=1337 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -2163,7 +2163,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1333 + * google/container/v1beta1/cluster_service.proto;l=1337 * @return The kubernetesDashboard. */ @java.lang.Deprecated @@ -2599,7 +2599,7 @@ public Builder clearNetworkPolicyConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1342 + * google/container/v1beta1/cluster_service.proto;l=1346 * @return Whether the istioConfig field is set. */ @java.lang.Deprecated @@ -2617,7 +2617,7 @@ public boolean hasIstioConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1342 + * google/container/v1beta1/cluster_service.proto;l=1346 * @return The istioConfig. */ @java.lang.Deprecated @@ -3610,7 +3610,7 @@ public Builder clearGcePersistentDiskCsiDriverConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1361 + * google/container/v1beta1/cluster_service.proto;l=1365 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -3628,7 +3628,7 @@ public boolean hasKalmConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1361 + * google/container/v1beta1/cluster_service.proto;l=1365 * @return The kalmConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java index dab417edadee..cf984c55e9bb 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java @@ -120,7 +120,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1333 + * google/container/v1beta1/cluster_service.proto;l=1337 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -141,7 +141,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1333 + * google/container/v1beta1/cluster_service.proto;l=1337 * @return The kubernetesDashboard. */ @java.lang.Deprecated @@ -216,7 +216,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1342 + * google/container/v1beta1/cluster_service.proto;l=1346 * @return Whether the istioConfig field is set. */ @java.lang.Deprecated @@ -232,7 +232,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1342 + * google/container/v1beta1/cluster_service.proto;l=1346 * @return The istioConfig. */ @java.lang.Deprecated @@ -418,7 +418,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1361 + * google/container/v1beta1/cluster_service.proto;l=1365 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -434,7 +434,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1361 + * google/container/v1beta1/cluster_service.proto;l=1365 * @return The kalmConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java index 50eac2a46c13..3174edf3dc6d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java @@ -371,7 +371,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4433 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4440 * @return The minCpuPlatform. */ @java.lang.Override @@ -407,7 +407,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4433 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4440 * @return The bytes for minCpuPlatform. */ @java.lang.Override @@ -2169,7 +2169,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4433 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4440 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -2204,7 +2204,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4433 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4440 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -2239,7 +2239,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4433 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4440 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ @@ -2273,7 +2273,7 @@ public Builder setMinCpuPlatform(java.lang.String value) { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4433 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4440 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2303,7 +2303,7 @@ public Builder clearMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4433 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4440 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java index 82634b0dc72b..54267cd4dae5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -250,7 +250,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4433 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4440 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -275,7 +275,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4433 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4440 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java index 8147aa4ee482..90dba00d5a3d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java @@ -1012,7 +1012,7 @@ public com.google.protobuf.Parser getParserForType() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1834 + * google/container/v1beta1/cluster_service.proto;l=1838 * @return The enabled. */ @java.lang.Override @@ -1600,7 +1600,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1834 + * google/container/v1beta1/cluster_service.proto;l=1838 * @return The enabled. */ @java.lang.Override @@ -1620,7 +1620,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1834 + * google/container/v1beta1/cluster_service.proto;l=1838 * @param value The enabled to set. * @return This builder for chaining. */ @@ -1644,7 +1644,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1834 + * google/container/v1beta1/cluster_service.proto;l=1838 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java index 2c95ae4100f8..c0467bcd2ad4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java @@ -36,7 +36,7 @@ public interface BinaryAuthorizationOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1834 + * google/container/v1beta1/cluster_service.proto;l=1838 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java index 6b3db317c30a..33b4a45a66f9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3523 + * google/container/v1beta1/cluster_service.proto;l=3530 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3523 + * google/container/v1beta1/cluster_service.proto;l=3530 * @return The bytes for projectId. */ @java.lang.Override @@ -146,7 +146,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3530 + * google/container/v1beta1/cluster_service.proto;l=3537 * @return The zone. */ @java.lang.Override @@ -175,7 +175,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3530 + * google/container/v1beta1/cluster_service.proto;l=3537 * @return The bytes for zone. */ @java.lang.Override @@ -208,7 +208,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3534 + * google/container/v1beta1/cluster_service.proto;l=3541 * @return The operationId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3534 + * google/container/v1beta1/cluster_service.proto;l=3541 * @return The bytes for operationId. */ @java.lang.Override @@ -734,7 +734,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3523 + * google/container/v1beta1/cluster_service.proto;l=3530 * @return The projectId. */ @java.lang.Deprecated @@ -762,7 +762,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3523 + * google/container/v1beta1/cluster_service.proto;l=3530 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -790,7 +790,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3523 + * google/container/v1beta1/cluster_service.proto;l=3530 * @param value The projectId to set. * @return This builder for chaining. */ @@ -817,7 +817,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3523 + * google/container/v1beta1/cluster_service.proto;l=3530 * @return This builder for chaining. */ @java.lang.Deprecated @@ -840,7 +840,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3523 + * google/container/v1beta1/cluster_service.proto;l=3530 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -870,7 +870,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3530 + * google/container/v1beta1/cluster_service.proto;l=3537 * @return The zone. */ @java.lang.Deprecated @@ -898,7 +898,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3530 + * google/container/v1beta1/cluster_service.proto;l=3537 * @return The bytes for zone. */ @java.lang.Deprecated @@ -926,7 +926,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3530 + * google/container/v1beta1/cluster_service.proto;l=3537 * @param value The zone to set. * @return This builder for chaining. */ @@ -953,7 +953,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3530 + * google/container/v1beta1/cluster_service.proto;l=3537 * @return This builder for chaining. */ @java.lang.Deprecated @@ -976,7 +976,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3530 + * google/container/v1beta1/cluster_service.proto;l=3537 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1005,7 +1005,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3534 + * google/container/v1beta1/cluster_service.proto;l=3541 * @return The operationId. */ @java.lang.Deprecated @@ -1032,7 +1032,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3534 + * google/container/v1beta1/cluster_service.proto;l=3541 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1059,7 +1059,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3534 + * google/container/v1beta1/cluster_service.proto;l=3541 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setOperationId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3534 + * google/container/v1beta1/cluster_service.proto;l=3541 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1107,7 +1107,7 @@ public Builder clearOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3534 + * google/container/v1beta1/cluster_service.proto;l=3541 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java index a90e41e8cd99..52612b3c1f76 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3523 + * google/container/v1beta1/cluster_service.proto;l=3530 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3523 + * google/container/v1beta1/cluster_service.proto;l=3530 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3530 + * google/container/v1beta1/cluster_service.proto;l=3537 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3530 + * google/container/v1beta1/cluster_service.proto;l=3537 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3534 + * google/container/v1beta1/cluster_service.proto;l=3541 * @return The operationId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3534 + * google/container/v1beta1/cluster_service.proto;l=3541 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java index c699ba3a2578..24a3da46aadf 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java @@ -494,7 +494,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1937 + * google/container/v1beta1/cluster_service.proto;l=1941 * @return The initialNodeCount. */ @java.lang.Override @@ -525,7 +525,7 @@ public int getInitialNodeCount() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1950 + * google/container/v1beta1/cluster_service.proto;l=1954 * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -553,7 +553,7 @@ public boolean hasNodeConfig() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1950 + * google/container/v1beta1/cluster_service.proto;l=1954 * @return The nodeConfig. */ @java.lang.Override @@ -1911,7 +1911,7 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2075 + * google/container/v1beta1/cluster_service.proto;l=2079 * @return The privateCluster. */ @java.lang.Override @@ -1938,7 +1938,7 @@ public boolean getPrivateCluster() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2082 + * google/container/v1beta1/cluster_service.proto;l=2086 * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -1968,7 +1968,7 @@ public java.lang.String getMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2082 + * google/container/v1beta1/cluster_service.proto;l=2086 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override @@ -2953,7 +2953,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2157 * @return The zone. */ @java.lang.Override @@ -2981,7 +2981,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2157 * @return The bytes for zone. */ @java.lang.Override @@ -3203,7 +3203,7 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2186 + * google/container/v1beta1/cluster_service.proto;l=2190 * @return The currentNodeVersion. */ @java.lang.Override @@ -3233,7 +3233,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2186 + * google/container/v1beta1/cluster_service.proto;l=2190 * @return The bytes for currentNodeVersion. */ @java.lang.Override @@ -3354,7 +3354,7 @@ public com.google.container.v1beta1.Cluster.Status getStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2198 + * google/container/v1beta1/cluster_service.proto;l=2202 * @return The statusMessage. */ @java.lang.Override @@ -3382,7 +3382,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2198 + * google/container/v1beta1/cluster_service.proto;l=2202 * @return The bytes for statusMessage. */ @java.lang.Override @@ -3494,7 +3494,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -3511,7 +3511,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -3528,7 +3528,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -3546,7 +3546,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -3568,7 +3568,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2222 * @return The currentNodeCount. */ @java.lang.Override @@ -4252,7 +4252,7 @@ public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoC * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2271 + * google/container/v1beta1/cluster_service.proto;l=2275 * @return Whether the protectConfig field is set. */ @java.lang.Override @@ -4273,7 +4273,7 @@ public boolean hasProtectConfig() { * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2271 + * google/container/v1beta1/cluster_service.proto;l=2275 * @return The protectConfig. */ @java.lang.Override @@ -7663,7 +7663,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1937 + * google/container/v1beta1/cluster_service.proto;l=1941 * @return The initialNodeCount. */ @java.lang.Override @@ -7690,7 +7690,7 @@ public int getInitialNodeCount() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1937 + * google/container/v1beta1/cluster_service.proto;l=1941 * @param value The initialNodeCount to set. * @return This builder for chaining. */ @@ -7721,7 +7721,7 @@ public Builder setInitialNodeCount(int value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1937 + * google/container/v1beta1/cluster_service.proto;l=1941 * @return This builder for chaining. */ @java.lang.Deprecated @@ -7758,7 +7758,7 @@ public Builder clearInitialNodeCount() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1950 + * google/container/v1beta1/cluster_service.proto;l=1954 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -7785,7 +7785,7 @@ public boolean hasNodeConfig() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1950 + * google/container/v1beta1/cluster_service.proto;l=1954 * @return The nodeConfig. */ @java.lang.Deprecated @@ -12024,7 +12024,7 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2075 + * google/container/v1beta1/cluster_service.proto;l=2079 * @return The privateCluster. */ @java.lang.Override @@ -12046,7 +12046,7 @@ public boolean getPrivateCluster() { * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2075 + * google/container/v1beta1/cluster_service.proto;l=2079 * @param value The privateCluster to set. * @return This builder for chaining. */ @@ -12072,7 +12072,7 @@ public Builder setPrivateCluster(boolean value) { * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2075 + * google/container/v1beta1/cluster_service.proto;l=2079 * @return This builder for chaining. */ @java.lang.Deprecated @@ -12098,7 +12098,7 @@ public Builder clearPrivateCluster() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2082 + * google/container/v1beta1/cluster_service.proto;l=2086 * @return The masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -12127,7 +12127,7 @@ public java.lang.String getMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2082 + * google/container/v1beta1/cluster_service.proto;l=2086 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -12156,7 +12156,7 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2082 + * google/container/v1beta1/cluster_service.proto;l=2086 * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -12184,7 +12184,7 @@ public Builder setMasterIpv4CidrBlock(java.lang.String value) { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2082 + * google/container/v1beta1/cluster_service.proto;l=2086 * @return This builder for chaining. */ @java.lang.Deprecated @@ -12208,7 +12208,7 @@ public Builder clearMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2082 + * google/container/v1beta1/cluster_service.proto;l=2086 * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -15683,7 +15683,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2157 * @return The zone. */ @java.lang.Deprecated @@ -15710,7 +15710,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2157 * @return The bytes for zone. */ @java.lang.Deprecated @@ -15737,7 +15737,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2157 * @param value The zone to set. * @return This builder for chaining. */ @@ -15763,7 +15763,7 @@ public Builder setZone(java.lang.String value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2157 * @return This builder for chaining. */ @java.lang.Deprecated @@ -15785,7 +15785,7 @@ public Builder clearZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2157 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -16219,7 +16219,7 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2186 + * google/container/v1beta1/cluster_service.proto;l=2190 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -16248,7 +16248,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2186 + * google/container/v1beta1/cluster_service.proto;l=2190 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -16277,7 +16277,7 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2186 + * google/container/v1beta1/cluster_service.proto;l=2190 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ @@ -16305,7 +16305,7 @@ public Builder setCurrentNodeVersion(java.lang.String value) { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2186 + * google/container/v1beta1/cluster_service.proto;l=2190 * @return This builder for chaining. */ @java.lang.Deprecated @@ -16329,7 +16329,7 @@ public Builder clearCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2186 + * google/container/v1beta1/cluster_service.proto;l=2190 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ @@ -16559,7 +16559,7 @@ public Builder clearStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2198 + * google/container/v1beta1/cluster_service.proto;l=2202 * @return The statusMessage. */ @java.lang.Deprecated @@ -16586,7 +16586,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2198 + * google/container/v1beta1/cluster_service.proto;l=2202 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -16613,7 +16613,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2198 + * google/container/v1beta1/cluster_service.proto;l=2202 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -16639,7 +16639,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2198 + * google/container/v1beta1/cluster_service.proto;l=2202 * @return This builder for chaining. */ @java.lang.Deprecated @@ -16661,7 +16661,7 @@ public Builder clearStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2198 + * google/container/v1beta1/cluster_service.proto;l=2202 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -16884,7 +16884,7 @@ private void ensureInstanceGroupUrlsIsMutable() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -16902,7 +16902,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -16919,7 +16919,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -16937,7 +16937,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -16955,7 +16955,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. @@ -16981,7 +16981,7 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -17006,7 +17006,7 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -17028,7 +17028,7 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @return This builder for chaining. */ @java.lang.Deprecated @@ -17049,7 +17049,7 @@ public Builder clearInstanceGroupUrls() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ @@ -17078,7 +17078,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2222 * @return The currentNodeCount. */ @java.lang.Override @@ -17097,7 +17097,7 @@ public int getCurrentNodeCount() { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2222 * @param value The currentNodeCount to set. * @return This builder for chaining. */ @@ -17120,7 +17120,7 @@ public Builder setCurrentNodeCount(int value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2222 * @return This builder for chaining. */ @java.lang.Deprecated @@ -19336,7 +19336,7 @@ public com.google.container.v1beta1.NodePoolAutoConfig.Builder getNodePoolAutoCo * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2271 + * google/container/v1beta1/cluster_service.proto;l=2275 * @return Whether the protectConfig field is set. */ @java.lang.Deprecated @@ -19356,7 +19356,7 @@ public boolean hasProtectConfig() { * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2271 + * google/container/v1beta1/cluster_service.proto;l=2275 * @return The protectConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java index 5f6695c514b7..f691b8f7a08e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java @@ -105,7 +105,7 @@ public interface ClusterOrBuilder * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1937 + * google/container/v1beta1/cluster_service.proto;l=1941 * @return The initialNodeCount. */ @java.lang.Deprecated @@ -131,7 +131,7 @@ public interface ClusterOrBuilder * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1950 + * google/container/v1beta1/cluster_service.proto;l=1954 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -156,7 +156,7 @@ public interface ClusterOrBuilder * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1950 + * google/container/v1beta1/cluster_service.proto;l=1954 * @return The nodeConfig. */ @java.lang.Deprecated @@ -1081,7 +1081,7 @@ java.lang.String getResourceLabelsOrDefault( * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2075 + * google/container/v1beta1/cluster_service.proto;l=2079 * @return The privateCluster. */ @java.lang.Deprecated @@ -1101,7 +1101,7 @@ java.lang.String getResourceLabelsOrDefault( * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2082 + * google/container/v1beta1/cluster_service.proto;l=2086 * @return The masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -1120,7 +1120,7 @@ java.lang.String getResourceLabelsOrDefault( * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2082 + * google/container/v1beta1/cluster_service.proto;l=2086 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -1802,7 +1802,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2157 * @return The zone. */ @java.lang.Deprecated @@ -1819,7 +1819,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2153 + * google/container/v1beta1/cluster_service.proto;l=2157 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1948,7 +1948,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2186 + * google/container/v1beta1/cluster_service.proto;l=2190 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -1967,7 +1967,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2186 + * google/container/v1beta1/cluster_service.proto;l=2190 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -2037,7 +2037,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2198 + * google/container/v1beta1/cluster_service.proto;l=2202 * @return The statusMessage. */ @java.lang.Deprecated @@ -2054,7 +2054,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2198 + * google/container/v1beta1/cluster_service.proto;l=2202 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2119,7 +2119,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -2134,7 +2134,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -2149,7 +2149,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -2165,7 +2165,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2214 + * google/container/v1beta1/cluster_service.proto;l=2218 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -2183,7 +2183,7 @@ java.lang.String getResourceLabelsOrDefault( * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2218 + * google/container/v1beta1/cluster_service.proto;l=2222 * @return The currentNodeCount. */ @java.lang.Deprecated @@ -2633,7 +2633,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2271 + * google/container/v1beta1/cluster_service.proto;l=2275 * @return Whether the protectConfig field is set. */ @java.lang.Deprecated @@ -2651,7 +2651,7 @@ java.lang.String getResourceLabelsOrDefault( * * * @deprecated google.container.v1beta1.Cluster.protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2271 + * google/container/v1beta1/cluster_service.proto;l=2275 * @return The protectConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java index e105379e941a..f398ce73700b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java @@ -868,6 +868,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_container_v1beta1_SecondaryBootDisk_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_container_v1beta1_SecondaryBootDisk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SecondaryBootDiskUpdateStrategy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SecondaryBootDiskUpdateStrategy_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -905,7 +909,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003 \001(\t\022\026\n\016pod_pids_limit\030\004 \001(\003\0223\n&insecur" + "e_kubelet_readonly_port_enabled\030\007 \001(\010H\000\210" + "\001\001B)\n\'_insecure_kubelet_readonly_port_en" - + "abled\"\255\022\n\nNodeConfig\022\024\n\014machine_type\030\001 \001" + + "abled\"\302\023\n\nNodeConfig\022\024\n\014machine_type\030\001 \001" + "(\t\022\024\n\014disk_size_gb\030\002 \001(\005\022\024\n\014oauth_scopes" + "\030\003 \003(\t\022\027\n\017service_account\030\t \001(\t\022D\n\010metad" + "ata\030\004 \003(\01322.google.container.v1beta1.Nod" @@ -959,1402 +963,1409 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ainer.v1beta1.ResourceManagerTags\022(\n\033ena" + "ble_confidential_storage\030. \001(\010B\003\340A\001\022I\n\024s" + "econdary_boot_disks\0300 \003(\0132+.google.conta" - + "iner.v1beta1.SecondaryBootDisk\032/\n\rMetada" - + "taEntry\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\0325\n\023ResourceLabelsEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\016\n\014_fast_socket\"M\n" - + "\027AdvancedMachineFeatures\022\035\n\020threads_per_" - + "core\030\001 \001(\003H\000\210\001\001B\023\n\021_threads_per_core\"\355\007\n" - + "\021NodeNetworkConfig\022\035\n\020create_pod_range\030\004" - + " \001(\010B\003\340A\004\022\021\n\tpod_range\030\005 \001(\t\022\033\n\023pod_ipv4" - + "_cidr_block\030\006 \001(\t\022!\n\024enable_private_node" - + "s\030\t \001(\010H\000\210\001\001\022m\n\032network_performance_conf" - + "ig\030\013 \001(\0132D.google.container.v1beta1.Node" - + "NetworkConfig.NetworkPerformanceConfigH\001" - + "\210\001\001\022[\n\035pod_cidr_overprovision_config\030\r \001" - + "(\01324.google.container.v1beta1.PodCIDROve" - + "rprovisionConfig\022^\n\037additional_node_netw" - + "ork_configs\030\016 \003(\01325.google.container.v1b" - + "eta1.AdditionalNodeNetworkConfig\022\\\n\036addi" - + "tional_pod_network_configs\030\017 \003(\01324.googl" - + "e.container.v1beta1.AdditionalPodNetwork" - + "Config\022\'\n\032pod_ipv4_range_utilization\030\020 \001" - + "(\001B\003\340A\003\032\372\002\n\030NetworkPerformanceConfig\022s\n\033" - + "total_egress_bandwidth_tier\030\001 \001(\0162I.goog" - + "le.container.v1beta1.NodeNetworkConfig.N" - + "etworkPerformanceConfig.TierH\000\210\001\001\022y\n!ext" - + "ernal_ip_egress_bandwidth_tier\030\002 \001(\0162I.g" - + "oogle.container.v1beta1.NodeNetworkConfi" - + "g.NetworkPerformanceConfig.TierH\001\210\001\001\"(\n\004" - + "Tier\022\024\n\020TIER_UNSPECIFIED\020\000\022\n\n\006TIER_1\020\001B\036" - + "\n\034_total_egress_bandwidth_tierB$\n\"_exter" - + "nal_ip_egress_bandwidth_tierB\027\n\025_enable_" - + "private_nodesB\035\n\033_network_performance_co" - + "nfig\"B\n\033AdditionalNodeNetworkConfig\022\017\n\007n" - + "etwork\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\"\260\001\n\032Add" - + "itionalPodNetworkConfig\022\022\n\nsubnetwork\030\001 " - + "\001(\t\022\033\n\023secondary_pod_range\030\002 \001(\t\022K\n\021max_" - + "pods_per_node\030\003 \001(\0132+.google.container.v" - + "1beta1.MaxPodsConstraintH\000\210\001\001B\024\n\022_max_po" - + "ds_per_node\"Y\n\026ShieldedInstanceConfig\022\032\n" - + "\022enable_secure_boot\030\001 \001(\010\022#\n\033enable_inte" - + "grity_monitoring\030\002 \001(\010\"\212\001\n\rSandboxConfig" - + "\022\030\n\014sandbox_type\030\001 \001(\tB\002\030\001\022:\n\004type\030\002 \001(\016" - + "2,.google.container.v1beta1.SandboxConfi" - + "g.Type\"#\n\004Type\022\017\n\013UNSPECIFIED\020\000\022\n\n\006GVISO" - + "R\020\001\"1\n\026EphemeralStorageConfig\022\027\n\017local_s" - + "sd_count\030\001 \001(\005\"2\n\027LocalNvmeSsdBlockConfi" - + "g\022\027\n\017local_ssd_count\030\001 \001(\005\"9\n\036EphemeralS" - + "torageLocalSsdConfig\022\027\n\017local_ssd_count\030" - + "\001 \001(\005\"\035\n\nGcfsConfig\022\017\n\007enabled\030\001 \001(\010\"\344\001\n" - + "\023ReservationAffinity\022T\n\030consume_reservat" - + "ion_type\030\001 \001(\01622.google.container.v1beta" - + "1.ReservationAffinity.Type\022\013\n\003key\030\002 \001(\t\022" - + "\016\n\006values\030\003 \003(\t\"Z\n\004Type\022\017\n\013UNSPECIFIED\020\000" - + "\022\022\n\016NO_RESERVATION\020\001\022\023\n\017ANY_RESERVATION\020" - + "\002\022\030\n\024SPECIFIC_RESERVATION\020\003\"\240\002\n\020SoleTena" - + "ntConfig\022P\n\017node_affinities\030\001 \003(\01327.goog" - + "le.container.v1beta1.SoleTenantConfig.No" - + "deAffinity\032\271\001\n\014NodeAffinity\022\013\n\003key\030\001 \001(\t" - + "\022R\n\010operator\030\002 \001(\0162@.google.container.v1" - + "beta1.SoleTenantConfig.NodeAffinity.Oper" - + "ator\022\016\n\006values\030\003 \003(\t\"8\n\010Operator\022\030\n\024OPER" - + "ATOR_UNSPECIFIED\020\000\022\006\n\002IN\020\001\022\n\n\006NOT_IN\020\002\"\255" - + "\005\n\025HostMaintenancePolicy\022f\n\024maintenance_" - + "interval\030\001 \001(\0162C.google.container.v1beta" - + "1.HostMaintenancePolicy.MaintenanceInter" - + "valH\001\210\001\001\022~\n\"opportunistic_maintenance_st" - + "rategy\030\002 \001(\0132P.google.container.v1beta1." - + "HostMaintenancePolicy.OpportunisticMaint" - + "enanceStrategyH\000\032\240\002\n OpportunisticMainte" - + "nanceStrategy\022=\n\025node_idle_time_window\030\001" - + " \001(\0132\031.google.protobuf.DurationH\000\210\001\001\022G\n\037" - + "maintenance_availability_window\030\002 \001(\0132\031." - + "google.protobuf.DurationH\001\210\001\001\022\037\n\022min_nod" - + "es_per_pool\030\003 \001(\003H\002\210\001\001B\030\n\026_node_idle_tim" - + "e_windowB\"\n _maintenance_availability_wi" - + "ndowB\025\n\023_min_nodes_per_pool\"X\n\023Maintenan" - + "ceInterval\022$\n MAINTENANCE_INTERVAL_UNSPE" - + "CIFIED\020\000\022\r\n\tAS_NEEDED\020\001\022\014\n\010PERIODIC\020\002B\026\n" - + "\024maintenance_strategyB\027\n\025_maintenance_in" - + "terval\"\276\001\n\tNodeTaint\022\013\n\003key\030\001 \001(\t\022\r\n\005val" - + "ue\030\002 \001(\t\022:\n\006effect\030\003 \001(\0162*.google.contai" - + "ner.v1beta1.NodeTaint.Effect\"Y\n\006Effect\022\026" - + "\n\022EFFECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDULE\020\001\022" - + "\026\n\022PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECUTE\020\003\"" - + "A\n\nNodeTaints\0223\n\006taints\030\001 \003(\0132#.google.c" - + "ontainer.v1beta1.NodeTaint\"}\n\nNodeLabels" - + "\022@\n\006labels\030\001 \003(\01320.google.container.v1be" - + "ta1.NodeLabels.LabelsEntry\032-\n\013LabelsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\001\n\016Re" - + "sourceLabels\022D\n\006labels\030\001 \003(\01324.google.co" - + "ntainer.v1beta1.ResourceLabels.LabelsEnt" - + "ry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - + "\002 \001(\t:\0028\001\"\033\n\013NetworkTags\022\014\n\004tags\030\001 \003(\t\"\336" - + "\001\n\nMasterAuth\022\024\n\010username\030\001 \001(\tB\002\030\001\022\024\n\010p" - + "assword\030\002 \001(\tB\002\030\001\022T\n\031client_certificate_" - + "config\030\003 \001(\01321.google.container.v1beta1." - + "ClientCertificateConfig\022\036\n\026cluster_ca_ce" - + "rtificate\030d \001(\t\022\032\n\022client_certificate\030e " - + "\001(\t\022\022\n\nclient_key\030f \001(\t\";\n\027ClientCertifi" - + "cateConfig\022 \n\030issue_client_certificate\030\001" - + " \001(\010\"\350\010\n\014AddonsConfig\022H\n\023http_load_balan" - + "cing\030\001 \001(\0132+.google.container.v1beta1.Ht" - + "tpLoadBalancing\022V\n\032horizontal_pod_autosc" - + "aling\030\002 \001(\01322.google.container.v1beta1.H" - + "orizontalPodAutoscaling\022O\n\024kubernetes_da" - + "shboard\030\003 \001(\0132-.google.container.v1beta1" - + ".KubernetesDashboardB\002\030\001\022L\n\025network_poli" - + "cy_config\030\004 \001(\0132-.google.container.v1bet" - + "a1.NetworkPolicyConfig\022?\n\014istio_config\030\005" - + " \001(\0132%.google.container.v1beta1.IstioCon" - + "figB\002\030\001\022B\n\020cloud_run_config\030\007 \001(\0132(.goog" - + "le.container.v1beta1.CloudRunConfig\022B\n\020d" - + "ns_cache_config\030\010 \001(\0132(.google.container" - + ".v1beta1.DnsCacheConfig\022P\n\027config_connec" - + "tor_config\030\n \001(\0132/.google.container.v1be" - + "ta1.ConfigConnectorConfig\022i\n%gce_persist" - + "ent_disk_csi_driver_config\030\013 \001(\0132:.googl" - + "e.container.v1beta1.GcePersistentDiskCsi" - + "DriverConfig\022=\n\013kalm_config\030\014 \001(\0132$.goog" - + "le.container.v1beta1.KalmConfigB\002\030\001\022^\n\037g" - + "cp_filestore_csi_driver_config\030\016 \001(\01325.g" - + "oogle.container.v1beta1.GcpFilestoreCsiD" - + "riverConfig\022O\n\027gke_backup_agent_config\030\020" - + " \001(\0132..google.container.v1beta1.GkeBacku" - + "pAgentConfig\022T\n\032gcs_fuse_csi_driver_conf" - + "ig\030\021 \001(\01320.google.container.v1beta1.GcsF" - + "useCsiDriverConfig\022K\n\022stateful_ha_config" - + "\030\022 \001(\0132*.google.container.v1beta1.Statef" - + "ulHAConfigB\003\340A\001\"%\n\021HttpLoadBalancing\022\020\n\010" - + "disabled\030\001 \001(\010\",\n\030HorizontalPodAutoscali" - + "ng\022\020\n\010disabled\030\001 \001(\010\"\'\n\023KubernetesDashbo" - + "ard\022\020\n\010disabled\030\001 \001(\010\"\'\n\023NetworkPolicyCo" - + "nfig\022\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCacheConfig" - + "\022\017\n\007enabled\030\001 \001(\010\"!\n\nKalmConfig\022\023\n\007enabl" - + "ed\030\001 \001(\010B\002\030\001\"\'\n\024GkeBackupAgentConfig\022\017\n\007" - + "enabled\030\001 \001(\010\"#\n\020StatefulHAConfig\022\017\n\007ena" - + "bled\030\001 \001(\010\"(\n\025ConfigConnectorConfig\022\017\n\007e" - + "nabled\030\001 \001(\010\"3\n GcePersistentDiskCsiDriv" - + "erConfig\022\017\n\007enabled\030\001 \001(\010\".\n\033GcpFilestor" - + "eCsiDriverConfig\022\017\n\007enabled\030\001 \001(\010\")\n\026Gcs" - + "FuseCsiDriverConfig\022\017\n\007enabled\030\001 \001(\010\"9\n&" - + "PrivateClusterMasterGlobalAccessConfig\022\017" - + "\n\007enabled\030\001 \001(\010\"\312\002\n\024PrivateClusterConfig" - + "\022\034\n\024enable_private_nodes\030\001 \001(\010\022\037\n\027enable" - + "_private_endpoint\030\002 \001(\010\022\036\n\026master_ipv4_c" - + "idr_block\030\003 \001(\t\022\030\n\020private_endpoint\030\004 \001(" - + "\t\022\027\n\017public_endpoint\030\005 \001(\t\022\024\n\014peering_na" - + "me\030\007 \001(\t\022e\n\033master_global_access_config\030" - + "\010 \001(\0132@.google.container.v1beta1.Private" - + "ClusterMasterGlobalAccessConfig\022#\n\033priva" - + "te_endpoint_subnetwork\030\n \001(\t\"\237\001\n\013IstioCo" - + "nfig\022\024\n\010disabled\030\001 \001(\010B\002\030\001\022E\n\004auth\030\002 \001(\016" - + "23.google.container.v1beta1.IstioConfig." - + "IstioAuthModeB\002\030\001\"3\n\rIstioAuthMode\022\r\n\tAU" - + "TH_NONE\020\000\022\023\n\017AUTH_MUTUAL_TLS\020\001\"\363\001\n\016Cloud" - + "RunConfig\022\020\n\010disabled\030\001 \001(\010\022U\n\022load_bala" - + "ncer_type\030\003 \001(\01629.google.container.v1bet" - + "a1.CloudRunConfig.LoadBalancerType\"x\n\020Lo" - + "adBalancerType\022\"\n\036LOAD_BALANCER_TYPE_UNS" - + "PECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTERNA" - + "L\020\001\022\037\n\033LOAD_BALANCER_TYPE_INTERNAL\020\002\"\223\002\n" - + "\036MasterAuthorizedNetworksConfig\022\017\n\007enabl" - + "ed\030\001 \001(\010\022W\n\013cidr_blocks\030\002 \003(\0132B.google.c" - + "ontainer.v1beta1.MasterAuthorizedNetwork" - + "sConfig.CidrBlock\022,\n\037gcp_public_cidrs_ac" - + "cess_enabled\030\003 \001(\010H\000\210\001\001\0325\n\tCidrBlock\022\024\n\014" - + "display_name\030\001 \001(\t\022\022\n\ncidr_block\030\002 \001(\tB\"" - + "\n _gcp_public_cidrs_access_enabled\"\035\n\nLe" - + "gacyAbac\022\017\n\007enabled\030\001 \001(\010\"\226\001\n\rNetworkPol" - + "icy\022B\n\010provider\030\001 \001(\01620.google.container" - + ".v1beta1.NetworkPolicy.Provider\022\017\n\007enabl" - + "ed\030\002 \001(\010\"0\n\010Provider\022\030\n\024PROVIDER_UNSPECI" - + "FIED\020\000\022\n\n\006CALICO\020\001\"-\n\032PodCIDROverprovisi" - + "onConfig\022\017\n\007disable\030\001 \001(\010\"\246\010\n\022IPAllocati" - + "onPolicy\022\026\n\016use_ip_aliases\030\001 \001(\010\022\031\n\021crea" - + "te_subnetwork\030\002 \001(\010\022\027\n\017subnetwork_name\030\003" - + " \001(\t\022\035\n\021cluster_ipv4_cidr\030\004 \001(\tB\002\030\001\022\032\n\016n" - + "ode_ipv4_cidr\030\005 \001(\tB\002\030\001\022\036\n\022services_ipv4" - + "_cidr\030\006 \001(\tB\002\030\001\022$\n\034cluster_secondary_ran" - + "ge_name\030\007 \001(\t\022%\n\035services_secondary_rang" - + "e_name\030\010 \001(\t\022\037\n\027cluster_ipv4_cidr_block\030" - + "\t \001(\t\022\034\n\024node_ipv4_cidr_block\030\n \001(\t\022 \n\030s" - + "ervices_ipv4_cidr_block\030\013 \001(\t\022\033\n\023allow_r" - + "oute_overlap\030\014 \001(\010\022\033\n\023tpu_ipv4_cidr_bloc" - + "k\030\r \001(\t\022\022\n\nuse_routes\030\017 \001(\010\022J\n\nstack_typ" - + "e\030\020 \001(\01626.google.container.v1beta1.IPAll" - + "ocationPolicy.StackType\022U\n\020ipv6_access_t" - + "ype\030\021 \001(\0162;.google.container.v1beta1.IPA" - + "llocationPolicy.IPv6AccessType\022[\n\035pod_ci" - + "dr_overprovision_config\030\025 \001(\01324.google.c" - + "ontainer.v1beta1.PodCIDROverprovisionCon" - + "fig\022#\n\026subnet_ipv6_cidr_block\030\026 \001(\tB\003\340A\003" - + "\022%\n\030services_ipv6_cidr_block\030\027 \001(\tB\003\340A\003\022" - + "^\n\034additional_pod_ranges_config\030\030 \001(\01323." - + "google.container.v1beta1.AdditionalPodRa" - + "ngesConfigB\003\340A\003\022/\n\"default_pod_ipv4_rang" - + "e_utilization\030\031 \001(\001B\003\340A\003\"@\n\tStackType\022\032\n" - + "\026STACK_TYPE_UNSPECIFIED\020\000\022\010\n\004IPV4\020\001\022\r\n\tI" - + "PV4_IPV6\020\002\"N\n\016IPv6AccessType\022 \n\034IPV6_ACC" - + "ESS_TYPE_UNSPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010" - + "EXTERNAL\020\002\"\300\003\n\023BinaryAuthorization\022\023\n\007en" - + "abled\030\001 \001(\010B\002\030\001\022U\n\017evaluation_mode\030\002 \001(\016" - + "2<.google.container.v1beta1.BinaryAuthor" - + "ization.EvaluationMode\022Y\n\017policy_binding" - + "s\030\005 \003(\0132;.google.container.v1beta1.Binar" - + "yAuthorization.PolicyBindingB\003\340A\001\032+\n\rPol" - + "icyBinding\022\021\n\004name\030\001 \001(\tH\000\210\001\001B\007\n\005_name\"\264" - + "\001\n\016EvaluationMode\022\037\n\033EVALUATION_MODE_UNS" - + "PECIFIED\020\000\022\014\n\010DISABLED\020\001\022$\n PROJECT_SING" - + "LETON_POLICY_ENFORCE\020\002\022\023\n\017POLICY_BINDING" - + "S\020\005\0228\n4POLICY_BINDINGS_AND_PROJECT_SINGL" - + "ETON_POLICY_ENFORCE\020\006\"*\n\027PodSecurityPoli" - + "cyConfig\022\017\n\007enabled\030\001 \001(\010\"D\n\031Authenticat" - + "orGroupsConfig\022\017\n\007enabled\030\001 \001(\010\022\026\n\016secur" - + "ity_group\030\002 \001(\t\"\226\001\n\020ClusterTelemetry\022=\n\004" - + "type\030\001 \001(\0162/.google.container.v1beta1.Cl" - + "usterTelemetry.Type\"C\n\004Type\022\017\n\013UNSPECIFI" - + "ED\020\000\022\014\n\010DISABLED\020\001\022\013\n\007ENABLED\020\002\022\017\n\013SYSTE" - + "M_ONLY\020\003\"\351!\n\007Cluster\022\014\n\004name\030\001 \001(\t\022\023\n\013de" - + "scription\030\002 \001(\t\022\036\n\022initial_node_count\030\003 " - + "\001(\005B\002\030\001\022=\n\013node_config\030\004 \001(\0132$.google.co" - + "ntainer.v1beta1.NodeConfigB\002\030\001\0229\n\013master" - + "_auth\030\005 \001(\0132$.google.container.v1beta1.M" - + "asterAuth\022\027\n\017logging_service\030\006 \001(\t\022\032\n\022mo" - + "nitoring_service\030\007 \001(\t\022\017\n\007network\030\010 \001(\t\022" - + "\031\n\021cluster_ipv4_cidr\030\t \001(\t\022=\n\raddons_con" - + "fig\030\n \001(\0132&.google.container.v1beta1.Add" - + "onsConfig\022\022\n\nsubnetwork\030\013 \001(\t\0226\n\nnode_po" - + "ols\030\014 \003(\0132\".google.container.v1beta1.Nod" - + "ePool\022\021\n\tlocations\030\r \003(\t\022\037\n\027enable_kuber" - + "netes_alpha\030\016 \001(\010\022I\n\024enable_k8s_beta_api" - + "s\030\217\001 \001(\0132*.google.container.v1beta1.K8sB" - + "etaAPIConfig\022N\n\017resource_labels\030\017 \003(\01325." - + "google.container.v1beta1.Cluster.Resourc" - + "eLabelsEntry\022\031\n\021label_fingerprint\030\020 \001(\t\022" - + "9\n\013legacy_abac\030\022 \001(\0132$.google.container." - + "v1beta1.LegacyAbac\022?\n\016network_policy\030\023 \001" - + "(\0132\'.google.container.v1beta1.NetworkPol" - + "icy\022J\n\024ip_allocation_policy\030\024 \001(\0132,.goog" - + "le.container.v1beta1.IPAllocationPolicy\022" - + "c\n!master_authorized_networks_config\030\026 \001" - + "(\01328.google.container.v1beta1.MasterAuth" - + "orizedNetworksConfig\022G\n\022maintenance_poli" - + "cy\030\027 \001(\0132+.google.container.v1beta1.Main" - + "tenancePolicy\022K\n\024binary_authorization\030\030 " - + "\001(\0132-.google.container.v1beta1.BinaryAut" - + "horization\022U\n\032pod_security_policy_config" - + "\030\031 \001(\01321.google.container.v1beta1.PodSec" - + "urityPolicyConfig\022A\n\013autoscaling\030\032 \001(\0132," - + ".google.container.v1beta1.ClusterAutosca" - + "ling\022?\n\016network_config\030\033 \001(\0132\'.google.co" - + "ntainer.v1beta1.NetworkConfig\022\033\n\017private" - + "_cluster\030\034 \001(\010B\002\030\001\022\"\n\026master_ipv4_cidr_b" - + "lock\030\035 \001(\tB\002\030\001\022P\n\033default_max_pods_const" - + "raint\030\036 \001(\0132+.google.container.v1beta1.M" - + "axPodsConstraint\022Y\n\034resource_usage_expor" - + "t_config\030! \001(\01323.google.container.v1beta" - + "1.ResourceUsageExportConfig\022X\n\033authentic" - + "ator_groups_config\030\" \001(\01323.google.contai" - + "ner.v1beta1.AuthenticatorGroupsConfig\022N\n" - + "\026private_cluster_config\030% \001(\0132..google.c" - + "ontainer.v1beta1.PrivateClusterConfig\022R\n" - + "\030vertical_pod_autoscaling\030\' \001(\01320.google" - + ".container.v1beta1.VerticalPodAutoscalin" - + "g\022?\n\016shielded_nodes\030( \001(\0132\'.google.conta" - + "iner.v1beta1.ShieldedNodes\022A\n\017release_ch" - + "annel\030) \001(\0132(.google.container.v1beta1.R" - + "eleaseChannel\022R\n\030workload_identity_confi" - + "g\030+ \001(\01320.google.container.v1beta1.Workl" - + "oadIdentityConfig\022M\n\025workload_certificat" - + "es\0304 \001(\0132..google.container.v1beta1.Work" - + "loadCertificates\022E\n\021mesh_certificates\030C " - + "\001(\0132*.google.container.v1beta1.MeshCerti" - + "ficates\022J\n\024workload_alts_config\0305 \001(\0132,." - + "google.container.v1beta1.WorkloadALTSCon" - + "fig\022N\n\026cost_management_config\030- \001(\0132..go" - + "ogle.container.v1beta1.CostManagementCon" - + "fig\022E\n\021cluster_telemetry\030. \001(\0132*.google." - + "container.v1beta1.ClusterTelemetry\0227\n\ntp" - + "u_config\030/ \001(\0132#.google.container.v1beta" - + "1.TpuConfig\022I\n\023notification_config\0301 \001(\013" - + "2,.google.container.v1beta1.Notification" - + "Config\022G\n\022confidential_nodes\0302 \001(\0132+.goo" - + "gle.container.v1beta1.ConfidentialNodes\022" - + "P\n\027identity_service_config\0306 \001(\0132/.googl" - + "e.container.v1beta1.IdentityServiceConfi" - + "g\022\021\n\tself_link\030d \001(\t\022\020\n\004zone\030e \001(\tB\002\030\001\022\020" - + "\n\010endpoint\030f \001(\t\022\037\n\027initial_cluster_vers" - + "ion\030g \001(\t\022\036\n\026current_master_version\030h \001(" - + "\t\022 \n\024current_node_version\030i \001(\tB\002\030\001\022\023\n\013c" - + "reate_time\030j \001(\t\0228\n\006status\030k \001(\0162(.googl" - + "e.container.v1beta1.Cluster.Status\022\032\n\016st" - + "atus_message\030l \001(\tB\002\030\001\022\033\n\023node_ipv4_cidr" - + "_size\030m \001(\005\022\032\n\022services_ipv4_cidr\030n \001(\t\022" - + "\037\n\023instance_group_urls\030o \003(\tB\002\030\001\022\036\n\022curr" - + "ent_node_count\030p \001(\005B\002\030\001\022\023\n\013expire_time\030" - + "q \001(\t\022\020\n\010location\030r \001(\t\022\022\n\nenable_tpu\030s " - + "\001(\010\022\033\n\023tpu_ipv4_cidr_block\030t \001(\t\022I\n\023data" - + "base_encryption\030& \001(\0132,.google.container" - + ".v1beta1.DatabaseEncryption\022=\n\ncondition" - + "s\030v \003(\0132).google.container.v1beta1.Statu" - + "sCondition\0220\n\006master\030| \001(\0132 .google.cont" - + "ainer.v1beta1.Master\0227\n\tautopilot\030\200\001 \001(\013" - + "2#.google.container.v1beta1.Autopilot\022\020\n" - + "\002id\030\201\001 \001(\tB\003\340A\003\022L\n\022node_pool_defaults\030\203\001" - + " \001(\0132*.google.container.v1beta1.NodePool" - + "DefaultsH\000\210\001\001\022@\n\016logging_config\030\204\001 \001(\0132\'" - + ".google.container.v1beta1.LoggingConfig\022" - + "F\n\021monitoring_config\030\205\001 \001(\0132*.google.con" - + "tainer.v1beta1.MonitoringConfig\022L\n\025node_" - + "pool_auto_config\030\210\001 \001(\0132,.google.contain" - + "er.v1beta1.NodePoolAutoConfig\022I\n\016protect" - + "_config\030\211\001 \001(\0132\'.google.container.v1beta" - + "1.ProtectConfigB\002\030\001H\001\210\001\001\022\r\n\004etag\030\213\001 \001(\t\022" - + "/\n\005fleet\030\214\001 \001(\0132\037.google.container.v1bet" - + "a1.Fleet\022Q\n\027security_posture_config\030\221\001 \001" - + "(\0132/.google.container.v1beta1.SecurityPo" - + "stureConfig\022F\n\021enterprise_config\030\225\001 \001(\0132", - "*.google.container.v1beta1.EnterpriseCon" - + "fig\022M\n\025secret_manager_config\030\226\001 \001(\0132-.go" - + "ogle.container.v1beta1.SecretManagerConf" - + "ig\0325\n\023ResourceLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001\"w\n\006Status\022\026\n\022STATUS_UN" - + "SPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING" - + "\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERR" - + "OR\020\005\022\014\n\010DEGRADED\020\006B\025\n\023_node_pool_default" - + "sB\021\n\017_protect_config\"(\n\020K8sBetaAPIConfig" - + "\022\024\n\014enabled_apis\030\001 \003(\t\"\304\001\n\016WorkloadConfi" - + "g\022F\n\naudit_mode\030\001 \001(\0162-.google.container" - + ".v1beta1.WorkloadConfig.ModeH\000\210\001\001\"[\n\004Mod" - + "e\022\024\n\020MODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\t\n" - + "\005BASIC\020\004\022\020\n\010BASELINE\020\002\032\002\010\001\022\022\n\nRESTRICTED" - + "\020\003\032\002\010\001B\r\n\013_audit_mode\"\333\002\n\rProtectConfig\022" - + "F\n\017workload_config\030\001 \001(\0132(.google.contai" - + "ner.v1beta1.WorkloadConfigH\000\210\001\001\022k\n\033workl" - + "oad_vulnerability_mode\030\002 \001(\0162A.google.co" - + "ntainer.v1beta1.ProtectConfig.WorkloadVu" - + "lnerabilityModeH\001\210\001\001\"a\n\031WorkloadVulnerab" - + "ilityMode\022+\n\'WORKLOAD_VULNERABILITY_MODE" - + "_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\t\n\005BASIC\020\002B" - + "\022\n\020_workload_configB\036\n\034_workload_vulnera" - + "bility_mode\"\250\003\n\025SecurityPostureConfig\022G\n" - + "\004mode\030\001 \001(\01624.google.container.v1beta1.S" - + "ecurityPostureConfig.ModeH\000\210\001\001\022b\n\022vulner" - + "ability_mode\030\002 \001(\0162A.google.container.v1" - + "beta1.SecurityPostureConfig.Vulnerabilit" - + "yModeH\001\210\001\001\"5\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000" - + "\022\014\n\010DISABLED\020\001\022\t\n\005BASIC\020\002\"\212\001\n\021Vulnerabil" - + "ityMode\022\"\n\036VULNERABILITY_MODE_UNSPECIFIE" - + "D\020\000\022\032\n\026VULNERABILITY_DISABLED\020\001\022\027\n\023VULNE" - + "RABILITY_BASIC\020\002\022\034\n\030VULNERABILITY_ENTERP" - + "RISE\020\003B\007\n\005_modeB\025\n\023_vulnerability_mode\"^" - + "\n\020NodePoolDefaults\022J\n\024node_config_defaul" - + "ts\030\001 \001(\0132,.google.container.v1beta1.Node" - + "ConfigDefaults\"\352\001\n\022NodeConfigDefaults\0229\n" - + "\013gcfs_config\030\001 \001(\0132$.google.container.v1" - + "beta1.GcfsConfig\022G\n\016logging_config\030\003 \001(\013" - + "2/.google.container.v1beta1.NodePoolLogg" - + "ingConfig\022P\n\027host_maintenance_policy\030\005 \001" - + "(\0132/.google.container.v1beta1.HostMainte" - + "nancePolicy\"\237\001\n\022NodePoolAutoConfig\022;\n\014ne" - + "twork_tags\030\001 \001(\0132%.google.container.v1be" - + "ta1.NetworkTags\022L\n\025resource_manager_tags" - + "\030\002 \001(\0132-.google.container.v1beta1.Resour" - + "ceManagerTags\"\254&\n\rClusterUpdate\022\034\n\024desir" - + "ed_node_version\030\004 \001(\t\022\"\n\032desired_monitor" - + "ing_service\030\005 \001(\t\022E\n\025desired_addons_conf" - + "ig\030\006 \001(\0132&.google.container.v1beta1.Addo" - + "nsConfig\022\034\n\024desired_node_pool_id\030\007 \001(\t\022\032" - + "\n\022desired_image_type\030\010 \001(\t\022T\n\035desired_no" - + "de_pool_autoscaling\030\t \001(\0132-.google.conta" - + "iner.v1beta1.NodePoolAutoscaling\022\031\n\021desi" - + "red_locations\030\n \003(\t\022k\n)desired_master_au" - + "thorized_networks_config\030\014 \001(\01328.google." - + "container.v1beta1.MasterAuthorizedNetwor" - + "ksConfig\022]\n\"desired_pod_security_policy_" - + "config\030\016 \001(\01321.google.container.v1beta1." - + "PodSecurityPolicyConfig\022Q\n\033desired_clust" - + "er_autoscaling\030\017 \001(\0132,.google.container." - + "v1beta1.ClusterAutoscaling\022S\n\034desired_bi" - + "nary_authorization\030\020 \001(\0132-.google.contai" - + "ner.v1beta1.BinaryAuthorization\022\037\n\027desir" - + "ed_logging_service\030\023 \001(\t\022a\n$desired_reso" - + "urce_usage_export_config\030\025 \001(\01323.google." - + "container.v1beta1.ResourceUsageExportCon" - + "fig\022Z\n desired_vertical_pod_autoscaling\030" - + "\026 \001(\01320.google.container.v1beta1.Vertica" - + "lPodAutoscaling\022V\n\036desired_private_clust" - + "er_config\030\031 \001(\0132..google.container.v1bet" - + "a1.PrivateClusterConfig\022a\n$desired_intra" - + "_node_visibility_config\030\032 \001(\01323.google.c" - + "ontainer.v1beta1.IntraNodeVisibilityConf" - + "ig\022P\n\033desired_default_snat_status\030\034 \001(\0132" - + "+.google.container.v1beta1.DefaultSnatSt" - + "atus\022M\n\031desired_cluster_telemetry\030\036 \001(\0132" - + "*.google.container.v1beta1.ClusterTeleme" - + "try\022I\n\027desired_release_channel\030\037 \001(\0132(.g" - + "oogle.container.v1beta1.ReleaseChannel\022?" - + "\n\022desired_tpu_config\030& \001(\0132#.google.cont" - + "ainer.v1beta1.TpuConfig\022V\n\037desired_l4ilb" - + "_subsetting_config\030\' \001(\0132-.google.contai" - + "ner.v1beta1.ILBSubsettingConfig\022M\n\031desir" - + "ed_datapath_provider\0302 \001(\0162*.google.cont" - + "ainer.v1beta1.DatapathProvider\022]\n\"desire" - + "d_private_ipv6_google_access\0303 \001(\01621.goo" - + "gle.container.v1beta1.PrivateIPv6GoogleA" - + "ccess\022Q\n\033desired_notification_config\0307 \001" - + "(\0132,.google.container.v1beta1.Notificati" - + "onConfig\022\036\n\026desired_master_version\030d \001(\t" - + "\022A\n\023desired_gcfs_config\030m \001(\0132$.google.c" - + "ontainer.v1beta1.GcfsConfig\022Q\n\033desired_d" - + "atabase_encryption\030. \001(\0132,.google.contai" - + "ner.v1beta1.DatabaseEncryption\022Z\n desire" - + "d_workload_identity_config\030/ \001(\01320.googl" - + "e.container.v1beta1.WorkloadIdentityConf" - + "ig\022U\n\035desired_workload_certificates\030= \001(" - + "\0132..google.container.v1beta1.WorkloadCer" - + "tificates\022M\n\031desired_mesh_certificates\030C" - + " \001(\0132*.google.container.v1beta1.MeshCert" - + "ificates\022R\n\034desired_workload_alts_config" - + "\030> \001(\0132,.google.container.v1beta1.Worklo" - + "adALTSConfig\022G\n\026desired_shielded_nodes\0300" - + " \001(\0132\'.google.container.v1beta1.Shielded" - + "Nodes\022V\n\036desired_cost_management_config\030" - + "1 \001(\0132..google.container.v1beta1.CostMan" - + "agementConfig\0228\n\016desired_master\0304 \001(\0132 ." - + "google.container.v1beta1.Master\022?\n\022desir" - + "ed_dns_config\0305 \001(\0132#.google.container.v" - + "1beta1.DNSConfig\022_\n#desired_service_exte" - + "rnal_ips_config\030< \001(\01322.google.container" - + ".v1beta1.ServiceExternalIPsConfig\022`\n#des" - + "ired_authenticator_groups_config\030? \001(\01323" - + ".google.container.v1beta1.AuthenticatorG" - + "roupsConfig\022G\n\026desired_logging_config\030@ " - + "\001(\0132\'.google.container.v1beta1.LoggingCo" - + "nfig\022M\n\031desired_monitoring_config\030A \001(\0132" - + "*.google.container.v1beta1.MonitoringCon" - + "fig\022X\n\037desired_identity_service_config\030B" - + " \001(\0132/.google.container.v1beta1.Identity" - + "ServiceConfig\022,\n\037desired_enable_private_" - + "endpoint\030G \001(\010H\000\210\001\001\022Y\n*desired_node_pool" - + "_auto_config_network_tags\030n \001(\0132%.google" - + ".container.v1beta1.NetworkTags\022P\n\026desire" - + "d_protect_config\030p \001(\0132\'.google.containe" - + "r.v1beta1.ProtectConfigB\002\030\001H\001\210\001\001\022N\n\032desi" - + "red_gateway_api_config\030r \001(\0132*.google.co" - + "ntainer.v1beta1.GatewayAPIConfig\022\014\n\004etag" - + "\030s \001(\t\022Y\n desired_node_pool_logging_conf" - + "ig\030t \001(\0132/.google.container.v1beta1.Node" - + "PoolLoggingConfig\0226\n\rdesired_fleet\030u \001(\013" - + "2\037.google.container.v1beta1.Fleet\022?\n\022des" - + "ired_stack_type\030w \001(\0162#.google.container" - + ".v1beta1.StackType\022Y\n\034additional_pod_ran" - + "ges_config\030x \001(\01323.google.container.v1be" - + "ta1.AdditionalPodRangesConfig\022a\n$removed" - + "_additional_pod_ranges_config\030y \001(\01323.go" - + "ogle.container.v1beta1.AdditionalPodRang" - + "esConfig\022H\n\024enable_k8s_beta_apis\030z \001(\0132*" - + ".google.container.v1beta1.K8sBetaAPIConf" - + "ig\022X\n\037desired_security_posture_config\030| " - + "\001(\0132/.google.container.v1beta1.SecurityP" - + "ostureConfig\022s\n\"desired_network_performa" - + "nce_config\030} \001(\0132G.google.container.v1be" - + "ta1.NetworkConfig.ClusterNetworkPerforma" - + "nceConfig\022/\n\"desired_enable_fqdn_network" - + "_policy\030~ \001(\010H\002\210\001\001\022a\n(desired_autopilot_" - + "workload_policy_config\030\200\001 \001(\0132..google.c" - + "ontainer.v1beta1.WorkloadPolicyConfig\022J\n" - + "\025desired_k8s_beta_apis\030\203\001 \001(\0132*.google.c" - + "ontainer.v1beta1.K8sBetaAPIConfig\022Y\n\037des" - + "ired_host_maintenance_policy\030\204\001 \001(\0132/.go" - + "ogle.container.v1beta1.HostMaintenancePo" - + "licy\022k\n3desired_node_pool_auto_config_re" - + "source_manager_tags\030\210\001 \001(\0132-.google.cont" - + "ainer.v1beta1.ResourceManagerTags\022g\n$des" - + "ired_in_transit_encryption_config\030\211\001 \001(\016" - + "23.google.container.v1beta1.InTransitEnc" - + "ryptionConfigH\003\210\001\001\022>\n0desired_enable_cil" - + "ium_clusterwide_network_policy\030\212\001 \001(\010H\004\210" - + "\001\001\022Z\n\035desired_secret_manager_config\030\213\001 \001" - + "(\0132-.google.container.v1beta1.SecretMana" - + "gerConfigH\005\210\001\001B\"\n _desired_enable_privat" - + "e_endpointB\031\n\027_desired_protect_configB%\n" - + "#_desired_enable_fqdn_network_policyB\'\n%" - + "_desired_in_transit_encryption_configB3\n" - + "1_desired_enable_cilium_clusterwide_netw" - + "ork_policyB \n\036_desired_secret_manager_co" - + "nfig\"v\n\031AdditionalPodRangesConfig\022\027\n\017pod" - + "_range_names\030\001 \003(\t\022@\n\016pod_range_info\030\002 \003" - + "(\0132#.google.container.v1beta1.RangeInfoB" - + "\003\340A\003\">\n\tRangeInfo\022\027\n\nrange_name\030\001 \001(\tB\003\340" - + "A\003\022\030\n\013utilization\030\002 \001(\001B\003\340A\003\"\315\010\n\tOperati" - + "on\022\014\n\004name\030\001 \001(\t\022\020\n\004zone\030\002 \001(\tB\002\030\001\022@\n\016op" - + "eration_type\030\003 \001(\0162(.google.container.v1" - + "beta1.Operation.Type\022:\n\006status\030\004 \001(\0162*.g" - + "oogle.container.v1beta1.Operation.Status" - + "\022\016\n\006detail\030\010 \001(\t\022\035\n\016status_message\030\005 \001(\t" - + "B\005\030\001\340A\003\022\021\n\tself_link\030\006 \001(\t\022\023\n\013target_lin" - + "k\030\007 \001(\t\022\020\n\010location\030\t \001(\t\022\022\n\nstart_time\030" - + "\n \001(\t\022\020\n\010end_time\030\013 \001(\t\022B\n\010progress\030\014 \001(" - + "\0132+.google.container.v1beta1.OperationPr" - + "ogressB\003\340A\003\022I\n\022cluster_conditions\030\r \003(\0132" - + ").google.container.v1beta1.StatusConditi" - + "onB\002\030\001\022J\n\023nodepool_conditions\030\016 \003(\0132).go" - + "ogle.container.v1beta1.StatusConditionB\002" - + "\030\001\022!\n\005error\030\017 \001(\0132\022.google.rpc.Status\"R\n" - + "\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007PENDI" - + "NG\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020" - + "\004\"\300\003\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016CREA" - + "TE_CLUSTER\020\001\022\022\n\016DELETE_CLUSTER\020\002\022\022\n\016UPGR" - + "ADE_MASTER\020\003\022\021\n\rUPGRADE_NODES\020\004\022\022\n\016REPAI" - + "R_CLUSTER\020\005\022\022\n\016UPDATE_CLUSTER\020\006\022\024\n\020CREAT" - + "E_NODE_POOL\020\007\022\024\n\020DELETE_NODE_POOL\020\010\022\034\n\030S" - + "ET_NODE_POOL_MANAGEMENT\020\t\022\025\n\021AUTO_REPAIR" - + "_NODES\020\n\022\032\n\022AUTO_UPGRADE_NODES\020\013\032\002\010\001\022\022\n\n" - + "SET_LABELS\020\014\032\002\010\001\022\027\n\017SET_MASTER_AUTH\020\r\032\002\010" - + "\001\022\026\n\022SET_NODE_POOL_SIZE\020\016\022\032\n\022SET_NETWORK" - + "_POLICY\020\017\032\002\010\001\022\036\n\026SET_MAINTENANCE_POLICY\020" - + "\020\032\002\010\001\022\022\n\016RESIZE_CLUSTER\020\022\022\031\n\025FLEET_FEATU" - + "RE_UPGRADE\020\023\"\312\002\n\021OperationProgress\022\014\n\004na" - + "me\030\001 \001(\t\022:\n\006status\030\002 \001(\0162*.google.contai" - + "ner.v1beta1.Operation.Status\022C\n\007metrics\030" - + "\003 \003(\01322.google.container.v1beta1.Operati" - + "onProgress.Metric\022;\n\006stages\030\004 \003(\0132+.goog" - + "le.container.v1beta1.OperationProgress\032i" - + "\n\006Metric\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\tint_value" - + "\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014stri" - + "ng_value\030\004 \001(\tH\000B\007\n\005value\"\217\001\n\024CreateClus" - + "terRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n" - + "\004zone\030\002 \001(\tB\005\030\001\340A\002\0227\n\007cluster\030\003 \001(\0132!.go" - + "ogle.container.v1beta1.ClusterB\003\340A\002\022\016\n\006p" - + "arent\030\005 \001(\t\"l\n\021GetClusterRequest\022\031\n\nproj" - + "ect_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002" - + "\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\005 \001(" - + "\t\"\255\001\n\024UpdateClusterRequest\022\031\n\nproject_id" - + "\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncl" - + "uster_id\030\003 \001(\tB\005\030\001\340A\002\022<\n\006update\030\004 \001(\0132\'." - + "google.container.v1beta1.ClusterUpdateB\003" - + "\340A\002\022\014\n\004name\030\005 \001(\t\"\264\013\n\025UpdateNodePoolRequ" - + "est\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002" - + " \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033" - + "\n\014node_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\031\n\014node_vers" - + "ion\030\005 \001(\tB\003\340A\002\022\027\n\nimage_type\030\006 \001(\tB\003\340A\002\022" - + "\021\n\tlocations\030\r \003(\t\022R\n\030workload_metadata_" - + "config\030\016 \001(\01320.google.container.v1beta1." - + "WorkloadMetadataConfig\022\014\n\004name\030\010 \001(\t\022L\n\020" - + "upgrade_settings\030\017 \001(\01322.google.containe" - + "r.v1beta1.NodePool.UpgradeSettings\0223\n\004ta" - + "gs\030\020 \001(\0132%.google.container.v1beta1.Netw" - + "orkTags\0224\n\006taints\030\021 \001(\0132$.google.contain" - + "er.v1beta1.NodeTaints\0224\n\006labels\030\022 \001(\0132$." - + "google.container.v1beta1.NodeLabels\022D\n\021l" - + "inux_node_config\030\023 \001(\0132).google.containe" - + "r.v1beta1.LinuxNodeConfig\022C\n\016kubelet_con" - + "fig\030\024 \001(\0132+.google.container.v1beta1.Nod" - + "eKubeletConfig\022H\n\023node_network_config\030\025 " - + "\001(\0132+.google.container.v1beta1.NodeNetwo" - + "rkConfig\0229\n\013gcfs_config\030\026 \001(\0132$.google.c" - + "ontainer.v1beta1.GcfsConfig\022G\n\022confident" - + "ial_nodes\030\027 \001(\0132+.google.container.v1bet" - + "a1.ConfidentialNodes\0223\n\005gvnic\030\035 \001(\0132$.go" - + "ogle.container.v1beta1.VirtualNIC\022\014\n\004eta" - + "g\030\036 \001(\t\0229\n\013fast_socket\030\037 \001(\0132$.google.co" - + "ntainer.v1beta1.FastSocket\022G\n\016logging_co" - + "nfig\030 \001(\0132/.google.container.v1beta1.No" - + "dePoolLoggingConfig\022A\n\017resource_labels\030!" - + " \001(\0132(.google.container.v1beta1.Resource" - + "Labels\022H\n\023windows_node_config\030\" \001(\0132+.go" - + "ogle.container.v1beta1.WindowsNodeConfig" - + "\022\031\n\014machine_type\030$ \001(\tB\003\340A\001\022\026\n\tdisk_type" - + "\030% \001(\tB\003\340A\001\022\031\n\014disk_size_gb\030& \001(\003B\003\340A\001\022L" - + "\n\025resource_manager_tags\030\' \001(\0132-.google.c" - + "ontainer.v1beta1.ResourceManagerTags\022R\n\023" - + "queued_provisioning\030* \001(\01325.google.conta" - + "iner.v1beta1.NodePool.QueuedProvisioning" - + "\"\336\001\n\035SetNodePoolAutoscalingRequest\022\031\n\npr" - + "oject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340" - + "A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_po" - + "ol_id\030\004 \001(\tB\005\030\001\340A\002\022G\n\013autoscaling\030\005 \001(\0132" - + "-.google.container.v1beta1.NodePoolAutos" - + "calingB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\221\001\n\030SetLogging" - + "ServiceRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A" - + "\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001" - + "(\tB\005\030\001\340A\002\022\034\n\017logging_service\030\004 \001(\tB\003\340A\002\022" - + "\014\n\004name\030\005 \001(\t\"\227\001\n\033SetMonitoringServiceRe" - + "quest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone" - + "\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002" - + "\022\037\n\022monitoring_service\030\004 \001(\tB\003\340A\002\022\014\n\004nam" - + "e\030\006 \001(\t\"\265\001\n\026SetAddonsConfigRequest\022\031\n\npr" - + "oject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340" - + "A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022B\n\raddons_" - + "config\030\004 \001(\0132&.google.container.v1beta1." - + "AddonsConfigB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\206\001\n\023SetL" - + "ocationsRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340" - + "A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 " - + "\001(\tB\005\030\001\340A\002\022\026\n\tlocations\030\004 \003(\tB\003\340A\002\022\014\n\004na" - + "me\030\006 \001(\t\"\213\001\n\023UpdateMasterRequest\022\031\n\nproj" - + "ect_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002" - + "\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\016master_ve" - + "rsion\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\310\002\n\024SetMa" - + "sterAuthRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340" - + "A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 " - + "\001(\tB\005\030\001\340A\002\022J\n\006action\030\004 \001(\01625.google.cont" - + "ainer.v1beta1.SetMasterAuthRequest.Actio" - + "nB\003\340A\002\0229\n\006update\030\005 \001(\0132$.google.containe" - + "r.v1beta1.MasterAuthB\003\340A\002\022\014\n\004name\030\007 \001(\t\"" - + "P\n\006Action\022\013\n\007UNKNOWN\020\000\022\020\n\014SET_PASSWORD\020\001" - + "\022\025\n\021GENERATE_PASSWORD\020\002\022\020\n\014SET_USERNAME\020" - + "\003\"o\n\024DeleteClusterRequest\022\031\n\nproject_id\030" - + "\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\nclu" - + "ster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\004 \001(\t\"U\n\023Li" - + "stClustersRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030" - + "\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\016\n\006parent\030\004 \001(" - + "\t\"b\n\024ListClustersResponse\0223\n\010clusters\030\001 " - + "\003(\0132!.google.container.v1beta1.Cluster\022\025" - + "\n\rmissing_zones\030\002 \003(\t\"p\n\023GetOperationReq" - + "uest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030" - + "\002 \001(\tB\005\030\001\340A\002\022\033\n\014operation_id\030\003 \001(\tB\005\030\001\340A" - + "\002\022\014\n\004name\030\005 \001(\t\"W\n\025ListOperationsRequest" - + "\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(" - + "\tB\005\030\001\340A\002\022\016\n\006parent\030\004 \001(\t\"s\n\026CancelOperat" - + "ionRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n" - + "\004zone\030\002 \001(\tB\005\030\001\340A\002\022\033\n\014operation_id\030\003 \001(\t" - + "B\005\030\001\340A\002\022\014\n\004name\030\004 \001(\t\"h\n\026ListOperationsR" - + "esponse\0227\n\noperations\030\001 \003(\0132#.google.con" - + "tainer.v1beta1.Operation\022\025\n\rmissing_zone" - + "s\030\002 \003(\t\"V\n\026GetServerConfigRequest\022\031\n\npro" - + "ject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A" - + "\002\022\014\n\004name\030\004 \001(\t\"\351\005\n\014ServerConfig\022\037\n\027defa" - + "ult_cluster_version\030\001 \001(\t\022\033\n\023valid_node_" - + "versions\030\003 \003(\t\022\032\n\022default_image_type\030\004 \001" - + "(\t\022\031\n\021valid_image_types\030\005 \003(\t\022\035\n\025valid_m" - + "aster_versions\030\006 \003(\t\022M\n\010channels\030\t \003(\0132;" - + ".google.container.v1beta1.ServerConfig.R" - + "eleaseChannelConfig\022\\\n\024windows_version_m" - + "aps\030\n \003(\0132>.google.container.v1beta1.Ser" - + "verConfig.WindowsVersionMapsEntry\032\261\002\n\024Re" - + "leaseChannelConfig\022A\n\007channel\030\001 \001(\01620.go" - + "ogle.container.v1beta1.ReleaseChannel.Ch" - + "annel\022\027\n\017default_version\030\002 \001(\t\022l\n\022availa" - + "ble_versions\030\003 \003(\0132L.google.container.v1" - + "beta1.ServerConfig.ReleaseChannelConfig." - + "AvailableVersionB\002\030\001\022\026\n\016valid_versions\030\004" - + " \003(\t\0327\n\020AvailableVersion\022\017\n\007version\030\001 \001(" - + "\t\022\016\n\006reason\030\002 \001(\t:\002\030\001\032d\n\027WindowsVersionM" - + "apsEntry\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).g" - + "oogle.container.v1beta1.WindowsVersions:" - + "\0028\001\"F\n\026BestEffortProvisioning\022\017\n\007enabled" - + "\030\001 \001(\010\022\033\n\023min_provision_nodes\030\002 \001(\005\"\314\001\n\017" - + "WindowsVersions\022R\n\020windows_versions\030\001 \003(" - + "\01328.google.container.v1beta1.WindowsVers" - + "ions.WindowsVersion\032e\n\016WindowsVersion\022\022\n" - + "\nimage_type\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\022+\n" - + "\020support_end_date\030\003 \001(\0132\021.google.type.Da" - + "te\"\256\001\n\025CreateNodePoolRequest\022\031\n\nproject_" - + "id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\n" - + "cluster_id\030\003 \001(\tB\005\030\001\340A\002\022:\n\tnode_pool\030\004 \001" - + "(\0132\".google.container.v1beta1.NodePoolB\003" - + "\340A\002\022\016\n\006parent\030\006 \001(\t\"\215\001\n\025DeleteNodePoolRe" - + "quest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone" - + "\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002" - + "\022\033\n\014node_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 " - + "\001(\t\"q\n\024ListNodePoolsRequest\022\031\n\nproject_i" - + "d\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\nc" - + "luster_id\030\003 \001(\tB\005\030\001\340A\002\022\016\n\006parent\030\005 \001(\t\"\212" - + "\001\n\022GetNodePoolRequest\022\031\n\nproject_id\030\001 \001(" - + "\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster" - + "_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\tB\005" - + "\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"\251\004\n\021BlueGreenSetting" - + "s\022d\n\027standard_rollout_policy\030\001 \001(\0132A.goo" - + "gle.container.v1beta1.BlueGreenSettings." - + "StandardRolloutPolicyH\000\022h\n\031autoscaled_ro" - + "llout_policy\030\003 \001(\0132C.google.container.v1" - + "beta1.BlueGreenSettings.AutoscaledRollou" - + "tPolicyH\000\022?\n\027node_pool_soak_duration\030\002 \001" - + "(\0132\031.google.protobuf.DurationH\001\210\001\001\032\271\001\n\025S" - + "tandardRolloutPolicy\022\032\n\020batch_percentage" - + "\030\001 \001(\002H\000\022\032\n\020batch_node_count\030\002 \001(\005H\000\022;\n\023" - + "batch_soak_duration\030\003 \001(\0132\031.google.proto" - + "buf.DurationH\001\210\001\001B\023\n\021update_batch_sizeB\026" - + "\n\024_batch_soak_duration\032\031\n\027AutoscaledRoll" - + "outPolicyB\020\n\016rollout_policyB\032\n\030_node_poo" - + "l_soak_duration\"\252\021\n\010NodePool\022\014\n\004name\030\001 \001" - + "(\t\0224\n\006config\030\002 \001(\0132$.google.container.v1" - + "beta1.NodeConfig\022\032\n\022initial_node_count\030\003" - + " \001(\005\022\021\n\tlocations\030\r \003(\t\022C\n\016network_confi" - + "g\030\016 \001(\0132+.google.container.v1beta1.NodeN" - + "etworkConfig\022\021\n\tself_link\030d \001(\t\022\017\n\007versi" - + "on\030e \001(\t\022\033\n\023instance_group_urls\030f \003(\t\0229\n" - + "\006status\030g \001(\0162).google.container.v1beta1" - + ".NodePool.Status\022\032\n\016status_message\030h \001(\t" - + "B\002\030\001\022B\n\013autoscaling\030\004 \001(\0132-.google.conta" - + "iner.v1beta1.NodePoolAutoscaling\022<\n\nmana" - + "gement\030\005 \001(\0132(.google.container.v1beta1." - + "NodeManagement\022H\n\023max_pods_constraint\030\006 " - + "\001(\0132+.google.container.v1beta1.MaxPodsCo" - + "nstraint\022=\n\nconditions\030i \003(\0132).google.co" - + "ntainer.v1beta1.StatusCondition\022\032\n\022pod_i" - + "pv4_cidr_size\030\007 \001(\005\022L\n\020upgrade_settings\030" - + "k \001(\01322.google.container.v1beta1.NodePoo" - + "l.UpgradeSettings\022L\n\020placement_policy\030l " - + "\001(\01322.google.container.v1beta1.NodePool." - + "PlacementPolicy\022G\n\013update_info\030m \001(\0132-.g" - + "oogle.container.v1beta1.NodePool.UpdateI" - + "nfoB\003\340A\003\022\014\n\004etag\030n \001(\t\022R\n\023queued_provisi" - + "oning\030p \001(\01325.google.container.v1beta1.N" - + "odePool.QueuedProvisioning\022R\n\030best_effor" - + "t_provisioning\030q \001(\01320.google.container." - + "v1beta1.BestEffortProvisioning\032\372\001\n\017Upgra" - + "deSettings\022\021\n\tmax_surge\030\001 \001(\005\022\027\n\017max_una" - + "vailable\030\002 \001(\005\022G\n\010strategy\030\003 \001(\01620.googl" - + "e.container.v1beta1.NodePoolUpdateStrate" - + "gyH\000\210\001\001\022M\n\023blue_green_settings\030\004 \001(\0132+.g" - + "oogle.container.v1beta1.BlueGreenSetting" - + "sH\001\210\001\001B\013\n\t_strategyB\026\n\024_blue_green_setti" - + "ngs\032\262\004\n\nUpdateInfo\022T\n\017blue_green_info\030\001 " - + "\001(\0132;.google.container.v1beta1.NodePool." - + "UpdateInfo.BlueGreenInfo\032\315\003\n\rBlueGreenIn", - "fo\022P\n\005phase\030\001 \001(\0162A.google.container.v1b" - + "eta1.NodePool.UpdateInfo.BlueGreenInfo.P" - + "hase\022 \n\030blue_instance_group_urls\030\002 \003(\t\022!" - + "\n\031green_instance_group_urls\030\003 \003(\t\022%\n\035blu" - + "e_pool_deletion_start_time\030\004 \001(\t\022\032\n\022gree" - + "n_pool_version\030\005 \001(\t\"\341\001\n\005Phase\022\025\n\021PHASE_" - + "UNSPECIFIED\020\000\022\022\n\016UPDATE_STARTED\020\001\022\027\n\023CRE" - + "ATING_GREEN_POOL\020\002\022\027\n\023CORDONING_BLUE_POO" - + "L\020\003\022\036\n\032WAITING_TO_DRAIN_BLUE_POOL\020\010\022\026\n\022D" - + "RAINING_BLUE_POOL\020\004\022\025\n\021NODE_POOL_SOAKING" - + "\020\005\022\026\n\022DELETING_BLUE_POOL\020\006\022\024\n\020ROLLBACK_S" - + "TARTED\020\007\032\256\001\n\017PlacementPolicy\022E\n\004type\030\001 \001" - + "(\01627.google.container.v1beta1.NodePool.P" - + "lacementPolicy.Type\022\024\n\014tpu_topology\030\002 \001(" - + "\t\022\023\n\013policy_name\030\003 \001(\t\")\n\004Type\022\024\n\020TYPE_U" - + "NSPECIFIED\020\000\022\013\n\007COMPACT\020\001\032%\n\022QueuedProvi" - + "sioning\022\017\n\007enabled\030\001 \001(\010\"\201\001\n\006Status\022\026\n\022S" - + "TATUS_UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n" - + "\007RUNNING\020\002\022\026\n\022RUNNING_WITH_ERROR\020\003\022\017\n\013RE" - + "CONCILING\020\004\022\014\n\010STOPPING\020\005\022\t\n\005ERROR\020\006\"\202\001\n" - + "\016NodeManagement\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n" - + "\013auto_repair\030\002 \001(\010\022E\n\017upgrade_options\030\n " - + "\001(\0132,.google.container.v1beta1.AutoUpgra" - + "deOptions\"J\n\022AutoUpgradeOptions\022\037\n\027auto_" - + "upgrade_start_time\030\001 \001(\t\022\023\n\013description\030" - + "\002 \001(\t\"j\n\021MaintenancePolicy\022;\n\006window\030\001 \001" - + "(\0132+.google.container.v1beta1.Maintenanc" - + "eWindow\022\030\n\020resource_version\030\003 \001(\t\"\212\003\n\021Ma" - + "intenanceWindow\022T\n\030daily_maintenance_win" - + "dow\030\002 \001(\01320.google.container.v1beta1.Dai" - + "lyMaintenanceWindowH\000\022I\n\020recurring_windo" - + "w\030\003 \001(\0132-.google.container.v1beta1.Recur" - + "ringTimeWindowH\000\022f\n\026maintenance_exclusio" - + "ns\030\004 \003(\0132F.google.container.v1beta1.Main" - + "tenanceWindow.MaintenanceExclusionsEntry" - + "\032b\n\032MaintenanceExclusionsEntry\022\013\n\003key\030\001 " - + "\001(\t\0223\n\005value\030\002 \001(\0132$.google.container.v1" - + "beta1.TimeWindow:\0028\001B\010\n\006policy\"\325\001\n\nTimeW" - + "indow\022^\n\035maintenance_exclusion_options\030\003" - + " \001(\01325.google.container.v1beta1.Maintena" - + "nceExclusionOptionsH\000\022.\n\nstart_time\030\001 \001(" - + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" - + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\t\n\007o" - + "ptions\"\271\001\n\033MaintenanceExclusionOptions\022J" - + "\n\005scope\030\001 \001(\0162;.google.container.v1beta1" - + ".MaintenanceExclusionOptions.Scope\"N\n\005Sc" - + "ope\022\017\n\013NO_UPGRADES\020\000\022\025\n\021NO_MINOR_UPGRADE" - + "S\020\001\022\035\n\031NO_MINOR_OR_NODE_UPGRADES\020\002\"_\n\023Re" - + "curringTimeWindow\0224\n\006window\030\001 \001(\0132$.goog" - + "le.container.v1beta1.TimeWindow\022\022\n\nrecur" - + "rence\030\002 \001(\t\">\n\026DailyMaintenanceWindow\022\022\n" - + "\nstart_time\030\002 \001(\t\022\020\n\010duration\030\003 \001(\t\"\327\001\n\034" - + "SetNodePoolManagementRequest\022\031\n\nproject_" - + "id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\n" - + "cluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030" - + "\004 \001(\tB\005\030\001\340A\002\022A\n\nmanagement\030\005 \001(\0132(.googl" - + "e.container.v1beta1.NodeManagementB\003\340A\002\022" - + "\014\n\004name\030\007 \001(\t\"\247\001\n\026SetNodePoolSizeRequest" - + "\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(" - + "\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014n" - + "ode_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\027\n\nnode_count\030\005" - + " \001(\005B\003\340A\002\022\014\n\004name\030\007 \001(\t\".\n\036CompleteNodeP" - + "oolUpgradeRequest\022\014\n\004name\030\001 \001(\t\"\253\001\n\036Roll" - + "backNodePoolUpgradeRequest\022\031\n\nproject_id" + + "iner.v1beta1.SecondaryBootDisk\022k\n#second" + + "ary_boot_disk_update_strategy\0302 \001(\01329.go" + + "ogle.container.v1beta1.SecondaryBootDisk" + + "UpdateStrategyH\001\210\001\001\032/\n\rMetadataEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0325\n\023R" + + "esourceLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + + "\030\002 \001(\t:\0028\001B\016\n\014_fast_socketB&\n$_secondary" + + "_boot_disk_update_strategy\"M\n\027AdvancedMa" + + "chineFeatures\022\035\n\020threads_per_core\030\001 \001(\003H" + + "\000\210\001\001B\023\n\021_threads_per_core\"\355\007\n\021NodeNetwor" + + "kConfig\022\035\n\020create_pod_range\030\004 \001(\010B\003\340A\004\022\021" + + "\n\tpod_range\030\005 \001(\t\022\033\n\023pod_ipv4_cidr_block" + + "\030\006 \001(\t\022!\n\024enable_private_nodes\030\t \001(\010H\000\210\001" + + "\001\022m\n\032network_performance_config\030\013 \001(\0132D." + + "google.container.v1beta1.NodeNetworkConf" + + "ig.NetworkPerformanceConfigH\001\210\001\001\022[\n\035pod_" + + "cidr_overprovision_config\030\r \001(\01324.google" + + ".container.v1beta1.PodCIDROverprovisionC" + + "onfig\022^\n\037additional_node_network_configs" + + "\030\016 \003(\01325.google.container.v1beta1.Additi" + + "onalNodeNetworkConfig\022\\\n\036additional_pod_" + + "network_configs\030\017 \003(\01324.google.container" + + ".v1beta1.AdditionalPodNetworkConfig\022\'\n\032p" + + "od_ipv4_range_utilization\030\020 \001(\001B\003\340A\003\032\372\002\n" + + "\030NetworkPerformanceConfig\022s\n\033total_egres" + + "s_bandwidth_tier\030\001 \001(\0162I.google.containe" + + "r.v1beta1.NodeNetworkConfig.NetworkPerfo" + + "rmanceConfig.TierH\000\210\001\001\022y\n!external_ip_eg" + + "ress_bandwidth_tier\030\002 \001(\0162I.google.conta" + + "iner.v1beta1.NodeNetworkConfig.NetworkPe" + + "rformanceConfig.TierH\001\210\001\001\"(\n\004Tier\022\024\n\020TIE" + + "R_UNSPECIFIED\020\000\022\n\n\006TIER_1\020\001B\036\n\034_total_eg" + + "ress_bandwidth_tierB$\n\"_external_ip_egre" + + "ss_bandwidth_tierB\027\n\025_enable_private_nod" + + "esB\035\n\033_network_performance_config\"B\n\033Add" + + "itionalNodeNetworkConfig\022\017\n\007network\030\001 \001(" + + "\t\022\022\n\nsubnetwork\030\002 \001(\t\"\260\001\n\032AdditionalPodN" + + "etworkConfig\022\022\n\nsubnetwork\030\001 \001(\t\022\033\n\023seco" + + "ndary_pod_range\030\002 \001(\t\022K\n\021max_pods_per_no" + + "de\030\003 \001(\0132+.google.container.v1beta1.MaxP" + + "odsConstraintH\000\210\001\001B\024\n\022_max_pods_per_node" + + "\"Y\n\026ShieldedInstanceConfig\022\032\n\022enable_sec" + + "ure_boot\030\001 \001(\010\022#\n\033enable_integrity_monit" + + "oring\030\002 \001(\010\"\212\001\n\rSandboxConfig\022\030\n\014sandbox" + + "_type\030\001 \001(\tB\002\030\001\022:\n\004type\030\002 \001(\0162,.google.c" + + "ontainer.v1beta1.SandboxConfig.Type\"#\n\004T" + + "ype\022\017\n\013UNSPECIFIED\020\000\022\n\n\006GVISOR\020\001\"1\n\026Ephe" + + "meralStorageConfig\022\027\n\017local_ssd_count\030\001 " + + "\001(\005\"2\n\027LocalNvmeSsdBlockConfig\022\027\n\017local_" + + "ssd_count\030\001 \001(\005\"9\n\036EphemeralStorageLocal" + + "SsdConfig\022\027\n\017local_ssd_count\030\001 \001(\005\"\035\n\nGc" + + "fsConfig\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\023Reservatio" + + "nAffinity\022T\n\030consume_reservation_type\030\001 " + + "\001(\01622.google.container.v1beta1.Reservati" + + "onAffinity.Type\022\013\n\003key\030\002 \001(\t\022\016\n\006values\030\003" + + " \003(\t\"Z\n\004Type\022\017\n\013UNSPECIFIED\020\000\022\022\n\016NO_RESE" + + "RVATION\020\001\022\023\n\017ANY_RESERVATION\020\002\022\030\n\024SPECIF" + + "IC_RESERVATION\020\003\"\240\002\n\020SoleTenantConfig\022P\n" + + "\017node_affinities\030\001 \003(\01327.google.containe" + + "r.v1beta1.SoleTenantConfig.NodeAffinity\032" + + "\271\001\n\014NodeAffinity\022\013\n\003key\030\001 \001(\t\022R\n\010operato" + + "r\030\002 \001(\0162@.google.container.v1beta1.SoleT" + + "enantConfig.NodeAffinity.Operator\022\016\n\006val" + + "ues\030\003 \003(\t\"8\n\010Operator\022\030\n\024OPERATOR_UNSPEC" + + "IFIED\020\000\022\006\n\002IN\020\001\022\n\n\006NOT_IN\020\002\"\255\005\n\025HostMain" + + "tenancePolicy\022f\n\024maintenance_interval\030\001 " + + "\001(\0162C.google.container.v1beta1.HostMaint" + + "enancePolicy.MaintenanceIntervalH\001\210\001\001\022~\n" + + "\"opportunistic_maintenance_strategy\030\002 \001(" + + "\0132P.google.container.v1beta1.HostMainten" + + "ancePolicy.OpportunisticMaintenanceStrat" + + "egyH\000\032\240\002\n OpportunisticMaintenanceStrate" + + "gy\022=\n\025node_idle_time_window\030\001 \001(\0132\031.goog" + + "le.protobuf.DurationH\000\210\001\001\022G\n\037maintenance" + + "_availability_window\030\002 \001(\0132\031.google.prot" + + "obuf.DurationH\001\210\001\001\022\037\n\022min_nodes_per_pool" + + "\030\003 \001(\003H\002\210\001\001B\030\n\026_node_idle_time_windowB\"\n" + + " _maintenance_availability_windowB\025\n\023_mi" + + "n_nodes_per_pool\"X\n\023MaintenanceInterval\022" + + "$\n MAINTENANCE_INTERVAL_UNSPECIFIED\020\000\022\r\n" + + "\tAS_NEEDED\020\001\022\014\n\010PERIODIC\020\002B\026\n\024maintenanc" + + "e_strategyB\027\n\025_maintenance_interval\"\276\001\n\t" + + "NodeTaint\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\022:\n" + + "\006effect\030\003 \001(\0162*.google.container.v1beta1" + + ".NodeTaint.Effect\"Y\n\006Effect\022\026\n\022EFFECT_UN" + + "SPECIFIED\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022PREFER_N" + + "O_SCHEDULE\020\002\022\016\n\nNO_EXECUTE\020\003\"A\n\nNodeTain" + + "ts\0223\n\006taints\030\001 \003(\0132#.google.container.v1" + + "beta1.NodeTaint\"}\n\nNodeLabels\022@\n\006labels\030" + + "\001 \003(\01320.google.container.v1beta1.NodeLab" + + "els.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\001\n\016ResourceLabel" + + "s\022D\n\006labels\030\001 \003(\01324.google.container.v1b" + + "eta1.ResourceLabels.LabelsEntry\032-\n\013Label" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\033" + + "\n\013NetworkTags\022\014\n\004tags\030\001 \003(\t\"\336\001\n\nMasterAu" + + "th\022\024\n\010username\030\001 \001(\tB\002\030\001\022\024\n\010password\030\002 \001" + + "(\tB\002\030\001\022T\n\031client_certificate_config\030\003 \001(" + + "\01321.google.container.v1beta1.ClientCerti" + + "ficateConfig\022\036\n\026cluster_ca_certificate\030d" + + " \001(\t\022\032\n\022client_certificate\030e \001(\t\022\022\n\nclie" + + "nt_key\030f \001(\t\";\n\027ClientCertificateConfig\022" + + " \n\030issue_client_certificate\030\001 \001(\010\"\350\010\n\014Ad" + + "donsConfig\022H\n\023http_load_balancing\030\001 \001(\0132" + + "+.google.container.v1beta1.HttpLoadBalan" + + "cing\022V\n\032horizontal_pod_autoscaling\030\002 \001(\013" + + "22.google.container.v1beta1.HorizontalPo" + + "dAutoscaling\022O\n\024kubernetes_dashboard\030\003 \001" + + "(\0132-.google.container.v1beta1.Kubernetes" + + "DashboardB\002\030\001\022L\n\025network_policy_config\030\004" + + " \001(\0132-.google.container.v1beta1.NetworkP" + + "olicyConfig\022?\n\014istio_config\030\005 \001(\0132%.goog" + + "le.container.v1beta1.IstioConfigB\002\030\001\022B\n\020" + + "cloud_run_config\030\007 \001(\0132(.google.containe" + + "r.v1beta1.CloudRunConfig\022B\n\020dns_cache_co" + + "nfig\030\010 \001(\0132(.google.container.v1beta1.Dn" + + "sCacheConfig\022P\n\027config_connector_config\030" + + "\n \001(\0132/.google.container.v1beta1.ConfigC" + + "onnectorConfig\022i\n%gce_persistent_disk_cs" + + "i_driver_config\030\013 \001(\0132:.google.container" + + ".v1beta1.GcePersistentDiskCsiDriverConfi" + + "g\022=\n\013kalm_config\030\014 \001(\0132$.google.containe" + + "r.v1beta1.KalmConfigB\002\030\001\022^\n\037gcp_filestor" + + "e_csi_driver_config\030\016 \001(\01325.google.conta" + + "iner.v1beta1.GcpFilestoreCsiDriverConfig" + + "\022O\n\027gke_backup_agent_config\030\020 \001(\0132..goog" + + "le.container.v1beta1.GkeBackupAgentConfi" + + "g\022T\n\032gcs_fuse_csi_driver_config\030\021 \001(\01320." + + "google.container.v1beta1.GcsFuseCsiDrive" + + "rConfig\022K\n\022stateful_ha_config\030\022 \001(\0132*.go" + + "ogle.container.v1beta1.StatefulHAConfigB" + + "\003\340A\001\"%\n\021HttpLoadBalancing\022\020\n\010disabled\030\001 " + + "\001(\010\",\n\030HorizontalPodAutoscaling\022\020\n\010disab" + + "led\030\001 \001(\010\"\'\n\023KubernetesDashboard\022\020\n\010disa" + + "bled\030\001 \001(\010\"\'\n\023NetworkPolicyConfig\022\020\n\010dis" + + "abled\030\001 \001(\010\"!\n\016DnsCacheConfig\022\017\n\007enabled" + + "\030\001 \001(\010\"!\n\nKalmConfig\022\023\n\007enabled\030\001 \001(\010B\002\030" + + "\001\"\'\n\024GkeBackupAgentConfig\022\017\n\007enabled\030\001 \001" + + "(\010\"#\n\020StatefulHAConfig\022\017\n\007enabled\030\001 \001(\010\"" + + "(\n\025ConfigConnectorConfig\022\017\n\007enabled\030\001 \001(" + + "\010\"3\n GcePersistentDiskCsiDriverConfig\022\017\n" + + "\007enabled\030\001 \001(\010\".\n\033GcpFilestoreCsiDriverC" + + "onfig\022\017\n\007enabled\030\001 \001(\010\")\n\026GcsFuseCsiDriv" + + "erConfig\022\017\n\007enabled\030\001 \001(\010\"9\n&PrivateClus" + + "terMasterGlobalAccessConfig\022\017\n\007enabled\030\001" + + " \001(\010\"\312\002\n\024PrivateClusterConfig\022\034\n\024enable_" + + "private_nodes\030\001 \001(\010\022\037\n\027enable_private_en" + + "dpoint\030\002 \001(\010\022\036\n\026master_ipv4_cidr_block\030\003" + + " \001(\t\022\030\n\020private_endpoint\030\004 \001(\t\022\027\n\017public" + + "_endpoint\030\005 \001(\t\022\024\n\014peering_name\030\007 \001(\t\022e\n" + + "\033master_global_access_config\030\010 \001(\0132@.goo" + + "gle.container.v1beta1.PrivateClusterMast" + + "erGlobalAccessConfig\022#\n\033private_endpoint" + + "_subnetwork\030\n \001(\t\"\237\001\n\013IstioConfig\022\024\n\010dis" + + "abled\030\001 \001(\010B\002\030\001\022E\n\004auth\030\002 \001(\01623.google.c" + + "ontainer.v1beta1.IstioConfig.IstioAuthMo" + + "deB\002\030\001\"3\n\rIstioAuthMode\022\r\n\tAUTH_NONE\020\000\022\023" + + "\n\017AUTH_MUTUAL_TLS\020\001\"\363\001\n\016CloudRunConfig\022\020" + + "\n\010disabled\030\001 \001(\010\022U\n\022load_balancer_type\030\003" + + " \001(\01629.google.container.v1beta1.CloudRun" + + "Config.LoadBalancerType\"x\n\020LoadBalancerT" + + "ype\022\"\n\036LOAD_BALANCER_TYPE_UNSPECIFIED\020\000\022" + + "\037\n\033LOAD_BALANCER_TYPE_EXTERNAL\020\001\022\037\n\033LOAD" + + "_BALANCER_TYPE_INTERNAL\020\002\"\223\002\n\036MasterAuth" + + "orizedNetworksConfig\022\017\n\007enabled\030\001 \001(\010\022W\n" + + "\013cidr_blocks\030\002 \003(\0132B.google.container.v1" + + "beta1.MasterAuthorizedNetworksConfig.Cid" + + "rBlock\022,\n\037gcp_public_cidrs_access_enable" + + "d\030\003 \001(\010H\000\210\001\001\0325\n\tCidrBlock\022\024\n\014display_nam" + + "e\030\001 \001(\t\022\022\n\ncidr_block\030\002 \001(\tB\"\n _gcp_publ" + + "ic_cidrs_access_enabled\"\035\n\nLegacyAbac\022\017\n" + + "\007enabled\030\001 \001(\010\"\226\001\n\rNetworkPolicy\022B\n\010prov" + + "ider\030\001 \001(\01620.google.container.v1beta1.Ne" + + "tworkPolicy.Provider\022\017\n\007enabled\030\002 \001(\010\"0\n" + + "\010Provider\022\030\n\024PROVIDER_UNSPECIFIED\020\000\022\n\n\006C" + + "ALICO\020\001\"-\n\032PodCIDROverprovisionConfig\022\017\n" + + "\007disable\030\001 \001(\010\"\246\010\n\022IPAllocationPolicy\022\026\n" + + "\016use_ip_aliases\030\001 \001(\010\022\031\n\021create_subnetwo" + + "rk\030\002 \001(\010\022\027\n\017subnetwork_name\030\003 \001(\t\022\035\n\021clu" + + "ster_ipv4_cidr\030\004 \001(\tB\002\030\001\022\032\n\016node_ipv4_ci" + + "dr\030\005 \001(\tB\002\030\001\022\036\n\022services_ipv4_cidr\030\006 \001(\t" + + "B\002\030\001\022$\n\034cluster_secondary_range_name\030\007 \001" + + "(\t\022%\n\035services_secondary_range_name\030\010 \001(" + + "\t\022\037\n\027cluster_ipv4_cidr_block\030\t \001(\t\022\034\n\024no" + + "de_ipv4_cidr_block\030\n \001(\t\022 \n\030services_ipv" + + "4_cidr_block\030\013 \001(\t\022\033\n\023allow_route_overla" + + "p\030\014 \001(\010\022\033\n\023tpu_ipv4_cidr_block\030\r \001(\t\022\022\n\n" + + "use_routes\030\017 \001(\010\022J\n\nstack_type\030\020 \001(\01626.g" + + "oogle.container.v1beta1.IPAllocationPoli" + + "cy.StackType\022U\n\020ipv6_access_type\030\021 \001(\0162;" + + ".google.container.v1beta1.IPAllocationPo" + + "licy.IPv6AccessType\022[\n\035pod_cidr_overprov" + + "ision_config\030\025 \001(\01324.google.container.v1" + + "beta1.PodCIDROverprovisionConfig\022#\n\026subn" + + "et_ipv6_cidr_block\030\026 \001(\tB\003\340A\003\022%\n\030service" + + "s_ipv6_cidr_block\030\027 \001(\tB\003\340A\003\022^\n\034addition" + + "al_pod_ranges_config\030\030 \001(\01323.google.cont" + + "ainer.v1beta1.AdditionalPodRangesConfigB" + + "\003\340A\003\022/\n\"default_pod_ipv4_range_utilizati" + + "on\030\031 \001(\001B\003\340A\003\"@\n\tStackType\022\032\n\026STACK_TYPE" + + "_UNSPECIFIED\020\000\022\010\n\004IPV4\020\001\022\r\n\tIPV4_IPV6\020\002\"" + + "N\n\016IPv6AccessType\022 \n\034IPV6_ACCESS_TYPE_UN" + + "SPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EXTERNAL\020\002\"" + + "\300\003\n\023BinaryAuthorization\022\023\n\007enabled\030\001 \001(\010" + + "B\002\030\001\022U\n\017evaluation_mode\030\002 \001(\0162<.google.c" + + "ontainer.v1beta1.BinaryAuthorization.Eva" + + "luationMode\022Y\n\017policy_bindings\030\005 \003(\0132;.g" + + "oogle.container.v1beta1.BinaryAuthorizat" + + "ion.PolicyBindingB\003\340A\001\032+\n\rPolicyBinding\022" + + "\021\n\004name\030\001 \001(\tH\000\210\001\001B\007\n\005_name\"\264\001\n\016Evaluati" + + "onMode\022\037\n\033EVALUATION_MODE_UNSPECIFIED\020\000\022" + + "\014\n\010DISABLED\020\001\022$\n PROJECT_SINGLETON_POLIC" + + "Y_ENFORCE\020\002\022\023\n\017POLICY_BINDINGS\020\005\0228\n4POLI" + + "CY_BINDINGS_AND_PROJECT_SINGLETON_POLICY" + + "_ENFORCE\020\006\"*\n\027PodSecurityPolicyConfig\022\017\n" + + "\007enabled\030\001 \001(\010\"D\n\031AuthenticatorGroupsCon" + + "fig\022\017\n\007enabled\030\001 \001(\010\022\026\n\016security_group\030\002" + + " \001(\t\"\226\001\n\020ClusterTelemetry\022=\n\004type\030\001 \001(\0162" + + "/.google.container.v1beta1.ClusterTeleme" + + "try.Type\"C\n\004Type\022\017\n\013UNSPECIFIED\020\000\022\014\n\010DIS" + + "ABLED\020\001\022\013\n\007ENABLED\020\002\022\017\n\013SYSTEM_ONLY\020\003\"\351!" + + "\n\007Cluster\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002" + + " \001(\t\022\036\n\022initial_node_count\030\003 \001(\005B\002\030\001\022=\n\013" + + "node_config\030\004 \001(\0132$.google.container.v1b" + + "eta1.NodeConfigB\002\030\001\0229\n\013master_auth\030\005 \001(\013" + + "2$.google.container.v1beta1.MasterAuth\022\027" + + "\n\017logging_service\030\006 \001(\t\022\032\n\022monitoring_se" + + "rvice\030\007 \001(\t\022\017\n\007network\030\010 \001(\t\022\031\n\021cluster_" + + "ipv4_cidr\030\t \001(\t\022=\n\raddons_config\030\n \001(\0132&" + + ".google.container.v1beta1.AddonsConfig\022\022" + + "\n\nsubnetwork\030\013 \001(\t\0226\n\nnode_pools\030\014 \003(\0132\"" + + ".google.container.v1beta1.NodePool\022\021\n\tlo" + + "cations\030\r \003(\t\022\037\n\027enable_kubernetes_alpha" + + "\030\016 \001(\010\022I\n\024enable_k8s_beta_apis\030\217\001 \001(\0132*." + + "google.container.v1beta1.K8sBetaAPIConfi" + + "g\022N\n\017resource_labels\030\017 \003(\01325.google.cont" + + "ainer.v1beta1.Cluster.ResourceLabelsEntr" + + "y\022\031\n\021label_fingerprint\030\020 \001(\t\0229\n\013legacy_a" + + "bac\030\022 \001(\0132$.google.container.v1beta1.Leg" + + "acyAbac\022?\n\016network_policy\030\023 \001(\0132\'.google" + + ".container.v1beta1.NetworkPolicy\022J\n\024ip_a" + + "llocation_policy\030\024 \001(\0132,.google.containe" + + "r.v1beta1.IPAllocationPolicy\022c\n!master_a" + + "uthorized_networks_config\030\026 \001(\01328.google" + + ".container.v1beta1.MasterAuthorizedNetwo" + + "rksConfig\022G\n\022maintenance_policy\030\027 \001(\0132+." + + "google.container.v1beta1.MaintenancePoli" + + "cy\022K\n\024binary_authorization\030\030 \001(\0132-.googl" + + "e.container.v1beta1.BinaryAuthorization\022" + + "U\n\032pod_security_policy_config\030\031 \001(\01321.go" + + "ogle.container.v1beta1.PodSecurityPolicy" + + "Config\022A\n\013autoscaling\030\032 \001(\0132,.google.con" + + "tainer.v1beta1.ClusterAutoscaling\022?\n\016net" + + "work_config\030\033 \001(\0132\'.google.container.v1b" + + "eta1.NetworkConfig\022\033\n\017private_cluster\030\034 " + + "\001(\010B\002\030\001\022\"\n\026master_ipv4_cidr_block\030\035 \001(\tB" + + "\002\030\001\022P\n\033default_max_pods_constraint\030\036 \001(\013" + + "2+.google.container.v1beta1.MaxPodsConst" + + "raint\022Y\n\034resource_usage_export_config\030! " + + "\001(\01323.google.container.v1beta1.ResourceU" + + "sageExportConfig\022X\n\033authenticator_groups" + + "_config\030\" \001(\01323.google.container.v1beta1" + + ".AuthenticatorGroupsConfig\022N\n\026private_cl" + + "uster_config\030% \001(\0132..google.container.v1" + + "beta1.PrivateClusterConfig\022R\n\030vertical_p" + + "od_autoscaling\030\' \001(\01320.google.container." + + "v1beta1.VerticalPodAutoscaling\022?\n\016shield" + + "ed_nodes\030( \001(\0132\'.google.container.v1beta" + + "1.ShieldedNodes\022A\n\017release_channel\030) \001(\013" + + "2(.google.container.v1beta1.ReleaseChann" + + "el\022R\n\030workload_identity_config\030+ \001(\01320.g" + + "oogle.container.v1beta1.WorkloadIdentity" + + "Config\022M\n\025workload_certificates\0304 \001(\0132.." + + "google.container.v1beta1.WorkloadCertifi" + + "cates\022E\n\021mesh_certificates\030C \001(\0132*.googl" + + "e.container.v1beta1.MeshCertificates\022J\n\024" + + "workload_alts_config\0305 \001(\0132,.google.cont" + + "ainer.v1beta1.WorkloadALTSConfig\022N\n\026cost" + + "_management_config\030- \001(\0132..google.contai" + + "ner.v1beta1.CostManagementConfig\022E\n\021clus" + + "ter_telemetry\030. \001(\0132*.google.container.v" + + "1beta1.ClusterTelemetry\0227\n\ntpu_config\030/ " + + "\001(\0132#.google.container.v1beta1.TpuConfig" + + "\022I\n\023notification_config\0301 \001(\0132,.google.c" + + "ontainer.v1beta1.NotificationConfig\022G\n\022c" + + "onfidential_nodes\0302 \001(\0132+.google.contain" + + "er.v1beta1.ConfidentialNodes\022P\n\027identity" + + "_service_config\0306 \001(\0132/.google.container" + + ".v1beta1.IdentityServiceConfig\022\021\n\tself_l" + + "ink\030d \001(\t\022\020\n\004zone\030e \001(\tB\002\030\001\022\020\n\010endpoint\030" + + "f \001(\t\022\037\n\027initial_cluster_version\030g \001(\t\022\036" + + "\n\026current_master_version\030h \001(\t\022 \n\024curren" + + "t_node_version\030i \001(\tB\002\030\001\022\023\n\013create_time\030" + + "j \001(\t\0228\n\006status\030k \001(\0162(.google.container" + + ".v1beta1.Cluster.Status\022\032\n\016status_messag" + + "e\030l \001(\tB\002\030\001\022\033\n\023node_ipv4_cidr_size\030m \001(\005" + + "\022\032\n\022services_ipv4_cidr\030n \001(\t\022\037\n\023instance" + + "_group_urls\030o \003(\tB\002\030\001\022\036\n\022current_node_co" + + "unt\030p \001(\005B\002\030\001\022\023\n\013expire_time\030q \001(\t\022\020\n\010lo" + + "cation\030r \001(\t\022\022\n\nenable_tpu\030s \001(\010\022\033\n\023tpu_" + + "ipv4_cidr_block\030t \001(\t\022I\n\023database_encryp" + + "tion\030& \001(\0132,.google.container.v1beta1.Da" + + "tabaseEncryption\022=\n\nconditions\030v \003(\0132).g" + + "oogle.container.v1beta1.StatusCondition\022" + + "0\n\006master\030| \001(\0132 .google.container.v1bet" + + "a1.Master\0227\n\tautopilot\030\200\001 \001(\0132#.google.c" + + "ontainer.v1beta1.Autopilot\022\020\n\002id\030\201\001 \001(\tB" + + "\003\340A\003\022L\n\022node_pool_defaults\030\203\001 \001(\0132*.goog" + + "le.container.v1beta1.NodePoolDefaultsH\000\210" + + "\001\001\022@\n\016logging_config\030\204\001 \001(\0132\'.google.con" + + "tainer.v1beta1.LoggingConfig\022F\n\021monitori" + + "ng_config\030\205\001 \001(\0132*.google.container.v1be" + + "ta1.MonitoringConfig\022L\n\025node_pool_auto_c" + + "onfig\030\210\001 \001(\0132,.google.container.v1beta1." + + "NodePoolAutoConfig\022I\n\016protect_config\030\211\001 " + + "\001(\0132\'.google.container.v1beta1.ProtectCo" + + "nfigB\002\030\001H\001\210\001\001\022\r\n\004etag\030\213\001 \001(\t\022/\n\005fleet\030\214\001", + " \001(\0132\037.google.container.v1beta1.Fleet\022Q\n" + + "\027security_posture_config\030\221\001 \001(\0132/.google" + + ".container.v1beta1.SecurityPostureConfig" + + "\022F\n\021enterprise_config\030\225\001 \001(\0132*.google.co" + + "ntainer.v1beta1.EnterpriseConfig\022M\n\025secr" + + "et_manager_config\030\226\001 \001(\0132-.google.contai" + + "ner.v1beta1.SecretManagerConfig\0325\n\023Resou" + + "rceLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"w\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000" + + "\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECON" + + "CILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEG" + + "RADED\020\006B\025\n\023_node_pool_defaultsB\021\n\017_prote" + + "ct_config\"(\n\020K8sBetaAPIConfig\022\024\n\014enabled" + + "_apis\030\001 \003(\t\"\304\001\n\016WorkloadConfig\022F\n\naudit_" + + "mode\030\001 \001(\0162-.google.container.v1beta1.Wo" + + "rkloadConfig.ModeH\000\210\001\001\"[\n\004Mode\022\024\n\020MODE_U" + + "NSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\t\n\005BASIC\020\004\022\020\n" + + "\010BASELINE\020\002\032\002\010\001\022\022\n\nRESTRICTED\020\003\032\002\010\001B\r\n\013_" + + "audit_mode\"\333\002\n\rProtectConfig\022F\n\017workload" + + "_config\030\001 \001(\0132(.google.container.v1beta1" + + ".WorkloadConfigH\000\210\001\001\022k\n\033workload_vulnera" + + "bility_mode\030\002 \001(\0162A.google.container.v1b" + + "eta1.ProtectConfig.WorkloadVulnerability" + + "ModeH\001\210\001\001\"a\n\031WorkloadVulnerabilityMode\022+" + + "\n\'WORKLOAD_VULNERABILITY_MODE_UNSPECIFIE" + + "D\020\000\022\014\n\010DISABLED\020\001\022\t\n\005BASIC\020\002B\022\n\020_workloa" + + "d_configB\036\n\034_workload_vulnerability_mode" + + "\"\250\003\n\025SecurityPostureConfig\022G\n\004mode\030\001 \001(\016" + + "24.google.container.v1beta1.SecurityPost" + + "ureConfig.ModeH\000\210\001\001\022b\n\022vulnerability_mod" + + "e\030\002 \001(\0162A.google.container.v1beta1.Secur" + + "ityPostureConfig.VulnerabilityModeH\001\210\001\001\"" + + "5\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\014\n\010DISABLE" + + "D\020\001\022\t\n\005BASIC\020\002\"\212\001\n\021VulnerabilityMode\022\"\n\036" + + "VULNERABILITY_MODE_UNSPECIFIED\020\000\022\032\n\026VULN" + + "ERABILITY_DISABLED\020\001\022\027\n\023VULNERABILITY_BA" + + "SIC\020\002\022\034\n\030VULNERABILITY_ENTERPRISE\020\003B\007\n\005_" + + "modeB\025\n\023_vulnerability_mode\"^\n\020NodePoolD" + + "efaults\022J\n\024node_config_defaults\030\001 \001(\0132,." + + "google.container.v1beta1.NodeConfigDefau" + + "lts\"\352\001\n\022NodeConfigDefaults\0229\n\013gcfs_confi" + + "g\030\001 \001(\0132$.google.container.v1beta1.GcfsC" + + "onfig\022G\n\016logging_config\030\003 \001(\0132/.google.c" + + "ontainer.v1beta1.NodePoolLoggingConfig\022P" + + "\n\027host_maintenance_policy\030\005 \001(\0132/.google" + + ".container.v1beta1.HostMaintenancePolicy" + + "\"\237\001\n\022NodePoolAutoConfig\022;\n\014network_tags\030" + + "\001 \001(\0132%.google.container.v1beta1.Network" + + "Tags\022L\n\025resource_manager_tags\030\002 \001(\0132-.go" + + "ogle.container.v1beta1.ResourceManagerTa" + + "gs\"\377&\n\rClusterUpdate\022\034\n\024desired_node_ver" + + "sion\030\004 \001(\t\022\"\n\032desired_monitoring_service" + + "\030\005 \001(\t\022E\n\025desired_addons_config\030\006 \001(\0132&." + + "google.container.v1beta1.AddonsConfig\022\034\n" + + "\024desired_node_pool_id\030\007 \001(\t\022\032\n\022desired_i" + + "mage_type\030\010 \001(\t\022T\n\035desired_node_pool_aut" + + "oscaling\030\t \001(\0132-.google.container.v1beta" + + "1.NodePoolAutoscaling\022\031\n\021desired_locatio" + + "ns\030\n \003(\t\022k\n)desired_master_authorized_ne" + + "tworks_config\030\014 \001(\01328.google.container.v" + + "1beta1.MasterAuthorizedNetworksConfig\022]\n" + + "\"desired_pod_security_policy_config\030\016 \001(" + + "\01321.google.container.v1beta1.PodSecurity" + + "PolicyConfig\022Q\n\033desired_cluster_autoscal" + + "ing\030\017 \001(\0132,.google.container.v1beta1.Clu" + + "sterAutoscaling\022S\n\034desired_binary_author" + + "ization\030\020 \001(\0132-.google.container.v1beta1" + + ".BinaryAuthorization\022\037\n\027desired_logging_" + + "service\030\023 \001(\t\022a\n$desired_resource_usage_" + + "export_config\030\025 \001(\01323.google.container.v" + + "1beta1.ResourceUsageExportConfig\022Z\n desi" + + "red_vertical_pod_autoscaling\030\026 \001(\01320.goo" + + "gle.container.v1beta1.VerticalPodAutosca" + + "ling\022V\n\036desired_private_cluster_config\030\031" + + " \001(\0132..google.container.v1beta1.PrivateC" + + "lusterConfig\022a\n$desired_intra_node_visib" + + "ility_config\030\032 \001(\01323.google.container.v1" + + "beta1.IntraNodeVisibilityConfig\022P\n\033desir" + + "ed_default_snat_status\030\034 \001(\0132+.google.co" + + "ntainer.v1beta1.DefaultSnatStatus\022M\n\031des" + + "ired_cluster_telemetry\030\036 \001(\0132*.google.co" + + "ntainer.v1beta1.ClusterTelemetry\022I\n\027desi" + + "red_release_channel\030\037 \001(\0132(.google.conta" + + "iner.v1beta1.ReleaseChannel\022?\n\022desired_t" + + "pu_config\030& \001(\0132#.google.container.v1bet" + + "a1.TpuConfig\022V\n\037desired_l4ilb_subsetting" + + "_config\030\' \001(\0132-.google.container.v1beta1" + + ".ILBSubsettingConfig\022M\n\031desired_datapath" + + "_provider\0302 \001(\0162*.google.container.v1bet" + + "a1.DatapathProvider\022]\n\"desired_private_i" + + "pv6_google_access\0303 \001(\01621.google.contain" + + "er.v1beta1.PrivateIPv6GoogleAccess\022Q\n\033de" + + "sired_notification_config\0307 \001(\0132,.google" + + ".container.v1beta1.NotificationConfig\022\036\n" + + "\026desired_master_version\030d \001(\t\022A\n\023desired" + + "_gcfs_config\030m \001(\0132$.google.container.v1" + + "beta1.GcfsConfig\022Q\n\033desired_database_enc" + + "ryption\030. \001(\0132,.google.container.v1beta1" + + ".DatabaseEncryption\022Z\n desired_workload_" + + "identity_config\030/ \001(\01320.google.container" + + ".v1beta1.WorkloadIdentityConfig\022U\n\035desir" + + "ed_workload_certificates\030= \001(\0132..google." + + "container.v1beta1.WorkloadCertificates\022M" + + "\n\031desired_mesh_certificates\030C \001(\0132*.goog" + + "le.container.v1beta1.MeshCertificates\022R\n" + + "\034desired_workload_alts_config\030> \001(\0132,.go" + + "ogle.container.v1beta1.WorkloadALTSConfi" + + "g\022G\n\026desired_shielded_nodes\0300 \001(\0132\'.goog" + + "le.container.v1beta1.ShieldedNodes\022V\n\036de" + + "sired_cost_management_config\0301 \001(\0132..goo" + + "gle.container.v1beta1.CostManagementConf" + + "ig\0228\n\016desired_master\0304 \001(\0132 .google.cont" + + "ainer.v1beta1.Master\022?\n\022desired_dns_conf" + + "ig\0305 \001(\0132#.google.container.v1beta1.DNSC" + + "onfig\022_\n#desired_service_external_ips_co" + + "nfig\030< \001(\01322.google.container.v1beta1.Se" + + "rviceExternalIPsConfig\022`\n#desired_authen" + + "ticator_groups_config\030? \001(\01323.google.con" + + "tainer.v1beta1.AuthenticatorGroupsConfig" + + "\022G\n\026desired_logging_config\030@ \001(\0132\'.googl" + + "e.container.v1beta1.LoggingConfig\022M\n\031des" + + "ired_monitoring_config\030A \001(\0132*.google.co" + + "ntainer.v1beta1.MonitoringConfig\022X\n\037desi" + + "red_identity_service_config\030B \001(\0132/.goog" + + "le.container.v1beta1.IdentityServiceConf" + + "ig\022,\n\037desired_enable_private_endpoint\030G " + + "\001(\010H\000\210\001\001\022Y\n*desired_node_pool_auto_confi" + + "g_network_tags\030n \001(\0132%.google.container." + + "v1beta1.NetworkTags\022P\n\026desired_protect_c" + + "onfig\030p \001(\0132\'.google.container.v1beta1.P" + + "rotectConfigB\002\030\001H\001\210\001\001\022N\n\032desired_gateway" + + "_api_config\030r \001(\0132*.google.container.v1b" + + "eta1.GatewayAPIConfig\022\014\n\004etag\030s \001(\t\022Y\n d" + + "esired_node_pool_logging_config\030t \001(\0132/." + + "google.container.v1beta1.NodePoolLogging" + + "Config\0226\n\rdesired_fleet\030u \001(\0132\037.google.c" + + "ontainer.v1beta1.Fleet\022?\n\022desired_stack_" + + "type\030w \001(\0162#.google.container.v1beta1.St" + + "ackType\022Y\n\034additional_pod_ranges_config\030" + + "x \001(\01323.google.container.v1beta1.Additio" + + "nalPodRangesConfig\022a\n$removed_additional" + + "_pod_ranges_config\030y \001(\01323.google.contai" + + "ner.v1beta1.AdditionalPodRangesConfig\022H\n" + + "\024enable_k8s_beta_apis\030z \001(\0132*.google.con" + + "tainer.v1beta1.K8sBetaAPIConfig\022X\n\037desir" + + "ed_security_posture_config\030| \001(\0132/.googl" + + "e.container.v1beta1.SecurityPostureConfi" + + "g\022s\n\"desired_network_performance_config\030" + + "} \001(\0132G.google.container.v1beta1.Network" + + "Config.ClusterNetworkPerformanceConfig\022/" + + "\n\"desired_enable_fqdn_network_policy\030~ \001" + + "(\010H\002\210\001\001\022a\n(desired_autopilot_workload_po" + + "licy_config\030\200\001 \001(\0132..google.container.v1" + + "beta1.WorkloadPolicyConfig\022J\n\025desired_k8" + + "s_beta_apis\030\203\001 \001(\0132*.google.container.v1" + + "beta1.K8sBetaAPIConfig\022Y\n\037desired_host_m" + + "aintenance_policy\030\204\001 \001(\0132/.google.contai" + + "ner.v1beta1.HostMaintenancePolicy\022-\n\037des" + + "ired_enable_multi_networking\030\207\001 \001(\010H\003\210\001\001" + + "\022k\n3desired_node_pool_auto_config_resour" + + "ce_manager_tags\030\210\001 \001(\0132-.google.containe" + + "r.v1beta1.ResourceManagerTags\022g\n$desired" + + "_in_transit_encryption_config\030\211\001 \001(\01623.g" + + "oogle.container.v1beta1.InTransitEncrypt" + + "ionConfigH\004\210\001\001\022>\n0desired_enable_cilium_" + + "clusterwide_network_policy\030\212\001 \001(\010H\005\210\001\001\022Z" + + "\n\035desired_secret_manager_config\030\213\001 \001(\0132-" + + ".google.container.v1beta1.SecretManagerC" + + "onfigH\006\210\001\001B\"\n _desired_enable_private_en" + + "dpointB\031\n\027_desired_protect_configB%\n#_de" + + "sired_enable_fqdn_network_policyB\"\n _des" + + "ired_enable_multi_networkingB\'\n%_desired" + + "_in_transit_encryption_configB3\n1_desire" + + "d_enable_cilium_clusterwide_network_poli" + + "cyB \n\036_desired_secret_manager_config\"v\n\031" + + "AdditionalPodRangesConfig\022\027\n\017pod_range_n" + + "ames\030\001 \003(\t\022@\n\016pod_range_info\030\002 \003(\0132#.goo" + + "gle.container.v1beta1.RangeInfoB\003\340A\003\">\n\t" + + "RangeInfo\022\027\n\nrange_name\030\001 \001(\tB\003\340A\003\022\030\n\013ut" + + "ilization\030\002 \001(\001B\003\340A\003\"\315\010\n\tOperation\022\014\n\004na" + + "me\030\001 \001(\t\022\020\n\004zone\030\002 \001(\tB\002\030\001\022@\n\016operation_" + + "type\030\003 \001(\0162(.google.container.v1beta1.Op" + + "eration.Type\022:\n\006status\030\004 \001(\0162*.google.co" + + "ntainer.v1beta1.Operation.Status\022\016\n\006deta" + + "il\030\010 \001(\t\022\035\n\016status_message\030\005 \001(\tB\005\030\001\340A\003\022" + + "\021\n\tself_link\030\006 \001(\t\022\023\n\013target_link\030\007 \001(\t\022" + + "\020\n\010location\030\t \001(\t\022\022\n\nstart_time\030\n \001(\t\022\020\n" + + "\010end_time\030\013 \001(\t\022B\n\010progress\030\014 \001(\0132+.goog" + + "le.container.v1beta1.OperationProgressB\003" + + "\340A\003\022I\n\022cluster_conditions\030\r \003(\0132).google" + + ".container.v1beta1.StatusConditionB\002\030\001\022J" + + "\n\023nodepool_conditions\030\016 \003(\0132).google.con" + + "tainer.v1beta1.StatusConditionB\002\030\001\022!\n\005er" + + "ror\030\017 \001(\0132\022.google.rpc.Status\"R\n\006Status\022" + + "\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007" + + "RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020\004\"\300\003\n\004Ty" + + "pe\022\024\n\020TYPE_UNSPECIFIED\020\000\022\022\n\016CREATE_CLUST" + + "ER\020\001\022\022\n\016DELETE_CLUSTER\020\002\022\022\n\016UPGRADE_MAST" + + "ER\020\003\022\021\n\rUPGRADE_NODES\020\004\022\022\n\016REPAIR_CLUSTE" + + "R\020\005\022\022\n\016UPDATE_CLUSTER\020\006\022\024\n\020CREATE_NODE_P" + + "OOL\020\007\022\024\n\020DELETE_NODE_POOL\020\010\022\034\n\030SET_NODE_" + + "POOL_MANAGEMENT\020\t\022\025\n\021AUTO_REPAIR_NODES\020\n" + + "\022\032\n\022AUTO_UPGRADE_NODES\020\013\032\002\010\001\022\022\n\nSET_LABE" + + "LS\020\014\032\002\010\001\022\027\n\017SET_MASTER_AUTH\020\r\032\002\010\001\022\026\n\022SET" + + "_NODE_POOL_SIZE\020\016\022\032\n\022SET_NETWORK_POLICY\020" + + "\017\032\002\010\001\022\036\n\026SET_MAINTENANCE_POLICY\020\020\032\002\010\001\022\022\n" + + "\016RESIZE_CLUSTER\020\022\022\031\n\025FLEET_FEATURE_UPGRA" + + "DE\020\023\"\312\002\n\021OperationProgress\022\014\n\004name\030\001 \001(\t" + + "\022:\n\006status\030\002 \001(\0162*.google.container.v1be" + + "ta1.Operation.Status\022C\n\007metrics\030\003 \003(\01322." + + "google.container.v1beta1.OperationProgre" + + "ss.Metric\022;\n\006stages\030\004 \003(\0132+.google.conta" + + "iner.v1beta1.OperationProgress\032i\n\006Metric" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\tint_value\030\002 \001(\003H\000" + + "\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014string_value" + + "\030\004 \001(\tH\000B\007\n\005value\"\217\001\n\024CreateClusterReque" + + "st\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 " + + "\001(\tB\005\030\001\340A\002\0227\n\007cluster\030\003 \001(\0132!.google.con" + + "tainer.v1beta1.ClusterB\003\340A\002\022\016\n\006parent\030\005 " + + "\001(\t\"l\n\021GetClusterRequest\022\031\n\nproject_id\030\001" + + " \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\nclus" + + "ter_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\005 \001(\t\"\255\001\n\024Up" + + "dateClusterRequest\022\031\n\nproject_id\030\001 \001(\tB\005" + + "\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id" + + "\030\003 \001(\tB\005\030\001\340A\002\022<\n\006update\030\004 \001(\0132\'.google.c" + + "ontainer.v1beta1.ClusterUpdateB\003\340A\002\022\014\n\004n" + + "ame\030\005 \001(\t\"\264\013\n\025UpdateNodePoolRequest\022\031\n\np" + + "roject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001" + + "\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_p" + + "ool_id\030\004 \001(\tB\005\030\001\340A\002\022\031\n\014node_version\030\005 \001(" + + "\tB\003\340A\002\022\027\n\nimage_type\030\006 \001(\tB\003\340A\002\022\021\n\tlocat" + + "ions\030\r \003(\t\022R\n\030workload_metadata_config\030\016" + + " \001(\01320.google.container.v1beta1.Workload" + + "MetadataConfig\022\014\n\004name\030\010 \001(\t\022L\n\020upgrade_" + + "settings\030\017 \001(\01322.google.container.v1beta" + + "1.NodePool.UpgradeSettings\0223\n\004tags\030\020 \001(\013" + + "2%.google.container.v1beta1.NetworkTags\022" + + "4\n\006taints\030\021 \001(\0132$.google.container.v1bet" + + "a1.NodeTaints\0224\n\006labels\030\022 \001(\0132$.google.c" + + "ontainer.v1beta1.NodeLabels\022D\n\021linux_nod" + + "e_config\030\023 \001(\0132).google.container.v1beta" + + "1.LinuxNodeConfig\022C\n\016kubelet_config\030\024 \001(" + + "\0132+.google.container.v1beta1.NodeKubelet" + + "Config\022H\n\023node_network_config\030\025 \001(\0132+.go" + + "ogle.container.v1beta1.NodeNetworkConfig" + + "\0229\n\013gcfs_config\030\026 \001(\0132$.google.container" + + ".v1beta1.GcfsConfig\022G\n\022confidential_node" + + "s\030\027 \001(\0132+.google.container.v1beta1.Confi" + + "dentialNodes\0223\n\005gvnic\030\035 \001(\0132$.google.con" + + "tainer.v1beta1.VirtualNIC\022\014\n\004etag\030\036 \001(\t\022" + + "9\n\013fast_socket\030\037 \001(\0132$.google.container." + + "v1beta1.FastSocket\022G\n\016logging_config\030 \001" + + "(\0132/.google.container.v1beta1.NodePoolLo" + + "ggingConfig\022A\n\017resource_labels\030! \001(\0132(.g" + + "oogle.container.v1beta1.ResourceLabels\022H" + + "\n\023windows_node_config\030\" \001(\0132+.google.con" + + "tainer.v1beta1.WindowsNodeConfig\022\031\n\014mach" + + "ine_type\030$ \001(\tB\003\340A\001\022\026\n\tdisk_type\030% \001(\tB\003" + + "\340A\001\022\031\n\014disk_size_gb\030& \001(\003B\003\340A\001\022L\n\025resour" + + "ce_manager_tags\030\' \001(\0132-.google.container" + + ".v1beta1.ResourceManagerTags\022R\n\023queued_p" + + "rovisioning\030* \001(\01325.google.container.v1b" + + "eta1.NodePool.QueuedProvisioning\"\336\001\n\035Set" + + "NodePoolAutoscalingRequest\022\031\n\nproject_id" + "\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncl" + "uster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 " - + "\001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\022\023\n\013respect_pdb\030" - + "\007 \001(\010\"O\n\025ListNodePoolsResponse\0226\n\nnode_p" - + "ools\030\001 \003(\0132\".google.container.v1beta1.No" - + "dePool\"\276\003\n\022ClusterAutoscaling\022$\n\034enable_" - + "node_autoprovisioning\030\001 \001(\010\022@\n\017resource_" - + "limits\030\002 \003(\0132\'.google.container.v1beta1." - + "ResourceLimit\022\\\n\023autoscaling_profile\030\003 \001" - + "(\0162?.google.container.v1beta1.ClusterAut" - + "oscaling.AutoscalingProfile\022g\n#autoprovi" - + "sioning_node_pool_defaults\030\004 \001(\0132:.googl" - + "e.container.v1beta1.AutoprovisioningNode" - + "PoolDefaults\022\"\n\032autoprovisioning_locatio" - + "ns\030\005 \003(\t\"U\n\022AutoscalingProfile\022\027\n\023PROFIL" - + "E_UNSPECIFIED\020\000\022\030\n\024OPTIMIZE_UTILIZATION\020" - + "\001\022\014\n\010BALANCED\020\002\"\207\004\n AutoprovisioningNode" - + "PoolDefaults\022\024\n\014oauth_scopes\030\001 \003(\t\022\027\n\017se" - + "rvice_account\030\002 \001(\t\022L\n\020upgrade_settings\030" - + "\003 \001(\01322.google.container.v1beta1.NodePoo" - + "l.UpgradeSettings\022<\n\nmanagement\030\004 \001(\0132(." - + "google.container.v1beta1.NodeManagement\022" - + "\034\n\020min_cpu_platform\030\005 \001(\tB\002\030\001\022\024\n\014disk_si" - + "ze_gb\030\006 \001(\005\022\021\n\tdisk_type\030\007 \001(\t\022R\n\030shield" - + "ed_instance_config\030\010 \001(\01320.google.contai" - + "ner.v1beta1.ShieldedInstanceConfig\022\031\n\021bo" - + "ot_disk_kms_key\030\t \001(\t\022\022\n\nimage_type\030\n \001(" - + "\t\0223\n&insecure_kubelet_readonly_port_enab" - + "led\030\r \001(\010H\000\210\001\001B)\n\'_insecure_kubelet_read" - + "only_port_enabled\"H\n\rResourceLimit\022\025\n\rre" - + "source_type\030\001 \001(\t\022\017\n\007minimum\030\002 \001(\003\022\017\n\007ma" - + "ximum\030\003 \001(\003\"\314\002\n\023NodePoolAutoscaling\022\017\n\007e" - + "nabled\030\001 \001(\010\022\026\n\016min_node_count\030\002 \001(\005\022\026\n\016" - + "max_node_count\030\003 \001(\005\022\027\n\017autoprovisioned\030" - + "\004 \001(\010\022U\n\017location_policy\030\005 \001(\0162<.google." - + "container.v1beta1.NodePoolAutoscaling.Lo" - + "cationPolicy\022\034\n\024total_min_node_count\030\006 \001" - + "(\005\022\034\n\024total_max_node_count\030\007 \001(\005\"H\n\016Loca" - + "tionPolicy\022\037\n\033LOCATION_POLICY_UNSPECIFIE" - + "D\020\000\022\014\n\010BALANCED\020\001\022\007\n\003ANY\020\002\"\240\002\n\020SetLabels" + + "\001(\tB\005\030\001\340A\002\022G\n\013autoscaling\030\005 \001(\0132-.google" + + ".container.v1beta1.NodePoolAutoscalingB\003" + + "\340A\002\022\014\n\004name\030\006 \001(\t\"\221\001\n\030SetLoggingServiceR" + + "equest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zon" + + "e\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A" + + "\002\022\034\n\017logging_service\030\004 \001(\tB\003\340A\002\022\014\n\004name\030" + + "\005 \001(\t\"\227\001\n\033SetMonitoringServiceRequest\022\031\n" + + "\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005" + + "\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\037\n\022moni" + + "toring_service\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t\"" + + "\265\001\n\026SetAddonsConfigRequest\022\031\n\nproject_id" + + "\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncl" + + "uster_id\030\003 \001(\tB\005\030\001\340A\002\022B\n\raddons_config\030\004" + + " \001(\0132&.google.container.v1beta1.AddonsCo" + + "nfigB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\206\001\n\023SetLocations" + + "Request\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zo" + + "ne\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340" + + "A\002\022\026\n\tlocations\030\004 \003(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t" + + "\"\213\001\n\023UpdateMasterRequest\022\031\n\nproject_id\030\001" + + " \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\nclus" + + "ter_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\016master_version\030\004 " + + "\001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\310\002\n\024SetMasterAuth" + "Request\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zo" + "ne\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340" - + "A\002\022\\\n\017resource_labels\030\004 \003(\0132>.google.con" - + "tainer.v1beta1.SetLabelsRequest.Resource" - + "LabelsEntryB\003\340A\002\022\036\n\021label_fingerprint\030\005 " - + "\001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\0325\n\023ResourceLabels" - + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\001" - + "\n\024SetLegacyAbacRequest\022\031\n\nproject_id\030\001 \001" + + "A\002\022J\n\006action\030\004 \001(\01625.google.container.v1" + + "beta1.SetMasterAuthRequest.ActionB\003\340A\002\0229" + + "\n\006update\030\005 \001(\0132$.google.container.v1beta" + + "1.MasterAuthB\003\340A\002\022\014\n\004name\030\007 \001(\t\"P\n\006Actio" + + "n\022\013\n\007UNKNOWN\020\000\022\020\n\014SET_PASSWORD\020\001\022\025\n\021GENE" + + "RATE_PASSWORD\020\002\022\020\n\014SET_USERNAME\020\003\"o\n\024Del" + + "eteClusterRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030" + + "\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030" + + "\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\004 \001(\t\"U\n\023ListCluste" + + "rsRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004" + + "zone\030\002 \001(\tB\005\030\001\340A\002\022\016\n\006parent\030\004 \001(\t\"b\n\024Lis" + + "tClustersResponse\0223\n\010clusters\030\001 \003(\0132!.go" + + "ogle.container.v1beta1.Cluster\022\025\n\rmissin" + + "g_zones\030\002 \003(\t\"p\n\023GetOperationRequest\022\031\n\n" + + "project_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030" + + "\001\340A\002\022\033\n\014operation_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004nam" + + "e\030\005 \001(\t\"W\n\025ListOperationsRequest\022\031\n\nproj" + + "ect_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002" + + "\022\016\n\006parent\030\004 \001(\t\"s\n\026CancelOperationReque" + + "st\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 " + + "\001(\tB\005\030\001\340A\002\022\033\n\014operation_id\030\003 \001(\tB\005\030\001\340A\002\022" + + "\014\n\004name\030\004 \001(\t\"h\n\026ListOperationsResponse\022" + + "7\n\noperations\030\001 \003(\0132#.google.container.v" + + "1beta1.Operation\022\025\n\rmissing_zones\030\002 \003(\t\"" + + "V\n\026GetServerConfigRequest\022\031\n\nproject_id\030" + + "\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\014\n\004nam" + + "e\030\004 \001(\t\"\351\005\n\014ServerConfig\022\037\n\027default_clus" + + "ter_version\030\001 \001(\t\022\033\n\023valid_node_versions" + + "\030\003 \003(\t\022\032\n\022default_image_type\030\004 \001(\t\022\031\n\021va" + + "lid_image_types\030\005 \003(\t\022\035\n\025valid_master_ve" + + "rsions\030\006 \003(\t\022M\n\010channels\030\t \003(\0132;.google." + + "container.v1beta1.ServerConfig.ReleaseCh" + + "annelConfig\022\\\n\024windows_version_maps\030\n \003(" + + "\0132>.google.container.v1beta1.ServerConfi" + + "g.WindowsVersionMapsEntry\032\261\002\n\024ReleaseCha" + + "nnelConfig\022A\n\007channel\030\001 \001(\01620.google.con" + + "tainer.v1beta1.ReleaseChannel.Channel\022\027\n" + + "\017default_version\030\002 \001(\t\022l\n\022available_vers" + + "ions\030\003 \003(\0132L.google.container.v1beta1.Se" + + "rverConfig.ReleaseChannelConfig.Availabl" + + "eVersionB\002\030\001\022\026\n\016valid_versions\030\004 \003(\t\0327\n\020" + + "AvailableVersion\022\017\n\007version\030\001 \001(\t\022\016\n\006rea" + + "son\030\002 \001(\t:\002\030\001\032d\n\027WindowsVersionMapsEntry" + + "\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).google.co" + + "ntainer.v1beta1.WindowsVersions:\0028\001\"F\n\026B" + + "estEffortProvisioning\022\017\n\007enabled\030\001 \001(\010\022\033" + + "\n\023min_provision_nodes\030\002 \001(\005\"\314\001\n\017WindowsV" + + "ersions\022R\n\020windows_versions\030\001 \003(\01328.goog" + + "le.container.v1beta1.WindowsVersions.Win" + + "dowsVersion\032e\n\016WindowsVersion\022\022\n\nimage_t" + + "ype\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\022+\n\020support" + + "_end_date\030\003 \001(\0132\021.google.type.Date\"\256\001\n\025C" + + "reateNodePoolRequest\022\031\n\nproject_id\030\001 \001(\t" + + "B\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_" + + "id\030\003 \001(\tB\005\030\001\340A\002\022:\n\tnode_pool\030\004 \001(\0132\".goo" + + "gle.container.v1beta1.NodePoolB\003\340A\002\022\016\n\006p" + + "arent\030\006 \001(\t\"\215\001\n\025DeleteNodePoolRequest\022\031\n" + + "\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005" + + "\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node" + + "_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"q\n\024L" + + "istNodePoolsRequest\022\031\n\nproject_id\030\001 \001(\tB" + + "\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_i" + + "d\030\003 \001(\tB\005\030\001\340A\002\022\016\n\006parent\030\005 \001(\t\"\212\001\n\022GetNo" + + "dePoolRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002" + + "\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(" + + "\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\014\n" + + "\004name\030\006 \001(\t\"\251\004\n\021BlueGreenSettings\022d\n\027sta" + + "ndard_rollout_policy\030\001 \001(\0132A.google.cont" + + "ainer.v1beta1.BlueGreenSettings.Standard" + + "RolloutPolicyH\000\022h\n\031autoscaled_rollout_po" + + "licy\030\003 \001(\0132C.google.container.v1beta1.Bl" + + "ueGreenSettings.AutoscaledRolloutPolicyH" + + "\000\022?\n\027node_pool_soak_duration\030\002 \001(\0132\031.goo" + + "gle.protobuf.DurationH\001\210\001\001\032\271\001\n\025StandardR" + + "olloutPolicy\022\032\n\020batch_percentage\030\001 \001(\002H\000" + + "\022\032\n\020batch_node_count\030\002 \001(\005H\000\022;\n\023batch_so" + + "ak_duration\030\003 \001(\0132\031.google.protobuf.Dura" + + "tionH\001\210\001\001B\023\n\021update_batch_sizeB\026\n\024_batch" + + "_soak_duration\032\031\n\027AutoscaledRolloutPolic" + + "yB\020\n\016rollout_policyB\032\n\030_node_pool_soak_d" + + "uration\"\252\021\n\010NodePool\022\014\n\004name\030\001 \001(\t\0224\n\006co" + + "nfig\030\002 \001(\0132$.google.container.v1beta1.No" + + "deConfig\022\032\n\022initial_node_count\030\003 \001(\005\022\021\n\t" + + "locations\030\r \003(\t\022C\n\016network_config\030\016 \001(\0132" + + "+.google.container.v1beta1.NodeNetworkCo" + + "nfig\022\021\n\tself_link\030d \001(\t\022\017\n\007version\030e \001(\t" + + "\022\033\n\023instance_group_urls\030f \003(\t\0229\n\006status\030" + + "g \001(\0162).google.container.v1beta1.NodePoo" + + "l.Status\022\032\n\016status_message\030h \001(\tB\002\030\001\022B\n\013" + + "autoscaling\030\004 \001(\0132-.google.container.v1b" + + "eta1.NodePoolAutoscaling\022<\n\nmanagement\030\005" + + " \001(\0132(.google.container.v1beta1.NodeMana" + + "gement\022H\n\023max_pods_constraint\030\006 \001(\0132+.go" + + "ogle.container.v1beta1.MaxPodsConstraint" + + "\022=\n\nconditions\030i \003(\0132).google.container." + + "v1beta1.StatusCondition\022\032\n\022pod_ipv4_cidr" + + "_size\030\007 \001(\005\022L\n\020upgrade_settings\030k \001(\01322." + + "google.container.v1beta1.NodePool.Upgrad" + + "eSettings\022L\n\020placement_policy\030l \001(\01322.go" + + "ogle.container.v1beta1.NodePool.Placemen" + + "tPolicy\022G\n\013update_info\030m \001(\0132-.google.co" + + "ntainer.v1beta1.NodePool.UpdateInfoB\003\340A\003" + + "\022\014\n\004etag\030n \001(\t\022R\n\023queued_provisioning\030p " + + "\001(\01325.google.container.v1beta1.NodePool." + + "QueuedProvisioning\022R\n\030best_effort_provis" + + "ioning\030q \001(\01320.google.container.v1beta1." + + "BestEffortProvisioning\032\372\001\n\017UpgradeSettin" + + "gs\022\021\n\tmax_surge\030\001 \001(\005\022\027\n\017max_unavailable" + + "\030\002 \001(\005\022G\n\010strategy\030\003 \001(\01620.google.contai" + + "ner.v1beta1.NodePoolUpdateStrategyH\000\210\001\001\022", + "M\n\023blue_green_settings\030\004 \001(\0132+.google.co" + + "ntainer.v1beta1.BlueGreenSettingsH\001\210\001\001B\013" + + "\n\t_strategyB\026\n\024_blue_green_settings\032\262\004\n\n" + + "UpdateInfo\022T\n\017blue_green_info\030\001 \001(\0132;.go" + + "ogle.container.v1beta1.NodePool.UpdateIn" + + "fo.BlueGreenInfo\032\315\003\n\rBlueGreenInfo\022P\n\005ph" + + "ase\030\001 \001(\0162A.google.container.v1beta1.Nod" + + "ePool.UpdateInfo.BlueGreenInfo.Phase\022 \n\030" + + "blue_instance_group_urls\030\002 \003(\t\022!\n\031green_" + + "instance_group_urls\030\003 \003(\t\022%\n\035blue_pool_d" + + "eletion_start_time\030\004 \001(\t\022\032\n\022green_pool_v" + + "ersion\030\005 \001(\t\"\341\001\n\005Phase\022\025\n\021PHASE_UNSPECIF" + + "IED\020\000\022\022\n\016UPDATE_STARTED\020\001\022\027\n\023CREATING_GR" + + "EEN_POOL\020\002\022\027\n\023CORDONING_BLUE_POOL\020\003\022\036\n\032W" + + "AITING_TO_DRAIN_BLUE_POOL\020\010\022\026\n\022DRAINING_" + + "BLUE_POOL\020\004\022\025\n\021NODE_POOL_SOAKING\020\005\022\026\n\022DE" + + "LETING_BLUE_POOL\020\006\022\024\n\020ROLLBACK_STARTED\020\007" + + "\032\256\001\n\017PlacementPolicy\022E\n\004type\030\001 \001(\01627.goo" + + "gle.container.v1beta1.NodePool.Placement" + + "Policy.Type\022\024\n\014tpu_topology\030\002 \001(\t\022\023\n\013pol" + + "icy_name\030\003 \001(\t\")\n\004Type\022\024\n\020TYPE_UNSPECIFI" + + "ED\020\000\022\013\n\007COMPACT\020\001\032%\n\022QueuedProvisioning\022" + + "\017\n\007enabled\030\001 \001(\010\"\201\001\n\006Status\022\026\n\022STATUS_UN" + + "SPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING" + + "\020\002\022\026\n\022RUNNING_WITH_ERROR\020\003\022\017\n\013RECONCILIN" + + "G\020\004\022\014\n\010STOPPING\020\005\022\t\n\005ERROR\020\006\"\202\001\n\016NodeMan" + + "agement\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n\013auto_re" + + "pair\030\002 \001(\010\022E\n\017upgrade_options\030\n \001(\0132,.go" + + "ogle.container.v1beta1.AutoUpgradeOption" + + "s\"J\n\022AutoUpgradeOptions\022\037\n\027auto_upgrade_" + + "start_time\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\"j\n" + + "\021MaintenancePolicy\022;\n\006window\030\001 \001(\0132+.goo" + + "gle.container.v1beta1.MaintenanceWindow\022" + + "\030\n\020resource_version\030\003 \001(\t\"\212\003\n\021Maintenanc" + + "eWindow\022T\n\030daily_maintenance_window\030\002 \001(" + + "\01320.google.container.v1beta1.DailyMainte" + + "nanceWindowH\000\022I\n\020recurring_window\030\003 \001(\0132" + + "-.google.container.v1beta1.RecurringTime" + + "WindowH\000\022f\n\026maintenance_exclusions\030\004 \003(\013" + + "2F.google.container.v1beta1.MaintenanceW" + + "indow.MaintenanceExclusionsEntry\032b\n\032Main" + + "tenanceExclusionsEntry\022\013\n\003key\030\001 \001(\t\0223\n\005v" + + "alue\030\002 \001(\0132$.google.container.v1beta1.Ti" + + "meWindow:\0028\001B\010\n\006policy\"\325\001\n\nTimeWindow\022^\n" + + "\035maintenance_exclusion_options\030\003 \001(\01325.g" + + "oogle.container.v1beta1.MaintenanceExclu" + + "sionOptionsH\000\022.\n\nstart_time\030\001 \001(\0132\032.goog" + + "le.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132" + + "\032.google.protobuf.TimestampB\t\n\007options\"\271" + + "\001\n\033MaintenanceExclusionOptions\022J\n\005scope\030" + + "\001 \001(\0162;.google.container.v1beta1.Mainten" + + "anceExclusionOptions.Scope\"N\n\005Scope\022\017\n\013N" + + "O_UPGRADES\020\000\022\025\n\021NO_MINOR_UPGRADES\020\001\022\035\n\031N" + + "O_MINOR_OR_NODE_UPGRADES\020\002\"_\n\023RecurringT" + + "imeWindow\0224\n\006window\030\001 \001(\0132$.google.conta" + + "iner.v1beta1.TimeWindow\022\022\n\nrecurrence\030\002 " + + "\001(\t\">\n\026DailyMaintenanceWindow\022\022\n\nstart_t" + + "ime\030\002 \001(\t\022\020\n\010duration\030\003 \001(\t\"\327\001\n\034SetNodeP" + + "oolManagementRequest\022\031\n\nproject_id\030\001 \001(\t" + + "B\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_" + + "id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\tB\005\030" + + "\001\340A\002\022A\n\nmanagement\030\005 \001(\0132(.google.contai" + + "ner.v1beta1.NodeManagementB\003\340A\002\022\014\n\004name\030" + + "\007 \001(\t\"\247\001\n\026SetNodePoolSizeRequest\022\031\n\nproj" + + "ect_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002" + + "\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool" + + "_id\030\004 \001(\tB\005\030\001\340A\002\022\027\n\nnode_count\030\005 \001(\005B\003\340A" + + "\002\022\014\n\004name\030\007 \001(\t\".\n\036CompleteNodePoolUpgra" + + "deRequest\022\014\n\004name\030\001 \001(\t\"\253\001\n\036RollbackNode" + + "PoolUpgradeRequest\022\031\n\nproject_id\030\001 \001(\tB\005" + + "\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id" + + "\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\tB\005\030\001\340" + + "A\002\022\014\n\004name\030\006 \001(\t\022\023\n\013respect_pdb\030\007 \001(\010\"O\n" + + "\025ListNodePoolsResponse\0226\n\nnode_pools\030\001 \003" + + "(\0132\".google.container.v1beta1.NodePool\"\276" + + "\003\n\022ClusterAutoscaling\022$\n\034enable_node_aut" + + "oprovisioning\030\001 \001(\010\022@\n\017resource_limits\030\002" + + " \003(\0132\'.google.container.v1beta1.Resource" + + "Limit\022\\\n\023autoscaling_profile\030\003 \001(\0162?.goo" + + "gle.container.v1beta1.ClusterAutoscaling" + + ".AutoscalingProfile\022g\n#autoprovisioning_" + + "node_pool_defaults\030\004 \001(\0132:.google.contai" + + "ner.v1beta1.AutoprovisioningNodePoolDefa" + + "ults\022\"\n\032autoprovisioning_locations\030\005 \003(\t" + + "\"U\n\022AutoscalingProfile\022\027\n\023PROFILE_UNSPEC" + + "IFIED\020\000\022\030\n\024OPTIMIZE_UTILIZATION\020\001\022\014\n\010BAL" + + "ANCED\020\002\"\207\004\n AutoprovisioningNodePoolDefa" + + "ults\022\024\n\014oauth_scopes\030\001 \003(\t\022\027\n\017service_ac" + + "count\030\002 \001(\t\022L\n\020upgrade_settings\030\003 \001(\01322." + + "google.container.v1beta1.NodePool.Upgrad" + + "eSettings\022<\n\nmanagement\030\004 \001(\0132(.google.c" + + "ontainer.v1beta1.NodeManagement\022\034\n\020min_c" + + "pu_platform\030\005 \001(\tB\002\030\001\022\024\n\014disk_size_gb\030\006 " + + "\001(\005\022\021\n\tdisk_type\030\007 \001(\t\022R\n\030shielded_insta" + + "nce_config\030\010 \001(\01320.google.container.v1be" + + "ta1.ShieldedInstanceConfig\022\031\n\021boot_disk_" + + "kms_key\030\t \001(\t\022\022\n\nimage_type\030\n \001(\t\0223\n&ins" + + "ecure_kubelet_readonly_port_enabled\030\r \001(" + + "\010H\000\210\001\001B)\n\'_insecure_kubelet_readonly_por" + + "t_enabled\"H\n\rResourceLimit\022\025\n\rresource_t" + + "ype\030\001 \001(\t\022\017\n\007minimum\030\002 \001(\003\022\017\n\007maximum\030\003 " + + "\001(\003\"\314\002\n\023NodePoolAutoscaling\022\017\n\007enabled\030\001" + + " \001(\010\022\026\n\016min_node_count\030\002 \001(\005\022\026\n\016max_node" + + "_count\030\003 \001(\005\022\027\n\017autoprovisioned\030\004 \001(\010\022U\n" + + "\017location_policy\030\005 \001(\0162<.google.containe" + + "r.v1beta1.NodePoolAutoscaling.LocationPo" + + "licy\022\034\n\024total_min_node_count\030\006 \001(\005\022\034\n\024to" + + "tal_max_node_count\030\007 \001(\005\"H\n\016LocationPoli" + + "cy\022\037\n\033LOCATION_POLICY_UNSPECIFIED\020\000\022\014\n\010B" + + "ALANCED\020\001\022\007\n\003ANY\020\002\"\240\002\n\020SetLabelsRequest\022" + + "\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\t" + + "B\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\\\n\017re" + + "source_labels\030\004 \003(\0132>.google.container.v" + + "1beta1.SetLabelsRequest.ResourceLabelsEn" + + "tryB\003\340A\002\022\036\n\021label_fingerprint\030\005 \001(\tB\003\340A\002" + + "\022\014\n\004name\030\007 \001(\t\0325\n\023ResourceLabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\001\n\024SetLeg" + + "acyAbacRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A" + + "\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001" + + "(\tB\005\030\001\340A\002\022\024\n\007enabled\030\004 \001(\010B\003\340A\002\022\014\n\004name\030" + + "\006 \001(\t\"\215\001\n\026StartIPRotationRequest\022\031\n\nproj" + + "ect_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002" + + "\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 \001(" + + "\t\022\032\n\022rotate_credentials\030\007 \001(\010\"t\n\031Complet" + + "eIPRotationRequest\022\031\n\nproject_id\030\001 \001(\tB\005" + + "\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluster_id" + + "\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\007 \001(\t\"\374\002\n\021Accelera" + + "torConfig\022\031\n\021accelerator_count\030\001 \001(\003\022\030\n\020" + + "accelerator_type\030\002 \001(\t\022\032\n\022gpu_partition_" + + "size\030\003 \001(\t\022+\n\037max_time_shared_clients_pe" + + "r_gpu\030\004 \001(\003B\002\030\001\022K\n\022gpu_sharing_config\030\005 " + + "\001(\0132*.google.container.v1beta1.GPUSharin" + + "gConfigH\000\210\001\001\022b\n\036gpu_driver_installation_" + + "config\030\006 \001(\01325.google.container.v1beta1." + + "GPUDriverInstallationConfigH\001\210\001\001B\025\n\023_gpu" + + "_sharing_configB!\n\037_gpu_driver_installat" + + "ion_config\"\377\001\n\020GPUSharingConfig\022\"\n\032max_s" + + "hared_clients_per_gpu\030\001 \001(\003\022`\n\024gpu_shari" + + "ng_strategy\030\002 \001(\0162=.google.container.v1b" + + "eta1.GPUSharingConfig.GPUSharingStrategy" + + "H\000\210\001\001\"L\n\022GPUSharingStrategy\022$\n GPU_SHARI" + + "NG_STRATEGY_UNSPECIFIED\020\000\022\020\n\014TIME_SHARIN" + + "G\020\001B\027\n\025_gpu_sharing_strategy\"\211\002\n\033GPUDriv" + + "erInstallationConfig\022g\n\022gpu_driver_versi" + + "on\030\001 \001(\0162F.google.container.v1beta1.GPUD" + + "riverInstallationConfig.GPUDriverVersion" + + "H\000\210\001\001\"j\n\020GPUDriverVersion\022\"\n\036GPU_DRIVER_" + + "VERSION_UNSPECIFIED\020\000\022\031\n\025INSTALLATION_DI" + + "SABLED\020\001\022\013\n\007DEFAULT\020\002\022\n\n\006LATEST\020\003B\025\n\023_gp" + + "u_driver_version\"*\n\027ManagedPrometheusCon" + + "fig\022\017\n\007enabled\030\001 \001(\010\"\313\002\n\026WorkloadMetadat" + + "aConfig\022X\n\rnode_metadata\030\001 \001(\0162=.google." + + "container.v1beta1.WorkloadMetadataConfig" + + ".NodeMetadataB\002\030\001\022C\n\004mode\030\002 \001(\01625.google" + + ".container.v1beta1.WorkloadMetadataConfi" + + "g.Mode\"P\n\014NodeMetadata\022\017\n\013UNSPECIFIED\020\000\022" + + "\n\n\006SECURE\020\001\022\n\n\006EXPOSE\020\002\022\027\n\023GKE_METADATA_" + + "SERVER\020\003\"@\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\020" + + "\n\014GCE_METADATA\020\001\022\020\n\014GKE_METADATA\020\002\"\270\001\n\027S" + + "etNetworkPolicyRequest\022\031\n\nproject_id\030\001 \001" + "(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncluste" - + "r_id\030\003 \001(\tB\005\030\001\340A\002\022\024\n\007enabled\030\004 \001(\010B\003\340A\002\022" - + "\014\n\004name\030\006 \001(\t\"\215\001\n\026StartIPRotationRequest" - + "\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(" - + "\tB\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004n" - + "ame\030\006 \001(\t\022\032\n\022rotate_credentials\030\007 \001(\010\"t\n" - + "\031CompleteIPRotationRequest\022\031\n\nproject_id" - + "\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031\n\ncl" - + "uster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\007 \001(\t\"\374\002\n\021" - + "AcceleratorConfig\022\031\n\021accelerator_count\030\001" - + " \001(\003\022\030\n\020accelerator_type\030\002 \001(\t\022\032\n\022gpu_pa" - + "rtition_size\030\003 \001(\t\022+\n\037max_time_shared_cl" - + "ients_per_gpu\030\004 \001(\003B\002\030\001\022K\n\022gpu_sharing_c" - + "onfig\030\005 \001(\0132*.google.container.v1beta1.G" - + "PUSharingConfigH\000\210\001\001\022b\n\036gpu_driver_insta" - + "llation_config\030\006 \001(\01325.google.container." - + "v1beta1.GPUDriverInstallationConfigH\001\210\001\001" - + "B\025\n\023_gpu_sharing_configB!\n\037_gpu_driver_i" - + "nstallation_config\"\377\001\n\020GPUSharingConfig\022" - + "\"\n\032max_shared_clients_per_gpu\030\001 \001(\003\022`\n\024g" - + "pu_sharing_strategy\030\002 \001(\0162=.google.conta" - + "iner.v1beta1.GPUSharingConfig.GPUSharing" - + "StrategyH\000\210\001\001\"L\n\022GPUSharingStrategy\022$\n G" - + "PU_SHARING_STRATEGY_UNSPECIFIED\020\000\022\020\n\014TIM" - + "E_SHARING\020\001B\027\n\025_gpu_sharing_strategy\"\211\002\n" - + "\033GPUDriverInstallationConfig\022g\n\022gpu_driv" - + "er_version\030\001 \001(\0162F.google.container.v1be" - + "ta1.GPUDriverInstallationConfig.GPUDrive" - + "rVersionH\000\210\001\001\"j\n\020GPUDriverVersion\022\"\n\036GPU" - + "_DRIVER_VERSION_UNSPECIFIED\020\000\022\031\n\025INSTALL" - + "ATION_DISABLED\020\001\022\013\n\007DEFAULT\020\002\022\n\n\006LATEST\020" - + "\003B\025\n\023_gpu_driver_version\"*\n\027ManagedProme" - + "theusConfig\022\017\n\007enabled\030\001 \001(\010\"\313\002\n\026Workloa" - + "dMetadataConfig\022X\n\rnode_metadata\030\001 \001(\0162=" - + ".google.container.v1beta1.WorkloadMetada" - + "taConfig.NodeMetadataB\002\030\001\022C\n\004mode\030\002 \001(\0162" - + "5.google.container.v1beta1.WorkloadMetad" - + "ataConfig.Mode\"P\n\014NodeMetadata\022\017\n\013UNSPEC" - + "IFIED\020\000\022\n\n\006SECURE\020\001\022\n\n\006EXPOSE\020\002\022\027\n\023GKE_M" - + "ETADATA_SERVER\020\003\"@\n\004Mode\022\024\n\020MODE_UNSPECI" - + "FIED\020\000\022\020\n\014GCE_METADATA\020\001\022\020\n\014GKE_METADATA" - + "\020\002\"\270\001\n\027SetNetworkPolicyRequest\022\031\n\nprojec" - + "t_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004zone\030\002 \001(\tB\005\030\001\340A\002\022\031" - + "\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022D\n\016network_pol" - + "icy\030\004 \001(\0132\'.google.container.v1beta1.Net" - + "workPolicyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\276\001\n\033SetMai" - + "ntenancePolicyRequest\022\027\n\nproject_id\030\001 \001(" - + "\tB\003\340A\002\022\021\n\004zone\030\002 \001(\tB\003\340A\002\022\027\n\ncluster_id\030" - + "\003 \001(\tB\003\340A\002\022L\n\022maintenance_policy\030\004 \001(\0132+" - + ".google.container.v1beta1.MaintenancePol" - + "icyB\003\340A\002\022\014\n\004name\030\005 \001(\t\"+\n\024ListLocationsR" - + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\"g\n\025ListLocat" - + "ionsResponse\0225\n\tlocations\030\001 \003(\0132\".google" - + ".container.v1beta1.Location\022\027\n\017next_page" - + "_token\030\002 \001(\t\"\261\001\n\010Location\022=\n\004type\030\001 \001(\0162" - + "/.google.container.v1beta1.Location.Loca" - + "tionType\022\014\n\004name\030\002 \001(\t\022\023\n\013recommended\030\003 " - + "\001(\010\"C\n\014LocationType\022\035\n\031LOCATION_TYPE_UNS" - + "PECIFIED\020\000\022\010\n\004ZONE\020\001\022\n\n\006REGION\020\002\"\262\002\n\017Sta" - + "tusCondition\022@\n\004code\030\001 \001(\0162..google.cont" - + "ainer.v1beta1.StatusCondition.CodeB\002\030\001\022\017" - + "\n\007message\030\002 \001(\t\022(\n\016canonical_code\030\003 \001(\0162" - + "\020.google.rpc.Code\"\241\001\n\004Code\022\013\n\007UNKNOWN\020\000\022" - + "\020\n\014GCE_STOCKOUT\020\001\022\037\n\033GKE_SERVICE_ACCOUNT" - + "_DELETED\020\002\022\026\n\022GCE_QUOTA_EXCEEDED\020\003\022\023\n\017SE" - + "T_BY_OPERATOR\020\004\022\027\n\023CLOUD_KMS_KEY_ERROR\020\007" - + "\022\017\n\013CA_EXPIRING\020\t\032\002\030\001\"\336\t\n\rNetworkConfig\022" - + "\017\n\007network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\022$\n\034" - + "enable_intra_node_visibility\030\005 \001(\010\022H\n\023de" - + "fault_snat_status\030\007 \001(\0132+.google.contain" - + "er.v1beta1.DefaultSnatStatus\022\037\n\027enable_l" - + "4ilb_subsetting\030\n \001(\010\022E\n\021datapath_provid" - + "er\030\013 \001(\0162*.google.container.v1beta1.Data" - + "pathProvider\022U\n\032private_ipv6_google_acce" - + "ss\030\014 \001(\01621.google.container.v1beta1.Priv" - + "ateIPv6GoogleAccess\0227\n\ndns_config\030\r \001(\0132" - + "#.google.container.v1beta1.DNSConfig\022W\n\033" - + "service_external_ips_config\030\017 \001(\01322.goog" - + "le.container.v1beta1.ServiceExternalIPsC" - + "onfig\022F\n\022gateway_api_config\030\020 \001(\0132*.goog" - + "le.container.v1beta1.GatewayAPIConfig\022\037\n" - + "\027enable_multi_networking\030\021 \001(\010\022k\n\032networ" - + "k_performance_config\030\022 \001(\0132G.google.cont" - + "ainer.v1beta1.NetworkConfig.ClusterNetwo" - + "rkPerformanceConfig\022\'\n\032enable_fqdn_netwo" - + "rk_policy\030\023 \001(\010H\000\210\001\001\022^\n\034in_transit_encry" - + "ption_config\030\024 \001(\01623.google.container.v1" - + "beta1.InTransitEncryptionConfigH\001\210\001\001\0225\n(" - + "enable_cilium_clusterwide_network_policy" - + "\030\025 \001(\010H\002\210\001\001\032\343\001\n\037ClusterNetworkPerformanc" - + "eConfig\022v\n\033total_egress_bandwidth_tier\030\001" - + " \001(\0162L.google.container.v1beta1.NetworkC" - + "onfig.ClusterNetworkPerformanceConfig.Ti" - + "erH\000\210\001\001\"(\n\004Tier\022\024\n\020TIER_UNSPECIFIED\020\000\022\n\n" - + "\006TIER_1\020\001B\036\n\034_total_egress_bandwidth_tie" - + "rB\035\n\033_enable_fqdn_network_policyB\037\n\035_in_" - + "transit_encryption_configB+\n)_enable_cil" - + "ium_clusterwide_network_policy\"\301\001\n\020Gatew" - + "ayAPIConfig\022C\n\007channel\030\001 \001(\01622.google.co" - + "ntainer.v1beta1.GatewayAPIConfig.Channel" - + "\"h\n\007Channel\022\027\n\023CHANNEL_UNSPECIFIED\020\000\022\024\n\020" - + "CHANNEL_DISABLED\020\001\022\030\n\024CHANNEL_EXPERIMENT" - + "AL\020\003\022\024\n\020CHANNEL_STANDARD\020\004\"+\n\030ServiceExt" - + "ernalIPsConfig\022\017\n\007enabled\030\001 \001(\010\"j\n\034ListU" - + "sableSubnetworksRequest\022\023\n\006parent\030\001 \001(\tB" - + "\003\340A\002\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" - + "\022\n\npage_token\030\004 \001(\t\"y\n\035ListUsableSubnetw" - + "orksResponse\022?\n\013subnetworks\030\001 \003(\0132*.goog" - + "le.container.v1beta1.UsableSubnetwork\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\205\002\n\036UsableSubnetw" - + "orkSecondaryRange\022\022\n\nrange_name\030\001 \001(\t\022\025\n" - + "\rip_cidr_range\030\002 \001(\t\022O\n\006status\030\003 \001(\0162?.g" - + "oogle.container.v1beta1.UsableSubnetwork" - + "SecondaryRange.Status\"g\n\006Status\022\013\n\007UNKNO" - + "WN\020\000\022\n\n\006UNUSED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022\030\n\024" - + "IN_USE_SHAREABLE_POD\020\003\022\026\n\022IN_USE_MANAGED" - + "_POD\020\004\"\275\001\n\020UsableSubnetwork\022\022\n\nsubnetwor" - + "k\030\001 \001(\t\022\017\n\007network\030\002 \001(\t\022\025\n\rip_cidr_rang" - + "e\030\003 \001(\t\022U\n\023secondary_ip_ranges\030\004 \003(\01328.g" - + "oogle.container.v1beta1.UsableSubnetwork" - + "SecondaryRange\022\026\n\016status_message\030\005 \001(\t\")" - + "\n\026VerticalPodAutoscaling\022\017\n\007enabled\030\001 \001(" - + "\010\"%\n\021DefaultSnatStatus\022\020\n\010disabled\030\001 \001(\010" - + "\",\n\031IntraNodeVisibilityConfig\022\017\n\007enabled" - + "\030\001 \001(\010\"&\n\023ILBSubsettingConfig\022\017\n\007enabled" - + "\030\001 \001(\010\"\325\002\n\tDNSConfig\022A\n\013cluster_dns\030\001 \001(" - + "\0162,.google.container.v1beta1.DNSConfig.P" - + "rovider\022G\n\021cluster_dns_scope\030\002 \001(\0162,.goo" - + "gle.container.v1beta1.DNSConfig.DNSScope" - + "\022\032\n\022cluster_dns_domain\030\003 \001(\t\"W\n\010Provider" - + "\022\030\n\024PROVIDER_UNSPECIFIED\020\000\022\024\n\020PLATFORM_D" - + "EFAULT\020\001\022\r\n\tCLOUD_DNS\020\002\022\014\n\010KUBE_DNS\020\003\"G\n" - + "\010DNSScope\022\031\n\025DNS_SCOPE_UNSPECIFIED\020\000\022\021\n\r" - + "CLUSTER_SCOPE\020\001\022\r\n\tVPC_SCOPE\020\002\".\n\021MaxPod" - + "sConstraint\022\031\n\021max_pods_per_node\030\001 \001(\003\"j" - + "\n\026WorkloadIdentityConfig\022\036\n\022identity_nam" - + "espace\030\001 \001(\tB\002\030\001\022\025\n\rworkload_pool\030\002 \001(\t\022" - + "\031\n\021identity_provider\030\003 \001(\t\"E\n\022WorkloadAL" - + "TSConfig\022/\n\013enable_alts\030\001 \001(\0132\032.google.p" - + "rotobuf.BoolValue\"O\n\024WorkloadCertificate" - + "s\0227\n\023enable_certificates\030\001 \001(\0132\032.google." - + "protobuf.BoolValue\"K\n\020MeshCertificates\0227" - + "\n\023enable_certificates\030\001 \001(\0132\032.google.pro" - + "tobuf.BoolValue\"\235\001\n\022DatabaseEncryption\022\020" - + "\n\010key_name\030\001 \001(\t\022A\n\005state\030\002 \001(\01622.google" - + ".container.v1beta1.DatabaseEncryption.St" - + "ate\"2\n\005State\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTED\020\001" - + "\022\r\n\tDECRYPTED\020\002\"\367\002\n\031ResourceUsageExportC" - + "onfig\022e\n\024bigquery_destination\030\001 \001(\0132G.go" - + "ogle.container.v1beta1.ResourceUsageExpo" - + "rtConfig.BigQueryDestination\022&\n\036enable_n" - + "etwork_egress_metering\030\002 \001(\010\022r\n\033consumpt" - + "ion_metering_config\030\003 \001(\0132M.google.conta" - + "iner.v1beta1.ResourceUsageExportConfig.C" - + "onsumptionMeteringConfig\032)\n\023BigQueryDest" - + "ination\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031Consumpti" - + "onMeteringConfig\022\017\n\007enabled\030\001 \001(\010\" \n\rShi" - + "eldedNodes\022\017\n\007enabled\030\001 \001(\010\"\035\n\nVirtualNI" - + "C\022\017\n\007enabled\030\001 \001(\010\"\035\n\nFastSocket\022\017\n\007enab" - + "led\030\001 \001(\010\"(\n\026GetOpenIDConfigRequest\022\016\n\006p" - + "arent\030\001 \001(\t\"\334\001\n\027GetOpenIDConfigResponse\022" - + "\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n\030res" - + "ponse_types_supported\030\003 \003(\t\022\037\n\027subject_t" - + "ypes_supported\030\004 \003(\t\022-\n%id_token_signing" - + "_alg_values_supported\030\005 \003(\t\022\030\n\020claims_su" - + "pported\030\006 \003(\t\022\023\n\013grant_types\030\007 \003(\t\"\'\n\025Ge" - + "tJSONWebKeysRequest\022\016\n\006parent\030\001 \001(\t\"r\n\003J" - + "wk\022\013\n\003kty\030\001 \001(\t\022\013\n\003alg\030\002 \001(\t\022\013\n\003use\030\003 \001(" - + "\t\022\013\n\003kid\030\004 \001(\t\022\t\n\001n\030\005 \001(\t\022\t\n\001e\030\006 \001(\t\022\t\n\001" - + "x\030\007 \001(\t\022\t\n\001y\030\010 \001(\t\022\013\n\003crv\030\t \001(\t\"E\n\026GetJS" - + "ONWebKeysResponse\022+\n\004keys\030\001 \003(\0132\035.google" - + ".container.v1beta1.Jwk\"2\n\"CheckAutopilot" - + "CompatibilityRequest\022\014\n\004name\030\001 \001(\t\"\201\003\n\033A" - + "utopilotCompatibilityIssue\0224\n\020last_obser" - + "vation\030\001 \001(\0132\032.google.protobuf.Timestamp" - + "\022\027\n\017constraint_type\030\002 \001(\t\022]\n\024incompatibi" - + "lity_type\030\003 \001(\0162?.google.container.v1bet" - + "a1.AutopilotCompatibilityIssue.IssueType" - + "\022\020\n\010subjects\030\004 \003(\t\022\031\n\021documentation_url\030" - + "\005 \001(\t\022\023\n\013description\030\006 \001(\t\"r\n\tIssueType\022" - + "\017\n\013UNSPECIFIED\020\000\022\023\n\017INCOMPATIBILITY\020\001\022\036\n" - + "\032ADDITIONAL_CONFIG_REQUIRED\020\002\022\037\n\033PASSED_" - + "WITH_OPTIONAL_CONFIG\020\003\"}\n#CheckAutopilot" - + "CompatibilityResponse\022E\n\006issues\030\001 \003(\01325." - + "google.container.v1beta1.AutopilotCompat" - + "ibilityIssue\022\017\n\007summary\030\002 \001(\t\"\223\001\n\016Releas" - + "eChannel\022A\n\007channel\030\001 \001(\01620.google.conta" - + "iner.v1beta1.ReleaseChannel.Channel\">\n\007C" - + "hannel\022\017\n\013UNSPECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007RE" - + "GULAR\020\002\022\n\n\006STABLE\020\003\"\'\n\024CostManagementCon" - + "fig\022\017\n\007enabled\030\001 \001(\010\"U\n\tTpuConfig\022\017\n\007ena" - + "bled\030\001 \001(\010\022\036\n\026use_service_networking\030\002 \001" - + "(\010\022\027\n\017ipv4_cidr_block\030\003 \001(\t\"\010\n\006Master\"\224\001" - + "\n\031AutopilotConversionStatus\022M\n\005state\030\002 \001" - + "(\01629.google.container.v1beta1.AutopilotC" - + "onversionStatus.StateB\003\340A\003\"(\n\005State\022\025\n\021S" - + "TATE_UNSPECIFIED\020\000\022\010\n\004DONE\020\005\"\301\001\n\tAutopil" - + "ot\022\017\n\007enabled\030\001 \001(\010\022N\n\026workload_policy_c" - + "onfig\030\002 \001(\0132..google.container.v1beta1.W" - + "orkloadPolicyConfig\022S\n\021conversion_status" - + "\030\003 \001(\01323.google.container.v1beta1.Autopi" - + "lotConversionStatusB\003\340A\003\"H\n\024WorkloadPoli" - + "cyConfig\022\034\n\017allow_net_admin\030\001 \001(\010H\000\210\001\001B\022" - + "\n\020_allow_net_admin\"\267\003\n\022NotificationConfi" - + "g\022C\n\006pubsub\030\001 \001(\01323.google.container.v1b" - + "eta1.NotificationConfig.PubSub\032\217\001\n\006PubSu" - + "b\022\017\n\007enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033" - + "pubsub.googleapis.com/Topic\022C\n\006filter\030\003 " - + "\001(\01323.google.container.v1beta1.Notificat" - + "ionConfig.Filter\032T\n\006Filter\022J\n\nevent_type" - + "\030\001 \003(\01626.google.container.v1beta1.Notifi" - + "cationConfig.EventType\"t\n\tEventType\022\032\n\026E" - + "VENT_TYPE_UNSPECIFIED\020\000\022\033\n\027UPGRADE_AVAIL" - + "ABLE_EVENT\020\001\022\021\n\rUPGRADE_EVENT\020\002\022\033\n\027SECUR" - + "ITY_BULLETIN_EVENT\020\003\"$\n\021ConfidentialNode" - + "s\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\014UpgradeEvent\022D\n\rr" - + "esource_type\030\001 \001(\0162-.google.container.v1" - + "beta1.UpgradeResourceType\022\021\n\toperation\030\002" - + " \001(\t\0228\n\024operation_start_time\030\003 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022\027\n\017current_versio" - + "n\030\004 \001(\t\022\026\n\016target_version\030\005 \001(\t\022\020\n\010resou" - + "rce\030\006 \001(\t\"\210\002\n\025UpgradeAvailableEvent\022\017\n\007v" - + "ersion\030\001 \001(\t\022D\n\rresource_type\030\002 \001(\0162-.go" - + "ogle.container.v1beta1.UpgradeResourceTy" - + "pe\022A\n\017release_channel\030\003 \001(\0132(.google.con" - + "tainer.v1beta1.ReleaseChannel\022\020\n\010resourc" - + "e\030\004 \001(\t\022C\n\020windows_versions\030\005 \001(\0132).goog" - + "le.container.v1beta1.WindowsVersions\"\236\002\n" - + "\025SecurityBulletinEvent\022\036\n\026resource_type_" - + "affected\030\001 \001(\t\022\023\n\013bulletin_id\030\002 \001(\t\022\017\n\007c" - + "ve_ids\030\003 \003(\t\022\020\n\010severity\030\004 \001(\t\022\024\n\014bullet" - + "in_uri\030\005 \001(\t\022\031\n\021brief_description\030\006 \001(\t\022" - + "!\n\031affected_supported_minors\030\007 \003(\t\022\030\n\020pa" - + "tched_versions\030\010 \003(\t\022 \n\030suggested_upgrad" - + "e_target\030\t \001(\t\022\035\n\025manual_steps_required\030" - + "\n \001(\010\"(\n\025IdentityServiceConfig\022\017\n\007enable" - + "d\030\001 \001(\010\"[\n\rLoggingConfig\022J\n\020component_co" - + "nfig\030\001 \001(\01320.google.container.v1beta1.Lo" - + "ggingComponentConfig\"\364\001\n\026LoggingComponen" - + "tConfig\022U\n\021enable_components\030\001 \003(\0162:.goo" - + "gle.container.v1beta1.LoggingComponentCo" - + "nfig.Component\"\202\001\n\tComponent\022\031\n\025COMPONEN" - + "T_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r" - + "\n\tWORKLOADS\020\002\022\r\n\tAPISERVER\020\003\022\r\n\tSCHEDULE" - + "R\020\004\022\026\n\022CONTROLLER_MANAGER\020\005\"\246\002\n\020Monitori" - + "ngConfig\022M\n\020component_config\030\001 \001(\01323.goo" - + "gle.container.v1beta1.MonitoringComponen" - + "tConfig\022T\n\031managed_prometheus_config\030\002 \001" - + "(\01321.google.container.v1beta1.ManagedPro" - + "metheusConfig\022m\n&advanced_datapath_obser" - + "vability_config\030\003 \001(\0132=.google.container" - + ".v1beta1.AdvancedDatapathObservabilityCo" - + "nfig\"\243\002\n#AdvancedDatapathObservabilityCo" - + "nfig\022\026\n\016enable_metrics\030\001 \001(\010\022[\n\nrelay_mo" - + "de\030\002 \001(\0162G.google.container.v1beta1.Adva" - + "ncedDatapathObservabilityConfig.RelayMod" - + "e\022\031\n\014enable_relay\030\003 \001(\010H\000\210\001\001\"[\n\tRelayMod" - + "e\022\032\n\026RELAY_MODE_UNSPECIFIED\020\000\022\014\n\010DISABLE" - + "D\020\001\022\023\n\017INTERNAL_VPC_LB\020\003\022\017\n\013EXTERNAL_LB\020" - + "\004B\017\n\r_enable_relay\"_\n\025NodePoolLoggingCon" - + "fig\022F\n\016variant_config\030\001 \001(\0132..google.con" - + "tainer.v1beta1.LoggingVariantConfig\"\244\001\n\024" - + "LoggingVariantConfig\022G\n\007variant\030\001 \001(\01626." - + "google.container.v1beta1.LoggingVariantC" - + "onfig.Variant\"C\n\007Variant\022\027\n\023VARIANT_UNSP" - + "ECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\022\n\016MAX_THROUGHPUT" - + "\020\002\"\315\002\n\031MonitoringComponentConfig\022X\n\021enab" - + "le_components\030\001 \003(\0162=.google.container.v" - + "1beta1.MonitoringComponentConfig.Compone" - + "nt\"\325\001\n\tComponent\022\031\n\025COMPONENT_UNSPECIFIE" - + "D\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\021\n\tWORKLOADS\020" - + "\002\032\002\010\001\022\r\n\tAPISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022C" - + "ONTROLLER_MANAGER\020\005\022\013\n\007STORAGE\020\007\022\007\n\003HPA\020" - + "\010\022\007\n\003POD\020\t\022\r\n\tDAEMONSET\020\n\022\016\n\nDEPLOYMENT\020" - + "\013\022\017\n\013STATEFULSET\020\014\"D\n\005Fleet\022\017\n\007project\030\001" - + " \001(\t\022\022\n\nmembership\030\002 \001(\t\022\026\n\016pre_register" - + "ed\030\003 \001(\010\"\211\001\n\023ResourceManagerTags\022E\n\004tags" - + "\030\001 \003(\01327.google.container.v1beta1.Resour" - + "ceManagerTags.TagsEntry\032+\n\tTagsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\260\001\n\020Enterpr" - + "iseConfig\022Q\n\014cluster_tier\030\001 \001(\01626.google" - + ".container.v1beta1.EnterpriseConfig.Clus" - + "terTierB\003\340A\003\"I\n\013ClusterTier\022\034\n\030CLUSTER_T" - + "IER_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\016\n\nENTER" - + "PRISE\020\002\"7\n\023SecretManagerConfig\022\024\n\007enable" - + "d\030\001 \001(\010H\000\210\001\001B\n\n\010_enabled\"\240\001\n\021SecondaryBo" - + "otDisk\022>\n\004mode\030\001 \001(\01620.google.container." - + "v1beta1.SecondaryBootDisk.Mode\022\022\n\ndisk_i", - "mage\030\002 \001(\t\"7\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000" - + "\022\031\n\025CONTAINER_IMAGE_CACHE\020\001*\306\001\n\027PrivateI" - + "Pv6GoogleAccess\022*\n&PRIVATE_IPV6_GOOGLE_A" - + "CCESS_UNSPECIFIED\020\000\022\'\n#PRIVATE_IPV6_GOOG" - + "LE_ACCESS_DISABLED\020\001\022(\n$PRIVATE_IPV6_GOO" - + "GLE_ACCESS_TO_GOOGLE\020\002\022,\n(PRIVATE_IPV6_G" - + "OOGLE_ACCESS_BIDIRECTIONAL\020\003*W\n\023UpgradeR" - + "esourceType\022%\n!UPGRADE_RESOURCE_TYPE_UNS" - + "PECIFIED\020\000\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020\002*^\n" - + "\026NodePoolUpdateStrategy\022)\n%NODE_POOL_UPD" - + "ATE_STRATEGY_UNSPECIFIED\020\000\022\016\n\nBLUE_GREEN" - + "\020\002\022\t\n\005SURGE\020\003*a\n\020DatapathProvider\022!\n\035DAT" - + "APATH_PROVIDER_UNSPECIFIED\020\000\022\023\n\017LEGACY_D" - + "ATAPATH\020\001\022\025\n\021ADVANCED_DATAPATH\020\002*@\n\tStac" - + "kType\022\032\n\026STACK_TYPE_UNSPECIFIED\020\000\022\010\n\004IPV" - + "4\020\001\022\r\n\tIPV4_IPV6\020\002*\237\001\n\031InTransitEncrypti" - + "onConfig\022,\n(IN_TRANSIT_ENCRYPTION_CONFIG" - + "_UNSPECIFIED\020\000\022\"\n\036IN_TRANSIT_ENCRYPTION_" - + "DISABLED\020\001\0220\n,IN_TRANSIT_ENCRYPTION_INTE" - + "R_NODE_TRANSPARENT\020\0022\246N\n\016ClusterManager\022" - + "\363\001\n\014ListClusters\022-.google.container.v1be" - + "ta1.ListClustersRequest\032..google.contain" - + "er.v1beta1.ListClustersResponse\"\203\001\332A\017pro" - + "ject_id,zone\202\323\344\223\002k\0221/v1beta1/{parent=pro" - + "jects/*/locations/*}/clustersZ6\0224/v1beta" - + "1/projects/{project_id}/zones/{zone}/clu" - + "sters\022\372\001\n\nGetCluster\022+.google.container." - + "v1beta1.GetClusterRequest\032!.google.conta" - + "iner.v1beta1.Cluster\"\233\001\332A\032project_id,zon" - + "e,cluster_id\202\323\344\223\002x\0221/v1beta1/{name=proje" - + "cts/*/locations/*/clusters/*}ZC\022A/v1beta" - + "1/projects/{project_id}/zones/{zone}/clu" - + "sters/{cluster_id}\022\370\001\n\rCreateCluster\022..g" - + "oogle.container.v1beta1.CreateClusterReq" - + "uest\032#.google.container.v1beta1.Operatio" - + "n\"\221\001\332A\027project_id,zone,cluster\202\323\344\223\002q\"1/v" - + "1beta1/{parent=projects/*/locations/*}/c" - + "lusters:\001*Z9\"4/v1beta1/projects/{project" - + "_id}/zones/{zone}/clusters:\001*\022\217\002\n\rUpdate" - + "Cluster\022..google.container.v1beta1.Updat" - + "eClusterRequest\032#.google.container.v1bet" - + "a1.Operation\"\250\001\332A!project_id,zone,cluste" - + "r_id,update\202\323\344\223\002~\0321/v1beta1/{name=projec" - + "ts/*/locations/*/clusters/*}:\001*ZF\032A/v1be" + + "r_id\030\003 \001(\tB\005\030\001\340A\002\022D\n\016network_policy\030\004 \001(" + + "\0132\'.google.container.v1beta1.NetworkPoli" + + "cyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\276\001\n\033SetMaintenance" + + "PolicyRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\021" + + "\n\004zone\030\002 \001(\tB\003\340A\002\022\027\n\ncluster_id\030\003 \001(\tB\003\340" + + "A\002\022L\n\022maintenance_policy\030\004 \001(\0132+.google." + + "container.v1beta1.MaintenancePolicyB\003\340A\002" + + "\022\014\n\004name\030\005 \001(\t\"+\n\024ListLocationsRequest\022\023" + + "\n\006parent\030\001 \001(\tB\003\340A\002\"g\n\025ListLocationsResp" + + "onse\0225\n\tlocations\030\001 \003(\0132\".google.contain" + + "er.v1beta1.Location\022\027\n\017next_page_token\030\002" + + " \001(\t\"\261\001\n\010Location\022=\n\004type\030\001 \001(\0162/.google" + + ".container.v1beta1.Location.LocationType" + + "\022\014\n\004name\030\002 \001(\t\022\023\n\013recommended\030\003 \001(\010\"C\n\014L" + + "ocationType\022\035\n\031LOCATION_TYPE_UNSPECIFIED" + + "\020\000\022\010\n\004ZONE\020\001\022\n\n\006REGION\020\002\"\262\002\n\017StatusCondi" + + "tion\022@\n\004code\030\001 \001(\0162..google.container.v1" + + "beta1.StatusCondition.CodeB\002\030\001\022\017\n\007messag" + + "e\030\002 \001(\t\022(\n\016canonical_code\030\003 \001(\0162\020.google" + + ".rpc.Code\"\241\001\n\004Code\022\013\n\007UNKNOWN\020\000\022\020\n\014GCE_S" + + "TOCKOUT\020\001\022\037\n\033GKE_SERVICE_ACCOUNT_DELETED" + + "\020\002\022\026\n\022GCE_QUOTA_EXCEEDED\020\003\022\023\n\017SET_BY_OPE" + + "RATOR\020\004\022\027\n\023CLOUD_KMS_KEY_ERROR\020\007\022\017\n\013CA_E" + + "XPIRING\020\t\032\002\030\001\"\336\t\n\rNetworkConfig\022\017\n\007netwo" + + "rk\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\022$\n\034enable_i" + + "ntra_node_visibility\030\005 \001(\010\022H\n\023default_sn" + + "at_status\030\007 \001(\0132+.google.container.v1bet" + + "a1.DefaultSnatStatus\022\037\n\027enable_l4ilb_sub" + + "setting\030\n \001(\010\022E\n\021datapath_provider\030\013 \001(\016" + + "2*.google.container.v1beta1.DatapathProv" + + "ider\022U\n\032private_ipv6_google_access\030\014 \001(\016" + + "21.google.container.v1beta1.PrivateIPv6G" + + "oogleAccess\0227\n\ndns_config\030\r \001(\0132#.google" + + ".container.v1beta1.DNSConfig\022W\n\033service_" + + "external_ips_config\030\017 \001(\01322.google.conta" + + "iner.v1beta1.ServiceExternalIPsConfig\022F\n" + + "\022gateway_api_config\030\020 \001(\0132*.google.conta" + + "iner.v1beta1.GatewayAPIConfig\022\037\n\027enable_" + + "multi_networking\030\021 \001(\010\022k\n\032network_perfor" + + "mance_config\030\022 \001(\0132G.google.container.v1" + + "beta1.NetworkConfig.ClusterNetworkPerfor" + + "manceConfig\022\'\n\032enable_fqdn_network_polic" + + "y\030\023 \001(\010H\000\210\001\001\022^\n\034in_transit_encryption_co" + + "nfig\030\024 \001(\01623.google.container.v1beta1.In" + + "TransitEncryptionConfigH\001\210\001\001\0225\n(enable_c" + + "ilium_clusterwide_network_policy\030\025 \001(\010H\002" + + "\210\001\001\032\343\001\n\037ClusterNetworkPerformanceConfig\022" + + "v\n\033total_egress_bandwidth_tier\030\001 \001(\0162L.g" + + "oogle.container.v1beta1.NetworkConfig.Cl" + + "usterNetworkPerformanceConfig.TierH\000\210\001\001\"" + + "(\n\004Tier\022\024\n\020TIER_UNSPECIFIED\020\000\022\n\n\006TIER_1\020" + + "\001B\036\n\034_total_egress_bandwidth_tierB\035\n\033_en" + + "able_fqdn_network_policyB\037\n\035_in_transit_" + + "encryption_configB+\n)_enable_cilium_clus" + + "terwide_network_policy\"\301\001\n\020GatewayAPICon" + + "fig\022C\n\007channel\030\001 \001(\01622.google.container." + + "v1beta1.GatewayAPIConfig.Channel\"h\n\007Chan" + + "nel\022\027\n\023CHANNEL_UNSPECIFIED\020\000\022\024\n\020CHANNEL_" + + "DISABLED\020\001\022\030\n\024CHANNEL_EXPERIMENTAL\020\003\022\024\n\020" + + "CHANNEL_STANDARD\020\004\"+\n\030ServiceExternalIPs" + + "Config\022\017\n\007enabled\030\001 \001(\010\"j\n\034ListUsableSub" + + "networksRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\016\n\006" + + "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_" + + "token\030\004 \001(\t\"y\n\035ListUsableSubnetworksResp" + + "onse\022?\n\013subnetworks\030\001 \003(\0132*.google.conta" + + "iner.v1beta1.UsableSubnetwork\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"\205\002\n\036UsableSubnetworkSecon" + + "daryRange\022\022\n\nrange_name\030\001 \001(\t\022\025\n\rip_cidr" + + "_range\030\002 \001(\t\022O\n\006status\030\003 \001(\0162?.google.co" + + "ntainer.v1beta1.UsableSubnetworkSecondar" + + "yRange.Status\"g\n\006Status\022\013\n\007UNKNOWN\020\000\022\n\n\006" + + "UNUSED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022\030\n\024IN_USE_S" + + "HAREABLE_POD\020\003\022\026\n\022IN_USE_MANAGED_POD\020\004\"\275" + + "\001\n\020UsableSubnetwork\022\022\n\nsubnetwork\030\001 \001(\t\022" + + "\017\n\007network\030\002 \001(\t\022\025\n\rip_cidr_range\030\003 \001(\t\022" + + "U\n\023secondary_ip_ranges\030\004 \003(\01328.google.co" + + "ntainer.v1beta1.UsableSubnetworkSecondar" + + "yRange\022\026\n\016status_message\030\005 \001(\t\")\n\026Vertic" + + "alPodAutoscaling\022\017\n\007enabled\030\001 \001(\010\"%\n\021Def" + + "aultSnatStatus\022\020\n\010disabled\030\001 \001(\010\",\n\031Intr" + + "aNodeVisibilityConfig\022\017\n\007enabled\030\001 \001(\010\"&" + + "\n\023ILBSubsettingConfig\022\017\n\007enabled\030\001 \001(\010\"\325" + + "\002\n\tDNSConfig\022A\n\013cluster_dns\030\001 \001(\0162,.goog" + + "le.container.v1beta1.DNSConfig.Provider\022" + + "G\n\021cluster_dns_scope\030\002 \001(\0162,.google.cont" + + "ainer.v1beta1.DNSConfig.DNSScope\022\032\n\022clus" + + "ter_dns_domain\030\003 \001(\t\"W\n\010Provider\022\030\n\024PROV" + + "IDER_UNSPECIFIED\020\000\022\024\n\020PLATFORM_DEFAULT\020\001" + + "\022\r\n\tCLOUD_DNS\020\002\022\014\n\010KUBE_DNS\020\003\"G\n\010DNSScop" + + "e\022\031\n\025DNS_SCOPE_UNSPECIFIED\020\000\022\021\n\rCLUSTER_" + + "SCOPE\020\001\022\r\n\tVPC_SCOPE\020\002\".\n\021MaxPodsConstra" + + "int\022\031\n\021max_pods_per_node\030\001 \001(\003\"j\n\026Worklo" + + "adIdentityConfig\022\036\n\022identity_namespace\030\001" + + " \001(\tB\002\030\001\022\025\n\rworkload_pool\030\002 \001(\t\022\031\n\021ident" + + "ity_provider\030\003 \001(\t\"E\n\022WorkloadALTSConfig" + + "\022/\n\013enable_alts\030\001 \001(\0132\032.google.protobuf." + + "BoolValue\"O\n\024WorkloadCertificates\0227\n\023ena" + + "ble_certificates\030\001 \001(\0132\032.google.protobuf" + + ".BoolValue\"K\n\020MeshCertificates\0227\n\023enable" + + "_certificates\030\001 \001(\0132\032.google.protobuf.Bo" + + "olValue\"\235\001\n\022DatabaseEncryption\022\020\n\010key_na" + + "me\030\001 \001(\t\022A\n\005state\030\002 \001(\01622.google.contain" + + "er.v1beta1.DatabaseEncryption.State\"2\n\005S" + + "tate\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDECR" + + "YPTED\020\002\"\367\002\n\031ResourceUsageExportConfig\022e\n" + + "\024bigquery_destination\030\001 \001(\0132G.google.con" + + "tainer.v1beta1.ResourceUsageExportConfig" + + ".BigQueryDestination\022&\n\036enable_network_e" + + "gress_metering\030\002 \001(\010\022r\n\033consumption_mete" + + "ring_config\030\003 \001(\0132M.google.container.v1b" + + "eta1.ResourceUsageExportConfig.Consumpti" + + "onMeteringConfig\032)\n\023BigQueryDestination\022" + + "\022\n\ndataset_id\030\001 \001(\t\032,\n\031ConsumptionMeteri" + + "ngConfig\022\017\n\007enabled\030\001 \001(\010\" \n\rShieldedNod" + + "es\022\017\n\007enabled\030\001 \001(\010\"\035\n\nVirtualNIC\022\017\n\007ena" + + "bled\030\001 \001(\010\"\035\n\nFastSocket\022\017\n\007enabled\030\001 \001(" + + "\010\"(\n\026GetOpenIDConfigRequest\022\016\n\006parent\030\001 " + + "\001(\t\"\334\001\n\027GetOpenIDConfigResponse\022\016\n\006issue" + + "r\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n\030response_ty" + + "pes_supported\030\003 \003(\t\022\037\n\027subject_types_sup" + + "ported\030\004 \003(\t\022-\n%id_token_signing_alg_val" + + "ues_supported\030\005 \003(\t\022\030\n\020claims_supported\030" + + "\006 \003(\t\022\023\n\013grant_types\030\007 \003(\t\"\'\n\025GetJSONWeb" + + "KeysRequest\022\016\n\006parent\030\001 \001(\t\"r\n\003Jwk\022\013\n\003kt" + + "y\030\001 \001(\t\022\013\n\003alg\030\002 \001(\t\022\013\n\003use\030\003 \001(\t\022\013\n\003kid" + + "\030\004 \001(\t\022\t\n\001n\030\005 \001(\t\022\t\n\001e\030\006 \001(\t\022\t\n\001x\030\007 \001(\t\022" + + "\t\n\001y\030\010 \001(\t\022\013\n\003crv\030\t \001(\t\"E\n\026GetJSONWebKey" + + "sResponse\022+\n\004keys\030\001 \003(\0132\035.google.contain" + + "er.v1beta1.Jwk\"2\n\"CheckAutopilotCompatib" + + "ilityRequest\022\014\n\004name\030\001 \001(\t\"\201\003\n\033Autopilot" + + "CompatibilityIssue\0224\n\020last_observation\030\001" + + " \001(\0132\032.google.protobuf.Timestamp\022\027\n\017cons" + + "traint_type\030\002 \001(\t\022]\n\024incompatibility_typ" + + "e\030\003 \001(\0162?.google.container.v1beta1.Autop" + + "ilotCompatibilityIssue.IssueType\022\020\n\010subj" + + "ects\030\004 \003(\t\022\031\n\021documentation_url\030\005 \001(\t\022\023\n" + + "\013description\030\006 \001(\t\"r\n\tIssueType\022\017\n\013UNSPE" + + "CIFIED\020\000\022\023\n\017INCOMPATIBILITY\020\001\022\036\n\032ADDITIO" + + "NAL_CONFIG_REQUIRED\020\002\022\037\n\033PASSED_WITH_OPT" + + "IONAL_CONFIG\020\003\"}\n#CheckAutopilotCompatib" + + "ilityResponse\022E\n\006issues\030\001 \003(\01325.google.c" + + "ontainer.v1beta1.AutopilotCompatibilityI" + + "ssue\022\017\n\007summary\030\002 \001(\t\"\223\001\n\016ReleaseChannel" + + "\022A\n\007channel\030\001 \001(\01620.google.container.v1b" + + "eta1.ReleaseChannel.Channel\">\n\007Channel\022\017" + + "\n\013UNSPECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULAR\020\002\022" + + "\n\n\006STABLE\020\003\"\'\n\024CostManagementConfig\022\017\n\007e" + + "nabled\030\001 \001(\010\"U\n\tTpuConfig\022\017\n\007enabled\030\001 \001" + + "(\010\022\036\n\026use_service_networking\030\002 \001(\010\022\027\n\017ip" + + "v4_cidr_block\030\003 \001(\t\"\010\n\006Master\"\224\001\n\031Autopi" + + "lotConversionStatus\022M\n\005state\030\002 \001(\01629.goo" + + "gle.container.v1beta1.AutopilotConversio" + + "nStatus.StateB\003\340A\003\"(\n\005State\022\025\n\021STATE_UNS" + + "PECIFIED\020\000\022\010\n\004DONE\020\005\"\301\001\n\tAutopilot\022\017\n\007en" + + "abled\030\001 \001(\010\022N\n\026workload_policy_config\030\002 " + + "\001(\0132..google.container.v1beta1.WorkloadP" + + "olicyConfig\022S\n\021conversion_status\030\003 \001(\01323" + + ".google.container.v1beta1.AutopilotConve" + + "rsionStatusB\003\340A\003\"H\n\024WorkloadPolicyConfig" + + "\022\034\n\017allow_net_admin\030\001 \001(\010H\000\210\001\001B\022\n\020_allow" + + "_net_admin\"\267\003\n\022NotificationConfig\022C\n\006pub" + + "sub\030\001 \001(\01323.google.container.v1beta1.Not" + + "ificationConfig.PubSub\032\217\001\n\006PubSub\022\017\n\007ena" + + "bled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033pubsub.g" + + "oogleapis.com/Topic\022C\n\006filter\030\003 \001(\01323.go" + + "ogle.container.v1beta1.NotificationConfi" + + "g.Filter\032T\n\006Filter\022J\n\nevent_type\030\001 \003(\01626" + + ".google.container.v1beta1.NotificationCo" + + "nfig.EventType\"t\n\tEventType\022\032\n\026EVENT_TYP" + + "E_UNSPECIFIED\020\000\022\033\n\027UPGRADE_AVAILABLE_EVE" + + "NT\020\001\022\021\n\rUPGRADE_EVENT\020\002\022\033\n\027SECURITY_BULL" + + "ETIN_EVENT\020\003\"$\n\021ConfidentialNodes\022\017\n\007ena" + + "bled\030\001 \001(\010\"\344\001\n\014UpgradeEvent\022D\n\rresource_" + + "type\030\001 \001(\0162-.google.container.v1beta1.Up" + + "gradeResourceType\022\021\n\toperation\030\002 \001(\t\0228\n\024" + + "operation_start_time\030\003 \001(\0132\032.google.prot" + + "obuf.Timestamp\022\027\n\017current_version\030\004 \001(\t\022" + + "\026\n\016target_version\030\005 \001(\t\022\020\n\010resource\030\006 \001(" + + "\t\"\210\002\n\025UpgradeAvailableEvent\022\017\n\007version\030\001" + + " \001(\t\022D\n\rresource_type\030\002 \001(\0162-.google.con" + + "tainer.v1beta1.UpgradeResourceType\022A\n\017re" + + "lease_channel\030\003 \001(\0132(.google.container.v" + + "1beta1.ReleaseChannel\022\020\n\010resource\030\004 \001(\t\022" + + "C\n\020windows_versions\030\005 \001(\0132).google.conta" + + "iner.v1beta1.WindowsVersions\"\236\002\n\025Securit" + + "yBulletinEvent\022\036\n\026resource_type_affected" + + "\030\001 \001(\t\022\023\n\013bulletin_id\030\002 \001(\t\022\017\n\007cve_ids\030\003" + + " \003(\t\022\020\n\010severity\030\004 \001(\t\022\024\n\014bulletin_uri\030\005" + + " \001(\t\022\031\n\021brief_description\030\006 \001(\t\022!\n\031affec" + + "ted_supported_minors\030\007 \003(\t\022\030\n\020patched_ve" + + "rsions\030\010 \003(\t\022 \n\030suggested_upgrade_target" + + "\030\t \001(\t\022\035\n\025manual_steps_required\030\n \001(\010\"(\n" + + "\025IdentityServiceConfig\022\017\n\007enabled\030\001 \001(\010\"" + + "[\n\rLoggingConfig\022J\n\020component_config\030\001 \001" + + "(\01320.google.container.v1beta1.LoggingCom" + + "ponentConfig\"\364\001\n\026LoggingComponentConfig\022" + + "U\n\021enable_components\030\001 \003(\0162:.google.cont" + + "ainer.v1beta1.LoggingComponentConfig.Com" + + "ponent\"\202\001\n\tComponent\022\031\n\025COMPONENT_UNSPEC" + + "IFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tWORKLO" + + "ADS\020\002\022\r\n\tAPISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022C" + + "ONTROLLER_MANAGER\020\005\"\246\002\n\020MonitoringConfig" + + "\022M\n\020component_config\030\001 \001(\01323.google.cont" + + "ainer.v1beta1.MonitoringComponentConfig\022" + + "T\n\031managed_prometheus_config\030\002 \001(\01321.goo" + + "gle.container.v1beta1.ManagedPrometheusC" + + "onfig\022m\n&advanced_datapath_observability" + + "_config\030\003 \001(\0132=.google.container.v1beta1" + + ".AdvancedDatapathObservabilityConfig\"\243\002\n" + + "#AdvancedDatapathObservabilityConfig\022\026\n\016" + + "enable_metrics\030\001 \001(\010\022[\n\nrelay_mode\030\002 \001(\016" + + "2G.google.container.v1beta1.AdvancedData" + + "pathObservabilityConfig.RelayMode\022\031\n\014ena" + + "ble_relay\030\003 \001(\010H\000\210\001\001\"[\n\tRelayMode\022\032\n\026REL" + + "AY_MODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\023\n\017I" + + "NTERNAL_VPC_LB\020\003\022\017\n\013EXTERNAL_LB\020\004B\017\n\r_en" + + "able_relay\"_\n\025NodePoolLoggingConfig\022F\n\016v" + + "ariant_config\030\001 \001(\0132..google.container.v" + + "1beta1.LoggingVariantConfig\"\244\001\n\024LoggingV" + + "ariantConfig\022G\n\007variant\030\001 \001(\01626.google.c" + + "ontainer.v1beta1.LoggingVariantConfig.Va" + + "riant\"C\n\007Variant\022\027\n\023VARIANT_UNSPECIFIED\020" + + "\000\022\013\n\007DEFAULT\020\001\022\022\n\016MAX_THROUGHPUT\020\002\"\315\002\n\031M" + + "onitoringComponentConfig\022X\n\021enable_compo" + + "nents\030\001 \003(\0162=.google.container.v1beta1.M" + + "onitoringComponentConfig.Component\"\325\001\n\tC" + + "omponent\022\031\n\025COMPONENT_UNSPECIFIED\020\000\022\025\n\021S" + + "YSTEM_COMPONENTS\020\001\022\021\n\tWORKLOADS\020\002\032\002\010\001\022\r\n" + + "\tAPISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022CONTROLLE" + + "R_MANAGER\020\005\022\013\n\007STORAGE\020\007\022\007\n\003HPA\020\010\022\007\n\003POD" + + "\020\t\022\r\n\tDAEMONSET\020\n\022\016\n\nDEPLOYMENT\020\013\022\017\n\013STA" + + "TEFULSET\020\014\"D\n\005Fleet\022\017\n\007project\030\001 \001(\t\022\022\n\n" + + "membership\030\002 \001(\t\022\026\n\016pre_registered\030\003 \001(\010" + + "\"\211\001\n\023ResourceManagerTags\022E\n\004tags\030\001 \003(\01327" + + ".google.container.v1beta1.ResourceManage" + + "rTags.TagsEntry\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\260\001\n\020EnterpriseConfi" + + "g\022Q\n\014cluster_tier\030\001 \001(\01626.google.contain" + + "er.v1beta1.EnterpriseConfig.ClusterTierB", + "\003\340A\003\"I\n\013ClusterTier\022\034\n\030CLUSTER_TIER_UNSP" + + "ECIFIED\020\000\022\014\n\010STANDARD\020\001\022\016\n\nENTERPRISE\020\002\"" + + "7\n\023SecretManagerConfig\022\024\n\007enabled\030\001 \001(\010H" + + "\000\210\001\001B\n\n\010_enabled\"\240\001\n\021SecondaryBootDisk\022>" + + "\n\004mode\030\001 \001(\01620.google.container.v1beta1." + + "SecondaryBootDisk.Mode\022\022\n\ndisk_image\030\002 \001" + + "(\t\"7\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\031\n\025CONT" + + "AINER_IMAGE_CACHE\020\001\"!\n\037SecondaryBootDisk" + + "UpdateStrategy*\306\001\n\027PrivateIPv6GoogleAcce" + + "ss\022*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECI" + + "FIED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_ACCESS_DIS" + + "ABLED\020\001\022(\n$PRIVATE_IPV6_GOOGLE_ACCESS_TO" + + "_GOOGLE\020\002\022,\n(PRIVATE_IPV6_GOOGLE_ACCESS_" + + "BIDIRECTIONAL\020\003*W\n\023UpgradeResourceType\022%" + + "\n!UPGRADE_RESOURCE_TYPE_UNSPECIFIED\020\000\022\n\n" + + "\006MASTER\020\001\022\r\n\tNODE_POOL\020\002*^\n\026NodePoolUpda" + + "teStrategy\022)\n%NODE_POOL_UPDATE_STRATEGY_" + + "UNSPECIFIED\020\000\022\016\n\nBLUE_GREEN\020\002\022\t\n\005SURGE\020\003" + + "*a\n\020DatapathProvider\022!\n\035DATAPATH_PROVIDE" + + "R_UNSPECIFIED\020\000\022\023\n\017LEGACY_DATAPATH\020\001\022\025\n\021" + + "ADVANCED_DATAPATH\020\002*@\n\tStackType\022\032\n\026STAC" + + "K_TYPE_UNSPECIFIED\020\000\022\010\n\004IPV4\020\001\022\r\n\tIPV4_I" + + "PV6\020\002*\237\001\n\031InTransitEncryptionConfig\022,\n(I" + + "N_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED\020" + + "\000\022\"\n\036IN_TRANSIT_ENCRYPTION_DISABLED\020\001\0220\n" + + ",IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSP" + + "ARENT\020\0022\246N\n\016ClusterManager\022\363\001\n\014ListClust" + + "ers\022-.google.container.v1beta1.ListClust" + + "ersRequest\032..google.container.v1beta1.Li" + + "stClustersResponse\"\203\001\332A\017project_id,zone\202" + + "\323\344\223\002k\0221/v1beta1/{parent=projects/*/locat" + + "ions/*}/clustersZ6\0224/v1beta1/projects/{p" + + "roject_id}/zones/{zone}/clusters\022\372\001\n\nGet" + + "Cluster\022+.google.container.v1beta1.GetCl" + + "usterRequest\032!.google.container.v1beta1." + + "Cluster\"\233\001\332A\032project_id,zone,cluster_id\202" + + "\323\344\223\002x\0221/v1beta1/{name=projects/*/locatio" + + "ns/*/clusters/*}ZC\022A/v1beta1/projects/{p" + + "roject_id}/zones/{zone}/clusters/{cluste" + + "r_id}\022\370\001\n\rCreateCluster\022..google.contain" + + "er.v1beta1.CreateClusterRequest\032#.google" + + ".container.v1beta1.Operation\"\221\001\332A\027projec" + + "t_id,zone,cluster\202\323\344\223\002q\"1/v1beta1/{paren" + + "t=projects/*/locations/*}/clusters:\001*Z9\"" + + "4/v1beta1/projects/{project_id}/zones/{z" + + "one}/clusters:\001*\022\217\002\n\rUpdateCluster\022..goo" + + "gle.container.v1beta1.UpdateClusterReque" + + "st\032#.google.container.v1beta1.Operation\"" + + "\250\001\332A!project_id,zone,cluster_id,update\202\323" + + "\344\223\002~\0321/v1beta1/{name=projects/*/location" + + "s/*/clusters/*}:\001*ZF\032A/v1beta1/projects/" + + "{project_id}/zones/{zone}/clusters/{clus" + + "ter_id}:\001*\022\232\002\n\016UpdateNodePool\022/.google.c" + + "ontainer.v1beta1.UpdateNodePoolRequest\032#" + + ".google.container.v1beta1.Operation\"\261\001\202\323" + + "\344\223\002\252\001\032=/v1beta1/{name=projects/*/locatio" + + "ns/*/clusters/*/nodePools/*}:\001*Zf\"a/v1be" + "ta1/projects/{project_id}/zones/{zone}/c" - + "lusters/{cluster_id}:\001*\022\232\002\n\016UpdateNodePo" - + "ol\022/.google.container.v1beta1.UpdateNode" - + "PoolRequest\032#.google.container.v1beta1.O" - + "peration\"\261\001\202\323\344\223\002\252\001\032=/v1beta1/{name=proje" - + "cts/*/locations/*/clusters/*/nodePools/*" - + "}:\001*Zf\"a/v1beta1/projects/{project_id}/z" - + "ones/{zone}/clusters/{cluster_id}/nodePo" - + "ols/{node_pool_id}/update:\001*\022\276\002\n\026SetNode" - + "PoolAutoscaling\0227.google.container.v1bet" - + "a1.SetNodePoolAutoscalingRequest\032#.googl" - + "e.container.v1beta1.Operation\"\305\001\202\323\344\223\002\276\001\"" - + "L/v1beta1/{name=projects/*/locations/*/c" - + "lusters/*/nodePools/*}:setAutoscaling:\001*" - + "Zk\"f/v1beta1/projects/{project_id}/zones" - + "/{zone}/clusters/{cluster_id}/nodePools/" - + "{node_pool_id}/autoscaling:\001*\022\264\002\n\021SetLog" - + "gingService\0222.google.container.v1beta1.S" - + "etLoggingServiceRequest\032#.google.contain" - + "er.v1beta1.Operation\"\305\001\332A*project_id,zon" - + "e,cluster_id,logging_service\202\323\344\223\002\221\001\"/v1beta1/" + + "{name=projects/*/locations/*/clusters/*}" + + ":setLocations:\001*ZP\"K/v1beta1/projects/{p" + + "roject_id}/zones/{zone}/clusters/{cluste" + + "r_id}/locations:\001*\022\252\002\n\014UpdateMaster\022-.go" + + "ogle.container.v1beta1.UpdateMasterReque" + + "st\032#.google.container.v1beta1.Operation\"" + + "\305\001\332A)project_id,zone,cluster_id,master_v" + + "ersion\202\323\344\223\002\222\001\">/v1beta1/{name=projects/*" + + "/locations/*/clusters/*}:updateMaster:\001*" + + "ZM\"H/v1beta1/projects/{project_id}/zones" + + "/{zone}/clusters/{cluster_id}/master:\001*\022" + + "\210\002\n\rSetMasterAuth\022..google.container.v1b" + + "eta1.SetMasterAuthRequest\032#.google.conta" + + "iner.v1beta1.Operation\"\241\001\202\323\344\223\002\232\001\"?/v1bet" + + "a1/{name=projects/*/locations/*/clusters" + + "/*}:setMasterAuth:\001*ZT\"O/v1beta1/project" + "s/{project_id}/zones/{zone}/clusters/{cl" - + "uster_id}/logging:\001*\022\303\002\n\024SetMonitoringSe" - + "rvice\0225.google.container.v1beta1.SetMoni" - + "toringServiceRequest\032#.google.container." - + "v1beta1.Operation\"\316\001\332A-project_id,zone,c" - + "luster_id,monitoring_service\202\323\344\223\002\227\001\"?/v1" - + "beta1/{name=projects/*/locations/*/clust" - + "ers/*}:setMonitoring:\001*ZQ\"L/v1beta1/proj" - + "ects/{project_id}/zones/{zone}/clusters/" - + "{cluster_id}/monitoring:\001*\022\254\002\n\017SetAddons" - + "Config\0220.google.container.v1beta1.SetAdd" - + "onsConfigRequest\032#.google.container.v1be" - + "ta1.Operation\"\301\001\332A(project_id,zone,clust" - + "er_id,addons_config\202\323\344\223\002\217\001\";/v1beta1/{na" - + "me=projects/*/locations/*/clusters/*}:se" - + "tAddons:\001*ZM\"H/v1beta1/projects/{project" + + "uster_id}:setMasterAuth:\001*\022\202\002\n\rDeleteClu" + + "ster\022..google.container.v1beta1.DeleteCl" + + "usterRequest\032#.google.container.v1beta1." + + "Operation\"\233\001\332A\032project_id,zone,cluster_i" + + "d\202\323\344\223\002x*1/v1beta1/{name=projects/*/locat" + + "ions/*/clusters/*}ZC*A/v1beta1/projects/" + + "{project_id}/zones/{zone}/clusters/{clus" + + "ter_id}\022\375\001\n\016ListOperations\022/.google.cont" + + "ainer.v1beta1.ListOperationsRequest\0320.go" + + "ogle.container.v1beta1.ListOperationsRes" + + "ponse\"\207\001\332A\017project_id,zone\202\323\344\223\002o\0223/v1bet" + + "a1/{parent=projects/*/locations/*}/opera" + + "tionsZ8\0226/v1beta1/projects/{project_id}/" + + "zones/{zone}/operations\022\210\002\n\014GetOperation" + + "\022-.google.container.v1beta1.GetOperation" + + "Request\032#.google.container.v1beta1.Opera" + + "tion\"\243\001\332A\034project_id,zone,operation_id\202\323" + + "\344\223\002~\0223/v1beta1/{name=projects/*/location" + + "s/*/operations/*}ZG\022E/v1beta1/projects/{" + + "project_id}/zones/{zone}/operations/{ope" + + "ration_id}\022\226\002\n\017CancelOperation\0220.google." + + "container.v1beta1.CancelOperationRequest" + + "\032\026.google.protobuf.Empty\"\270\001\332A\034project_id" + + ",zone,operation_id\202\323\344\223\002\222\001\":/v1beta1/{nam" + + "e=projects/*/locations/*/operations/*}:c" + + "ancel:\001*ZQ\"L/v1beta1/projects/{project_i" + + "d}/zones/{zone}/operations/{operation_id" + + "}:cancel:\001*\022\367\001\n\017GetServerConfig\0220.google" + + ".container.v1beta1.GetServerConfigReques" + + "t\032&.google.container.v1beta1.ServerConfi" + + "g\"\211\001\332A\017project_id,zone\202\323\344\223\002q\0223/v1beta1/{" + + "name=projects/*/locations/*}/serverConfi" + + "gZ:\0228/v1beta1/projects/{project_id}/zone" + + "s/{zone}/serverconfig\022\265\001\n\016GetJSONWebKeys" + + "\022/.google.container.v1beta1.GetJSONWebKe" + + "ysRequest\0320.google.container.v1beta1.Get" + + "JSONWebKeysResponse\"@\202\323\344\223\002:\0228/v1beta1/{p" + + "arent=projects/*/locations/*/clusters/*}" + + "/jwks\022\245\002\n\rListNodePools\022..google.contain" + + "er.v1beta1.ListNodePoolsRequest\032/.google" + + ".container.v1beta1.ListNodePoolsResponse" + + "\"\262\001\332A\032project_id,zone,cluster_id\202\323\344\223\002\216\001\022" + + "=/v1beta1/{parent=projects/*/locations/*" + + "/clusters/*}/nodePoolsZM\022K/v1beta1/proje" + + "cts/{project_id}/zones/{zone}/clusters/{" + + "cluster_id}/nodePools\022\260\002\n\013GetNodePool\022,." + + "google.container.v1beta1.GetNodePoolRequ" + + "est\032\".google.container.v1beta1.NodePool\"" + + "\316\001\332A\'project_id,zone,cluster_id,node_poo" + + "l_id\202\323\344\223\002\235\001\022=/v1beta1/{name=projects/*/l" + + "ocations/*/clusters/*/nodePools/*}Z\\\022Z/v" + + "1beta1/projects/{project_id}/zones/{zone" + + "}/clusters/{cluster_id}/nodePools/{node_" + + "pool_id}\022\253\002\n\016CreateNodePool\022/.google.con" + + "tainer.v1beta1.CreateNodePoolRequest\032#.g" + + "oogle.container.v1beta1.Operation\"\302\001\332A$p" + + "roject_id,zone,cluster_id,node_pool\202\323\344\223\002" + + "\224\001\"=/v1beta1/{parent=projects/*/location" + + "s/*/clusters/*}/nodePools:\001*ZP\"K/v1beta1" + + "/projects/{project_id}/zones/{zone}/clus" + + "ters/{cluster_id}/nodePools:\001*\022\267\002\n\016Delet" + + "eNodePool\022/.google.container.v1beta1.Del" + + "eteNodePoolRequest\032#.google.container.v1" + + "beta1.Operation\"\316\001\332A\'project_id,zone,clu" + + "ster_id,node_pool_id\202\323\344\223\002\235\001*=/v1beta1/{n" + + "ame=projects/*/locations/*/clusters/*/no" + + "dePools/*}Z\\*Z/v1beta1/projects/{project" + "_id}/zones/{zone}/clusters/{cluster_id}/" - + "addons:\001*\022\253\002\n\014SetLocations\022-.google.cont" - + "ainer.v1beta1.SetLocationsRequest\032#.goog" - + "le.container.v1beta1.Operation\"\306\001\210\002\001\332A$p" - + "roject_id,zone,cluster_id,locations\202\323\344\223\002" - + "\225\001\">/v1beta1/{name=projects/*/locations/" - + "*/clusters/*}:setLocations:\001*ZP\"K/v1beta" - + "1/projects/{project_id}/zones/{zone}/clu" - + "sters/{cluster_id}/locations:\001*\022\252\002\n\014Upda" - + "teMaster\022-.google.container.v1beta1.Upda" - + "teMasterRequest\032#.google.container.v1bet" - + "a1.Operation\"\305\001\332A)project_id,zone,cluste" - + "r_id,master_version\202\323\344\223\002\222\001\">/v1beta1/{na" - + "me=projects/*/locations/*/clusters/*}:up" - + "dateMaster:\001*ZM\"H/v1beta1/projects/{proj" - + "ect_id}/zones/{zone}/clusters/{cluster_i" - + "d}/master:\001*\022\210\002\n\rSetMasterAuth\022..google." - + "container.v1beta1.SetMasterAuthRequest\032#" - + ".google.container.v1beta1.Operation\"\241\001\202\323" - + "\344\223\002\232\001\"?/v1beta1/{name=projects/*/locatio" - + "ns/*/clusters/*}:setMasterAuth:\001*ZT\"O/v1" + + "nodePools/{node_pool_id}\022\305\001\n\027CompleteNod" + + "ePoolUpgrade\0228.google.container.v1beta1." + + "CompleteNodePoolUpgradeRequest\032\026.google." + + "protobuf.Empty\"X\202\323\344\223\002R\"M/v1beta1/{name=p" + + "rojects/*/locations/*/clusters/*/nodePoo" + + "ls/*}:completeUpgrade:\001*\022\341\002\n\027RollbackNod" + + "ePoolUpgrade\0228.google.container.v1beta1." + + "RollbackNodePoolUpgradeRequest\032#.google." + + "container.v1beta1.Operation\"\346\001\332A\'project" + + "_id,zone,cluster_id,node_pool_id\202\323\344\223\002\265\001\"" + + "F/v1beta1/{name=projects/*/locations/*/c" + + "lusters/*/nodePools/*}:rollback:\001*Zh\"c/v" + + "1beta1/projects/{project_id}/zones/{zone" + + "}/clusters/{cluster_id}/nodePools/{node_" + + "pool_id}:rollback:\001*\022\362\002\n\025SetNodePoolMana" + + "gement\0226.google.container.v1beta1.SetNod" + + "ePoolManagementRequest\032#.google.containe" + + "r.v1beta1.Operation\"\373\001\332A2project_id,zone" + + ",cluster_id,node_pool_id,management\202\323\344\223\002" + + "\277\001\"K/v1beta1/{name=projects/*/locations/" + + "*/clusters/*/nodePools/*}:setManagement:" + + "\001*Zm\"h/v1beta1/projects/{project_id}/zon" + + "es/{zone}/clusters/{cluster_id}/nodePool" + + "s/{node_pool_id}/setManagement:\001*\022\304\002\n\tSe" + + "tLabels\022*.google.container.v1beta1.SetLa" + + "belsRequest\032#.google.container.v1beta1.O" + + "peration\"\345\001\332A * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2610 + * google/container/v1beta1/cluster_service.proto;l=2614 * @return Whether the desiredProtectConfig field is set. */ @java.lang.Override @@ -2421,7 +2421,7 @@ public boolean hasDesiredProtectConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2610 + * google/container/v1beta1/cluster_service.proto;l=2614 * @return The desiredProtectConfig. */ @java.lang.Override @@ -3184,6 +3184,39 @@ public com.google.container.v1beta1.HostMaintenancePolicy getDesiredHostMaintena : desiredHostMaintenancePolicy_; } + public static final int DESIRED_ENABLE_MULTI_NETWORKING_FIELD_NUMBER = 135; + private boolean desiredEnableMultiNetworking_ = false; + /** + * + * + *
+   * Enable/Disable Multi-Networking for the cluster
+   * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return Whether the desiredEnableMultiNetworking field is set. + */ + @java.lang.Override + public boolean hasDesiredEnableMultiNetworking() { + return ((bitField1_ & 0x00004000) != 0); + } + /** + * + * + *
+   * Enable/Disable Multi-Networking for the cluster
+   * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return The desiredEnableMultiNetworking. + */ + @java.lang.Override + public boolean getDesiredEnableMultiNetworking() { + return desiredEnableMultiNetworking_; + } + public static final int DESIRED_NODE_POOL_AUTO_CONFIG_RESOURCE_MANAGER_TAGS_FIELD_NUMBER = 136; private com.google.container.v1beta1.ResourceManagerTags desiredNodePoolAutoConfigResourceManagerTags_; @@ -3203,7 +3236,7 @@ public com.google.container.v1beta1.HostMaintenancePolicy getDesiredHostMaintena */ @java.lang.Override public boolean hasDesiredNodePoolAutoConfigResourceManagerTags() { - return ((bitField1_ & 0x00004000) != 0); + return ((bitField1_ & 0x00008000) != 0); } /** * @@ -3263,7 +3296,7 @@ public boolean hasDesiredNodePoolAutoConfigResourceManagerTags() { */ @java.lang.Override public boolean hasDesiredInTransitEncryptionConfig() { - return ((bitField1_ & 0x00008000) != 0); + return ((bitField1_ & 0x00010000) != 0); } /** * @@ -3321,7 +3354,7 @@ public int getDesiredInTransitEncryptionConfigValue() { */ @java.lang.Override public boolean hasDesiredEnableCiliumClusterwideNetworkPolicy() { - return ((bitField1_ & 0x00010000) != 0); + return ((bitField1_ & 0x00020000) != 0); } /** * @@ -3356,7 +3389,7 @@ public boolean getDesiredEnableCiliumClusterwideNetworkPolicy() { */ @java.lang.Override public boolean hasDesiredSecretManagerConfig() { - return ((bitField1_ & 0x00020000) != 0); + return ((bitField1_ & 0x00040000) != 0); } /** * @@ -3588,15 +3621,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(132, getDesiredHostMaintenancePolicy()); } if (((bitField1_ & 0x00004000) != 0)) { - output.writeMessage(136, getDesiredNodePoolAutoConfigResourceManagerTags()); + output.writeBool(135, desiredEnableMultiNetworking_); } if (((bitField1_ & 0x00008000) != 0)) { - output.writeEnum(137, desiredInTransitEncryptionConfig_); + output.writeMessage(136, getDesiredNodePoolAutoConfigResourceManagerTags()); } if (((bitField1_ & 0x00010000) != 0)) { - output.writeBool(138, desiredEnableCiliumClusterwideNetworkPolicy_); + output.writeEnum(137, desiredInTransitEncryptionConfig_); } if (((bitField1_ & 0x00020000) != 0)) { + output.writeBool(138, desiredEnableCiliumClusterwideNetworkPolicy_); + } + if (((bitField1_ & 0x00040000) != 0)) { output.writeMessage(139, getDesiredSecretManagerConfig()); } getUnknownFields().writeTo(output); @@ -3866,21 +3902,25 @@ public int getSerializedSize() { 132, getDesiredHostMaintenancePolicy()); } if (((bitField1_ & 0x00004000) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(135, desiredEnableMultiNetworking_); + } + if (((bitField1_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 136, getDesiredNodePoolAutoConfigResourceManagerTags()); } - if (((bitField1_ & 0x00008000) != 0)) { + if (((bitField1_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeEnumSize( 137, desiredInTransitEncryptionConfig_); } - if (((bitField1_ & 0x00010000) != 0)) { + if (((bitField1_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize( 138, desiredEnableCiliumClusterwideNetworkPolicy_); } - if (((bitField1_ & 0x00020000) != 0)) { + if (((bitField1_ & 0x00040000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 139, getDesiredSecretManagerConfig()); @@ -4138,6 +4178,11 @@ public boolean equals(final java.lang.Object obj) { if (!getDesiredHostMaintenancePolicy().equals(other.getDesiredHostMaintenancePolicy())) return false; } + if (hasDesiredEnableMultiNetworking() != other.hasDesiredEnableMultiNetworking()) return false; + if (hasDesiredEnableMultiNetworking()) { + if (getDesiredEnableMultiNetworking() != other.getDesiredEnableMultiNetworking()) + return false; + } if (hasDesiredNodePoolAutoConfigResourceManagerTags() != other.hasDesiredNodePoolAutoConfigResourceManagerTags()) return false; if (hasDesiredNodePoolAutoConfigResourceManagerTags()) { @@ -4383,6 +4428,11 @@ public int hashCode() { hash = (37 * hash) + DESIRED_HOST_MAINTENANCE_POLICY_FIELD_NUMBER; hash = (53 * hash) + getDesiredHostMaintenancePolicy().hashCode(); } + if (hasDesiredEnableMultiNetworking()) { + hash = (37 * hash) + DESIRED_ENABLE_MULTI_NETWORKING_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesiredEnableMultiNetworking()); + } if (hasDesiredNodePoolAutoConfigResourceManagerTags()) { hash = (37 * hash) + DESIRED_NODE_POOL_AUTO_CONFIG_RESOURCE_MANAGER_TAGS_FIELD_NUMBER; hash = (53 * hash) + getDesiredNodePoolAutoConfigResourceManagerTags().hashCode(); @@ -4831,6 +4881,7 @@ public Builder clear() { desiredHostMaintenancePolicyBuilder_.dispose(); desiredHostMaintenancePolicyBuilder_ = null; } + desiredEnableMultiNetworking_ = false; desiredNodePoolAutoConfigResourceManagerTags_ = null; if (desiredNodePoolAutoConfigResourceManagerTagsBuilder_ != null) { desiredNodePoolAutoConfigResourceManagerTagsBuilder_.dispose(); @@ -5233,27 +5284,31 @@ private void buildPartial1(com.google.container.v1beta1.ClusterUpdate result) { to_bitField1_ |= 0x00002000; } if (((from_bitField1_ & 0x02000000) != 0)) { + result.desiredEnableMultiNetworking_ = desiredEnableMultiNetworking_; + to_bitField1_ |= 0x00004000; + } + if (((from_bitField1_ & 0x04000000) != 0)) { result.desiredNodePoolAutoConfigResourceManagerTags_ = desiredNodePoolAutoConfigResourceManagerTagsBuilder_ == null ? desiredNodePoolAutoConfigResourceManagerTags_ : desiredNodePoolAutoConfigResourceManagerTagsBuilder_.build(); - to_bitField1_ |= 0x00004000; - } - if (((from_bitField1_ & 0x04000000) != 0)) { - result.desiredInTransitEncryptionConfig_ = desiredInTransitEncryptionConfig_; to_bitField1_ |= 0x00008000; } if (((from_bitField1_ & 0x08000000) != 0)) { - result.desiredEnableCiliumClusterwideNetworkPolicy_ = - desiredEnableCiliumClusterwideNetworkPolicy_; + result.desiredInTransitEncryptionConfig_ = desiredInTransitEncryptionConfig_; to_bitField1_ |= 0x00010000; } if (((from_bitField1_ & 0x10000000) != 0)) { + result.desiredEnableCiliumClusterwideNetworkPolicy_ = + desiredEnableCiliumClusterwideNetworkPolicy_; + to_bitField1_ |= 0x00020000; + } + if (((from_bitField1_ & 0x20000000) != 0)) { result.desiredSecretManagerConfig_ = desiredSecretManagerConfigBuilder_ == null ? desiredSecretManagerConfig_ : desiredSecretManagerConfigBuilder_.build(); - to_bitField1_ |= 0x00020000; + to_bitField1_ |= 0x00040000; } result.bitField0_ |= to_bitField0_; result.bitField1_ |= to_bitField1_; @@ -5497,6 +5552,9 @@ public Builder mergeFrom(com.google.container.v1beta1.ClusterUpdate other) { if (other.hasDesiredHostMaintenancePolicy()) { mergeDesiredHostMaintenancePolicy(other.getDesiredHostMaintenancePolicy()); } + if (other.hasDesiredEnableMultiNetworking()) { + setDesiredEnableMultiNetworking(other.getDesiredEnableMultiNetworking()); + } if (other.hasDesiredNodePoolAutoConfigResourceManagerTags()) { mergeDesiredNodePoolAutoConfigResourceManagerTags( other.getDesiredNodePoolAutoConfigResourceManagerTags()); @@ -5932,31 +5990,37 @@ public Builder mergeFrom( bitField1_ |= 0x01000000; break; } // case 1058 + case 1080: + { + desiredEnableMultiNetworking_ = input.readBool(); + bitField1_ |= 0x02000000; + break; + } // case 1080 case 1090: { input.readMessage( getDesiredNodePoolAutoConfigResourceManagerTagsFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x02000000; + bitField1_ |= 0x04000000; break; } // case 1090 case 1096: { desiredInTransitEncryptionConfig_ = input.readEnum(); - bitField1_ |= 0x04000000; + bitField1_ |= 0x08000000; break; } // case 1096 case 1104: { desiredEnableCiliumClusterwideNetworkPolicy_ = input.readBool(); - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; break; } // case 1104 case 1114: { input.readMessage( getDesiredSecretManagerConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; break; } // case 1114 default: @@ -13690,7 +13754,7 @@ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2610 + * google/container/v1beta1/cluster_service.proto;l=2614 * @return Whether the desiredProtectConfig field is set. */ @java.lang.Deprecated @@ -13710,7 +13774,7 @@ public boolean hasDesiredProtectConfig() { * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2610 + * google/container/v1beta1/cluster_service.proto;l=2614 * @return The desiredProtectConfig. */ @java.lang.Deprecated @@ -16403,6 +16467,74 @@ public Builder clearDesiredHostMaintenancePolicy() { return desiredHostMaintenancePolicyBuilder_; } + private boolean desiredEnableMultiNetworking_; + /** + * + * + *
+     * Enable/Disable Multi-Networking for the cluster
+     * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return Whether the desiredEnableMultiNetworking field is set. + */ + @java.lang.Override + public boolean hasDesiredEnableMultiNetworking() { + return ((bitField1_ & 0x02000000) != 0); + } + /** + * + * + *
+     * Enable/Disable Multi-Networking for the cluster
+     * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return The desiredEnableMultiNetworking. + */ + @java.lang.Override + public boolean getDesiredEnableMultiNetworking() { + return desiredEnableMultiNetworking_; + } + /** + * + * + *
+     * Enable/Disable Multi-Networking for the cluster
+     * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @param value The desiredEnableMultiNetworking to set. + * @return This builder for chaining. + */ + public Builder setDesiredEnableMultiNetworking(boolean value) { + + desiredEnableMultiNetworking_ = value; + bitField1_ |= 0x02000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Enable/Disable Multi-Networking for the cluster
+     * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return This builder for chaining. + */ + public Builder clearDesiredEnableMultiNetworking() { + bitField1_ = (bitField1_ & ~0x02000000); + desiredEnableMultiNetworking_ = false; + onChanged(); + return this; + } + private com.google.container.v1beta1.ResourceManagerTags desiredNodePoolAutoConfigResourceManagerTags_; private com.google.protobuf.SingleFieldBuilderV3< @@ -16425,7 +16557,7 @@ public Builder clearDesiredHostMaintenancePolicy() { * @return Whether the desiredNodePoolAutoConfigResourceManagerTags field is set. */ public boolean hasDesiredNodePoolAutoConfigResourceManagerTags() { - return ((bitField1_ & 0x02000000) != 0); + return ((bitField1_ & 0x04000000) != 0); } /** * @@ -16473,7 +16605,7 @@ public Builder setDesiredNodePoolAutoConfigResourceManagerTags( } else { desiredNodePoolAutoConfigResourceManagerTagsBuilder_.setMessage(value); } - bitField1_ |= 0x02000000; + bitField1_ |= 0x04000000; onChanged(); return this; } @@ -16496,7 +16628,7 @@ public Builder setDesiredNodePoolAutoConfigResourceManagerTags( } else { desiredNodePoolAutoConfigResourceManagerTagsBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x02000000; + bitField1_ |= 0x04000000; onChanged(); return this; } @@ -16515,7 +16647,7 @@ public Builder setDesiredNodePoolAutoConfigResourceManagerTags( public Builder mergeDesiredNodePoolAutoConfigResourceManagerTags( com.google.container.v1beta1.ResourceManagerTags value) { if (desiredNodePoolAutoConfigResourceManagerTagsBuilder_ == null) { - if (((bitField1_ & 0x02000000) != 0) + if (((bitField1_ & 0x04000000) != 0) && desiredNodePoolAutoConfigResourceManagerTags_ != null && desiredNodePoolAutoConfigResourceManagerTags_ != com.google.container.v1beta1.ResourceManagerTags.getDefaultInstance()) { @@ -16527,7 +16659,7 @@ public Builder mergeDesiredNodePoolAutoConfigResourceManagerTags( desiredNodePoolAutoConfigResourceManagerTagsBuilder_.mergeFrom(value); } if (desiredNodePoolAutoConfigResourceManagerTags_ != null) { - bitField1_ |= 0x02000000; + bitField1_ |= 0x04000000; onChanged(); } return this; @@ -16545,7 +16677,7 @@ public Builder mergeDesiredNodePoolAutoConfigResourceManagerTags( * */ public Builder clearDesiredNodePoolAutoConfigResourceManagerTags() { - bitField1_ = (bitField1_ & ~0x02000000); + bitField1_ = (bitField1_ & ~0x04000000); desiredNodePoolAutoConfigResourceManagerTags_ = null; if (desiredNodePoolAutoConfigResourceManagerTagsBuilder_ != null) { desiredNodePoolAutoConfigResourceManagerTagsBuilder_.dispose(); @@ -16568,7 +16700,7 @@ public Builder clearDesiredNodePoolAutoConfigResourceManagerTags() { */ public com.google.container.v1beta1.ResourceManagerTags.Builder getDesiredNodePoolAutoConfigResourceManagerTagsBuilder() { - bitField1_ |= 0x02000000; + bitField1_ |= 0x04000000; onChanged(); return getDesiredNodePoolAutoConfigResourceManagerTagsFieldBuilder().getBuilder(); } @@ -16641,7 +16773,7 @@ public Builder clearDesiredNodePoolAutoConfigResourceManagerTags() { */ @java.lang.Override public boolean hasDesiredInTransitEncryptionConfig() { - return ((bitField1_ & 0x04000000) != 0); + return ((bitField1_ & 0x08000000) != 0); } /** * @@ -16676,7 +16808,7 @@ public int getDesiredInTransitEncryptionConfigValue() { */ public Builder setDesiredInTransitEncryptionConfigValue(int value) { desiredInTransitEncryptionConfig_ = value; - bitField1_ |= 0x04000000; + bitField1_ |= 0x08000000; onChanged(); return this; } @@ -16722,7 +16854,7 @@ public Builder setDesiredInTransitEncryptionConfig( if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x04000000; + bitField1_ |= 0x08000000; desiredInTransitEncryptionConfig_ = value.getNumber(); onChanged(); return this; @@ -16741,7 +16873,7 @@ public Builder setDesiredInTransitEncryptionConfig( * @return This builder for chaining. */ public Builder clearDesiredInTransitEncryptionConfig() { - bitField1_ = (bitField1_ & ~0x04000000); + bitField1_ = (bitField1_ & ~0x08000000); desiredInTransitEncryptionConfig_ = 0; onChanged(); return this; @@ -16761,7 +16893,7 @@ public Builder clearDesiredInTransitEncryptionConfig() { */ @java.lang.Override public boolean hasDesiredEnableCiliumClusterwideNetworkPolicy() { - return ((bitField1_ & 0x08000000) != 0); + return ((bitField1_ & 0x10000000) != 0); } /** * @@ -16793,7 +16925,7 @@ public boolean getDesiredEnableCiliumClusterwideNetworkPolicy() { public Builder setDesiredEnableCiliumClusterwideNetworkPolicy(boolean value) { desiredEnableCiliumClusterwideNetworkPolicy_ = value; - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; onChanged(); return this; } @@ -16809,7 +16941,7 @@ public Builder setDesiredEnableCiliumClusterwideNetworkPolicy(boolean value) { * @return This builder for chaining. */ public Builder clearDesiredEnableCiliumClusterwideNetworkPolicy() { - bitField1_ = (bitField1_ & ~0x08000000); + bitField1_ = (bitField1_ & ~0x10000000); desiredEnableCiliumClusterwideNetworkPolicy_ = false; onChanged(); return this; @@ -16835,7 +16967,7 @@ public Builder clearDesiredEnableCiliumClusterwideNetworkPolicy() { * @return Whether the desiredSecretManagerConfig field is set. */ public boolean hasDesiredSecretManagerConfig() { - return ((bitField1_ & 0x10000000) != 0); + return ((bitField1_ & 0x20000000) != 0); } /** * @@ -16880,7 +17012,7 @@ public Builder setDesiredSecretManagerConfig( } else { desiredSecretManagerConfigBuilder_.setMessage(value); } - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; onChanged(); return this; } @@ -16902,7 +17034,7 @@ public Builder setDesiredSecretManagerConfig( } else { desiredSecretManagerConfigBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; onChanged(); return this; } @@ -16920,7 +17052,7 @@ public Builder setDesiredSecretManagerConfig( public Builder mergeDesiredSecretManagerConfig( com.google.container.v1beta1.SecretManagerConfig value) { if (desiredSecretManagerConfigBuilder_ == null) { - if (((bitField1_ & 0x10000000) != 0) + if (((bitField1_ & 0x20000000) != 0) && desiredSecretManagerConfig_ != null && desiredSecretManagerConfig_ != com.google.container.v1beta1.SecretManagerConfig.getDefaultInstance()) { @@ -16932,7 +17064,7 @@ public Builder mergeDesiredSecretManagerConfig( desiredSecretManagerConfigBuilder_.mergeFrom(value); } if (desiredSecretManagerConfig_ != null) { - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; onChanged(); } return this; @@ -16949,7 +17081,7 @@ public Builder mergeDesiredSecretManagerConfig( * */ public Builder clearDesiredSecretManagerConfig() { - bitField1_ = (bitField1_ & ~0x10000000); + bitField1_ = (bitField1_ & ~0x20000000); desiredSecretManagerConfig_ = null; if (desiredSecretManagerConfigBuilder_ != null) { desiredSecretManagerConfigBuilder_.dispose(); @@ -16971,7 +17103,7 @@ public Builder clearDesiredSecretManagerConfig() { */ public com.google.container.v1beta1.SecretManagerConfig.Builder getDesiredSecretManagerConfigBuilder() { - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; onChanged(); return getDesiredSecretManagerConfigFieldBuilder().getBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java index b41746c35ec3..1814f41b5ceb 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java @@ -1651,7 +1651,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2610 + * google/container/v1beta1/cluster_service.proto;l=2614 * @return Whether the desiredProtectConfig field is set. */ @java.lang.Deprecated @@ -1669,7 +1669,7 @@ public interface ClusterUpdateOrBuilder * * * @deprecated google.container.v1beta1.ClusterUpdate.desired_protect_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2610 + * google/container/v1beta1/cluster_service.proto;l=2614 * @return The desiredProtectConfig. */ @java.lang.Deprecated @@ -2207,6 +2207,31 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.HostMaintenancePolicyOrBuilder getDesiredHostMaintenancePolicyOrBuilder(); + /** + * + * + *
+   * Enable/Disable Multi-Networking for the cluster
+   * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return Whether the desiredEnableMultiNetworking field is set. + */ + boolean hasDesiredEnableMultiNetworking(); + /** + * + * + *
+   * Enable/Disable Multi-Networking for the cluster
+   * 
+ * + * optional bool desired_enable_multi_networking = 135; + * + * @return The desiredEnableMultiNetworking. + */ + boolean getDesiredEnableMultiNetworking(); + /** * * diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java index a53750be0bff..478fe555a9be 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4627 + * google/container/v1beta1/cluster_service.proto;l=4634 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4627 + * google/container/v1beta1/cluster_service.proto;l=4634 * @return The bytes for projectId. */ @java.lang.Override @@ -146,7 +146,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4634 + * google/container/v1beta1/cluster_service.proto;l=4641 * @return The zone. */ @java.lang.Override @@ -175,7 +175,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4634 + * google/container/v1beta1/cluster_service.proto;l=4641 * @return The bytes for zone. */ @java.lang.Override @@ -208,7 +208,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4638 + * google/container/v1beta1/cluster_service.proto;l=4645 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4638 + * google/container/v1beta1/cluster_service.proto;l=4645 * @return The bytes for clusterId. */ @java.lang.Override @@ -735,7 +735,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4627 + * google/container/v1beta1/cluster_service.proto;l=4634 * @return The projectId. */ @java.lang.Deprecated @@ -763,7 +763,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4627 + * google/container/v1beta1/cluster_service.proto;l=4634 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -791,7 +791,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4627 + * google/container/v1beta1/cluster_service.proto;l=4634 * @param value The projectId to set. * @return This builder for chaining. */ @@ -818,7 +818,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4627 + * google/container/v1beta1/cluster_service.proto;l=4634 * @return This builder for chaining. */ @java.lang.Deprecated @@ -841,7 +841,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4627 + * google/container/v1beta1/cluster_service.proto;l=4634 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -871,7 +871,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4634 + * google/container/v1beta1/cluster_service.proto;l=4641 * @return The zone. */ @java.lang.Deprecated @@ -899,7 +899,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4634 + * google/container/v1beta1/cluster_service.proto;l=4641 * @return The bytes for zone. */ @java.lang.Deprecated @@ -927,7 +927,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4634 + * google/container/v1beta1/cluster_service.proto;l=4641 * @param value The zone to set. * @return This builder for chaining. */ @@ -954,7 +954,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4634 + * google/container/v1beta1/cluster_service.proto;l=4641 * @return This builder for chaining. */ @java.lang.Deprecated @@ -977,7 +977,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4634 + * google/container/v1beta1/cluster_service.proto;l=4641 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1006,7 +1006,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4638 + * google/container/v1beta1/cluster_service.proto;l=4645 * @return The clusterId. */ @java.lang.Deprecated @@ -1033,7 +1033,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4638 + * google/container/v1beta1/cluster_service.proto;l=4645 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1060,7 +1060,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4638 + * google/container/v1beta1/cluster_service.proto;l=4645 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1086,7 +1086,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4638 + * google/container/v1beta1/cluster_service.proto;l=4645 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1108,7 +1108,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4638 + * google/container/v1beta1/cluster_service.proto;l=4645 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java index 386e07992f33..f451b9f388a8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4627 + * google/container/v1beta1/cluster_service.proto;l=4634 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4627 + * google/container/v1beta1/cluster_service.proto;l=4634 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4634 + * google/container/v1beta1/cluster_service.proto;l=4641 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4634 + * google/container/v1beta1/cluster_service.proto;l=4641 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4638 + * google/container/v1beta1/cluster_service.proto;l=4645 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4638 + * google/container/v1beta1/cluster_service.proto;l=4645 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java index d5288637a7d6..0d3dd69b62c1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The bytes for projectId. */ @java.lang.Override @@ -146,7 +146,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2969 + * google/container/v1beta1/cluster_service.proto;l=2976 * @return The zone. */ @java.lang.Override @@ -175,7 +175,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2969 + * google/container/v1beta1/cluster_service.proto;l=2976 * @return The bytes for zone. */ @java.lang.Override @@ -744,7 +744,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The projectId. */ @java.lang.Deprecated @@ -772,7 +772,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -800,7 +800,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=2969 * @param value The projectId to set. * @return This builder for chaining. */ @@ -827,7 +827,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=2969 * @return This builder for chaining. */ @java.lang.Deprecated @@ -850,7 +850,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=2969 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -880,7 +880,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2969 + * google/container/v1beta1/cluster_service.proto;l=2976 * @return The zone. */ @java.lang.Deprecated @@ -908,7 +908,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2969 + * google/container/v1beta1/cluster_service.proto;l=2976 * @return The bytes for zone. */ @java.lang.Deprecated @@ -936,7 +936,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2969 + * google/container/v1beta1/cluster_service.proto;l=2976 * @param value The zone to set. * @return This builder for chaining. */ @@ -963,7 +963,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2969 + * google/container/v1beta1/cluster_service.proto;l=2976 * @return This builder for chaining. */ @java.lang.Deprecated @@ -986,7 +986,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2969 + * google/container/v1beta1/cluster_service.proto;l=2976 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java index 543b699c6dc1..30feba76f52d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface CreateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface CreateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2962 + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2969 + * google/container/v1beta1/cluster_service.proto;l=2976 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2969 + * google/container/v1beta1/cluster_service.proto;l=2976 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java index 63e72c3d8c9d..ea6dd223be51 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3659 + * google/container/v1beta1/cluster_service.proto;l=3666 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3659 + * google/container/v1beta1/cluster_service.proto;l=3666 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3666 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3666 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=3677 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=3677 * @return The bytes for clusterId. */ @java.lang.Override @@ -836,7 +836,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3659 + * google/container/v1beta1/cluster_service.proto;l=3666 * @return The projectId. */ @java.lang.Deprecated @@ -864,7 +864,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3659 + * google/container/v1beta1/cluster_service.proto;l=3666 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3659 + * google/container/v1beta1/cluster_service.proto;l=3666 * @param value The projectId to set. * @return This builder for chaining. */ @@ -919,7 +919,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3659 + * google/container/v1beta1/cluster_service.proto;l=3666 * @return This builder for chaining. */ @java.lang.Deprecated @@ -942,7 +942,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3659 + * google/container/v1beta1/cluster_service.proto;l=3666 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -972,7 +972,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3666 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The zone. */ @java.lang.Deprecated @@ -1000,7 +1000,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3666 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1028,7 +1028,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3666 + * google/container/v1beta1/cluster_service.proto;l=3673 * @param value The zone to set. * @return This builder for chaining. */ @@ -1055,7 +1055,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3666 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1078,7 +1078,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3666 + * google/container/v1beta1/cluster_service.proto;l=3673 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1107,7 +1107,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=3677 * @return The clusterId. */ @java.lang.Deprecated @@ -1134,7 +1134,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=3677 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1161,7 +1161,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=3677 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1187,7 +1187,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=3677 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1209,7 +1209,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=3677 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java index eb2ea53b4817..86e6fea6dfc8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3659 + * google/container/v1beta1/cluster_service.proto;l=3666 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3659 + * google/container/v1beta1/cluster_service.proto;l=3666 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3666 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3666 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=3677 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3670 + * google/container/v1beta1/cluster_service.proto;l=3677 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java index 53b5e7e670e7..ccfa12dcf8f9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3424 + * google/container/v1beta1/cluster_service.proto;l=3431 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3424 + * google/container/v1beta1/cluster_service.proto;l=3431 * @return The bytes for projectId. */ @java.lang.Override @@ -146,7 +146,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3431 + * google/container/v1beta1/cluster_service.proto;l=3438 * @return The zone. */ @java.lang.Override @@ -175,7 +175,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3431 + * google/container/v1beta1/cluster_service.proto;l=3438 * @return The bytes for zone. */ @java.lang.Override @@ -208,7 +208,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3435 + * google/container/v1beta1/cluster_service.proto;l=3442 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3435 + * google/container/v1beta1/cluster_service.proto;l=3442 * @return The bytes for clusterId. */ @java.lang.Override @@ -734,7 +734,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3424 + * google/container/v1beta1/cluster_service.proto;l=3431 * @return The projectId. */ @java.lang.Deprecated @@ -762,7 +762,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3424 + * google/container/v1beta1/cluster_service.proto;l=3431 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -790,7 +790,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3424 + * google/container/v1beta1/cluster_service.proto;l=3431 * @param value The projectId to set. * @return This builder for chaining. */ @@ -817,7 +817,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3424 + * google/container/v1beta1/cluster_service.proto;l=3431 * @return This builder for chaining. */ @java.lang.Deprecated @@ -840,7 +840,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3424 + * google/container/v1beta1/cluster_service.proto;l=3431 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -870,7 +870,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3431 + * google/container/v1beta1/cluster_service.proto;l=3438 * @return The zone. */ @java.lang.Deprecated @@ -898,7 +898,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3431 + * google/container/v1beta1/cluster_service.proto;l=3438 * @return The bytes for zone. */ @java.lang.Deprecated @@ -926,7 +926,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3431 + * google/container/v1beta1/cluster_service.proto;l=3438 * @param value The zone to set. * @return This builder for chaining. */ @@ -953,7 +953,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3431 + * google/container/v1beta1/cluster_service.proto;l=3438 * @return This builder for chaining. */ @java.lang.Deprecated @@ -976,7 +976,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3431 + * google/container/v1beta1/cluster_service.proto;l=3438 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1005,7 +1005,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3435 + * google/container/v1beta1/cluster_service.proto;l=3442 * @return The clusterId. */ @java.lang.Deprecated @@ -1032,7 +1032,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3435 + * google/container/v1beta1/cluster_service.proto;l=3442 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1059,7 +1059,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3435 + * google/container/v1beta1/cluster_service.proto;l=3442 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3435 + * google/container/v1beta1/cluster_service.proto;l=3442 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1107,7 +1107,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3435 + * google/container/v1beta1/cluster_service.proto;l=3442 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java index 667f7e4839ea..ca525fea9755 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3424 + * google/container/v1beta1/cluster_service.proto;l=3431 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3424 + * google/container/v1beta1/cluster_service.proto;l=3431 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3431 + * google/container/v1beta1/cluster_service.proto;l=3438 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3431 + * google/container/v1beta1/cluster_service.proto;l=3438 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3435 + * google/container/v1beta1/cluster_service.proto;l=3442 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3435 + * google/container/v1beta1/cluster_service.proto;l=3442 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java index b669a65192aa..6ea8c3dd51d6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3687 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3687 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3694 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3694 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * google/container/v1beta1/cluster_service.proto;l=3705 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * google/container/v1beta1/cluster_service.proto;l=3705 * @return The bytes for clusterId. */ @java.lang.Override @@ -270,7 +270,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3703 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The nodePoolId. */ @java.lang.Override @@ -298,7 +298,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3703 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -822,7 +822,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3687 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The projectId. */ @java.lang.Deprecated @@ -850,7 +850,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3687 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -878,7 +878,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3687 + * google/container/v1beta1/cluster_service.proto;l=3694 * @param value The projectId to set. * @return This builder for chaining. */ @@ -905,7 +905,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3687 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return This builder for chaining. */ @java.lang.Deprecated @@ -928,7 +928,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3687 + * google/container/v1beta1/cluster_service.proto;l=3694 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -958,7 +958,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3694 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The zone. */ @java.lang.Deprecated @@ -986,7 +986,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3694 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1014,7 +1014,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3694 + * google/container/v1beta1/cluster_service.proto;l=3701 * @param value The zone to set. * @return This builder for chaining. */ @@ -1041,7 +1041,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3694 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1064,7 +1064,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3694 + * google/container/v1beta1/cluster_service.proto;l=3701 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1093,7 +1093,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * google/container/v1beta1/cluster_service.proto;l=3705 * @return The clusterId. */ @java.lang.Deprecated @@ -1120,7 +1120,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * google/container/v1beta1/cluster_service.proto;l=3705 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1147,7 +1147,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * google/container/v1beta1/cluster_service.proto;l=3705 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1173,7 +1173,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * google/container/v1beta1/cluster_service.proto;l=3705 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1195,7 +1195,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * google/container/v1beta1/cluster_service.proto;l=3705 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1224,7 +1224,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3703 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1251,7 +1251,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3703 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1278,7 +1278,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3703 + * google/container/v1beta1/cluster_service.proto;l=3710 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1304,7 +1304,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3703 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1326,7 +1326,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3703 + * google/container/v1beta1/cluster_service.proto;l=3710 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java index d92a398f81ab..daaf36f0464f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3687 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3687 + * google/container/v1beta1/cluster_service.proto;l=3694 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3694 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3694 + * google/container/v1beta1/cluster_service.proto;l=3701 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * google/container/v1beta1/cluster_service.proto;l=3705 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * google/container/v1beta1/cluster_service.proto;l=3705 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -145,7 +145,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3703 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The nodePoolId. */ @java.lang.Deprecated @@ -162,7 +162,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3703 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java index e22444f5882e..82d4879530d3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2985 + * google/container/v1beta1/cluster_service.proto;l=2992 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2985 + * google/container/v1beta1/cluster_service.proto;l=2992 * @return The bytes for projectId. */ @java.lang.Override @@ -146,7 +146,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2992 + * google/container/v1beta1/cluster_service.proto;l=2999 * @return The zone. */ @java.lang.Override @@ -175,7 +175,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2992 + * google/container/v1beta1/cluster_service.proto;l=2999 * @return The bytes for zone. */ @java.lang.Override @@ -208,7 +208,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The bytes for clusterId. */ @java.lang.Override @@ -733,7 +733,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2985 + * google/container/v1beta1/cluster_service.proto;l=2992 * @return The projectId. */ @java.lang.Deprecated @@ -761,7 +761,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2985 + * google/container/v1beta1/cluster_service.proto;l=2992 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -789,7 +789,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2985 + * google/container/v1beta1/cluster_service.proto;l=2992 * @param value The projectId to set. * @return This builder for chaining. */ @@ -816,7 +816,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2985 + * google/container/v1beta1/cluster_service.proto;l=2992 * @return This builder for chaining. */ @java.lang.Deprecated @@ -839,7 +839,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2985 + * google/container/v1beta1/cluster_service.proto;l=2992 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -869,7 +869,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2992 + * google/container/v1beta1/cluster_service.proto;l=2999 * @return The zone. */ @java.lang.Deprecated @@ -897,7 +897,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2992 + * google/container/v1beta1/cluster_service.proto;l=2999 * @return The bytes for zone. */ @java.lang.Deprecated @@ -925,7 +925,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2992 + * google/container/v1beta1/cluster_service.proto;l=2999 * @param value The zone to set. * @return This builder for chaining. */ @@ -952,7 +952,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2992 + * google/container/v1beta1/cluster_service.proto;l=2999 * @return This builder for chaining. */ @java.lang.Deprecated @@ -975,7 +975,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2992 + * google/container/v1beta1/cluster_service.proto;l=2999 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1004,7 +1004,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The clusterId. */ @java.lang.Deprecated @@ -1031,7 +1031,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1058,7 +1058,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3003 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1084,7 +1084,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3003 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1106,7 +1106,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3003 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java index 94d91a40509b..3fb6b9950e41 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2985 + * google/container/v1beta1/cluster_service.proto;l=2992 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2985 + * google/container/v1beta1/cluster_service.proto;l=2992 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2992 + * google/container/v1beta1/cluster_service.proto;l=2999 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2992 + * google/container/v1beta1/cluster_service.proto;l=2999 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2996 + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java index c21ad3b70eea..e0bf8e0f5ecf 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3741 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3741 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3748 + * google/container/v1beta1/cluster_service.proto;l=3755 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3748 + * google/container/v1beta1/cluster_service.proto;l=3755 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3752 + * google/container/v1beta1/cluster_service.proto;l=3759 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3752 + * google/container/v1beta1/cluster_service.proto;l=3759 * @return The bytes for clusterId. */ @java.lang.Override @@ -270,7 +270,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3757 + * google/container/v1beta1/cluster_service.proto;l=3764 * @return The nodePoolId. */ @java.lang.Override @@ -298,7 +298,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3757 + * google/container/v1beta1/cluster_service.proto;l=3764 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -822,7 +822,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3741 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The projectId. */ @java.lang.Deprecated @@ -850,7 +850,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3741 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -878,7 +878,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3741 + * google/container/v1beta1/cluster_service.proto;l=3748 * @param value The projectId to set. * @return This builder for chaining. */ @@ -905,7 +905,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3741 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return This builder for chaining. */ @java.lang.Deprecated @@ -928,7 +928,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3741 + * google/container/v1beta1/cluster_service.proto;l=3748 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -958,7 +958,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3748 + * google/container/v1beta1/cluster_service.proto;l=3755 * @return The zone. */ @java.lang.Deprecated @@ -986,7 +986,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3748 + * google/container/v1beta1/cluster_service.proto;l=3755 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1014,7 +1014,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3748 + * google/container/v1beta1/cluster_service.proto;l=3755 * @param value The zone to set. * @return This builder for chaining. */ @@ -1041,7 +1041,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3748 + * google/container/v1beta1/cluster_service.proto;l=3755 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1064,7 +1064,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3748 + * google/container/v1beta1/cluster_service.proto;l=3755 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1093,7 +1093,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3752 + * google/container/v1beta1/cluster_service.proto;l=3759 * @return The clusterId. */ @java.lang.Deprecated @@ -1120,7 +1120,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3752 + * google/container/v1beta1/cluster_service.proto;l=3759 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1147,7 +1147,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3752 + * google/container/v1beta1/cluster_service.proto;l=3759 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1173,7 +1173,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3752 + * google/container/v1beta1/cluster_service.proto;l=3759 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1195,7 +1195,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3752 + * google/container/v1beta1/cluster_service.proto;l=3759 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1224,7 +1224,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3757 + * google/container/v1beta1/cluster_service.proto;l=3764 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1251,7 +1251,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3757 + * google/container/v1beta1/cluster_service.proto;l=3764 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1278,7 +1278,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3757 + * google/container/v1beta1/cluster_service.proto;l=3764 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1304,7 +1304,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3757 + * google/container/v1beta1/cluster_service.proto;l=3764 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1326,7 +1326,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3757 + * google/container/v1beta1/cluster_service.proto;l=3764 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java index f15bb58be72d..e5bd8078d9da 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3741 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3741 + * google/container/v1beta1/cluster_service.proto;l=3748 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3748 + * google/container/v1beta1/cluster_service.proto;l=3755 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3748 + * google/container/v1beta1/cluster_service.proto;l=3755 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3752 + * google/container/v1beta1/cluster_service.proto;l=3759 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3752 + * google/container/v1beta1/cluster_service.proto;l=3759 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -145,7 +145,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3757 + * google/container/v1beta1/cluster_service.proto;l=3764 * @return The nodePoolId. */ @java.lang.Deprecated @@ -162,7 +162,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3757 + * google/container/v1beta1/cluster_service.proto;l=3764 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java index 96770a0976c5..37a020bfee05 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3479 + * google/container/v1beta1/cluster_service.proto;l=3486 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3479 + * google/container/v1beta1/cluster_service.proto;l=3486 * @return The bytes for projectId. */ @java.lang.Override @@ -146,7 +146,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3486 + * google/container/v1beta1/cluster_service.proto;l=3493 * @return The zone. */ @java.lang.Override @@ -175,7 +175,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3486 + * google/container/v1beta1/cluster_service.proto;l=3493 * @return The bytes for zone. */ @java.lang.Override @@ -208,7 +208,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3490 + * google/container/v1beta1/cluster_service.proto;l=3497 * @return The operationId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3490 + * google/container/v1beta1/cluster_service.proto;l=3497 * @return The bytes for operationId. */ @java.lang.Override @@ -734,7 +734,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3479 + * google/container/v1beta1/cluster_service.proto;l=3486 * @return The projectId. */ @java.lang.Deprecated @@ -762,7 +762,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3479 + * google/container/v1beta1/cluster_service.proto;l=3486 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -790,7 +790,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3479 + * google/container/v1beta1/cluster_service.proto;l=3486 * @param value The projectId to set. * @return This builder for chaining. */ @@ -817,7 +817,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3479 + * google/container/v1beta1/cluster_service.proto;l=3486 * @return This builder for chaining. */ @java.lang.Deprecated @@ -840,7 +840,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3479 + * google/container/v1beta1/cluster_service.proto;l=3486 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -870,7 +870,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3486 + * google/container/v1beta1/cluster_service.proto;l=3493 * @return The zone. */ @java.lang.Deprecated @@ -898,7 +898,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3486 + * google/container/v1beta1/cluster_service.proto;l=3493 * @return The bytes for zone. */ @java.lang.Deprecated @@ -926,7 +926,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3486 + * google/container/v1beta1/cluster_service.proto;l=3493 * @param value The zone to set. * @return This builder for chaining. */ @@ -953,7 +953,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3486 + * google/container/v1beta1/cluster_service.proto;l=3493 * @return This builder for chaining. */ @java.lang.Deprecated @@ -976,7 +976,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3486 + * google/container/v1beta1/cluster_service.proto;l=3493 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1005,7 +1005,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3490 + * google/container/v1beta1/cluster_service.proto;l=3497 * @return The operationId. */ @java.lang.Deprecated @@ -1032,7 +1032,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3490 + * google/container/v1beta1/cluster_service.proto;l=3497 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1059,7 +1059,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3490 + * google/container/v1beta1/cluster_service.proto;l=3497 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setOperationId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3490 + * google/container/v1beta1/cluster_service.proto;l=3497 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1107,7 +1107,7 @@ public Builder clearOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3490 + * google/container/v1beta1/cluster_service.proto;l=3497 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java index 4c91a97aa974..85a44a5afc2f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3479 + * google/container/v1beta1/cluster_service.proto;l=3486 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3479 + * google/container/v1beta1/cluster_service.proto;l=3486 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3486 + * google/container/v1beta1/cluster_service.proto;l=3493 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3486 + * google/container/v1beta1/cluster_service.proto;l=3493 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3490 + * google/container/v1beta1/cluster_service.proto;l=3497 * @return The operationId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3490 + * google/container/v1beta1/cluster_service.proto;l=3497 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java index a667d7d0fa50..22635853c520 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3557 + * google/container/v1beta1/cluster_service.proto;l=3564 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3557 + * google/container/v1beta1/cluster_service.proto;l=3564 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3564 + * google/container/v1beta1/cluster_service.proto;l=3571 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3564 + * google/container/v1beta1/cluster_service.proto;l=3571 * @return The bytes for zone. */ @java.lang.Override @@ -648,7 +648,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3557 + * google/container/v1beta1/cluster_service.proto;l=3564 * @return The projectId. */ @java.lang.Deprecated @@ -676,7 +676,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3557 + * google/container/v1beta1/cluster_service.proto;l=3564 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -704,7 +704,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3557 + * google/container/v1beta1/cluster_service.proto;l=3564 * @param value The projectId to set. * @return This builder for chaining. */ @@ -731,7 +731,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3557 + * google/container/v1beta1/cluster_service.proto;l=3564 * @return This builder for chaining. */ @java.lang.Deprecated @@ -754,7 +754,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3557 + * google/container/v1beta1/cluster_service.proto;l=3564 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -784,7 +784,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3564 + * google/container/v1beta1/cluster_service.proto;l=3571 * @return The zone. */ @java.lang.Deprecated @@ -812,7 +812,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3564 + * google/container/v1beta1/cluster_service.proto;l=3571 * @return The bytes for zone. */ @java.lang.Deprecated @@ -840,7 +840,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3564 + * google/container/v1beta1/cluster_service.proto;l=3571 * @param value The zone to set. * @return This builder for chaining. */ @@ -867,7 +867,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3564 + * google/container/v1beta1/cluster_service.proto;l=3571 * @return This builder for chaining. */ @java.lang.Deprecated @@ -890,7 +890,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3564 + * google/container/v1beta1/cluster_service.proto;l=3571 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java index bde5e10d608a..24bedf7f7046 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface GetServerConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3557 + * google/container/v1beta1/cluster_service.proto;l=3564 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface GetServerConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3557 + * google/container/v1beta1/cluster_service.proto;l=3564 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3564 + * google/container/v1beta1/cluster_service.proto;l=3571 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3564 + * google/container/v1beta1/cluster_service.proto;l=3571 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java index 4b4e5ef36061..8f5d08830a54 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java @@ -501,7 +501,7 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1641 + * google/container/v1beta1/cluster_service.proto;l=1645 * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -527,7 +527,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1641 + * google/container/v1beta1/cluster_service.proto;l=1645 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override @@ -558,7 +558,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1644 + * google/container/v1beta1/cluster_service.proto;l=1648 * @return The nodeIpv4Cidr. */ @java.lang.Override @@ -584,7 +584,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1644 + * google/container/v1beta1/cluster_service.proto;l=1648 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override @@ -615,7 +615,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1647 + * google/container/v1beta1/cluster_service.proto;l=1651 * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -641,7 +641,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1647 + * google/container/v1beta1/cluster_service.proto;l=1651 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override @@ -2621,7 +2621,7 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1641 + * google/container/v1beta1/cluster_service.proto;l=1645 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2646,7 +2646,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1641 + * google/container/v1beta1/cluster_service.proto;l=1645 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2671,7 +2671,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1641 + * google/container/v1beta1/cluster_service.proto;l=1645 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2695,7 +2695,7 @@ public Builder setClusterIpv4Cidr(java.lang.String value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1641 + * google/container/v1beta1/cluster_service.proto;l=1645 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2715,7 +2715,7 @@ public Builder clearClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1641 + * google/container/v1beta1/cluster_service.proto;l=1645 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2742,7 +2742,7 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1644 + * google/container/v1beta1/cluster_service.proto;l=1648 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2767,7 +2767,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1644 + * google/container/v1beta1/cluster_service.proto;l=1648 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2792,7 +2792,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1644 + * google/container/v1beta1/cluster_service.proto;l=1648 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2816,7 +2816,7 @@ public Builder setNodeIpv4Cidr(java.lang.String value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1644 + * google/container/v1beta1/cluster_service.proto;l=1648 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2836,7 +2836,7 @@ public Builder clearNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1644 + * google/container/v1beta1/cluster_service.proto;l=1648 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2863,7 +2863,7 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1647 + * google/container/v1beta1/cluster_service.proto;l=1651 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2888,7 +2888,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1647 + * google/container/v1beta1/cluster_service.proto;l=1651 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2913,7 +2913,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1647 + * google/container/v1beta1/cluster_service.proto;l=1651 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -2937,7 +2937,7 @@ public Builder setServicesIpv4Cidr(java.lang.String value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1647 + * google/container/v1beta1/cluster_service.proto;l=1651 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2957,7 +2957,7 @@ public Builder clearServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1647 + * google/container/v1beta1/cluster_service.proto;l=1651 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java index 72117cb2e26f..b9696a60b766 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java @@ -94,7 +94,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1641 + * google/container/v1beta1/cluster_service.proto;l=1645 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1641 + * google/container/v1beta1/cluster_service.proto;l=1645 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -125,7 +125,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1644 + * google/container/v1beta1/cluster_service.proto;l=1648 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1644 + * google/container/v1beta1/cluster_service.proto;l=1648 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -156,7 +156,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1647 + * google/container/v1beta1/cluster_service.proto;l=1651 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -171,7 +171,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1647 + * google/container/v1beta1/cluster_service.proto;l=1651 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java index a73fd99afac3..ebff913b921b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java @@ -210,7 +210,7 @@ private IstioAuthMode(int value) { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1509 + * google/container/v1beta1/cluster_service.proto;l=1513 * @return The disabled. */ @java.lang.Override @@ -231,7 +231,7 @@ public boolean getDisabled() { * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1512 + * google/container/v1beta1/cluster_service.proto;l=1516 * @return The enum numeric value on the wire for auth. */ @java.lang.Override @@ -249,7 +249,7 @@ public int getAuthValue() { * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1512 + * google/container/v1beta1/cluster_service.proto;l=1516 * @return The auth. */ @java.lang.Override @@ -633,7 +633,7 @@ public Builder mergeFrom( * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1509 + * google/container/v1beta1/cluster_service.proto;l=1513 * @return The disabled. */ @java.lang.Override @@ -651,7 +651,7 @@ public boolean getDisabled() { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1509 + * google/container/v1beta1/cluster_service.proto;l=1513 * @param value The disabled to set. * @return This builder for chaining. */ @@ -673,7 +673,7 @@ public Builder setDisabled(boolean value) { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1509 + * google/container/v1beta1/cluster_service.proto;l=1513 * @return This builder for chaining. */ @java.lang.Deprecated @@ -696,7 +696,7 @@ public Builder clearDisabled() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1512 + * google/container/v1beta1/cluster_service.proto;l=1516 * @return The enum numeric value on the wire for auth. */ @java.lang.Override @@ -715,7 +715,7 @@ public int getAuthValue() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1512 + * google/container/v1beta1/cluster_service.proto;l=1516 * @param value The enum numeric value on the wire for auth to set. * @return This builder for chaining. */ @@ -737,7 +737,7 @@ public Builder setAuthValue(int value) { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1512 + * google/container/v1beta1/cluster_service.proto;l=1516 * @return The auth. */ @java.lang.Override @@ -760,7 +760,7 @@ public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1512 + * google/container/v1beta1/cluster_service.proto;l=1516 * @param value The auth to set. * @return This builder for chaining. */ @@ -785,7 +785,7 @@ public Builder setAuth(com.google.container.v1beta1.IstioConfig.IstioAuthMode va * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1512 + * google/container/v1beta1/cluster_service.proto;l=1516 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java index 9912f271c49f..b0fb6de488ab 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java @@ -34,7 +34,7 @@ public interface IstioConfigOrBuilder * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1509 + * google/container/v1beta1/cluster_service.proto;l=1513 * @return The disabled. */ @java.lang.Deprecated @@ -50,7 +50,7 @@ public interface IstioConfigOrBuilder * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1512 + * google/container/v1beta1/cluster_service.proto;l=1516 * @return The enum numeric value on the wire for auth. */ @java.lang.Deprecated @@ -65,7 +65,7 @@ public interface IstioConfigOrBuilder * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1512 + * google/container/v1beta1/cluster_service.proto;l=1516 * @return The auth. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java index 52cbb73fb1fd..c28bdba4f773 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java @@ -73,7 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1419 + * google/container/v1beta1/cluster_service.proto;l=1423 * @return The enabled. */ @java.lang.Override @@ -431,7 +431,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1419 + * google/container/v1beta1/cluster_service.proto;l=1423 * @return The enabled. */ @java.lang.Override @@ -449,7 +449,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1419 + * google/container/v1beta1/cluster_service.proto;l=1423 * @param value The enabled to set. * @return This builder for chaining. */ @@ -471,7 +471,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1419 + * google/container/v1beta1/cluster_service.proto;l=1423 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java index f4db0fcc7a15..3fac23635d82 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java @@ -34,7 +34,7 @@ public interface KalmConfigOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1419 + * google/container/v1beta1/cluster_service.proto;l=1423 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java index 476ac6caba01..b16f80050998 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3448 + * google/container/v1beta1/cluster_service.proto;l=3455 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3448 + * google/container/v1beta1/cluster_service.proto;l=3455 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3455 + * google/container/v1beta1/cluster_service.proto;l=3462 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3455 + * google/container/v1beta1/cluster_service.proto;l=3462 * @return The bytes for zone. */ @java.lang.Override @@ -650,7 +650,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3448 + * google/container/v1beta1/cluster_service.proto;l=3455 * @return The projectId. */ @java.lang.Deprecated @@ -678,7 +678,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3448 + * google/container/v1beta1/cluster_service.proto;l=3455 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -706,7 +706,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3448 + * google/container/v1beta1/cluster_service.proto;l=3455 * @param value The projectId to set. * @return This builder for chaining. */ @@ -733,7 +733,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3448 + * google/container/v1beta1/cluster_service.proto;l=3455 * @return This builder for chaining. */ @java.lang.Deprecated @@ -756,7 +756,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3448 + * google/container/v1beta1/cluster_service.proto;l=3455 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -786,7 +786,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3455 + * google/container/v1beta1/cluster_service.proto;l=3462 * @return The zone. */ @java.lang.Deprecated @@ -814,7 +814,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3455 + * google/container/v1beta1/cluster_service.proto;l=3462 * @return The bytes for zone. */ @java.lang.Deprecated @@ -842,7 +842,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3455 + * google/container/v1beta1/cluster_service.proto;l=3462 * @param value The zone to set. * @return This builder for chaining. */ @@ -869,7 +869,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3455 + * google/container/v1beta1/cluster_service.proto;l=3462 * @return This builder for chaining. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3455 + * google/container/v1beta1/cluster_service.proto;l=3462 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java index 87b8e211d34e..3baab6b5e56a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface ListClustersRequestOrBuilder * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3448 + * google/container/v1beta1/cluster_service.proto;l=3455 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface ListClustersRequestOrBuilder * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3448 + * google/container/v1beta1/cluster_service.proto;l=3455 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3455 + * google/container/v1beta1/cluster_service.proto;l=3462 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3455 + * google/container/v1beta1/cluster_service.proto;l=3462 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java index 98ff48ea4568..b53bafb692bc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java @@ -83,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3717 + * google/container/v1beta1/cluster_service.proto;l=3724 * @return The projectId. */ @java.lang.Override @@ -112,7 +112,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3717 + * google/container/v1beta1/cluster_service.proto;l=3724 * @return The bytes for projectId. */ @java.lang.Override @@ -146,7 +146,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3724 + * google/container/v1beta1/cluster_service.proto;l=3731 * @return The zone. */ @java.lang.Override @@ -175,7 +175,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3724 + * google/container/v1beta1/cluster_service.proto;l=3731 * @return The bytes for zone. */ @java.lang.Override @@ -208,7 +208,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3728 + * google/container/v1beta1/cluster_service.proto;l=3735 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3728 + * google/container/v1beta1/cluster_service.proto;l=3735 * @return The bytes for clusterId. */ @java.lang.Override @@ -734,7 +734,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3717 + * google/container/v1beta1/cluster_service.proto;l=3724 * @return The projectId. */ @java.lang.Deprecated @@ -762,7 +762,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3717 + * google/container/v1beta1/cluster_service.proto;l=3724 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -790,7 +790,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3717 + * google/container/v1beta1/cluster_service.proto;l=3724 * @param value The projectId to set. * @return This builder for chaining. */ @@ -817,7 +817,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3717 + * google/container/v1beta1/cluster_service.proto;l=3724 * @return This builder for chaining. */ @java.lang.Deprecated @@ -840,7 +840,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3717 + * google/container/v1beta1/cluster_service.proto;l=3724 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -870,7 +870,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3724 + * google/container/v1beta1/cluster_service.proto;l=3731 * @return The zone. */ @java.lang.Deprecated @@ -898,7 +898,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3724 + * google/container/v1beta1/cluster_service.proto;l=3731 * @return The bytes for zone. */ @java.lang.Deprecated @@ -926,7 +926,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3724 + * google/container/v1beta1/cluster_service.proto;l=3731 * @param value The zone to set. * @return This builder for chaining. */ @@ -953,7 +953,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3724 + * google/container/v1beta1/cluster_service.proto;l=3731 * @return This builder for chaining. */ @java.lang.Deprecated @@ -976,7 +976,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3724 + * google/container/v1beta1/cluster_service.proto;l=3731 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1005,7 +1005,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3728 + * google/container/v1beta1/cluster_service.proto;l=3735 * @return The clusterId. */ @java.lang.Deprecated @@ -1032,7 +1032,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3728 + * google/container/v1beta1/cluster_service.proto;l=3735 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1059,7 +1059,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3728 + * google/container/v1beta1/cluster_service.proto;l=3735 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3728 + * google/container/v1beta1/cluster_service.proto;l=3735 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1107,7 +1107,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3728 + * google/container/v1beta1/cluster_service.proto;l=3735 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java index 9a87758b73e0..8fcef29ec231 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3717 + * google/container/v1beta1/cluster_service.proto;l=3724 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3717 + * google/container/v1beta1/cluster_service.proto;l=3724 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3724 + * google/container/v1beta1/cluster_service.proto;l=3731 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3724 + * google/container/v1beta1/cluster_service.proto;l=3731 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3728 + * google/container/v1beta1/cluster_service.proto;l=3735 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3728 + * google/container/v1beta1/cluster_service.proto;l=3735 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java index 2ca257d6e511..149cb6d9a7cc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3503 + * google/container/v1beta1/cluster_service.proto;l=3510 * @return The projectId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3503 + * google/container/v1beta1/cluster_service.proto;l=3510 * @return The bytes for projectId. */ @java.lang.Override @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3510 + * google/container/v1beta1/cluster_service.proto;l=3517 * @return The zone. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3510 + * google/container/v1beta1/cluster_service.proto;l=3517 * @return The bytes for zone. */ @java.lang.Override @@ -650,7 +650,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3503 + * google/container/v1beta1/cluster_service.proto;l=3510 * @return The projectId. */ @java.lang.Deprecated @@ -678,7 +678,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3503 + * google/container/v1beta1/cluster_service.proto;l=3510 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -706,7 +706,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3503 + * google/container/v1beta1/cluster_service.proto;l=3510 * @param value The projectId to set. * @return This builder for chaining. */ @@ -733,7 +733,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3503 + * google/container/v1beta1/cluster_service.proto;l=3510 * @return This builder for chaining. */ @java.lang.Deprecated @@ -756,7 +756,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3503 + * google/container/v1beta1/cluster_service.proto;l=3510 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -786,7 +786,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3510 + * google/container/v1beta1/cluster_service.proto;l=3517 * @return The zone. */ @java.lang.Deprecated @@ -814,7 +814,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3510 + * google/container/v1beta1/cluster_service.proto;l=3517 * @return The bytes for zone. */ @java.lang.Deprecated @@ -842,7 +842,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3510 + * google/container/v1beta1/cluster_service.proto;l=3517 * @param value The zone to set. * @return This builder for chaining. */ @@ -869,7 +869,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3510 + * google/container/v1beta1/cluster_service.proto;l=3517 * @return This builder for chaining. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3510 + * google/container/v1beta1/cluster_service.proto;l=3517 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java index 0f571fed3116..196ab1c953cb 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface ListOperationsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3503 + * google/container/v1beta1/cluster_service.proto;l=3510 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface ListOperationsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3503 + * google/container/v1beta1/cluster_service.proto;l=3510 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3510 + * google/container/v1beta1/cluster_service.proto;l=3517 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3510 + * google/container/v1beta1/cluster_service.proto;l=3517 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java index c3a3f89f25a1..3cfd9d84beda 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java @@ -91,7 +91,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1281 + * google/container/v1beta1/cluster_service.proto;l=1285 * @return The username. */ @java.lang.Override @@ -124,7 +124,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1281 + * google/container/v1beta1/cluster_service.proto;l=1285 * @return The bytes for username. */ @java.lang.Override @@ -163,7 +163,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1292 + * google/container/v1beta1/cluster_service.proto;l=1296 * @return The password. */ @java.lang.Override @@ -197,7 +197,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1292 + * google/container/v1beta1/cluster_service.proto;l=1296 * @return The bytes for password. */ @java.lang.Override @@ -920,7 +920,7 @@ public Builder mergeFrom( * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1281 + * google/container/v1beta1/cluster_service.proto;l=1285 * @return The username. */ @java.lang.Deprecated @@ -952,7 +952,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1281 + * google/container/v1beta1/cluster_service.proto;l=1285 * @return The bytes for username. */ @java.lang.Deprecated @@ -984,7 +984,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1281 + * google/container/v1beta1/cluster_service.proto;l=1285 * @param value The username to set. * @return This builder for chaining. */ @@ -1015,7 +1015,7 @@ public Builder setUsername(java.lang.String value) { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1281 + * google/container/v1beta1/cluster_service.proto;l=1285 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1042,7 +1042,7 @@ public Builder clearUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1281 + * google/container/v1beta1/cluster_service.proto;l=1285 * @param value The bytes for username to set. * @return This builder for chaining. */ @@ -1077,7 +1077,7 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1292 + * google/container/v1beta1/cluster_service.proto;l=1296 * @return The password. */ @java.lang.Deprecated @@ -1110,7 +1110,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1292 + * google/container/v1beta1/cluster_service.proto;l=1296 * @return The bytes for password. */ @java.lang.Deprecated @@ -1143,7 +1143,7 @@ public com.google.protobuf.ByteString getPasswordBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1292 + * google/container/v1beta1/cluster_service.proto;l=1296 * @param value The password to set. * @return This builder for chaining. */ @@ -1175,7 +1175,7 @@ public Builder setPassword(java.lang.String value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1292 + * google/container/v1beta1/cluster_service.proto;l=1296 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1203,7 +1203,7 @@ public Builder clearPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1292 + * google/container/v1beta1/cluster_service.proto;l=1296 * @param value The bytes for password to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java index 0afb6c7df3e7..675c0613a776 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java @@ -41,7 +41,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1281 + * google/container/v1beta1/cluster_service.proto;l=1285 * @return The username. */ @java.lang.Deprecated @@ -63,7 +63,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1281 + * google/container/v1beta1/cluster_service.proto;l=1285 * @return The bytes for username. */ @java.lang.Deprecated @@ -87,7 +87,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1292 + * google/container/v1beta1/cluster_service.proto;l=1296 * @return The password. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1292 + * google/container/v1beta1/cluster_service.proto;l=1296 * @return The bytes for password. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java index df3f127dd0d8..83d53692f088 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java @@ -2499,6 +2499,65 @@ public com.google.container.v1beta1.SecondaryBootDiskOrBuilder getSecondaryBootD return secondaryBootDisks_.get(index); } + public static final int SECONDARY_BOOT_DISK_UPDATE_STRATEGY_FIELD_NUMBER = 50; + private com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy + secondaryBootDiskUpdateStrategy_; + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return Whether the secondaryBootDiskUpdateStrategy field is set. + */ + @java.lang.Override + public boolean hasSecondaryBootDiskUpdateStrategy() { + return ((bitField0_ & 0x00080000) != 0); + } + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return The secondaryBootDiskUpdateStrategy. + */ + @java.lang.Override + public com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy + getSecondaryBootDiskUpdateStrategy() { + return secondaryBootDiskUpdateStrategy_ == null + ? com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.getDefaultInstance() + : secondaryBootDiskUpdateStrategy_; + } + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + @java.lang.Override + public com.google.container.v1beta1.SecondaryBootDiskUpdateStrategyOrBuilder + getSecondaryBootDiskUpdateStrategyOrBuilder() { + return secondaryBootDiskUpdateStrategy_ == null + ? com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.getDefaultInstance() + : secondaryBootDiskUpdateStrategy_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2627,6 +2686,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < secondaryBootDisks_.size(); i++) { output.writeMessage(48, secondaryBootDisks_.get(i)); } + if (((bitField0_ & 0x00080000) != 0)) { + output.writeMessage(50, getSecondaryBootDiskUpdateStrategy()); + } getUnknownFields().writeTo(output); } @@ -2797,6 +2859,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(48, secondaryBootDisks_.get(i)); } + if (((bitField0_ & 0x00080000) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 50, getSecondaryBootDiskUpdateStrategy()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2910,6 +2977,12 @@ public boolean equals(final java.lang.Object obj) { } if (getEnableConfidentialStorage() != other.getEnableConfidentialStorage()) return false; if (!getSecondaryBootDisksList().equals(other.getSecondaryBootDisksList())) return false; + if (hasSecondaryBootDiskUpdateStrategy() != other.hasSecondaryBootDiskUpdateStrategy()) + return false; + if (hasSecondaryBootDiskUpdateStrategy()) { + if (!getSecondaryBootDiskUpdateStrategy().equals(other.getSecondaryBootDiskUpdateStrategy())) + return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3053,6 +3126,10 @@ public int hashCode() { hash = (37 * hash) + SECONDARY_BOOT_DISKS_FIELD_NUMBER; hash = (53 * hash) + getSecondaryBootDisksList().hashCode(); } + if (hasSecondaryBootDiskUpdateStrategy()) { + hash = (37 * hash) + SECONDARY_BOOT_DISK_UPDATE_STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + getSecondaryBootDiskUpdateStrategy().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -3250,6 +3327,7 @@ private void maybeForceBuilderInitialization() { getHostMaintenancePolicyFieldBuilder(); getResourceManagerTagsFieldBuilder(); getSecondaryBootDisksFieldBuilder(); + getSecondaryBootDiskUpdateStrategyFieldBuilder(); } } @@ -3391,6 +3469,11 @@ public Builder clear() { secondaryBootDisksBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000040); + secondaryBootDiskUpdateStrategy_ = null; + if (secondaryBootDiskUpdateStrategyBuilder_ != null) { + secondaryBootDiskUpdateStrategyBuilder_.dispose(); + secondaryBootDiskUpdateStrategyBuilder_ = null; + } return this; } @@ -3638,6 +3721,13 @@ private void buildPartial1(com.google.container.v1beta1.NodeConfig result) { if (((from_bitField1_ & 0x00000020) != 0)) { result.enableConfidentialStorage_ = enableConfidentialStorage_; } + if (((from_bitField1_ & 0x00000080) != 0)) { + result.secondaryBootDiskUpdateStrategy_ = + secondaryBootDiskUpdateStrategyBuilder_ == null + ? secondaryBootDiskUpdateStrategy_ + : secondaryBootDiskUpdateStrategyBuilder_.build(); + to_bitField0_ |= 0x00080000; + } result.bitField0_ |= to_bitField0_; } @@ -3900,6 +3990,9 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeConfig other) { } } } + if (other.hasSecondaryBootDiskUpdateStrategy()) { + mergeSecondaryBootDiskUpdateStrategy(other.getSecondaryBootDiskUpdateStrategy()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -4214,6 +4307,14 @@ public Builder mergeFrom( } break; } // case 386 + case 402: + { + input.readMessage( + getSecondaryBootDiskUpdateStrategyFieldBuilder().getBuilder(), + extensionRegistry); + bitField1_ |= 0x00000080; + break; + } // case 402 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -11522,6 +11623,218 @@ public com.google.container.v1beta1.SecondaryBootDisk.Builder addSecondaryBootDi return secondaryBootDisksBuilder_; } + private com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy + secondaryBootDiskUpdateStrategy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy, + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.Builder, + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategyOrBuilder> + secondaryBootDiskUpdateStrategyBuilder_; + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return Whether the secondaryBootDiskUpdateStrategy field is set. + */ + public boolean hasSecondaryBootDiskUpdateStrategy() { + return ((bitField1_ & 0x00000080) != 0); + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return The secondaryBootDiskUpdateStrategy. + */ + public com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy + getSecondaryBootDiskUpdateStrategy() { + if (secondaryBootDiskUpdateStrategyBuilder_ == null) { + return secondaryBootDiskUpdateStrategy_ == null + ? com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.getDefaultInstance() + : secondaryBootDiskUpdateStrategy_; + } else { + return secondaryBootDiskUpdateStrategyBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public Builder setSecondaryBootDiskUpdateStrategy( + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy value) { + if (secondaryBootDiskUpdateStrategyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + secondaryBootDiskUpdateStrategy_ = value; + } else { + secondaryBootDiskUpdateStrategyBuilder_.setMessage(value); + } + bitField1_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public Builder setSecondaryBootDiskUpdateStrategy( + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.Builder builderForValue) { + if (secondaryBootDiskUpdateStrategyBuilder_ == null) { + secondaryBootDiskUpdateStrategy_ = builderForValue.build(); + } else { + secondaryBootDiskUpdateStrategyBuilder_.setMessage(builderForValue.build()); + } + bitField1_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public Builder mergeSecondaryBootDiskUpdateStrategy( + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy value) { + if (secondaryBootDiskUpdateStrategyBuilder_ == null) { + if (((bitField1_ & 0x00000080) != 0) + && secondaryBootDiskUpdateStrategy_ != null + && secondaryBootDiskUpdateStrategy_ + != com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy + .getDefaultInstance()) { + getSecondaryBootDiskUpdateStrategyBuilder().mergeFrom(value); + } else { + secondaryBootDiskUpdateStrategy_ = value; + } + } else { + secondaryBootDiskUpdateStrategyBuilder_.mergeFrom(value); + } + if (secondaryBootDiskUpdateStrategy_ != null) { + bitField1_ |= 0x00000080; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public Builder clearSecondaryBootDiskUpdateStrategy() { + bitField1_ = (bitField1_ & ~0x00000080); + secondaryBootDiskUpdateStrategy_ = null; + if (secondaryBootDiskUpdateStrategyBuilder_ != null) { + secondaryBootDiskUpdateStrategyBuilder_.dispose(); + secondaryBootDiskUpdateStrategyBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.Builder + getSecondaryBootDiskUpdateStrategyBuilder() { + bitField1_ |= 0x00000080; + onChanged(); + return getSecondaryBootDiskUpdateStrategyFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + public com.google.container.v1beta1.SecondaryBootDiskUpdateStrategyOrBuilder + getSecondaryBootDiskUpdateStrategyOrBuilder() { + if (secondaryBootDiskUpdateStrategyBuilder_ != null) { + return secondaryBootDiskUpdateStrategyBuilder_.getMessageOrBuilder(); + } else { + return secondaryBootDiskUpdateStrategy_ == null + ? com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.getDefaultInstance() + : secondaryBootDiskUpdateStrategy_; + } + } + /** + * + * + *
+     * Secondary boot disk update strategy.
+     * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy, + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.Builder, + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategyOrBuilder> + getSecondaryBootDiskUpdateStrategyFieldBuilder() { + if (secondaryBootDiskUpdateStrategyBuilder_ == null) { + secondaryBootDiskUpdateStrategyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy, + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.Builder, + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategyOrBuilder>( + getSecondaryBootDiskUpdateStrategy(), getParentForChildren(), isClean()); + secondaryBootDiskUpdateStrategy_ = null; + } + return secondaryBootDiskUpdateStrategyBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java index 623f600891ad..ffe744b2d234 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java @@ -1749,4 +1749,46 @@ java.lang.String getResourceLabelsOrDefault( * repeated .google.container.v1beta1.SecondaryBootDisk secondary_boot_disks = 48; */ com.google.container.v1beta1.SecondaryBootDiskOrBuilder getSecondaryBootDisksOrBuilder(int index); + + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return Whether the secondaryBootDiskUpdateStrategy field is set. + */ + boolean hasSecondaryBootDiskUpdateStrategy(); + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + * + * @return The secondaryBootDiskUpdateStrategy. + */ + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy getSecondaryBootDiskUpdateStrategy(); + /** + * + * + *
+   * Secondary boot disk update strategy.
+   * 
+ * + * + * optional .google.container.v1beta1.SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = 50; + * + */ + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategyOrBuilder + getSecondaryBootDiskUpdateStrategyOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java index b5b88583e437..7c57d8078ebe 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java @@ -6738,7 +6738,7 @@ public com.google.container.v1beta1.NodePool.Status getStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4046 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The statusMessage. */ @java.lang.Override @@ -6766,7 +6766,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4046 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The bytes for statusMessage. */ @java.lang.Override @@ -9698,7 +9698,7 @@ public Builder clearStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4046 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The statusMessage. */ @java.lang.Deprecated @@ -9725,7 +9725,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4046 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -9752,7 +9752,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4046 + * google/container/v1beta1/cluster_service.proto;l=4053 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -9778,7 +9778,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4046 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return This builder for chaining. */ @java.lang.Deprecated @@ -9800,7 +9800,7 @@ public Builder clearStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4046 + * google/container/v1beta1/cluster_service.proto;l=4053 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java index 7fd96eb27076..3b32115f45e4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java @@ -383,7 +383,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4046 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The statusMessage. */ @java.lang.Deprecated @@ -400,7 +400,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4046 + * google/container/v1beta1/cluster_service.proto;l=4053 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java index 32870641b811..76bd5e0aaf39 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java @@ -991,7 +991,7 @@ public com.google.protobuf.ByteString getNameBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2850 + * google/container/v1beta1/cluster_service.proto;l=2857 * @return The zone. */ @java.lang.Override @@ -1019,7 +1019,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2850 + * google/container/v1beta1/cluster_service.proto;l=2857 * @return The bytes for zone. */ @java.lang.Override @@ -1174,7 +1174,7 @@ public com.google.protobuf.ByteString getDetailBytes() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2863 + * google/container/v1beta1/cluster_service.proto;l=2870 * @return The statusMessage. */ @java.lang.Override @@ -1203,7 +1203,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2863 + * google/container/v1beta1/cluster_service.proto;l=2870 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2719,7 +2719,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2850 + * google/container/v1beta1/cluster_service.proto;l=2857 * @return The zone. */ @java.lang.Deprecated @@ -2746,7 +2746,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2850 + * google/container/v1beta1/cluster_service.proto;l=2857 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2773,7 +2773,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2850 + * google/container/v1beta1/cluster_service.proto;l=2857 * @param value The zone to set. * @return This builder for chaining. */ @@ -2799,7 +2799,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2850 + * google/container/v1beta1/cluster_service.proto;l=2857 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2821,7 +2821,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2850 + * google/container/v1beta1/cluster_service.proto;l=2857 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -3137,7 +3137,7 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2863 + * google/container/v1beta1/cluster_service.proto;l=2870 * @return The statusMessage. */ @java.lang.Deprecated @@ -3165,7 +3165,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2863 + * google/container/v1beta1/cluster_service.proto;l=2870 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -3193,7 +3193,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2863 + * google/container/v1beta1/cluster_service.proto;l=2870 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -3220,7 +3220,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2863 + * google/container/v1beta1/cluster_service.proto;l=2870 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3243,7 +3243,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2863 + * google/container/v1beta1/cluster_service.proto;l=2870 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java index 4669d1f52cc2..3f4f82c0414f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java @@ -61,7 +61,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2850 + * google/container/v1beta1/cluster_service.proto;l=2857 * @return The zone. */ @java.lang.Deprecated @@ -78,7 +78,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2850 + * google/container/v1beta1/cluster_service.proto;l=2857 * @return The bytes for zone. */ @java.lang.Deprecated @@ -172,7 +172,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2863 + * google/container/v1beta1/cluster_service.proto;l=2870 * @return The statusMessage. */ @java.lang.Deprecated @@ -190,7 +190,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2863 + * google/container/v1beta1/cluster_service.proto;l=2870 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java index 43e455d60783..08743120fa43 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4319 + * See google/container/v1beta1/cluster_service.proto;l=4326 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4319 + * See google/container/v1beta1/cluster_service.proto;l=4326 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4326 + * google/container/v1beta1/cluster_service.proto;l=4333 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4326 + * google/container/v1beta1/cluster_service.proto;l=4333 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4330 + * See google/container/v1beta1/cluster_service.proto;l=4337 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4330 + * See google/container/v1beta1/cluster_service.proto;l=4337 * @return The bytes for clusterId. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4335 + * See google/container/v1beta1/cluster_service.proto;l=4342 * @return The nodePoolId. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4335 + * See google/container/v1beta1/cluster_service.proto;l=4342 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -869,7 +869,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4319 + * See google/container/v1beta1/cluster_service.proto;l=4326 * @return The projectId. */ @java.lang.Deprecated @@ -897,7 +897,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4319 + * See google/container/v1beta1/cluster_service.proto;l=4326 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -925,7 +925,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4319 + * See google/container/v1beta1/cluster_service.proto;l=4326 * @param value The projectId to set. * @return This builder for chaining. */ @@ -952,7 +952,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4319 + * See google/container/v1beta1/cluster_service.proto;l=4326 * @return This builder for chaining. */ @java.lang.Deprecated @@ -975,7 +975,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4319 + * See google/container/v1beta1/cluster_service.proto;l=4326 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1005,7 +1005,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4326 + * google/container/v1beta1/cluster_service.proto;l=4333 * @return The zone. */ @java.lang.Deprecated @@ -1033,7 +1033,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4326 + * google/container/v1beta1/cluster_service.proto;l=4333 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1061,7 +1061,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4326 + * google/container/v1beta1/cluster_service.proto;l=4333 * @param value The zone to set. * @return This builder for chaining. */ @@ -1088,7 +1088,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4326 + * google/container/v1beta1/cluster_service.proto;l=4333 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1111,7 +1111,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4326 + * google/container/v1beta1/cluster_service.proto;l=4333 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1140,7 +1140,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4330 + * See google/container/v1beta1/cluster_service.proto;l=4337 * @return The clusterId. */ @java.lang.Deprecated @@ -1167,7 +1167,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4330 + * See google/container/v1beta1/cluster_service.proto;l=4337 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1194,7 +1194,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4330 + * See google/container/v1beta1/cluster_service.proto;l=4337 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1220,7 +1220,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4330 + * See google/container/v1beta1/cluster_service.proto;l=4337 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1242,7 +1242,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4330 + * See google/container/v1beta1/cluster_service.proto;l=4337 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1271,7 +1271,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4335 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4342 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1298,7 +1298,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4335 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4342 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1325,7 +1325,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4335 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4342 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1351,7 +1351,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4335 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4342 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1373,7 +1373,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4335 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4342 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java index 609c07f2c194..72b4e9873bdc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4319 + * See google/container/v1beta1/cluster_service.proto;l=4326 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4319 + * See google/container/v1beta1/cluster_service.proto;l=4326 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4326 + * google/container/v1beta1/cluster_service.proto;l=4333 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4326 + * google/container/v1beta1/cluster_service.proto;l=4333 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4330 + * See google/container/v1beta1/cluster_service.proto;l=4337 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4330 + * See google/container/v1beta1/cluster_service.proto;l=4337 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -145,7 +145,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4335 + * See google/container/v1beta1/cluster_service.proto;l=4342 * @return The nodePoolId. */ @java.lang.Deprecated @@ -162,7 +162,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4335 + * See google/container/v1beta1/cluster_service.proto;l=4342 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java index dd1c6da99cd3..4283630576f9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java @@ -213,7 +213,7 @@ private Type(int value) { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1005 + * google/container/v1beta1/cluster_service.proto;l=1009 * @return The sandboxType. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1005 + * google/container/v1beta1/cluster_service.proto;l=1009 * @return The bytes for sandboxType. */ @java.lang.Override @@ -665,7 +665,7 @@ public Builder mergeFrom( * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1005 + * google/container/v1beta1/cluster_service.proto;l=1009 * @return The sandboxType. */ @java.lang.Deprecated @@ -690,7 +690,7 @@ public java.lang.String getSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1005 + * google/container/v1beta1/cluster_service.proto;l=1009 * @return The bytes for sandboxType. */ @java.lang.Deprecated @@ -715,7 +715,7 @@ public com.google.protobuf.ByteString getSandboxTypeBytes() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1005 + * google/container/v1beta1/cluster_service.proto;l=1009 * @param value The sandboxType to set. * @return This builder for chaining. */ @@ -739,7 +739,7 @@ public Builder setSandboxType(java.lang.String value) { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1005 + * google/container/v1beta1/cluster_service.proto;l=1009 * @return This builder for chaining. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public Builder clearSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1005 + * google/container/v1beta1/cluster_service.proto;l=1009 * @param value The bytes for sandboxType to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java index d922e26010fe..27a686ad7d5f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java @@ -34,7 +34,7 @@ public interface SandboxConfigOrBuilder * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1005 + * google/container/v1beta1/cluster_service.proto;l=1009 * @return The sandboxType. */ @java.lang.Deprecated @@ -49,7 +49,7 @@ public interface SandboxConfigOrBuilder * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1005 + * google/container/v1beta1/cluster_service.proto;l=1009 * @return The bytes for sandboxType. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecondaryBootDiskUpdateStrategy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecondaryBootDiskUpdateStrategy.java new file mode 100644 index 000000000000..51b1fead1c7a --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecondaryBootDiskUpdateStrategy.java @@ -0,0 +1,439 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.container.v1beta1; + +/** + * + * + *
+ * SecondaryBootDiskUpdateStrategy is a placeholder which will be extended
+ * in the future to define different options for updating secondary boot disks.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.SecondaryBootDiskUpdateStrategy} + */ +public final class SecondaryBootDiskUpdateStrategy extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.SecondaryBootDiskUpdateStrategy) + SecondaryBootDiskUpdateStrategyOrBuilder { + private static final long serialVersionUID = 0L; + // Use SecondaryBootDiskUpdateStrategy.newBuilder() to construct. + private SecondaryBootDiskUpdateStrategy( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SecondaryBootDiskUpdateStrategy() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SecondaryBootDiskUpdateStrategy(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecondaryBootDiskUpdateStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecondaryBootDiskUpdateStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.class, + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy)) { + return super.equals(obj); + } + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy other = + (com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy 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.container.v1beta1.SecondaryBootDiskUpdateStrategy parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * SecondaryBootDiskUpdateStrategy is a placeholder which will be extended
+   * in the future to define different options for updating secondary boot disks.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.SecondaryBootDiskUpdateStrategy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SecondaryBootDiskUpdateStrategy) + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecondaryBootDiskUpdateStrategy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecondaryBootDiskUpdateStrategy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.class, + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.Builder.class); + } + + // Construct using com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SecondaryBootDiskUpdateStrategy_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy + getDefaultInstanceForType() { + return com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy build() { + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy buildPartial() { + com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy result = + new com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy) { + return mergeFrom((com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy other) { + if (other + == com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SecondaryBootDiskUpdateStrategy) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.SecondaryBootDiskUpdateStrategy) + private static final com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy(); + } + + public static com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecondaryBootDiskUpdateStrategy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.container.v1beta1.SecondaryBootDiskUpdateStrategy getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecondaryBootDiskUpdateStrategyOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecondaryBootDiskUpdateStrategyOrBuilder.java new file mode 100644 index 000000000000..0d101ab5cae0 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecondaryBootDiskUpdateStrategyOrBuilder.java @@ -0,0 +1,25 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.container.v1beta1; + +public interface SecondaryBootDiskUpdateStrategyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SecondaryBootDiskUpdateStrategy) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java index 6a93c358a285..b0a06915b2d7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3279 + * google/container/v1beta1/cluster_service.proto;l=3286 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3279 + * google/container/v1beta1/cluster_service.proto;l=3286 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3286 + * google/container/v1beta1/cluster_service.proto;l=3293 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3286 + * google/container/v1beta1/cluster_service.proto;l=3293 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3290 + * google/container/v1beta1/cluster_service.proto;l=3297 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3290 + * google/container/v1beta1/cluster_service.proto;l=3297 * @return The bytes for clusterId. */ @java.lang.Override @@ -838,7 +838,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3279 + * google/container/v1beta1/cluster_service.proto;l=3286 * @return The projectId. */ @java.lang.Deprecated @@ -866,7 +866,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3279 + * google/container/v1beta1/cluster_service.proto;l=3286 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -894,7 +894,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3279 + * google/container/v1beta1/cluster_service.proto;l=3286 * @param value The projectId to set. * @return This builder for chaining. */ @@ -921,7 +921,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3279 + * google/container/v1beta1/cluster_service.proto;l=3286 * @return This builder for chaining. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3279 + * google/container/v1beta1/cluster_service.proto;l=3286 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -974,7 +974,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3286 + * google/container/v1beta1/cluster_service.proto;l=3293 * @return The zone. */ @java.lang.Deprecated @@ -1002,7 +1002,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3286 + * google/container/v1beta1/cluster_service.proto;l=3293 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1030,7 +1030,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3286 + * google/container/v1beta1/cluster_service.proto;l=3293 * @param value The zone to set. * @return This builder for chaining. */ @@ -1057,7 +1057,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3286 + * google/container/v1beta1/cluster_service.proto;l=3293 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1080,7 +1080,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3286 + * google/container/v1beta1/cluster_service.proto;l=3293 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1109,7 +1109,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3290 + * google/container/v1beta1/cluster_service.proto;l=3297 * @return The clusterId. */ @java.lang.Deprecated @@ -1136,7 +1136,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3290 + * google/container/v1beta1/cluster_service.proto;l=3297 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1163,7 +1163,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3290 + * google/container/v1beta1/cluster_service.proto;l=3297 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1189,7 +1189,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3290 + * google/container/v1beta1/cluster_service.proto;l=3297 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1211,7 +1211,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3290 + * google/container/v1beta1/cluster_service.proto;l=3297 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java index b5e05121eb46..41cf2e828d94 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3279 + * google/container/v1beta1/cluster_service.proto;l=3286 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3279 + * google/container/v1beta1/cluster_service.proto;l=3286 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3286 + * google/container/v1beta1/cluster_service.proto;l=3293 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3286 + * google/container/v1beta1/cluster_service.proto;l=3293 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3290 + * google/container/v1beta1/cluster_service.proto;l=3297 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3290 + * google/container/v1beta1/cluster_service.proto;l=3297 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java index dedc2efb06d1..678ba90940d5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java @@ -98,7 +98,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4542 * @return The projectId. */ @java.lang.Override @@ -127,7 +127,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4542 * @return The bytes for projectId. */ @java.lang.Override @@ -161,7 +161,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4542 + * google/container/v1beta1/cluster_service.proto;l=4549 * @return The zone. */ @java.lang.Override @@ -190,7 +190,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4542 + * google/container/v1beta1/cluster_service.proto;l=4549 * @return The bytes for zone. */ @java.lang.Override @@ -223,7 +223,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4546 + * google/container/v1beta1/cluster_service.proto;l=4553 * @return The clusterId. */ @java.lang.Override @@ -251,7 +251,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4546 + * google/container/v1beta1/cluster_service.proto;l=4553 * @return The bytes for clusterId. */ @java.lang.Override @@ -1001,7 +1001,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4542 * @return The projectId. */ @java.lang.Deprecated @@ -1029,7 +1029,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4542 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1057,7 +1057,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4542 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1084,7 +1084,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4542 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1107,7 +1107,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4542 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1137,7 +1137,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4542 + * google/container/v1beta1/cluster_service.proto;l=4549 * @return The zone. */ @java.lang.Deprecated @@ -1165,7 +1165,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4542 + * google/container/v1beta1/cluster_service.proto;l=4549 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1193,7 +1193,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4542 + * google/container/v1beta1/cluster_service.proto;l=4549 * @param value The zone to set. * @return This builder for chaining. */ @@ -1220,7 +1220,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4542 + * google/container/v1beta1/cluster_service.proto;l=4549 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1243,7 +1243,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4542 + * google/container/v1beta1/cluster_service.proto;l=4549 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1272,7 +1272,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4546 + * google/container/v1beta1/cluster_service.proto;l=4553 * @return The clusterId. */ @java.lang.Deprecated @@ -1299,7 +1299,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4546 + * google/container/v1beta1/cluster_service.proto;l=4553 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1326,7 +1326,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4546 + * google/container/v1beta1/cluster_service.proto;l=4553 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1352,7 +1352,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4546 + * google/container/v1beta1/cluster_service.proto;l=4553 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1374,7 +1374,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4546 + * google/container/v1beta1/cluster_service.proto;l=4553 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java index f289171c0866..6e3a3d196b36 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4542 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4535 + * google/container/v1beta1/cluster_service.proto;l=4542 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4542 + * google/container/v1beta1/cluster_service.proto;l=4549 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4542 + * google/container/v1beta1/cluster_service.proto;l=4549 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4546 + * google/container/v1beta1/cluster_service.proto;l=4553 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4546 + * google/container/v1beta1/cluster_service.proto;l=4553 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java index 3cf93098898f..3d434fd3bac0 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4572 + * google/container/v1beta1/cluster_service.proto;l=4579 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4572 + * google/container/v1beta1/cluster_service.proto;l=4579 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4579 + * google/container/v1beta1/cluster_service.proto;l=4586 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4579 + * google/container/v1beta1/cluster_service.proto;l=4586 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4583 + * google/container/v1beta1/cluster_service.proto;l=4590 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4583 + * google/container/v1beta1/cluster_service.proto;l=4590 * @return The bytes for clusterId. */ @java.lang.Override @@ -776,7 +776,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4572 + * google/container/v1beta1/cluster_service.proto;l=4579 * @return The projectId. */ @java.lang.Deprecated @@ -804,7 +804,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4572 + * google/container/v1beta1/cluster_service.proto;l=4579 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -832,7 +832,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4572 + * google/container/v1beta1/cluster_service.proto;l=4579 * @param value The projectId to set. * @return This builder for chaining. */ @@ -859,7 +859,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4572 + * google/container/v1beta1/cluster_service.proto;l=4579 * @return This builder for chaining. */ @java.lang.Deprecated @@ -882,7 +882,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4572 + * google/container/v1beta1/cluster_service.proto;l=4579 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -912,7 +912,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4579 + * google/container/v1beta1/cluster_service.proto;l=4586 * @return The zone. */ @java.lang.Deprecated @@ -940,7 +940,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4579 + * google/container/v1beta1/cluster_service.proto;l=4586 * @return The bytes for zone. */ @java.lang.Deprecated @@ -968,7 +968,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4579 + * google/container/v1beta1/cluster_service.proto;l=4586 * @param value The zone to set. * @return This builder for chaining. */ @@ -995,7 +995,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4579 + * google/container/v1beta1/cluster_service.proto;l=4586 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4579 + * google/container/v1beta1/cluster_service.proto;l=4586 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1047,7 +1047,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4583 + * google/container/v1beta1/cluster_service.proto;l=4590 * @return The clusterId. */ @java.lang.Deprecated @@ -1074,7 +1074,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4583 + * google/container/v1beta1/cluster_service.proto;l=4590 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1101,7 +1101,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4583 + * google/container/v1beta1/cluster_service.proto;l=4590 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1127,7 +1127,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4583 + * google/container/v1beta1/cluster_service.proto;l=4590 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1149,7 +1149,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4583 + * google/container/v1beta1/cluster_service.proto;l=4590 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java index 33afcb36142d..e189b8968db3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4572 + * google/container/v1beta1/cluster_service.proto;l=4579 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4572 + * google/container/v1beta1/cluster_service.proto;l=4579 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4579 + * google/container/v1beta1/cluster_service.proto;l=4586 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4579 + * google/container/v1beta1/cluster_service.proto;l=4586 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4583 + * google/container/v1beta1/cluster_service.proto;l=4590 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4583 + * google/container/v1beta1/cluster_service.proto;l=4590 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java index f7b359f724bc..8bfaf4d486eb 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3307 + * google/container/v1beta1/cluster_service.proto;l=3314 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3307 + * google/container/v1beta1/cluster_service.proto;l=3314 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3314 + * google/container/v1beta1/cluster_service.proto;l=3321 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3314 + * google/container/v1beta1/cluster_service.proto;l=3321 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3318 + * google/container/v1beta1/cluster_service.proto;l=3325 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3318 + * google/container/v1beta1/cluster_service.proto;l=3325 * @return The bytes for clusterId. */ @java.lang.Override @@ -861,7 +861,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3307 + * google/container/v1beta1/cluster_service.proto;l=3314 * @return The projectId. */ @java.lang.Deprecated @@ -889,7 +889,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3307 + * google/container/v1beta1/cluster_service.proto;l=3314 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -917,7 +917,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3307 + * google/container/v1beta1/cluster_service.proto;l=3314 * @param value The projectId to set. * @return This builder for chaining. */ @@ -944,7 +944,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3307 + * google/container/v1beta1/cluster_service.proto;l=3314 * @return This builder for chaining. */ @java.lang.Deprecated @@ -967,7 +967,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3307 + * google/container/v1beta1/cluster_service.proto;l=3314 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -997,7 +997,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3314 + * google/container/v1beta1/cluster_service.proto;l=3321 * @return The zone. */ @java.lang.Deprecated @@ -1025,7 +1025,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3314 + * google/container/v1beta1/cluster_service.proto;l=3321 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1053,7 +1053,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3314 + * google/container/v1beta1/cluster_service.proto;l=3321 * @param value The zone to set. * @return This builder for chaining. */ @@ -1080,7 +1080,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3314 + * google/container/v1beta1/cluster_service.proto;l=3321 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1103,7 +1103,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3314 + * google/container/v1beta1/cluster_service.proto;l=3321 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1132,7 +1132,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3318 + * google/container/v1beta1/cluster_service.proto;l=3325 * @return The clusterId. */ @java.lang.Deprecated @@ -1159,7 +1159,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3318 + * google/container/v1beta1/cluster_service.proto;l=3325 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1186,7 +1186,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3318 + * google/container/v1beta1/cluster_service.proto;l=3325 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1212,7 +1212,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3318 + * google/container/v1beta1/cluster_service.proto;l=3325 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1234,7 +1234,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3318 + * google/container/v1beta1/cluster_service.proto;l=3325 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java index 84149300e329..874eafaad6c9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3307 + * google/container/v1beta1/cluster_service.proto;l=3314 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3307 + * google/container/v1beta1/cluster_service.proto;l=3314 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3314 + * google/container/v1beta1/cluster_service.proto;l=3321 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3314 + * google/container/v1beta1/cluster_service.proto;l=3321 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3318 + * google/container/v1beta1/cluster_service.proto;l=3325 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3318 + * google/container/v1beta1/cluster_service.proto;l=3325 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java index 66d50105581a..b219c4654eae 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3205 + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3205 + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3212 + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3212 + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3216 + * google/container/v1beta1/cluster_service.proto;l=3223 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3216 + * google/container/v1beta1/cluster_service.proto;l=3223 * @return The bytes for clusterId. */ @java.lang.Override @@ -831,7 +831,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3205 + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The projectId. */ @java.lang.Deprecated @@ -859,7 +859,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3205 + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3205 + * google/container/v1beta1/cluster_service.proto;l=3212 * @param value The projectId to set. * @return This builder for chaining. */ @@ -914,7 +914,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3205 + * google/container/v1beta1/cluster_service.proto;l=3212 * @return This builder for chaining. */ @java.lang.Deprecated @@ -937,7 +937,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3205 + * google/container/v1beta1/cluster_service.proto;l=3212 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -967,7 +967,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3212 + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The zone. */ @java.lang.Deprecated @@ -995,7 +995,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3212 + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3212 + * google/container/v1beta1/cluster_service.proto;l=3219 * @param value The zone to set. * @return This builder for chaining. */ @@ -1050,7 +1050,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3212 + * google/container/v1beta1/cluster_service.proto;l=3219 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1073,7 +1073,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3212 + * google/container/v1beta1/cluster_service.proto;l=3219 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1102,7 +1102,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3216 + * google/container/v1beta1/cluster_service.proto;l=3223 * @return The clusterId. */ @java.lang.Deprecated @@ -1129,7 +1129,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3216 + * google/container/v1beta1/cluster_service.proto;l=3223 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1156,7 +1156,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3216 + * google/container/v1beta1/cluster_service.proto;l=3223 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1182,7 +1182,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3216 + * google/container/v1beta1/cluster_service.proto;l=3223 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1204,7 +1204,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3216 + * google/container/v1beta1/cluster_service.proto;l=3223 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java index 1b0e19784c3b..9f2c37af4e59 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3205 + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3205 + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3212 + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3212 + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3216 + * google/container/v1beta1/cluster_service.proto;l=3223 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3216 + * google/container/v1beta1/cluster_service.proto;l=3223 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java index ff7c28b637f2..590c644c54ed 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java @@ -272,7 +272,7 @@ private Action(int value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3394 + * google/container/v1beta1/cluster_service.proto;l=3401 * @return The projectId. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3394 + * google/container/v1beta1/cluster_service.proto;l=3401 * @return The bytes for projectId. */ @java.lang.Override @@ -335,7 +335,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3401 + * google/container/v1beta1/cluster_service.proto;l=3408 * @return The zone. */ @java.lang.Override @@ -364,7 +364,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3401 + * google/container/v1beta1/cluster_service.proto;l=3408 * @return The bytes for zone. */ @java.lang.Override @@ -397,7 +397,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3405 + * google/container/v1beta1/cluster_service.proto;l=3412 * @return The clusterId. */ @java.lang.Override @@ -425,7 +425,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3405 + * google/container/v1beta1/cluster_service.proto;l=3412 * @return The bytes for clusterId. */ @java.lang.Override @@ -1081,7 +1081,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3394 + * google/container/v1beta1/cluster_service.proto;l=3401 * @return The projectId. */ @java.lang.Deprecated @@ -1109,7 +1109,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3394 + * google/container/v1beta1/cluster_service.proto;l=3401 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1137,7 +1137,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3394 + * google/container/v1beta1/cluster_service.proto;l=3401 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1164,7 +1164,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3394 + * google/container/v1beta1/cluster_service.proto;l=3401 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1187,7 +1187,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3394 + * google/container/v1beta1/cluster_service.proto;l=3401 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1217,7 +1217,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3401 + * google/container/v1beta1/cluster_service.proto;l=3408 * @return The zone. */ @java.lang.Deprecated @@ -1245,7 +1245,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3401 + * google/container/v1beta1/cluster_service.proto;l=3408 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1273,7 +1273,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3401 + * google/container/v1beta1/cluster_service.proto;l=3408 * @param value The zone to set. * @return This builder for chaining. */ @@ -1300,7 +1300,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3401 + * google/container/v1beta1/cluster_service.proto;l=3408 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1323,7 +1323,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3401 + * google/container/v1beta1/cluster_service.proto;l=3408 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1352,7 +1352,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3405 + * google/container/v1beta1/cluster_service.proto;l=3412 * @return The clusterId. */ @java.lang.Deprecated @@ -1379,7 +1379,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3405 + * google/container/v1beta1/cluster_service.proto;l=3412 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1406,7 +1406,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3405 + * google/container/v1beta1/cluster_service.proto;l=3412 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1432,7 +1432,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3405 + * google/container/v1beta1/cluster_service.proto;l=3412 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1454,7 +1454,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3405 + * google/container/v1beta1/cluster_service.proto;l=3412 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java index 3c33234fa2c7..a91c7a1ef35d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3394 + * google/container/v1beta1/cluster_service.proto;l=3401 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3394 + * google/container/v1beta1/cluster_service.proto;l=3401 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3401 + * google/container/v1beta1/cluster_service.proto;l=3408 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3401 + * google/container/v1beta1/cluster_service.proto;l=3408 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3405 + * google/container/v1beta1/cluster_service.proto;l=3412 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3405 + * google/container/v1beta1/cluster_service.proto;l=3412 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java index 31a928659b8f..b855f7f58ae2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3242 + * google/container/v1beta1/cluster_service.proto;l=3249 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3242 + * google/container/v1beta1/cluster_service.proto;l=3249 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3249 + * google/container/v1beta1/cluster_service.proto;l=3256 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3249 + * google/container/v1beta1/cluster_service.proto;l=3256 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3253 + * google/container/v1beta1/cluster_service.proto;l=3260 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3253 + * google/container/v1beta1/cluster_service.proto;l=3260 * @return The bytes for clusterId. */ @java.lang.Override @@ -831,7 +831,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3242 + * See google/container/v1beta1/cluster_service.proto;l=3249 * @return The projectId. */ @java.lang.Deprecated @@ -859,7 +859,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3242 + * See google/container/v1beta1/cluster_service.proto;l=3249 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3242 + * See google/container/v1beta1/cluster_service.proto;l=3249 * @param value The projectId to set. * @return This builder for chaining. */ @@ -914,7 +914,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3242 + * See google/container/v1beta1/cluster_service.proto;l=3249 * @return This builder for chaining. */ @java.lang.Deprecated @@ -937,7 +937,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3242 + * See google/container/v1beta1/cluster_service.proto;l=3249 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -967,7 +967,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3249 + * google/container/v1beta1/cluster_service.proto;l=3256 * @return The zone. */ @java.lang.Deprecated @@ -995,7 +995,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3249 + * google/container/v1beta1/cluster_service.proto;l=3256 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3249 + * google/container/v1beta1/cluster_service.proto;l=3256 * @param value The zone to set. * @return This builder for chaining. */ @@ -1050,7 +1050,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3249 + * google/container/v1beta1/cluster_service.proto;l=3256 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1073,7 +1073,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3249 + * google/container/v1beta1/cluster_service.proto;l=3256 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1102,7 +1102,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3253 + * See google/container/v1beta1/cluster_service.proto;l=3260 * @return The clusterId. */ @java.lang.Deprecated @@ -1129,7 +1129,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3253 + * See google/container/v1beta1/cluster_service.proto;l=3260 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1156,7 +1156,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3253 + * See google/container/v1beta1/cluster_service.proto;l=3260 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1182,7 +1182,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3253 + * See google/container/v1beta1/cluster_service.proto;l=3260 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1204,7 +1204,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3253 + * See google/container/v1beta1/cluster_service.proto;l=3260 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java index 6a92cdac74f7..eff38ffa47e8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3242 + * google/container/v1beta1/cluster_service.proto;l=3249 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3242 + * google/container/v1beta1/cluster_service.proto;l=3249 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3249 + * google/container/v1beta1/cluster_service.proto;l=3256 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3249 + * google/container/v1beta1/cluster_service.proto;l=3256 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3253 + * google/container/v1beta1/cluster_service.proto;l=3260 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3253 + * google/container/v1beta1/cluster_service.proto;l=3260 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java index 0f645ef51c65..a68cbe8647ff 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4779 + * google/container/v1beta1/cluster_service.proto;l=4786 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4779 + * google/container/v1beta1/cluster_service.proto;l=4786 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4786 + * google/container/v1beta1/cluster_service.proto;l=4793 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4786 + * google/container/v1beta1/cluster_service.proto;l=4793 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4790 + * google/container/v1beta1/cluster_service.proto;l=4797 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4790 + * google/container/v1beta1/cluster_service.proto;l=4797 * @return The bytes for clusterId. */ @java.lang.Override @@ -835,7 +835,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4779 + * google/container/v1beta1/cluster_service.proto;l=4786 * @return The projectId. */ @java.lang.Deprecated @@ -863,7 +863,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4779 + * google/container/v1beta1/cluster_service.proto;l=4786 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -891,7 +891,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4779 + * google/container/v1beta1/cluster_service.proto;l=4786 * @param value The projectId to set. * @return This builder for chaining. */ @@ -918,7 +918,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4779 + * google/container/v1beta1/cluster_service.proto;l=4786 * @return This builder for chaining. */ @java.lang.Deprecated @@ -941,7 +941,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4779 + * google/container/v1beta1/cluster_service.proto;l=4786 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -971,7 +971,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4786 + * google/container/v1beta1/cluster_service.proto;l=4793 * @return The zone. */ @java.lang.Deprecated @@ -999,7 +999,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4786 + * google/container/v1beta1/cluster_service.proto;l=4793 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1027,7 +1027,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4786 + * google/container/v1beta1/cluster_service.proto;l=4793 * @param value The zone to set. * @return This builder for chaining. */ @@ -1054,7 +1054,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4786 + * google/container/v1beta1/cluster_service.proto;l=4793 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1077,7 +1077,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4786 + * google/container/v1beta1/cluster_service.proto;l=4793 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1106,7 +1106,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4790 + * google/container/v1beta1/cluster_service.proto;l=4797 * @return The clusterId. */ @java.lang.Deprecated @@ -1133,7 +1133,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4790 + * google/container/v1beta1/cluster_service.proto;l=4797 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1160,7 +1160,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4790 + * google/container/v1beta1/cluster_service.proto;l=4797 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1186,7 +1186,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4790 + * google/container/v1beta1/cluster_service.proto;l=4797 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1208,7 +1208,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4790 + * google/container/v1beta1/cluster_service.proto;l=4797 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java index afad74decb95..703058498105 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4779 + * google/container/v1beta1/cluster_service.proto;l=4786 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4779 + * google/container/v1beta1/cluster_service.proto;l=4786 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4786 + * google/container/v1beta1/cluster_service.proto;l=4793 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4786 + * google/container/v1beta1/cluster_service.proto;l=4793 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4790 + * google/container/v1beta1/cluster_service.proto;l=4797 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4790 + * google/container/v1beta1/cluster_service.proto;l=4797 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java index 5fdfae9c920a..a7771c086497 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3172 + * See google/container/v1beta1/cluster_service.proto;l=3179 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3172 + * See google/container/v1beta1/cluster_service.proto;l=3179 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3179 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3179 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3183 + * See google/container/v1beta1/cluster_service.proto;l=3190 * @return The clusterId. */ @java.lang.Override @@ -238,7 +238,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3183 + * See google/container/v1beta1/cluster_service.proto;l=3190 * @return The bytes for clusterId. */ @java.lang.Override @@ -271,7 +271,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3188 + * See google/container/v1beta1/cluster_service.proto;l=3195 * @return The nodePoolId. */ @java.lang.Override @@ -299,7 +299,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3188 + * See google/container/v1beta1/cluster_service.proto;l=3195 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -924,7 +924,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3172 + * See google/container/v1beta1/cluster_service.proto;l=3179 * @return The projectId. */ @java.lang.Deprecated @@ -952,7 +952,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3172 + * See google/container/v1beta1/cluster_service.proto;l=3179 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3172 + * See google/container/v1beta1/cluster_service.proto;l=3179 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1007,7 +1007,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3172 + * See google/container/v1beta1/cluster_service.proto;l=3179 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1030,7 +1030,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3172 + * See google/container/v1beta1/cluster_service.proto;l=3179 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1060,7 +1060,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3179 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The zone. */ @java.lang.Deprecated @@ -1088,7 +1088,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3179 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1116,7 +1116,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3179 + * google/container/v1beta1/cluster_service.proto;l=3186 * @param value The zone to set. * @return This builder for chaining. */ @@ -1143,7 +1143,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3179 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1166,7 +1166,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3179 + * google/container/v1beta1/cluster_service.proto;l=3186 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1195,7 +1195,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3183 + * See google/container/v1beta1/cluster_service.proto;l=3190 * @return The clusterId. */ @java.lang.Deprecated @@ -1222,7 +1222,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3183 + * See google/container/v1beta1/cluster_service.proto;l=3190 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1249,7 +1249,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3183 + * See google/container/v1beta1/cluster_service.proto;l=3190 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1275,7 +1275,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3183 + * See google/container/v1beta1/cluster_service.proto;l=3190 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1297,7 +1297,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3183 + * See google/container/v1beta1/cluster_service.proto;l=3190 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1326,7 +1326,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3188 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3195 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1353,7 +1353,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3188 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3195 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1380,7 +1380,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3188 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3195 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1406,7 +1406,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3188 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3195 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1428,7 +1428,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3188 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3195 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java index 3c20608fe4d4..27ae3cfe4c28 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3172 + * See google/container/v1beta1/cluster_service.proto;l=3179 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3172 + * See google/container/v1beta1/cluster_service.proto;l=3179 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3179 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3179 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3183 + * See google/container/v1beta1/cluster_service.proto;l=3190 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3183 + * See google/container/v1beta1/cluster_service.proto;l=3190 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -145,7 +145,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3188 + * See google/container/v1beta1/cluster_service.proto;l=3195 * @return The nodePoolId. */ @java.lang.Deprecated @@ -162,7 +162,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3188 + * See google/container/v1beta1/cluster_service.proto;l=3195 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java index 1d4a609c88c5..b3f5ad3db305 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4242 + * google/container/v1beta1/cluster_service.proto;l=4249 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4242 + * google/container/v1beta1/cluster_service.proto;l=4249 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4249 + * google/container/v1beta1/cluster_service.proto;l=4256 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4249 + * google/container/v1beta1/cluster_service.proto;l=4256 * @return The bytes for zone. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4253 + * google/container/v1beta1/cluster_service.proto;l=4260 * @return The clusterId. */ @java.lang.Override @@ -239,7 +239,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4253 + * google/container/v1beta1/cluster_service.proto;l=4260 * @return The bytes for clusterId. */ @java.lang.Override @@ -272,7 +272,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4258 + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The nodePoolId. */ @java.lang.Override @@ -300,7 +300,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4258 + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -925,7 +925,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4242 + * See google/container/v1beta1/cluster_service.proto;l=4249 * @return The projectId. */ @java.lang.Deprecated @@ -953,7 +953,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4242 + * See google/container/v1beta1/cluster_service.proto;l=4249 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -981,7 +981,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4242 + * See google/container/v1beta1/cluster_service.proto;l=4249 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4242 + * See google/container/v1beta1/cluster_service.proto;l=4249 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1031,7 +1031,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4242 + * See google/container/v1beta1/cluster_service.proto;l=4249 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1061,7 +1061,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4249 + * google/container/v1beta1/cluster_service.proto;l=4256 * @return The zone. */ @java.lang.Deprecated @@ -1089,7 +1089,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4249 + * google/container/v1beta1/cluster_service.proto;l=4256 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4249 + * google/container/v1beta1/cluster_service.proto;l=4256 * @param value The zone to set. * @return This builder for chaining. */ @@ -1144,7 +1144,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4249 + * google/container/v1beta1/cluster_service.proto;l=4256 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1167,7 +1167,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4249 + * google/container/v1beta1/cluster_service.proto;l=4256 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1196,7 +1196,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * See google/container/v1beta1/cluster_service.proto;l=4260 * @return The clusterId. */ @java.lang.Deprecated @@ -1223,7 +1223,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * See google/container/v1beta1/cluster_service.proto;l=4260 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1250,7 +1250,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * See google/container/v1beta1/cluster_service.proto;l=4260 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1276,7 +1276,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * See google/container/v1beta1/cluster_service.proto;l=4260 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1298,7 +1298,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * See google/container/v1beta1/cluster_service.proto;l=4260 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1327,7 +1327,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4258 + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1354,7 +1354,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4258 + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1381,7 +1381,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4258 + * See google/container/v1beta1/cluster_service.proto;l=4265 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1407,7 +1407,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4258 + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1429,7 +1429,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4258 + * See google/container/v1beta1/cluster_service.proto;l=4265 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java index f90117ec0c01..1e11f52825d4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4242 + * google/container/v1beta1/cluster_service.proto;l=4249 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4242 + * google/container/v1beta1/cluster_service.proto;l=4249 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4249 + * google/container/v1beta1/cluster_service.proto;l=4256 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4249 + * google/container/v1beta1/cluster_service.proto;l=4256 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4253 + * google/container/v1beta1/cluster_service.proto;l=4260 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4253 + * google/container/v1beta1/cluster_service.proto;l=4260 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -145,7 +145,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4258 + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The nodePoolId. */ @java.lang.Deprecated @@ -162,7 +162,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4258 + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java index a12c561bbe1e..48c4133016f4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4275 + * google/container/v1beta1/cluster_service.proto;l=4282 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4275 + * google/container/v1beta1/cluster_service.proto;l=4282 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4282 + * google/container/v1beta1/cluster_service.proto;l=4289 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4282 + * google/container/v1beta1/cluster_service.proto;l=4289 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4286 + * google/container/v1beta1/cluster_service.proto;l=4293 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4286 + * google/container/v1beta1/cluster_service.proto;l=4293 * @return The bytes for clusterId. */ @java.lang.Override @@ -270,7 +270,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4291 + * google/container/v1beta1/cluster_service.proto;l=4298 * @return The nodePoolId. */ @java.lang.Override @@ -298,7 +298,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4291 + * google/container/v1beta1/cluster_service.proto;l=4298 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -862,7 +862,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4275 + * google/container/v1beta1/cluster_service.proto;l=4282 * @return The projectId. */ @java.lang.Deprecated @@ -890,7 +890,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4275 + * google/container/v1beta1/cluster_service.proto;l=4282 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -918,7 +918,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4275 + * google/container/v1beta1/cluster_service.proto;l=4282 * @param value The projectId to set. * @return This builder for chaining. */ @@ -945,7 +945,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4275 + * google/container/v1beta1/cluster_service.proto;l=4282 * @return This builder for chaining. */ @java.lang.Deprecated @@ -968,7 +968,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4275 + * google/container/v1beta1/cluster_service.proto;l=4282 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4282 + * google/container/v1beta1/cluster_service.proto;l=4289 * @return The zone. */ @java.lang.Deprecated @@ -1026,7 +1026,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4282 + * google/container/v1beta1/cluster_service.proto;l=4289 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1054,7 +1054,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4282 + * google/container/v1beta1/cluster_service.proto;l=4289 * @param value The zone to set. * @return This builder for chaining. */ @@ -1081,7 +1081,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4282 + * google/container/v1beta1/cluster_service.proto;l=4289 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1104,7 +1104,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4282 + * google/container/v1beta1/cluster_service.proto;l=4289 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1133,7 +1133,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4286 + * google/container/v1beta1/cluster_service.proto;l=4293 * @return The clusterId. */ @java.lang.Deprecated @@ -1160,7 +1160,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4286 + * google/container/v1beta1/cluster_service.proto;l=4293 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1187,7 +1187,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4286 + * google/container/v1beta1/cluster_service.proto;l=4293 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1213,7 +1213,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4286 + * google/container/v1beta1/cluster_service.proto;l=4293 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1235,7 +1235,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4286 + * google/container/v1beta1/cluster_service.proto;l=4293 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1264,7 +1264,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4291 + * google/container/v1beta1/cluster_service.proto;l=4298 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1291,7 +1291,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4291 + * google/container/v1beta1/cluster_service.proto;l=4298 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1318,7 +1318,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4291 + * google/container/v1beta1/cluster_service.proto;l=4298 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1344,7 +1344,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4291 + * google/container/v1beta1/cluster_service.proto;l=4298 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1366,7 +1366,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4291 + * google/container/v1beta1/cluster_service.proto;l=4298 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java index 018c5a942c6b..6053fdd05898 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4275 + * google/container/v1beta1/cluster_service.proto;l=4282 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4275 + * google/container/v1beta1/cluster_service.proto;l=4282 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4282 + * google/container/v1beta1/cluster_service.proto;l=4289 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4282 + * google/container/v1beta1/cluster_service.proto;l=4289 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4286 + * google/container/v1beta1/cluster_service.proto;l=4293 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4286 + * google/container/v1beta1/cluster_service.proto;l=4293 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -145,7 +145,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4291 + * google/container/v1beta1/cluster_service.proto;l=4298 * @return The nodePoolId. */ @java.lang.Deprecated @@ -162,7 +162,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4291 + * google/container/v1beta1/cluster_service.proto;l=4298 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java index 215f8997c0fd..e92de616ad82 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4600 + * google/container/v1beta1/cluster_service.proto;l=4607 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4600 + * google/container/v1beta1/cluster_service.proto;l=4607 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4607 + * google/container/v1beta1/cluster_service.proto;l=4614 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4607 + * google/container/v1beta1/cluster_service.proto;l=4614 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4611 + * google/container/v1beta1/cluster_service.proto;l=4618 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4611 + * google/container/v1beta1/cluster_service.proto;l=4618 * @return The bytes for clusterId. */ @java.lang.Override @@ -776,7 +776,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4600 + * google/container/v1beta1/cluster_service.proto;l=4607 * @return The projectId. */ @java.lang.Deprecated @@ -804,7 +804,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4600 + * google/container/v1beta1/cluster_service.proto;l=4607 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -832,7 +832,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4600 + * google/container/v1beta1/cluster_service.proto;l=4607 * @param value The projectId to set. * @return This builder for chaining. */ @@ -859,7 +859,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4600 + * google/container/v1beta1/cluster_service.proto;l=4607 * @return This builder for chaining. */ @java.lang.Deprecated @@ -882,7 +882,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4600 + * google/container/v1beta1/cluster_service.proto;l=4607 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -912,7 +912,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4607 + * google/container/v1beta1/cluster_service.proto;l=4614 * @return The zone. */ @java.lang.Deprecated @@ -940,7 +940,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4607 + * google/container/v1beta1/cluster_service.proto;l=4614 * @return The bytes for zone. */ @java.lang.Deprecated @@ -968,7 +968,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4607 + * google/container/v1beta1/cluster_service.proto;l=4614 * @param value The zone to set. * @return This builder for chaining. */ @@ -995,7 +995,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4607 + * google/container/v1beta1/cluster_service.proto;l=4614 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4607 + * google/container/v1beta1/cluster_service.proto;l=4614 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1047,7 +1047,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4611 + * google/container/v1beta1/cluster_service.proto;l=4618 * @return The clusterId. */ @java.lang.Deprecated @@ -1074,7 +1074,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4611 + * google/container/v1beta1/cluster_service.proto;l=4618 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1101,7 +1101,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4611 + * google/container/v1beta1/cluster_service.proto;l=4618 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1127,7 +1127,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4611 + * google/container/v1beta1/cluster_service.proto;l=4618 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1149,7 +1149,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4611 + * google/container/v1beta1/cluster_service.proto;l=4618 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java index 00bdede71275..a8a86d80e448 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4600 + * google/container/v1beta1/cluster_service.proto;l=4607 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4600 + * google/container/v1beta1/cluster_service.proto;l=4607 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4607 + * google/container/v1beta1/cluster_service.proto;l=4614 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4607 + * google/container/v1beta1/cluster_service.proto;l=4614 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4611 + * google/container/v1beta1/cluster_service.proto;l=4618 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4611 + * google/container/v1beta1/cluster_service.proto;l=4618 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java index 10fbfde8575c..7381de9aa95f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java @@ -333,7 +333,7 @@ private Code(int value) { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4908 + * google/container/v1beta1/cluster_service.proto;l=4915 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -352,7 +352,7 @@ public int getCodeValue() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4908 + * google/container/v1beta1/cluster_service.proto;l=4915 * @return The code. */ @java.lang.Override @@ -846,7 +846,7 @@ public Builder mergeFrom( * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4908 + * google/container/v1beta1/cluster_service.proto;l=4915 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -865,7 +865,7 @@ public int getCodeValue() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4908 + * google/container/v1beta1/cluster_service.proto;l=4915 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -887,7 +887,7 @@ public Builder setCodeValue(int value) { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4908 + * google/container/v1beta1/cluster_service.proto;l=4915 * @return The code. */ @java.lang.Override @@ -910,7 +910,7 @@ public com.google.container.v1beta1.StatusCondition.Code getCode() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4908 + * google/container/v1beta1/cluster_service.proto;l=4915 * @param value The code to set. * @return This builder for chaining. */ @@ -935,7 +935,7 @@ public Builder setCode(com.google.container.v1beta1.StatusCondition.Code value) * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4908 + * google/container/v1beta1/cluster_service.proto;l=4915 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java index 91d4735753bb..f7148171bae2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java @@ -35,7 +35,7 @@ public interface StatusConditionOrBuilder * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4908 + * google/container/v1beta1/cluster_service.proto;l=4915 * @return The enum numeric value on the wire for code. */ @java.lang.Deprecated @@ -51,7 +51,7 @@ public interface StatusConditionOrBuilder * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4908 + * google/container/v1beta1/cluster_service.proto;l=4915 * @return The code. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java index 0347b72310d5..c8d8087b6c8a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3009 + * google/container/v1beta1/cluster_service.proto;l=3016 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3009 + * google/container/v1beta1/cluster_service.proto;l=3016 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3016 + * google/container/v1beta1/cluster_service.proto;l=3023 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3016 + * google/container/v1beta1/cluster_service.proto;l=3023 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3020 + * google/container/v1beta1/cluster_service.proto;l=3027 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3020 + * google/container/v1beta1/cluster_service.proto;l=3027 * @return The bytes for clusterId. */ @java.lang.Override @@ -834,7 +834,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3009 + * google/container/v1beta1/cluster_service.proto;l=3016 * @return The projectId. */ @java.lang.Deprecated @@ -862,7 +862,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3009 + * google/container/v1beta1/cluster_service.proto;l=3016 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -890,7 +890,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3009 + * google/container/v1beta1/cluster_service.proto;l=3016 * @param value The projectId to set. * @return This builder for chaining. */ @@ -917,7 +917,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3009 + * google/container/v1beta1/cluster_service.proto;l=3016 * @return This builder for chaining. */ @java.lang.Deprecated @@ -940,7 +940,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3009 + * google/container/v1beta1/cluster_service.proto;l=3016 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -970,7 +970,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3016 + * google/container/v1beta1/cluster_service.proto;l=3023 * @return The zone. */ @java.lang.Deprecated @@ -998,7 +998,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3016 + * google/container/v1beta1/cluster_service.proto;l=3023 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1026,7 +1026,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3016 + * google/container/v1beta1/cluster_service.proto;l=3023 * @param value The zone to set. * @return This builder for chaining. */ @@ -1053,7 +1053,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3016 + * google/container/v1beta1/cluster_service.proto;l=3023 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1076,7 +1076,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3016 + * google/container/v1beta1/cluster_service.proto;l=3023 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1105,7 +1105,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3020 + * google/container/v1beta1/cluster_service.proto;l=3027 * @return The clusterId. */ @java.lang.Deprecated @@ -1132,7 +1132,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3020 + * google/container/v1beta1/cluster_service.proto;l=3027 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1159,7 +1159,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3020 + * google/container/v1beta1/cluster_service.proto;l=3027 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1185,7 +1185,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3020 + * google/container/v1beta1/cluster_service.proto;l=3027 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1207,7 +1207,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3020 + * google/container/v1beta1/cluster_service.proto;l=3027 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java index 602a7234344e..14a6cc52ab8d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3009 + * google/container/v1beta1/cluster_service.proto;l=3016 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3009 + * google/container/v1beta1/cluster_service.proto;l=3016 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3016 + * google/container/v1beta1/cluster_service.proto;l=3023 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3016 + * google/container/v1beta1/cluster_service.proto;l=3023 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3020 + * google/container/v1beta1/cluster_service.proto;l=3027 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3020 + * google/container/v1beta1/cluster_service.proto;l=3027 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java index 0323becbce49..c1b7b1e3219f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3340 + * google/container/v1beta1/cluster_service.proto;l=3347 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3340 + * google/container/v1beta1/cluster_service.proto;l=3347 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3347 + * google/container/v1beta1/cluster_service.proto;l=3354 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3347 + * google/container/v1beta1/cluster_service.proto;l=3354 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3351 + * google/container/v1beta1/cluster_service.proto;l=3358 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3351 + * google/container/v1beta1/cluster_service.proto;l=3358 * @return The bytes for clusterId. */ @java.lang.Override @@ -828,7 +828,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3340 + * google/container/v1beta1/cluster_service.proto;l=3347 * @return The projectId. */ @java.lang.Deprecated @@ -856,7 +856,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3340 + * google/container/v1beta1/cluster_service.proto;l=3347 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -884,7 +884,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3340 + * google/container/v1beta1/cluster_service.proto;l=3347 * @param value The projectId to set. * @return This builder for chaining. */ @@ -911,7 +911,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3340 + * google/container/v1beta1/cluster_service.proto;l=3347 * @return This builder for chaining. */ @java.lang.Deprecated @@ -934,7 +934,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3340 + * google/container/v1beta1/cluster_service.proto;l=3347 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -964,7 +964,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3347 + * google/container/v1beta1/cluster_service.proto;l=3354 * @return The zone. */ @java.lang.Deprecated @@ -992,7 +992,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3347 + * google/container/v1beta1/cluster_service.proto;l=3354 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3347 + * google/container/v1beta1/cluster_service.proto;l=3354 * @param value The zone to set. * @return This builder for chaining. */ @@ -1047,7 +1047,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3347 + * google/container/v1beta1/cluster_service.proto;l=3354 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1070,7 +1070,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3347 + * google/container/v1beta1/cluster_service.proto;l=3354 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1099,7 +1099,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3351 + * google/container/v1beta1/cluster_service.proto;l=3358 * @return The clusterId. */ @java.lang.Deprecated @@ -1126,7 +1126,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3351 + * google/container/v1beta1/cluster_service.proto;l=3358 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1153,7 +1153,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3351 + * google/container/v1beta1/cluster_service.proto;l=3358 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1179,7 +1179,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3351 + * google/container/v1beta1/cluster_service.proto;l=3358 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1201,7 +1201,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3351 + * google/container/v1beta1/cluster_service.proto;l=3358 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java index 6f81320d46dd..161444da3d2a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3340 + * google/container/v1beta1/cluster_service.proto;l=3347 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3340 + * google/container/v1beta1/cluster_service.proto;l=3347 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3347 + * google/container/v1beta1/cluster_service.proto;l=3354 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3347 + * google/container/v1beta1/cluster_service.proto;l=3354 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3351 + * google/container/v1beta1/cluster_service.proto;l=3358 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3351 + * google/container/v1beta1/cluster_service.proto;l=3358 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java index 9fbdc5d938a7..5873b9ba618b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java @@ -91,7 +91,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3036 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The projectId. */ @java.lang.Override @@ -120,7 +120,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3036 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The bytes for projectId. */ @java.lang.Override @@ -154,7 +154,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3043 + * google/container/v1beta1/cluster_service.proto;l=3050 * @return The zone. */ @java.lang.Override @@ -183,7 +183,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3043 + * google/container/v1beta1/cluster_service.proto;l=3050 * @return The bytes for zone. */ @java.lang.Override @@ -216,7 +216,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3047 + * google/container/v1beta1/cluster_service.proto;l=3054 * @return The clusterId. */ @java.lang.Override @@ -244,7 +244,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3047 + * google/container/v1beta1/cluster_service.proto;l=3054 * @return The bytes for clusterId. */ @java.lang.Override @@ -277,7 +277,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3052 + * google/container/v1beta1/cluster_service.proto;l=3059 * @return The nodePoolId. */ @java.lang.Override @@ -305,7 +305,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3052 + * google/container/v1beta1/cluster_service.proto;l=3059 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -2870,7 +2870,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3036 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The projectId. */ @java.lang.Deprecated @@ -2898,7 +2898,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3036 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -2926,7 +2926,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3036 + * google/container/v1beta1/cluster_service.proto;l=3043 * @param value The projectId to set. * @return This builder for chaining. */ @@ -2953,7 +2953,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3036 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2976,7 +2976,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3036 + * google/container/v1beta1/cluster_service.proto;l=3043 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -3006,7 +3006,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3043 + * google/container/v1beta1/cluster_service.proto;l=3050 * @return The zone. */ @java.lang.Deprecated @@ -3034,7 +3034,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3043 + * google/container/v1beta1/cluster_service.proto;l=3050 * @return The bytes for zone. */ @java.lang.Deprecated @@ -3062,7 +3062,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3043 + * google/container/v1beta1/cluster_service.proto;l=3050 * @param value The zone to set. * @return This builder for chaining. */ @@ -3089,7 +3089,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3043 + * google/container/v1beta1/cluster_service.proto;l=3050 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3112,7 +3112,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3043 + * google/container/v1beta1/cluster_service.proto;l=3050 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -3141,7 +3141,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3047 + * google/container/v1beta1/cluster_service.proto;l=3054 * @return The clusterId. */ @java.lang.Deprecated @@ -3168,7 +3168,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3047 + * google/container/v1beta1/cluster_service.proto;l=3054 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -3195,7 +3195,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3047 + * google/container/v1beta1/cluster_service.proto;l=3054 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -3221,7 +3221,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3047 + * google/container/v1beta1/cluster_service.proto;l=3054 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3243,7 +3243,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3047 + * google/container/v1beta1/cluster_service.proto;l=3054 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -3272,7 +3272,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3052 + * google/container/v1beta1/cluster_service.proto;l=3059 * @return The nodePoolId. */ @java.lang.Deprecated @@ -3299,7 +3299,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3052 + * google/container/v1beta1/cluster_service.proto;l=3059 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -3326,7 +3326,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3052 + * google/container/v1beta1/cluster_service.proto;l=3059 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -3352,7 +3352,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3052 + * google/container/v1beta1/cluster_service.proto;l=3059 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3374,7 +3374,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3052 + * google/container/v1beta1/cluster_service.proto;l=3059 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java index f56bd7a1801a..3dfb80a4649b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3036 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The projectId. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3036 + * google/container/v1beta1/cluster_service.proto;l=3043 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -74,7 +74,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3043 + * google/container/v1beta1/cluster_service.proto;l=3050 * @return The zone. */ @java.lang.Deprecated @@ -92,7 +92,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3043 + * google/container/v1beta1/cluster_service.proto;l=3050 * @return The bytes for zone. */ @java.lang.Deprecated @@ -110,7 +110,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3047 + * google/container/v1beta1/cluster_service.proto;l=3054 * @return The clusterId. */ @java.lang.Deprecated @@ -127,7 +127,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3047 + * google/container/v1beta1/cluster_service.proto;l=3054 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -145,7 +145,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3052 + * google/container/v1beta1/cluster_service.proto;l=3059 * @return The nodePoolId. */ @java.lang.Deprecated @@ -162,7 +162,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3052 + * google/container/v1beta1/cluster_service.proto;l=3059 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java index 50803adccdcf..ca599d2a3ff8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java @@ -80,7 +80,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5197 + * See google/container/v1beta1/cluster_service.proto;l=5204 * @return The identityNamespace. */ @java.lang.Override @@ -106,7 +106,7 @@ public java.lang.String getIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5197 + * See google/container/v1beta1/cluster_service.proto;l=5204 * @return The bytes for identityNamespace. */ @java.lang.Override @@ -627,7 +627,7 @@ public Builder mergeFrom( * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5197 + * See google/container/v1beta1/cluster_service.proto;l=5204 * @return The identityNamespace. */ @java.lang.Deprecated @@ -652,7 +652,7 @@ public java.lang.String getIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5197 + * See google/container/v1beta1/cluster_service.proto;l=5204 * @return The bytes for identityNamespace. */ @java.lang.Deprecated @@ -677,7 +677,7 @@ public com.google.protobuf.ByteString getIdentityNamespaceBytes() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5197 + * See google/container/v1beta1/cluster_service.proto;l=5204 * @param value The identityNamespace to set. * @return This builder for chaining. */ @@ -701,7 +701,7 @@ public Builder setIdentityNamespace(java.lang.String value) { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5197 + * See google/container/v1beta1/cluster_service.proto;l=5204 * @return This builder for chaining. */ @java.lang.Deprecated @@ -721,7 +721,7 @@ public Builder clearIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5197 + * See google/container/v1beta1/cluster_service.proto;l=5204 * @param value The bytes for identityNamespace to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java index 3c37a18ecc55..0b4b2806b0e8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java @@ -34,7 +34,7 @@ public interface WorkloadIdentityConfigOrBuilder * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5197 + * See google/container/v1beta1/cluster_service.proto;l=5204 * @return The identityNamespace. */ @java.lang.Deprecated @@ -49,7 +49,7 @@ public interface WorkloadIdentityConfigOrBuilder * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=5197 + * See google/container/v1beta1/cluster_service.proto;l=5204 * @return The bytes for identityNamespace. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java index 78f3c31c91b4..b9ba3077bb9f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java @@ -452,7 +452,7 @@ private Mode(int value) { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4767 + * google/container/v1beta1/cluster_service.proto;l=4774 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Override @@ -473,7 +473,7 @@ public int getNodeMetadataValue() { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4767 + * google/container/v1beta1/cluster_service.proto;l=4774 * @return The nodeMetadata. */ @java.lang.Override @@ -908,7 +908,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4767 + * google/container/v1beta1/cluster_service.proto;l=4774 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Override @@ -929,7 +929,7 @@ public int getNodeMetadataValue() { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4767 + * google/container/v1beta1/cluster_service.proto;l=4774 * @param value The enum numeric value on the wire for nodeMetadata to set. * @return This builder for chaining. */ @@ -953,7 +953,7 @@ public Builder setNodeMetadataValue(int value) { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4767 + * google/container/v1beta1/cluster_service.proto;l=4774 * @return The nodeMetadata. */ @java.lang.Override @@ -978,7 +978,7 @@ public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeM * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4767 + * google/container/v1beta1/cluster_service.proto;l=4774 * @param value The nodeMetadata to set. * @return This builder for chaining. */ @@ -1006,7 +1006,7 @@ public Builder setNodeMetadata( * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4767 + * google/container/v1beta1/cluster_service.proto;l=4774 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java index 225ee5fd16af..d679aea960d6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java @@ -37,7 +37,7 @@ public interface WorkloadMetadataConfigOrBuilder * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4767 + * google/container/v1beta1/cluster_service.proto;l=4774 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Deprecated @@ -55,7 +55,7 @@ public interface WorkloadMetadataConfigOrBuilder * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4767 + * google/container/v1beta1/cluster_service.proto;l=4774 * @return The nodeMetadata. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto b/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto index eeed7476891e..ba97b25b466b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto @@ -840,6 +840,10 @@ message NodeConfig { // List of secondary boot disks attached to the nodes. repeated SecondaryBootDisk secondary_boot_disks = 48; + + // Secondary boot disk update strategy. + optional SecondaryBootDiskUpdateStrategy secondary_boot_disk_update_strategy = + 50; } // Specifies options for controlling advanced machine features. @@ -2661,6 +2665,9 @@ message ClusterUpdate { // Google Compute Engine hosts. HostMaintenancePolicy desired_host_maintenance_policy = 132; + // Enable/Disable Multi-Networking for the cluster + optional bool desired_enable_multi_networking = 135; + // The desired resource manager tags that apply to all auto-provisioned node // pools in autopilot clusters and node auto-provisioning enabled clusters. ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136; @@ -5993,3 +6000,7 @@ enum InTransitEncryptionConfig { // Data in-transit is encrypted using inter-node transparent encryption. IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT = 2; } + +// SecondaryBootDiskUpdateStrategy is a placeholder which will be extended +// in the future to define different options for updating secondary boot disks. +message SecondaryBootDiskUpdateStrategy {} diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerClient.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerClient.java index cf950cc07142..358fb23b5475 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerClient.java +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerClient.java @@ -30,6 +30,10 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.edgecontainer.v1.stub.EdgeContainerStub; import com.google.cloud.edgecontainer.v1.stub.EdgeContainerStubSettings; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; import com.google.common.util.concurrent.MoreExecutors; import com.google.longrunning.Operation; import com.google.protobuf.Empty; @@ -148,6 +152,26 @@ * * * + *

UpgradeCluster + *

Upgrades a single cluster. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • upgradeClusterAsync(UpgradeClusterRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • upgradeClusterAsync(ClusterName name, String targetVersion, UpgradeClusterRequest.Schedule schedule) + *

  • upgradeClusterAsync(String name, String targetVersion, UpgradeClusterRequest.Schedule schedule) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • upgradeClusterOperationCallable() + *

  • upgradeClusterCallable() + *

+ * + * + * *

DeleteCluster *

Deletes a single Cluster. * @@ -187,6 +211,25 @@ * * * + *

GenerateOfflineCredential + *

Generates an offline credential for a Cluster. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • generateOfflineCredential(GenerateOfflineCredentialRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • generateOfflineCredential(ClusterName cluster) + *

  • generateOfflineCredential(String cluster) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • generateOfflineCredentialCallable() + *

+ * + * + * *

ListNodePools *

Lists NodePools in a given project and location. * @@ -402,6 +445,54 @@ * * * + * + *

GetServerConfig + *

Gets the server config. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getServerConfig(GetServerConfigRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getServerConfig(LocationName name) + *

  • getServerConfig(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getServerConfigCallable() + *

+ * + * + * + *

ListLocations + *

Lists information about the supported locations for this service. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listLocations(ListLocationsRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() + *

+ * + * + * + *

GetLocation + *

Gets information about a location. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getLocation(GetLocationRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getLocationCallable() + *

+ * + * * * *

See the individual methods for example code. @@ -1098,6 +1189,172 @@ public final UnaryCallable updateClusterCallabl return stub.updateClusterCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Upgrades a single cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   ClusterName name = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]");
+   *   String targetVersion = "targetVersion-1639412217";
+   *   UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0);
+   *   Cluster response =
+   *       edgeContainerClient.upgradeClusterAsync(name, targetVersion, schedule).get();
+   * }
+   * }
+ * + * @param name Required. The resource name of the cluster. + * @param targetVersion Required. The version the cluster is going to be upgraded to. + * @param schedule The schedule for the upgrade. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture upgradeClusterAsync( + ClusterName name, String targetVersion, UpgradeClusterRequest.Schedule schedule) { + UpgradeClusterRequest request = + UpgradeClusterRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setTargetVersion(targetVersion) + .setSchedule(schedule) + .build(); + return upgradeClusterAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Upgrades a single cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   String name = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString();
+   *   String targetVersion = "targetVersion-1639412217";
+   *   UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0);
+   *   Cluster response =
+   *       edgeContainerClient.upgradeClusterAsync(name, targetVersion, schedule).get();
+   * }
+   * }
+ * + * @param name Required. The resource name of the cluster. + * @param targetVersion Required. The version the cluster is going to be upgraded to. + * @param schedule The schedule for the upgrade. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture upgradeClusterAsync( + String name, String targetVersion, UpgradeClusterRequest.Schedule schedule) { + UpgradeClusterRequest request = + UpgradeClusterRequest.newBuilder() + .setName(name) + .setTargetVersion(targetVersion) + .setSchedule(schedule) + .build(); + return upgradeClusterAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Upgrades a single cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   UpgradeClusterRequest request =
+   *       UpgradeClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString())
+   *           .setTargetVersion("targetVersion-1639412217")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Cluster response = edgeContainerClient.upgradeClusterAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture upgradeClusterAsync( + UpgradeClusterRequest request) { + return upgradeClusterOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Upgrades a single cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   UpgradeClusterRequest request =
+   *       UpgradeClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString())
+   *           .setTargetVersion("targetVersion-1639412217")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       edgeContainerClient.upgradeClusterOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + upgradeClusterOperationCallable() { + return stub.upgradeClusterOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Upgrades a single cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   UpgradeClusterRequest request =
+   *       UpgradeClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString())
+   *           .setTargetVersion("targetVersion-1639412217")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       edgeContainerClient.upgradeClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable upgradeClusterCallable() { + return stub.upgradeClusterCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Deletes a single Cluster. @@ -1352,6 +1609,123 @@ public final GenerateAccessTokenResponse generateAccessToken(GenerateAccessToken return stub.generateAccessTokenCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates an offline credential for a Cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   ClusterName cluster = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]");
+   *   GenerateOfflineCredentialResponse response =
+   *       edgeContainerClient.generateOfflineCredential(cluster);
+   * }
+   * }
+ * + * @param cluster Required. The resource name of the cluster. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateOfflineCredentialResponse generateOfflineCredential(ClusterName cluster) { + GenerateOfflineCredentialRequest request = + GenerateOfflineCredentialRequest.newBuilder() + .setCluster(cluster == null ? null : cluster.toString()) + .build(); + return generateOfflineCredential(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates an offline credential for a Cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   String cluster = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString();
+   *   GenerateOfflineCredentialResponse response =
+   *       edgeContainerClient.generateOfflineCredential(cluster);
+   * }
+   * }
+ * + * @param cluster Required. The resource name of the cluster. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateOfflineCredentialResponse generateOfflineCredential(String cluster) { + GenerateOfflineCredentialRequest request = + GenerateOfflineCredentialRequest.newBuilder().setCluster(cluster).build(); + return generateOfflineCredential(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates an offline credential for a Cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   GenerateOfflineCredentialRequest request =
+   *       GenerateOfflineCredentialRequest.newBuilder()
+   *           .setCluster(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString())
+   *           .build();
+   *   GenerateOfflineCredentialResponse response =
+   *       edgeContainerClient.generateOfflineCredential(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateOfflineCredentialResponse generateOfflineCredential( + GenerateOfflineCredentialRequest request) { + return generateOfflineCredentialCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates an offline credential for a Cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   GenerateOfflineCredentialRequest request =
+   *       GenerateOfflineCredentialRequest.newBuilder()
+   *           .setCluster(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       edgeContainerClient.generateOfflineCredentialCallable().futureCall(request);
+   *   // Do something.
+   *   GenerateOfflineCredentialResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + generateOfflineCredentialCallable() { + return stub.generateOfflineCredentialCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists NodePools in a given project and location. @@ -2952,6 +3326,272 @@ public final UnaryCallable deleteVpnConne return stub.deleteVpnConnectionCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the server config. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   LocationName name = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   ServerConfig response = edgeContainerClient.getServerConfig(name);
+   * }
+   * }
+ * + * @param name Required. The name (project and location) of the server config to get, specified in + * the format `projects/*/locations/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ServerConfig getServerConfig(LocationName name) { + GetServerConfigRequest request = + GetServerConfigRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getServerConfig(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the server config. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   String name = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   ServerConfig response = edgeContainerClient.getServerConfig(name);
+   * }
+   * }
+ * + * @param name Required. The name (project and location) of the server config to get, specified in + * the format `projects/*/locations/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ServerConfig getServerConfig(String name) { + GetServerConfigRequest request = GetServerConfigRequest.newBuilder().setName(name).build(); + return getServerConfig(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the server config. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   GetServerConfigRequest request =
+   *       GetServerConfigRequest.newBuilder()
+   *           .setName(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .build();
+   *   ServerConfig response = edgeContainerClient.getServerConfig(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ServerConfig getServerConfig(GetServerConfigRequest request) { + return getServerConfigCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the server config. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   GetServerConfigRequest request =
+   *       GetServerConfigRequest.newBuilder()
+   *           .setName(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       edgeContainerClient.getServerConfigCallable().futureCall(request);
+   *   // Do something.
+   *   ServerConfig response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getServerConfigCallable() { + return stub.getServerConfigCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   ListLocationsRequest request =
+   *       ListLocationsRequest.newBuilder()
+   *           .setName("name3373707")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Location element : edgeContainerClient.listLocations(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListLocationsPagedResponse listLocations(ListLocationsRequest request) { + return listLocationsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   ListLocationsRequest request =
+   *       ListLocationsRequest.newBuilder()
+   *           .setName("name3373707")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       edgeContainerClient.listLocationsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Location element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listLocationsPagedCallable() { + return stub.listLocationsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   ListLocationsRequest request =
+   *       ListLocationsRequest.newBuilder()
+   *           .setName("name3373707")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListLocationsResponse response = edgeContainerClient.listLocationsCallable().call(request);
+   *     for (Location element : response.getLocationsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listLocationsCallable() { + return stub.listLocationsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+   *   Location response = edgeContainerClient.getLocation(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Location getLocation(GetLocationRequest request) { + return getLocationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) {
+   *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+   *   ApiFuture future = edgeContainerClient.getLocationCallable().futureCall(request);
+   *   // Do something.
+   *   Location response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getLocationCallable() { + return stub.getLocationCallable(); + } + @Override public final void close() { stub.close(); @@ -3287,4 +3927,80 @@ protected ListVpnConnectionsFixedSizeCollection createCollection( return new ListVpnConnectionsFixedSizeCollection(pages, collectionSize); } } + + public static class ListLocationsPagedResponse + extends AbstractPagedListResponse< + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, + ListLocationsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListLocationsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListLocationsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListLocationsPagedResponse(ListLocationsPage page) { + super(page, ListLocationsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListLocationsPage + extends AbstractPage< + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage> { + + private ListLocationsPage( + PageContext context, + ListLocationsResponse response) { + super(context, response); + } + + private static ListLocationsPage createEmptyPage() { + return new ListLocationsPage(null, null); + } + + @Override + protected ListLocationsPage createPage( + PageContext context, + ListLocationsResponse response) { + return new ListLocationsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListLocationsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, + ListLocationsFixedSizeCollection> { + + private ListLocationsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListLocationsFixedSizeCollection createEmptyCollection() { + return new ListLocationsFixedSizeCollection(null, 0); + } + + @Override + protected ListLocationsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListLocationsFixedSizeCollection(pages, collectionSize); + } + } } diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerSettings.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerSettings.java index eca621d6eae2..626fecc57aa4 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerSettings.java +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerSettings.java @@ -17,6 +17,7 @@ package com.google.cloud.edgecontainer.v1; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListClustersPagedResponse; +import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListLocationsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListMachinesPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListNodePoolsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListVpnConnectionsPagedResponse; @@ -35,6 +36,10 @@ import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.edgecontainer.v1.stub.EdgeContainerStubSettings; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; import com.google.longrunning.Operation; import com.google.protobuf.Empty; import java.io.IOException; @@ -113,6 +118,17 @@ public UnaryCallSettings updateClusterSettings( return ((EdgeContainerStubSettings) getStubSettings()).updateClusterOperationSettings(); } + /** Returns the object with the settings used for calls to upgradeCluster. */ + public UnaryCallSettings upgradeClusterSettings() { + return ((EdgeContainerStubSettings) getStubSettings()).upgradeClusterSettings(); + } + + /** Returns the object with the settings used for calls to upgradeCluster. */ + public OperationCallSettings + upgradeClusterOperationSettings() { + return ((EdgeContainerStubSettings) getStubSettings()).upgradeClusterOperationSettings(); + } + /** Returns the object with the settings used for calls to deleteCluster. */ public UnaryCallSettings deleteClusterSettings() { return ((EdgeContainerStubSettings) getStubSettings()).deleteClusterSettings(); @@ -130,6 +146,12 @@ public UnaryCallSettings deleteClusterSettings( return ((EdgeContainerStubSettings) getStubSettings()).generateAccessTokenSettings(); } + /** Returns the object with the settings used for calls to generateOfflineCredential. */ + public UnaryCallSettings + generateOfflineCredentialSettings() { + return ((EdgeContainerStubSettings) getStubSettings()).generateOfflineCredentialSettings(); + } + /** Returns the object with the settings used for calls to listNodePools. */ public PagedCallSettings listNodePoolsSettings() { @@ -219,6 +241,22 @@ public UnaryCallSettings deleteVpnConnect return ((EdgeContainerStubSettings) getStubSettings()).deleteVpnConnectionOperationSettings(); } + /** Returns the object with the settings used for calls to getServerConfig. */ + public UnaryCallSettings getServerConfigSettings() { + return ((EdgeContainerStubSettings) getStubSettings()).getServerConfigSettings(); + } + + /** Returns the object with the settings used for calls to listLocations. */ + public PagedCallSettings + listLocationsSettings() { + return ((EdgeContainerStubSettings) getStubSettings()).listLocationsSettings(); + } + + /** Returns the object with the settings used for calls to getLocation. */ + public UnaryCallSettings getLocationSettings() { + return ((EdgeContainerStubSettings) getStubSettings()).getLocationSettings(); + } + public static final EdgeContainerSettings create(EdgeContainerStubSettings stub) throws IOException { return new EdgeContainerSettings.Builder(stub.toBuilder()).build(); @@ -365,6 +403,17 @@ public UnaryCallSettings.Builder updateClusterS return getStubSettingsBuilder().updateClusterOperationSettings(); } + /** Returns the builder for the settings used for calls to upgradeCluster. */ + public UnaryCallSettings.Builder upgradeClusterSettings() { + return getStubSettingsBuilder().upgradeClusterSettings(); + } + + /** Returns the builder for the settings used for calls to upgradeCluster. */ + public OperationCallSettings.Builder + upgradeClusterOperationSettings() { + return getStubSettingsBuilder().upgradeClusterOperationSettings(); + } + /** Returns the builder for the settings used for calls to deleteCluster. */ public UnaryCallSettings.Builder deleteClusterSettings() { return getStubSettingsBuilder().deleteClusterSettings(); @@ -382,6 +431,13 @@ public UnaryCallSettings.Builder deleteClusterS return getStubSettingsBuilder().generateAccessTokenSettings(); } + /** Returns the builder for the settings used for calls to generateOfflineCredential. */ + public UnaryCallSettings.Builder< + GenerateOfflineCredentialRequest, GenerateOfflineCredentialResponse> + generateOfflineCredentialSettings() { + return getStubSettingsBuilder().generateOfflineCredentialSettings(); + } + /** Returns the builder for the settings used for calls to listNodePools. */ public PagedCallSettings.Builder< ListNodePoolsRequest, ListNodePoolsResponse, ListNodePoolsPagedResponse> @@ -477,6 +533,24 @@ public UnaryCallSettings.Builder getMachineSettings( return getStubSettingsBuilder().deleteVpnConnectionOperationSettings(); } + /** Returns the builder for the settings used for calls to getServerConfig. */ + public UnaryCallSettings.Builder + getServerConfigSettings() { + return getStubSettingsBuilder().getServerConfigSettings(); + } + + /** Returns the builder for the settings used for calls to listLocations. */ + public PagedCallSettings.Builder< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings() { + return getStubSettingsBuilder().listLocationsSettings(); + } + + /** Returns the builder for the settings used for calls to getLocation. */ + public UnaryCallSettings.Builder getLocationSettings() { + return getStubSettingsBuilder().getLocationSettings(); + } + @Override public EdgeContainerSettings build() throws IOException { return new EdgeContainerSettings(this); diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/gapic_metadata.json b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/gapic_metadata.json index c7754f8c5b63..9b5fd870655e 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/gapic_metadata.json +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/gapic_metadata.json @@ -31,21 +31,33 @@ "GenerateAccessToken": { "methods": ["generateAccessToken", "generateAccessToken", "generateAccessToken", "generateAccessTokenCallable"] }, + "GenerateOfflineCredential": { + "methods": ["generateOfflineCredential", "generateOfflineCredential", "generateOfflineCredential", "generateOfflineCredentialCallable"] + }, "GetCluster": { "methods": ["getCluster", "getCluster", "getCluster", "getClusterCallable"] }, + "GetLocation": { + "methods": ["getLocation", "getLocationCallable"] + }, "GetMachine": { "methods": ["getMachine", "getMachine", "getMachine", "getMachineCallable"] }, "GetNodePool": { "methods": ["getNodePool", "getNodePool", "getNodePool", "getNodePoolCallable"] }, + "GetServerConfig": { + "methods": ["getServerConfig", "getServerConfig", "getServerConfig", "getServerConfigCallable"] + }, "GetVpnConnection": { "methods": ["getVpnConnection", "getVpnConnection", "getVpnConnection", "getVpnConnectionCallable"] }, "ListClusters": { "methods": ["listClusters", "listClusters", "listClusters", "listClustersPagedCallable", "listClustersCallable"] }, + "ListLocations": { + "methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"] + }, "ListMachines": { "methods": ["listMachines", "listMachines", "listMachines", "listMachinesPagedCallable", "listMachinesCallable"] }, @@ -60,6 +72,9 @@ }, "UpdateNodePool": { "methods": ["updateNodePoolAsync", "updateNodePoolAsync", "updateNodePoolOperationCallable", "updateNodePoolCallable"] + }, + "UpgradeCluster": { + "methods": ["upgradeClusterAsync", "upgradeClusterAsync", "upgradeClusterAsync", "upgradeClusterOperationCallable", "upgradeClusterCallable"] } } } diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStub.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStub.java index 80d8f851cd78..ba61be10f4e2 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStub.java +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStub.java @@ -17,6 +17,7 @@ package com.google.cloud.edgecontainer.v1.stub; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListClustersPagedResponse; +import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListLocationsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListMachinesPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListNodePoolsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListVpnConnectionsPagedResponse; @@ -33,9 +34,12 @@ import com.google.cloud.edgecontainer.v1.DeleteVpnConnectionRequest; import com.google.cloud.edgecontainer.v1.GenerateAccessTokenRequest; import com.google.cloud.edgecontainer.v1.GenerateAccessTokenResponse; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse; import com.google.cloud.edgecontainer.v1.GetClusterRequest; import com.google.cloud.edgecontainer.v1.GetMachineRequest; import com.google.cloud.edgecontainer.v1.GetNodePoolRequest; +import com.google.cloud.edgecontainer.v1.GetServerConfigRequest; import com.google.cloud.edgecontainer.v1.GetVpnConnectionRequest; import com.google.cloud.edgecontainer.v1.ListClustersRequest; import com.google.cloud.edgecontainer.v1.ListClustersResponse; @@ -48,9 +52,15 @@ import com.google.cloud.edgecontainer.v1.Machine; import com.google.cloud.edgecontainer.v1.NodePool; import com.google.cloud.edgecontainer.v1.OperationMetadata; +import com.google.cloud.edgecontainer.v1.ServerConfig; import com.google.cloud.edgecontainer.v1.UpdateClusterRequest; import com.google.cloud.edgecontainer.v1.UpdateNodePoolRequest; +import com.google.cloud.edgecontainer.v1.UpgradeClusterRequest; import com.google.cloud.edgecontainer.v1.VpnConnection; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; import com.google.longrunning.Operation; import com.google.longrunning.stub.OperationsStub; import com.google.protobuf.Empty; @@ -103,6 +113,15 @@ public UnaryCallable updateClusterCallable() { throw new UnsupportedOperationException("Not implemented: updateClusterCallable()"); } + public OperationCallable + upgradeClusterOperationCallable() { + throw new UnsupportedOperationException("Not implemented: upgradeClusterOperationCallable()"); + } + + public UnaryCallable upgradeClusterCallable() { + throw new UnsupportedOperationException("Not implemented: upgradeClusterCallable()"); + } + public OperationCallable deleteClusterOperationCallable() { throw new UnsupportedOperationException("Not implemented: deleteClusterOperationCallable()"); @@ -117,6 +136,11 @@ public UnaryCallable deleteClusterCallable() { throw new UnsupportedOperationException("Not implemented: generateAccessTokenCallable()"); } + public UnaryCallable + generateOfflineCredentialCallable() { + throw new UnsupportedOperationException("Not implemented: generateOfflineCredentialCallable()"); + } + public UnaryCallable listNodePoolsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listNodePoolsPagedCallable()"); @@ -203,6 +227,23 @@ public UnaryCallable deleteVpnConnectionC throw new UnsupportedOperationException("Not implemented: deleteVpnConnectionCallable()"); } + public UnaryCallable getServerConfigCallable() { + throw new UnsupportedOperationException("Not implemented: getServerConfigCallable()"); + } + + public UnaryCallable + listLocationsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); + } + + public UnaryCallable listLocationsCallable() { + throw new UnsupportedOperationException("Not implemented: listLocationsCallable()"); + } + + public UnaryCallable getLocationCallable() { + throw new UnsupportedOperationException("Not implemented: getLocationCallable()"); + } + @Override public abstract void close(); } diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStubSettings.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStubSettings.java index 3123c409b939..46b089cc964f 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStubSettings.java +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/EdgeContainerStubSettings.java @@ -17,6 +17,7 @@ package com.google.cloud.edgecontainer.v1.stub; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListClustersPagedResponse; +import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListLocationsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListMachinesPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListNodePoolsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListVpnConnectionsPagedResponse; @@ -59,9 +60,12 @@ import com.google.cloud.edgecontainer.v1.DeleteVpnConnectionRequest; import com.google.cloud.edgecontainer.v1.GenerateAccessTokenRequest; import com.google.cloud.edgecontainer.v1.GenerateAccessTokenResponse; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse; import com.google.cloud.edgecontainer.v1.GetClusterRequest; import com.google.cloud.edgecontainer.v1.GetMachineRequest; import com.google.cloud.edgecontainer.v1.GetNodePoolRequest; +import com.google.cloud.edgecontainer.v1.GetServerConfigRequest; import com.google.cloud.edgecontainer.v1.GetVpnConnectionRequest; import com.google.cloud.edgecontainer.v1.ListClustersRequest; import com.google.cloud.edgecontainer.v1.ListClustersResponse; @@ -74,9 +78,15 @@ import com.google.cloud.edgecontainer.v1.Machine; import com.google.cloud.edgecontainer.v1.NodePool; import com.google.cloud.edgecontainer.v1.OperationMetadata; +import com.google.cloud.edgecontainer.v1.ServerConfig; import com.google.cloud.edgecontainer.v1.UpdateClusterRequest; import com.google.cloud.edgecontainer.v1.UpdateNodePoolRequest; +import com.google.cloud.edgecontainer.v1.UpgradeClusterRequest; import com.google.cloud.edgecontainer.v1.VpnConnection; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; @@ -141,11 +151,17 @@ public class EdgeContainerStubSettings extends StubSettings updateClusterSettings; private final OperationCallSettings updateClusterOperationSettings; + private final UnaryCallSettings upgradeClusterSettings; + private final OperationCallSettings + upgradeClusterOperationSettings; private final UnaryCallSettings deleteClusterSettings; private final OperationCallSettings deleteClusterOperationSettings; private final UnaryCallSettings generateAccessTokenSettings; + private final UnaryCallSettings< + GenerateOfflineCredentialRequest, GenerateOfflineCredentialResponse> + generateOfflineCredentialSettings; private final PagedCallSettings< ListNodePoolsRequest, ListNodePoolsResponse, ListNodePoolsPagedResponse> listNodePoolsSettings; @@ -175,6 +191,11 @@ public class EdgeContainerStubSettings extends StubSettings deleteVpnConnectionOperationSettings; + private final UnaryCallSettings getServerConfigSettings; + private final PagedCallSettings< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings; + private final UnaryCallSettings getLocationSettings; private static final PagedListDescriptor LIST_CLUSTERS_PAGE_STR_DESC = @@ -324,6 +345,42 @@ public Iterable extractResources(ListVpnConnectionsResponse paylo } }; + private static final PagedListDescriptor + LIST_LOCATIONS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListLocationsRequest injectToken(ListLocationsRequest payload, String token) { + return ListLocationsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListLocationsRequest injectPageSize(ListLocationsRequest payload, int pageSize) { + return ListLocationsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListLocationsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListLocationsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListLocationsResponse payload) { + return payload.getLocationsList() == null + ? ImmutableList.of() + : payload.getLocationsList(); + } + }; + private static final PagedListResponseFactory< ListClustersRequest, ListClustersResponse, ListClustersPagedResponse> LIST_CLUSTERS_PAGE_STR_FACT = @@ -396,6 +453,23 @@ public ApiFuture getFuturePagedResponse( } }; + private static final PagedListResponseFactory< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + LIST_LOCATIONS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListLocationsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_LOCATIONS_PAGE_STR_DESC, request, context); + return ListLocationsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + /** Returns the object with the settings used for calls to listClusters. */ public PagedCallSettings listClustersSettings() { @@ -429,6 +503,17 @@ public UnaryCallSettings updateClusterSettings( return updateClusterOperationSettings; } + /** Returns the object with the settings used for calls to upgradeCluster. */ + public UnaryCallSettings upgradeClusterSettings() { + return upgradeClusterSettings; + } + + /** Returns the object with the settings used for calls to upgradeCluster. */ + public OperationCallSettings + upgradeClusterOperationSettings() { + return upgradeClusterOperationSettings; + } + /** Returns the object with the settings used for calls to deleteCluster. */ public UnaryCallSettings deleteClusterSettings() { return deleteClusterSettings; @@ -446,6 +531,12 @@ public UnaryCallSettings deleteClusterSettings( return generateAccessTokenSettings; } + /** Returns the object with the settings used for calls to generateOfflineCredential. */ + public UnaryCallSettings + generateOfflineCredentialSettings() { + return generateOfflineCredentialSettings; + } + /** Returns the object with the settings used for calls to listNodePools. */ public PagedCallSettings listNodePoolsSettings() { @@ -535,6 +626,22 @@ public UnaryCallSettings deleteVpnConnect return deleteVpnConnectionOperationSettings; } + /** Returns the object with the settings used for calls to getServerConfig. */ + public UnaryCallSettings getServerConfigSettings() { + return getServerConfigSettings; + } + + /** Returns the object with the settings used for calls to listLocations. */ + public PagedCallSettings + listLocationsSettings() { + return listLocationsSettings; + } + + /** Returns the object with the settings used for calls to getLocation. */ + public UnaryCallSettings getLocationSettings() { + return getLocationSettings; + } + public EdgeContainerStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() @@ -660,9 +767,12 @@ protected EdgeContainerStubSettings(Builder settingsBuilder) throws IOException createClusterOperationSettings = settingsBuilder.createClusterOperationSettings().build(); updateClusterSettings = settingsBuilder.updateClusterSettings().build(); updateClusterOperationSettings = settingsBuilder.updateClusterOperationSettings().build(); + upgradeClusterSettings = settingsBuilder.upgradeClusterSettings().build(); + upgradeClusterOperationSettings = settingsBuilder.upgradeClusterOperationSettings().build(); deleteClusterSettings = settingsBuilder.deleteClusterSettings().build(); deleteClusterOperationSettings = settingsBuilder.deleteClusterOperationSettings().build(); generateAccessTokenSettings = settingsBuilder.generateAccessTokenSettings().build(); + generateOfflineCredentialSettings = settingsBuilder.generateOfflineCredentialSettings().build(); listNodePoolsSettings = settingsBuilder.listNodePoolsSettings().build(); getNodePoolSettings = settingsBuilder.getNodePoolSettings().build(); createNodePoolSettings = settingsBuilder.createNodePoolSettings().build(); @@ -681,6 +791,9 @@ protected EdgeContainerStubSettings(Builder settingsBuilder) throws IOException deleteVpnConnectionSettings = settingsBuilder.deleteVpnConnectionSettings().build(); deleteVpnConnectionOperationSettings = settingsBuilder.deleteVpnConnectionOperationSettings().build(); + getServerConfigSettings = settingsBuilder.getServerConfigSettings().build(); + listLocationsSettings = settingsBuilder.listLocationsSettings().build(); + getLocationSettings = settingsBuilder.getLocationSettings().build(); } /** Builder for EdgeContainerStubSettings. */ @@ -696,11 +809,18 @@ public static class Builder extends StubSettings.Builder updateClusterSettings; private final OperationCallSettings.Builder updateClusterOperationSettings; + private final UnaryCallSettings.Builder + upgradeClusterSettings; + private final OperationCallSettings.Builder + upgradeClusterOperationSettings; private final UnaryCallSettings.Builder deleteClusterSettings; private final OperationCallSettings.Builder deleteClusterOperationSettings; private final UnaryCallSettings.Builder generateAccessTokenSettings; + private final UnaryCallSettings.Builder< + GenerateOfflineCredentialRequest, GenerateOfflineCredentialResponse> + generateOfflineCredentialSettings; private final PagedCallSettings.Builder< ListNodePoolsRequest, ListNodePoolsResponse, ListNodePoolsPagedResponse> listNodePoolsSettings; @@ -736,6 +856,12 @@ public static class Builder extends StubSettings.Builder deleteVpnConnectionOperationSettings; + private final UnaryCallSettings.Builder + getServerConfigSettings; + private final PagedCallSettings.Builder< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings; + private final UnaryCallSettings.Builder getLocationSettings; private static final ImmutableMap> RETRYABLE_CODE_DEFINITIONS; @@ -747,6 +873,7 @@ public static class Builder extends StubSettings.BuildernewArrayList(StatusCode.Code.UNAVAILABLE))); definitions.put( "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -774,6 +901,8 @@ public static class Builder extends StubSettings.Builder>of( @@ -816,8 +951,10 @@ protected Builder(ClientContext clientContext) { getClusterSettings, createClusterSettings, updateClusterSettings, + upgradeClusterSettings, deleteClusterSettings, generateAccessTokenSettings, + generateOfflineCredentialSettings, listNodePoolsSettings, getNodePoolSettings, createNodePoolSettings, @@ -828,7 +965,10 @@ protected Builder(ClientContext clientContext) { listVpnConnectionsSettings, getVpnConnectionSettings, createVpnConnectionSettings, - deleteVpnConnectionSettings); + deleteVpnConnectionSettings, + getServerConfigSettings, + listLocationsSettings, + getLocationSettings); initDefaults(this); } @@ -841,9 +981,12 @@ protected Builder(EdgeContainerStubSettings settings) { createClusterOperationSettings = settings.createClusterOperationSettings.toBuilder(); updateClusterSettings = settings.updateClusterSettings.toBuilder(); updateClusterOperationSettings = settings.updateClusterOperationSettings.toBuilder(); + upgradeClusterSettings = settings.upgradeClusterSettings.toBuilder(); + upgradeClusterOperationSettings = settings.upgradeClusterOperationSettings.toBuilder(); deleteClusterSettings = settings.deleteClusterSettings.toBuilder(); deleteClusterOperationSettings = settings.deleteClusterOperationSettings.toBuilder(); generateAccessTokenSettings = settings.generateAccessTokenSettings.toBuilder(); + generateOfflineCredentialSettings = settings.generateOfflineCredentialSettings.toBuilder(); listNodePoolsSettings = settings.listNodePoolsSettings.toBuilder(); getNodePoolSettings = settings.getNodePoolSettings.toBuilder(); createNodePoolSettings = settings.createNodePoolSettings.toBuilder(); @@ -862,6 +1005,9 @@ protected Builder(EdgeContainerStubSettings settings) { deleteVpnConnectionSettings = settings.deleteVpnConnectionSettings.toBuilder(); deleteVpnConnectionOperationSettings = settings.deleteVpnConnectionOperationSettings.toBuilder(); + getServerConfigSettings = settings.getServerConfigSettings.toBuilder(); + listLocationsSettings = settings.listLocationsSettings.toBuilder(); + getLocationSettings = settings.getLocationSettings.toBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -869,8 +1015,10 @@ protected Builder(EdgeContainerStubSettings settings) { getClusterSettings, createClusterSettings, updateClusterSettings, + upgradeClusterSettings, deleteClusterSettings, generateAccessTokenSettings, + generateOfflineCredentialSettings, listNodePoolsSettings, getNodePoolSettings, createNodePoolSettings, @@ -881,7 +1029,10 @@ protected Builder(EdgeContainerStubSettings settings) { listVpnConnectionsSettings, getVpnConnectionSettings, createVpnConnectionSettings, - deleteVpnConnectionSettings); + deleteVpnConnectionSettings, + getServerConfigSettings, + listLocationsSettings, + getLocationSettings); } private static Builder createDefault() { @@ -930,15 +1081,25 @@ private static Builder initDefaults(Builder builder) { .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder - .deleteClusterSettings() + .upgradeClusterSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder - .generateAccessTokenSettings() + .deleteClusterSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .generateAccessTokenSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .generateOfflineCredentialSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .listNodePoolsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -994,6 +1155,21 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .getServerConfigSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .listLocationsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getLocationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .createClusterOperationSettings() .setInitialCallSettings( @@ -1006,6 +1182,30 @@ private static Builder initDefaults(Builder builder) { ProtoOperationTransformers.ResponseTransformer.create(Cluster.class)) .setMetadataTransformer( ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(2.0) + .setMaxRetryDelay(Duration.ofMillis(10000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(2700000L)) + .build())); + + builder + .updateClusterOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Cluster.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class)) .setPollingAlgorithm( OperationTimedPollAlgorithm.create( RetrySettings.newBuilder() @@ -1019,10 +1219,10 @@ private static Builder initDefaults(Builder builder) { .build())); builder - .updateClusterOperationSettings() + .upgradeClusterOperationSettings() .setInitialCallSettings( UnaryCallSettings - .newUnaryCallSettingsBuilder() + .newUnaryCallSettingsBuilder() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) .build()) @@ -1057,13 +1257,13 @@ private static Builder initDefaults(Builder builder) { .setPollingAlgorithm( OperationTimedPollAlgorithm.create( RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) - .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(2.0) + .setMaxRetryDelay(Duration.ofMillis(10000L)) .setInitialRpcTimeout(Duration.ZERO) .setRpcTimeoutMultiplier(1.0) .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) + .setTotalTimeout(Duration.ofMillis(1800000L)) .build())); builder @@ -1081,13 +1281,13 @@ private static Builder initDefaults(Builder builder) { .setPollingAlgorithm( OperationTimedPollAlgorithm.create( RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) - .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(2.0) + .setMaxRetryDelay(Duration.ofMillis(10000L)) .setInitialRpcTimeout(Duration.ZERO) .setRpcTimeoutMultiplier(1.0) .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) + .setTotalTimeout(Duration.ofMillis(68400000L)) .build())); builder @@ -1105,13 +1305,13 @@ private static Builder initDefaults(Builder builder) { .setPollingAlgorithm( OperationTimedPollAlgorithm.create( RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) - .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(2.0) + .setMaxRetryDelay(Duration.ofMillis(10000L)) .setInitialRpcTimeout(Duration.ZERO) .setRpcTimeoutMultiplier(1.0) .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) + .setTotalTimeout(Duration.ofMillis(68400000L)) .build())); builder @@ -1129,13 +1329,13 @@ private static Builder initDefaults(Builder builder) { .setPollingAlgorithm( OperationTimedPollAlgorithm.create( RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) - .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(2.0) + .setMaxRetryDelay(Duration.ofMillis(10000L)) .setInitialRpcTimeout(Duration.ZERO) .setRpcTimeoutMultiplier(1.0) .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) + .setTotalTimeout(Duration.ofMillis(1800000L)) .build())); builder @@ -1238,6 +1438,17 @@ public UnaryCallSettings.Builder updateClusterS return updateClusterOperationSettings; } + /** Returns the builder for the settings used for calls to upgradeCluster. */ + public UnaryCallSettings.Builder upgradeClusterSettings() { + return upgradeClusterSettings; + } + + /** Returns the builder for the settings used for calls to upgradeCluster. */ + public OperationCallSettings.Builder + upgradeClusterOperationSettings() { + return upgradeClusterOperationSettings; + } + /** Returns the builder for the settings used for calls to deleteCluster. */ public UnaryCallSettings.Builder deleteClusterSettings() { return deleteClusterSettings; @@ -1255,6 +1466,13 @@ public UnaryCallSettings.Builder deleteClusterS return generateAccessTokenSettings; } + /** Returns the builder for the settings used for calls to generateOfflineCredential. */ + public UnaryCallSettings.Builder< + GenerateOfflineCredentialRequest, GenerateOfflineCredentialResponse> + generateOfflineCredentialSettings() { + return generateOfflineCredentialSettings; + } + /** Returns the builder for the settings used for calls to listNodePools. */ public PagedCallSettings.Builder< ListNodePoolsRequest, ListNodePoolsResponse, ListNodePoolsPagedResponse> @@ -1350,6 +1568,24 @@ public UnaryCallSettings.Builder getMachineSettings( return deleteVpnConnectionOperationSettings; } + /** Returns the builder for the settings used for calls to getServerConfig. */ + public UnaryCallSettings.Builder + getServerConfigSettings() { + return getServerConfigSettings; + } + + /** Returns the builder for the settings used for calls to listLocations. */ + public PagedCallSettings.Builder< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings() { + return listLocationsSettings; + } + + /** Returns the builder for the settings used for calls to getLocation. */ + public UnaryCallSettings.Builder getLocationSettings() { + return getLocationSettings; + } + /** Returns the endpoint set by the user or the the service's default endpoint. */ @Override public String getEndpoint() { diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/GrpcEdgeContainerStub.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/GrpcEdgeContainerStub.java index 18f35a14eb44..e7abf668c9e5 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/GrpcEdgeContainerStub.java +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/GrpcEdgeContainerStub.java @@ -17,6 +17,7 @@ package com.google.cloud.edgecontainer.v1.stub; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListClustersPagedResponse; +import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListLocationsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListMachinesPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListNodePoolsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListVpnConnectionsPagedResponse; @@ -38,9 +39,12 @@ import com.google.cloud.edgecontainer.v1.DeleteVpnConnectionRequest; import com.google.cloud.edgecontainer.v1.GenerateAccessTokenRequest; import com.google.cloud.edgecontainer.v1.GenerateAccessTokenResponse; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse; import com.google.cloud.edgecontainer.v1.GetClusterRequest; import com.google.cloud.edgecontainer.v1.GetMachineRequest; import com.google.cloud.edgecontainer.v1.GetNodePoolRequest; +import com.google.cloud.edgecontainer.v1.GetServerConfigRequest; import com.google.cloud.edgecontainer.v1.GetVpnConnectionRequest; import com.google.cloud.edgecontainer.v1.ListClustersRequest; import com.google.cloud.edgecontainer.v1.ListClustersResponse; @@ -53,9 +57,15 @@ import com.google.cloud.edgecontainer.v1.Machine; import com.google.cloud.edgecontainer.v1.NodePool; import com.google.cloud.edgecontainer.v1.OperationMetadata; +import com.google.cloud.edgecontainer.v1.ServerConfig; import com.google.cloud.edgecontainer.v1.UpdateClusterRequest; import com.google.cloud.edgecontainer.v1.UpdateNodePoolRequest; +import com.google.cloud.edgecontainer.v1.UpgradeClusterRequest; import com.google.cloud.edgecontainer.v1.VpnConnection; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; import com.google.longrunning.Operation; import com.google.longrunning.stub.GrpcOperationsStub; import com.google.protobuf.Empty; @@ -111,6 +121,16 @@ public class GrpcEdgeContainerStub extends EdgeContainerStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + upgradeClusterMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.edgecontainer.v1.EdgeContainer/UpgradeCluster") + .setRequestMarshaller( + ProtoUtils.marshaller(UpgradeClusterRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + private static final MethodDescriptor deleteClusterMethodDescriptor = MethodDescriptor.newBuilder() @@ -132,6 +152,20 @@ public class GrpcEdgeContainerStub extends EdgeContainerStub { ProtoUtils.marshaller(GenerateAccessTokenResponse.getDefaultInstance())) .build(); + private static final MethodDescriptor< + GenerateOfflineCredentialRequest, GenerateOfflineCredentialResponse> + generateOfflineCredentialMethodDescriptor = + MethodDescriptor + .newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.edgecontainer.v1.EdgeContainer/GenerateOfflineCredential") + .setRequestMarshaller( + ProtoUtils.marshaller(GenerateOfflineCredentialRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(GenerateOfflineCredentialResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor listNodePoolsMethodDescriptor = MethodDescriptor.newBuilder() @@ -240,6 +274,35 @@ public class GrpcEdgeContainerStub extends EdgeContainerStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + getServerConfigMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.edgecontainer.v1.EdgeContainer/GetServerConfig") + .setRequestMarshaller( + ProtoUtils.marshaller(GetServerConfigRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ServerConfig.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listLocationsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.location.Locations/ListLocations") + .setRequestMarshaller( + ProtoUtils.marshaller(ListLocationsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListLocationsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getLocationMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.location.Locations/GetLocation") + .setRequestMarshaller(ProtoUtils.marshaller(GetLocationRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Location.getDefaultInstance())) + .build(); + private final UnaryCallable listClustersCallable; private final UnaryCallable listClustersPagedCallable; @@ -250,11 +313,16 @@ public class GrpcEdgeContainerStub extends EdgeContainerStub { private final UnaryCallable updateClusterCallable; private final OperationCallable updateClusterOperationCallable; + private final UnaryCallable upgradeClusterCallable; + private final OperationCallable + upgradeClusterOperationCallable; private final UnaryCallable deleteClusterCallable; private final OperationCallable deleteClusterOperationCallable; private final UnaryCallable generateAccessTokenCallable; + private final UnaryCallable + generateOfflineCredentialCallable; private final UnaryCallable listNodePoolsCallable; private final UnaryCallable listNodePoolsPagedCallable; @@ -283,6 +351,11 @@ public class GrpcEdgeContainerStub extends EdgeContainerStub { private final UnaryCallable deleteVpnConnectionCallable; private final OperationCallable deleteVpnConnectionOperationCallable; + private final UnaryCallable getServerConfigCallable; + private final UnaryCallable listLocationsCallable; + private final UnaryCallable + listLocationsPagedCallable; + private final UnaryCallable getLocationCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; @@ -366,6 +439,16 @@ protected GrpcEdgeContainerStub( return builder.build(); }) .build(); + GrpcCallSettings upgradeClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(upgradeClusterMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); GrpcCallSettings deleteClusterTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteClusterMethodDescriptor) @@ -387,6 +470,18 @@ protected GrpcEdgeContainerStub( return builder.build(); }) .build(); + GrpcCallSettings + generateOfflineCredentialTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(generateOfflineCredentialMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("cluster", String.valueOf(request.getCluster())); + return builder.build(); + }) + .build(); GrpcCallSettings listNodePoolsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listNodePoolsMethodDescriptor) @@ -498,6 +593,36 @@ protected GrpcEdgeContainerStub( return builder.build(); }) .build(); + GrpcCallSettings getServerConfigTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getServerConfigMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listLocationsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listLocationsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings getLocationTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getLocationMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); this.listClustersCallable = callableFactory.createUnaryCallable( @@ -526,6 +651,15 @@ protected GrpcEdgeContainerStub( settings.updateClusterOperationSettings(), clientContext, operationsStub); + this.upgradeClusterCallable = + callableFactory.createUnaryCallable( + upgradeClusterTransportSettings, settings.upgradeClusterSettings(), clientContext); + this.upgradeClusterOperationCallable = + callableFactory.createOperationCallable( + upgradeClusterTransportSettings, + settings.upgradeClusterOperationSettings(), + clientContext, + operationsStub); this.deleteClusterCallable = callableFactory.createUnaryCallable( deleteClusterTransportSettings, settings.deleteClusterSettings(), clientContext); @@ -540,6 +674,11 @@ protected GrpcEdgeContainerStub( generateAccessTokenTransportSettings, settings.generateAccessTokenSettings(), clientContext); + this.generateOfflineCredentialCallable = + callableFactory.createUnaryCallable( + generateOfflineCredentialTransportSettings, + settings.generateOfflineCredentialSettings(), + clientContext); this.listNodePoolsCallable = callableFactory.createUnaryCallable( listNodePoolsTransportSettings, settings.listNodePoolsSettings(), clientContext); @@ -620,6 +759,18 @@ protected GrpcEdgeContainerStub( settings.deleteVpnConnectionOperationSettings(), clientContext, operationsStub); + this.getServerConfigCallable = + callableFactory.createUnaryCallable( + getServerConfigTransportSettings, settings.getServerConfigSettings(), clientContext); + this.listLocationsCallable = + callableFactory.createUnaryCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.listLocationsPagedCallable = + callableFactory.createPagedCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.getLocationCallable = + callableFactory.createUnaryCallable( + getLocationTransportSettings, settings.getLocationSettings(), clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -666,6 +817,17 @@ public UnaryCallable updateClusterCallable() { return updateClusterOperationCallable; } + @Override + public UnaryCallable upgradeClusterCallable() { + return upgradeClusterCallable; + } + + @Override + public OperationCallable + upgradeClusterOperationCallable() { + return upgradeClusterOperationCallable; + } + @Override public UnaryCallable deleteClusterCallable() { return deleteClusterCallable; @@ -683,6 +845,12 @@ public UnaryCallable deleteClusterCallable() { return generateAccessTokenCallable; } + @Override + public UnaryCallable + generateOfflineCredentialCallable() { + return generateOfflineCredentialCallable; + } + @Override public UnaryCallable listNodePoolsCallable() { return listNodePoolsCallable; @@ -786,6 +954,27 @@ public UnaryCallable deleteVpnConnectionC return deleteVpnConnectionOperationCallable; } + @Override + public UnaryCallable getServerConfigCallable() { + return getServerConfigCallable; + } + + @Override + public UnaryCallable listLocationsCallable() { + return listLocationsCallable; + } + + @Override + public UnaryCallable + listLocationsPagedCallable() { + return listLocationsPagedCallable; + } + + @Override + public UnaryCallable getLocationCallable() { + return getLocationCallable; + } + @Override public final void close() { try { diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/HttpJsonEdgeContainerStub.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/HttpJsonEdgeContainerStub.java index 078b92228235..7de072c36019 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/HttpJsonEdgeContainerStub.java +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/HttpJsonEdgeContainerStub.java @@ -17,6 +17,7 @@ package com.google.cloud.edgecontainer.v1.stub; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListClustersPagedResponse; +import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListLocationsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListMachinesPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListNodePoolsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListVpnConnectionsPagedResponse; @@ -46,9 +47,12 @@ import com.google.cloud.edgecontainer.v1.DeleteVpnConnectionRequest; import com.google.cloud.edgecontainer.v1.GenerateAccessTokenRequest; import com.google.cloud.edgecontainer.v1.GenerateAccessTokenResponse; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse; import com.google.cloud.edgecontainer.v1.GetClusterRequest; import com.google.cloud.edgecontainer.v1.GetMachineRequest; import com.google.cloud.edgecontainer.v1.GetNodePoolRequest; +import com.google.cloud.edgecontainer.v1.GetServerConfigRequest; import com.google.cloud.edgecontainer.v1.GetVpnConnectionRequest; import com.google.cloud.edgecontainer.v1.ListClustersRequest; import com.google.cloud.edgecontainer.v1.ListClustersResponse; @@ -61,9 +65,15 @@ import com.google.cloud.edgecontainer.v1.Machine; import com.google.cloud.edgecontainer.v1.NodePool; import com.google.cloud.edgecontainer.v1.OperationMetadata; +import com.google.cloud.edgecontainer.v1.ServerConfig; import com.google.cloud.edgecontainer.v1.UpdateClusterRequest; import com.google.cloud.edgecontainer.v1.UpdateNodePoolRequest; +import com.google.cloud.edgecontainer.v1.UpgradeClusterRequest; import com.google.cloud.edgecontainer.v1.VpnConnection; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; import com.google.common.collect.ImmutableMap; import com.google.longrunning.Operation; import com.google.protobuf.Empty; @@ -249,6 +259,46 @@ public class HttpJsonEdgeContainerStub extends EdgeContainerStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor + upgradeClusterMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.edgecontainer.v1.EdgeContainer/UpgradeCluster") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/clusters/*}:upgrade", + 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, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpgradeClusterRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + private static final ApiMethodDescriptor deleteClusterMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -321,6 +371,43 @@ public class HttpJsonEdgeContainerStub extends EdgeContainerStub { .build()) .build(); + private static final ApiMethodDescriptor< + GenerateOfflineCredentialRequest, GenerateOfflineCredentialResponse> + generateOfflineCredentialMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.cloud.edgecontainer.v1.EdgeContainer/GenerateOfflineCredential") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{cluster=projects/*/locations/*/clusters/*}:generateOfflineCredential", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "cluster", request.getCluster()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(GenerateOfflineCredentialResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor listNodePoolsMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -740,6 +827,108 @@ public class HttpJsonEdgeContainerStub extends EdgeContainerStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor + getServerConfigMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.edgecontainer.v1.EdgeContainer/GetServerConfig") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*}/serverConfig", + 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, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ServerConfig.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listLocationsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.location.Locations/ListLocations") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*}/locations", + 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, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListLocationsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getLocationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.location.Locations/GetLocation") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*}", + 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, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Location.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private final UnaryCallable listClustersCallable; private final UnaryCallable listClustersPagedCallable; @@ -750,11 +939,16 @@ public class HttpJsonEdgeContainerStub extends EdgeContainerStub { private final UnaryCallable updateClusterCallable; private final OperationCallable updateClusterOperationCallable; + private final UnaryCallable upgradeClusterCallable; + private final OperationCallable + upgradeClusterOperationCallable; private final UnaryCallable deleteClusterCallable; private final OperationCallable deleteClusterOperationCallable; private final UnaryCallable generateAccessTokenCallable; + private final UnaryCallable + generateOfflineCredentialCallable; private final UnaryCallable listNodePoolsCallable; private final UnaryCallable listNodePoolsPagedCallable; @@ -783,6 +977,11 @@ public class HttpJsonEdgeContainerStub extends EdgeContainerStub { private final UnaryCallable deleteVpnConnectionCallable; private final OperationCallable deleteVpnConnectionOperationCallable; + private final UnaryCallable getServerConfigCallable; + private final UnaryCallable listLocationsCallable; + private final UnaryCallable + listLocationsPagedCallable; + private final UnaryCallable getLocationCallable; private final BackgroundResource backgroundResources; private final HttpJsonOperationsStub httpJsonOperationsStub; @@ -898,6 +1097,17 @@ protected HttpJsonEdgeContainerStub( return builder.build(); }) .build(); + HttpJsonCallSettings upgradeClusterTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(upgradeClusterMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); HttpJsonCallSettings deleteClusterTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(deleteClusterMethodDescriptor) @@ -922,6 +1132,19 @@ protected HttpJsonEdgeContainerStub( return builder.build(); }) .build(); + HttpJsonCallSettings + generateOfflineCredentialTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(generateOfflineCredentialMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("cluster", String.valueOf(request.getCluster())); + return builder.build(); + }) + .build(); HttpJsonCallSettings listNodePoolsTransportSettings = HttpJsonCallSettings.newBuilder() @@ -1047,6 +1270,40 @@ protected HttpJsonEdgeContainerStub( return builder.build(); }) .build(); + HttpJsonCallSettings getServerConfigTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getServerConfigMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + listLocationsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listLocationsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings getLocationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getLocationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); this.listClustersCallable = callableFactory.createUnaryCallable( @@ -1075,6 +1332,15 @@ protected HttpJsonEdgeContainerStub( settings.updateClusterOperationSettings(), clientContext, httpJsonOperationsStub); + this.upgradeClusterCallable = + callableFactory.createUnaryCallable( + upgradeClusterTransportSettings, settings.upgradeClusterSettings(), clientContext); + this.upgradeClusterOperationCallable = + callableFactory.createOperationCallable( + upgradeClusterTransportSettings, + settings.upgradeClusterOperationSettings(), + clientContext, + httpJsonOperationsStub); this.deleteClusterCallable = callableFactory.createUnaryCallable( deleteClusterTransportSettings, settings.deleteClusterSettings(), clientContext); @@ -1089,6 +1355,11 @@ protected HttpJsonEdgeContainerStub( generateAccessTokenTransportSettings, settings.generateAccessTokenSettings(), clientContext); + this.generateOfflineCredentialCallable = + callableFactory.createUnaryCallable( + generateOfflineCredentialTransportSettings, + settings.generateOfflineCredentialSettings(), + clientContext); this.listNodePoolsCallable = callableFactory.createUnaryCallable( listNodePoolsTransportSettings, settings.listNodePoolsSettings(), clientContext); @@ -1169,6 +1440,18 @@ protected HttpJsonEdgeContainerStub( settings.deleteVpnConnectionOperationSettings(), clientContext, httpJsonOperationsStub); + this.getServerConfigCallable = + callableFactory.createUnaryCallable( + getServerConfigTransportSettings, settings.getServerConfigSettings(), clientContext); + this.listLocationsCallable = + callableFactory.createUnaryCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.listLocationsPagedCallable = + callableFactory.createPagedCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.getLocationCallable = + callableFactory.createUnaryCallable( + getLocationTransportSettings, settings.getLocationSettings(), clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -1181,8 +1464,10 @@ public static List getMethodDescriptors() { methodDescriptors.add(getClusterMethodDescriptor); methodDescriptors.add(createClusterMethodDescriptor); methodDescriptors.add(updateClusterMethodDescriptor); + methodDescriptors.add(upgradeClusterMethodDescriptor); methodDescriptors.add(deleteClusterMethodDescriptor); methodDescriptors.add(generateAccessTokenMethodDescriptor); + methodDescriptors.add(generateOfflineCredentialMethodDescriptor); methodDescriptors.add(listNodePoolsMethodDescriptor); methodDescriptors.add(getNodePoolMethodDescriptor); methodDescriptors.add(createNodePoolMethodDescriptor); @@ -1194,6 +1479,9 @@ public static List getMethodDescriptors() { methodDescriptors.add(getVpnConnectionMethodDescriptor); methodDescriptors.add(createVpnConnectionMethodDescriptor); methodDescriptors.add(deleteVpnConnectionMethodDescriptor); + methodDescriptors.add(getServerConfigMethodDescriptor); + methodDescriptors.add(listLocationsMethodDescriptor); + methodDescriptors.add(getLocationMethodDescriptor); return methodDescriptors; } @@ -1238,6 +1526,17 @@ public UnaryCallable updateClusterCallable() { return updateClusterOperationCallable; } + @Override + public UnaryCallable upgradeClusterCallable() { + return upgradeClusterCallable; + } + + @Override + public OperationCallable + upgradeClusterOperationCallable() { + return upgradeClusterOperationCallable; + } + @Override public UnaryCallable deleteClusterCallable() { return deleteClusterCallable; @@ -1255,6 +1554,12 @@ public UnaryCallable deleteClusterCallable() { return generateAccessTokenCallable; } + @Override + public UnaryCallable + generateOfflineCredentialCallable() { + return generateOfflineCredentialCallable; + } + @Override public UnaryCallable listNodePoolsCallable() { return listNodePoolsCallable; @@ -1358,6 +1663,27 @@ public UnaryCallable deleteVpnConnectionC return deleteVpnConnectionOperationCallable; } + @Override + public UnaryCallable getServerConfigCallable() { + return getServerConfigCallable; + } + + @Override + public UnaryCallable listLocationsCallable() { + return listLocationsCallable; + } + + @Override + public UnaryCallable + listLocationsPagedCallable() { + return listLocationsPagedCallable; + } + + @Override + public UnaryCallable getLocationCallable() { + return getLocationCallable; + } + @Override public final void close() { try { diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/resources/META-INF/native-image/com.google.cloud.edgecontainer.v1/reflect-config.json b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/resources/META-INF/native-image/com.google.cloud.edgecontainer.v1/reflect-config.json index 6b7afea995a5..644b453c9bc9 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/resources/META-INF/native-image/com.google.cloud.edgecontainer.v1/reflect-config.json +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/resources/META-INF/native-image/com.google.cloud.edgecontainer.v1/reflect-config.json @@ -395,6 +395,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.edgecontainer.v1.ChannelConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.ChannelConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.edgecontainer.v1.Cluster", "queryAllDeclaredConstructors": true, @@ -413,6 +431,204 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$ControlPlane", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$ControlPlane$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$ControlPlane$Local", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$ControlPlane$Local$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$ControlPlane$Remote", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$ControlPlane$Remote$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$ControlPlane$SharedDeploymentPolicy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$ControlPlaneEncryption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$ControlPlaneEncryption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$MaintenanceEvent", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$MaintenanceEvent$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$MaintenanceEvent$Schedule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$MaintenanceEvent$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$MaintenanceEvent$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$ReleaseChannel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$SurvivabilityConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$SurvivabilityConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$SystemAddonsConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$SystemAddonsConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$SystemAddonsConfig$Ingress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Cluster$SystemAddonsConfig$Ingress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.edgecontainer.v1.ClusterNetworking", "queryAllDeclaredConstructors": true, @@ -611,6 +827,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.edgecontainer.v1.GetClusterRequest", "queryAllDeclaredConstructors": true, @@ -665,6 +917,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.edgecontainer.v1.GetServerConfigRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.GetServerConfigRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.edgecontainer.v1.GetVpnConnectionRequest", "queryAllDeclaredConstructors": true, @@ -944,6 +1214,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.edgecontainer.v1.NodePool$NodeConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.NodePool$NodeConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.edgecontainer.v1.OperationMetadata", "queryAllDeclaredConstructors": true, @@ -998,6 +1286,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.edgecontainer.v1.ServerConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.ServerConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.edgecontainer.v1.TimeWindow", "queryAllDeclaredConstructors": true, @@ -1052,6 +1358,51 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.edgecontainer.v1.UpgradeClusterRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.UpgradeClusterRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.UpgradeClusterRequest$Schedule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Version", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.edgecontainer.v1.Version$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.edgecontainer.v1.VpnConnection", "queryAllDeclaredConstructors": true, @@ -1178,6 +1529,87 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.edgecontainer.v1.ZoneMetadata$RackType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.location.GetLocationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.location.GetLocationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.location.ListLocationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.location.ListLocationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.location.ListLocationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.location.ListLocationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.location.Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.location.Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.longrunning.CancelOperationRequest", "queryAllDeclaredConstructors": true, diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/EdgeContainerClientHttpJsonTest.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/EdgeContainerClientHttpJsonTest.java index d384eed5b6e3..c4105109b031 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/EdgeContainerClientHttpJsonTest.java +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/EdgeContainerClientHttpJsonTest.java @@ -17,6 +17,7 @@ package com.google.cloud.edgecontainer.v1; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListClustersPagedResponse; +import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListLocationsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListMachinesPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListNodePoolsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListVpnConnectionsPagedResponse; @@ -31,6 +32,10 @@ import com.google.api.gax.rpc.StatusCode; import com.google.api.gax.rpc.testing.FakeStatusCode; import com.google.cloud.edgecontainer.v1.stub.HttpJsonEdgeContainerStub; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; import com.google.common.collect.Lists; import com.google.longrunning.Operation; import com.google.protobuf.Any; @@ -38,6 +43,7 @@ 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; @@ -198,8 +204,19 @@ public void getClusterTest() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -252,8 +269,19 @@ public void getClusterTest2() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); mockService.addResponse(expectedResponse); @@ -306,8 +334,19 @@ public void createClusterTest() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -369,8 +408,19 @@ public void createClusterTest2() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -432,8 +482,19 @@ public void updateClusterTest() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -454,8 +515,19 @@ public void updateClusterTest() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -496,8 +568,19 @@ public void updateClusterExceptionTest() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateClusterAsync(cluster, updateMask).get(); @@ -506,6 +589,154 @@ public void updateClusterExceptionTest() throws Exception { } } + @Test + public void upgradeClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .putAllLabels(new HashMap()) + .setFleet(Fleet.newBuilder().build()) + .setNetworking(ClusterNetworking.newBuilder().build()) + .setAuthorization(Authorization.newBuilder().build()) + .setDefaultMaxPodsPerNode(-1433236452) + .setEndpoint("endpoint1741102485") + .setPort(3446913) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("upgradeClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ClusterName name = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + String targetVersion = "targetVersion-1639412217"; + UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0); + + Cluster actualResponse = client.upgradeClusterAsync(name, targetVersion, schedule).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 upgradeClusterExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ClusterName name = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + String targetVersion = "targetVersion-1639412217"; + UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0); + client.upgradeClusterAsync(name, targetVersion, schedule).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void upgradeClusterTest2() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .putAllLabels(new HashMap()) + .setFleet(Fleet.newBuilder().build()) + .setNetworking(ClusterNetworking.newBuilder().build()) + .setAuthorization(Authorization.newBuilder().build()) + .setDefaultMaxPodsPerNode(-1433236452) + .setEndpoint("endpoint1741102485") + .setPort(3446913) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("upgradeClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-6537/locations/location-6537/clusters/cluster-6537"; + String targetVersion = "targetVersion-1639412217"; + UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0); + + Cluster actualResponse = client.upgradeClusterAsync(name, targetVersion, schedule).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 upgradeClusterExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-6537/locations/location-6537/clusters/cluster-6537"; + String targetVersion = "targetVersion-1639412217"; + UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0); + client.upgradeClusterAsync(name, targetVersion, schedule).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + @Test public void deleteClusterTest() throws Exception { Empty expectedResponse = Empty.newBuilder().build(); @@ -686,6 +917,100 @@ public void generateAccessTokenExceptionTest2() throws Exception { } } + @Test + public void generateOfflineCredentialTest() throws Exception { + GenerateOfflineCredentialResponse expectedResponse = + GenerateOfflineCredentialResponse.newBuilder() + .setClientCertificate("clientCertificate592328908") + .setClientKey("clientKey-1904108908") + .setUserId("userId-836030906") + .setExpireTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + ClusterName cluster = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + + GenerateOfflineCredentialResponse actualResponse = client.generateOfflineCredential(cluster); + 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 generateOfflineCredentialExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ClusterName cluster = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + client.generateOfflineCredential(cluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateOfflineCredentialTest2() throws Exception { + GenerateOfflineCredentialResponse expectedResponse = + GenerateOfflineCredentialResponse.newBuilder() + .setClientCertificate("clientCertificate592328908") + .setClientKey("clientKey-1904108908") + .setUserId("userId-836030906") + .setExpireTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String cluster = "projects/project-7126/locations/location-7126/clusters/cluster-7126"; + + GenerateOfflineCredentialResponse actualResponse = client.generateOfflineCredential(cluster); + 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 generateOfflineCredentialExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String cluster = "projects/project-7126/locations/location-7126/clusters/cluster-7126"; + client.generateOfflineCredential(cluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listNodePoolsTest() throws Exception { NodePool responsesElement = NodePool.newBuilder().build(); @@ -799,6 +1124,8 @@ public void getNodePoolTest() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -851,6 +1178,8 @@ public void getNodePoolTest2() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -905,6 +1234,8 @@ public void createNodePoolTest() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -966,6 +1297,8 @@ public void createNodePoolTest2() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1027,6 +1360,8 @@ public void updateNodePoolTest() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1047,6 +1382,8 @@ public void updateNodePoolTest() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -1087,6 +1424,8 @@ public void updateNodePoolExceptionTest() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateNodePoolAsync(nodePool, updateMask).get(); @@ -1297,6 +1636,7 @@ public void getMachineTest() throws Exception { .putAllLabels(new HashMap()) .setHostedNode("hostedNode-604250391") .setZone("zone3744684") + .setVersion("version351608024") .setDisabled(true) .build(); mockService.addResponse(expectedResponse); @@ -1347,6 +1687,7 @@ public void getMachineTest2() throws Exception { .putAllLabels(new HashMap()) .setHostedNode("hostedNode-604250391") .setZone("zone3744684") + .setVersion("version351608024") .setDisabled(true) .build(); mockService.addResponse(expectedResponse); @@ -1500,6 +1841,7 @@ public void getVpnConnectionTest() throws Exception { .setVpc("vpc116969") .setVpcProject(VpnConnection.VpcProject.newBuilder().build()) .setEnableHighAvailability(true) + .setRouter("router-925132983") .setDetails(VpnConnection.Details.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1553,6 +1895,7 @@ public void getVpnConnectionTest2() throws Exception { .setVpc("vpc116969") .setVpcProject(VpnConnection.VpcProject.newBuilder().build()) .setEnableHighAvailability(true) + .setRouter("router-925132983") .setDetails(VpnConnection.Details.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1607,6 +1950,7 @@ public void createVpnConnectionTest() throws Exception { .setVpc("vpc116969") .setVpcProject(VpnConnection.VpcProject.newBuilder().build()) .setEnableHighAvailability(true) + .setRouter("router-925132983") .setDetails(VpnConnection.Details.newBuilder().build()) .build(); Operation resultOperation = @@ -1670,6 +2014,7 @@ public void createVpnConnectionTest2() throws Exception { .setVpc("vpc116969") .setVpcProject(VpnConnection.VpcProject.newBuilder().build()) .setEnableHighAvailability(true) + .setRouter("router-925132983") .setDetails(VpnConnection.Details.newBuilder().build()) .build(); Operation resultOperation = @@ -1810,4 +2155,212 @@ public void deleteVpnConnectionExceptionTest2() throws Exception { } catch (ExecutionException e) { } } + + @Test + public void getServerConfigTest() throws Exception { + ServerConfig expectedResponse = + ServerConfig.newBuilder() + .putAllChannels(new HashMap()) + .addAllVersions(new ArrayList()) + .setDefaultVersion("defaultVersion-1939242153") + .build(); + mockService.addResponse(expectedResponse); + + LocationName name = LocationName.of("[PROJECT]", "[LOCATION]"); + + ServerConfig actualResponse = client.getServerConfig(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 getServerConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName name = LocationName.of("[PROJECT]", "[LOCATION]"); + client.getServerConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getServerConfigTest2() throws Exception { + ServerConfig expectedResponse = + ServerConfig.newBuilder() + .putAllChannels(new HashMap()) + .addAllVersions(new ArrayList()) + .setDefaultVersion("defaultVersion-1939242153") + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-9062/locations/location-9062"; + + ServerConfig actualResponse = client.getServerConfig(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 getServerConfigExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-9062/locations/location-9062"; + client.getServerConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listLocationsTest() throws Exception { + Location responsesElement = Location.newBuilder().build(); + ListLocationsResponse expectedResponse = + ListLocationsResponse.newBuilder() + .setNextPageToken("") + .addAllLocations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("projects/project-3664") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + ListLocationsPagedResponse pagedListResponse = client.listLocations(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getLocationsList().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 listLocationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("projects/project-3664") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.listLocations(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getLocationTest() throws Exception { + Location expectedResponse = + Location.newBuilder() + .setName("name3373707") + .setLocationId("locationId1541836720") + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setMetadata(Any.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + GetLocationRequest request = + GetLocationRequest.newBuilder() + .setName("projects/project-9062/locations/location-9062") + .build(); + + Location actualResponse = client.getLocation(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 getLocationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GetLocationRequest request = + GetLocationRequest.newBuilder() + .setName("projects/project-9062/locations/location-9062") + .build(); + client.getLocation(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/EdgeContainerClientTest.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/EdgeContainerClientTest.java index 71640bbfdcf1..ea15dd1e4e82 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/EdgeContainerClientTest.java +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/EdgeContainerClientTest.java @@ -17,6 +17,7 @@ package com.google.cloud.edgecontainer.v1; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListClustersPagedResponse; +import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListLocationsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListMachinesPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListNodePoolsPagedResponse; import static com.google.cloud.edgecontainer.v1.EdgeContainerClient.ListVpnConnectionsPagedResponse; @@ -29,6 +30,10 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.InvalidArgumentException; import com.google.api.gax.rpc.StatusCode; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; import com.google.common.collect.Lists; import com.google.longrunning.Operation; import com.google.protobuf.AbstractMessage; @@ -38,6 +43,7 @@ import com.google.protobuf.Timestamp; import io.grpc.StatusRuntimeException; import java.io.IOException; +import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; @@ -54,6 +60,7 @@ @Generated("by gapic-generator-java") public class EdgeContainerClientTest { private static MockEdgeContainer mockEdgeContainer; + private static MockLocations mockLocations; private static MockServiceHelper mockServiceHelper; private LocalChannelProvider channelProvider; private EdgeContainerClient client; @@ -61,9 +68,11 @@ public class EdgeContainerClientTest { @BeforeClass public static void startStaticServer() { mockEdgeContainer = new MockEdgeContainer(); + mockLocations = new MockLocations(); mockServiceHelper = new MockServiceHelper( - UUID.randomUUID().toString(), Arrays.asList(mockEdgeContainer)); + UUID.randomUUID().toString(), + Arrays.asList(mockEdgeContainer, mockLocations)); mockServiceHelper.start(); } @@ -190,8 +199,19 @@ public void getClusterTest() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); mockEdgeContainer.addResponse(expectedResponse); @@ -238,8 +258,19 @@ public void getClusterTest2() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); mockEdgeContainer.addResponse(expectedResponse); @@ -286,8 +317,19 @@ public void createClusterTest() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -348,8 +390,19 @@ public void createClusterTest2() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -410,8 +463,19 @@ public void updateClusterTest() throws Exception { .setAuthorization(Authorization.newBuilder().build()) .setDefaultMaxPodsPerNode(-1433236452) .setEndpoint("endpoint1741102485") + .setPort(3446913) .setClusterCaCertificate("clusterCaCertificate-683492737") .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -456,6 +520,152 @@ public void updateClusterExceptionTest() throws Exception { } } + @Test + public void upgradeClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .putAllLabels(new HashMap()) + .setFleet(Fleet.newBuilder().build()) + .setNetworking(ClusterNetworking.newBuilder().build()) + .setAuthorization(Authorization.newBuilder().build()) + .setDefaultMaxPodsPerNode(-1433236452) + .setEndpoint("endpoint1741102485") + .setPort(3446913) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("upgradeClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockEdgeContainer.addResponse(resultOperation); + + ClusterName name = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + String targetVersion = "targetVersion-1639412217"; + UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0); + + Cluster actualResponse = client.upgradeClusterAsync(name, targetVersion, schedule).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEdgeContainer.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpgradeClusterRequest actualRequest = ((UpgradeClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(targetVersion, actualRequest.getTargetVersion()); + Assert.assertEquals(schedule, actualRequest.getSchedule()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void upgradeClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEdgeContainer.addException(exception); + + try { + ClusterName name = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + String targetVersion = "targetVersion-1639412217"; + UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0); + client.upgradeClusterAsync(name, targetVersion, schedule).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void upgradeClusterTest2() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .putAllLabels(new HashMap()) + .setFleet(Fleet.newBuilder().build()) + .setNetworking(ClusterNetworking.newBuilder().build()) + .setAuthorization(Authorization.newBuilder().build()) + .setDefaultMaxPodsPerNode(-1433236452) + .setEndpoint("endpoint1741102485") + .setPort(3446913) + .setClusterCaCertificate("clusterCaCertificate-683492737") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setControlPlaneVersion("controlPlaneVersion648040665") + .setNodeVersion("nodeVersion1155309686") + .setControlPlane(Cluster.ControlPlane.newBuilder().build()) + .setSystemAddonsConfig(Cluster.SystemAddonsConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv4AddressPools(new ArrayList()) + .setControlPlaneEncryption(Cluster.ControlPlaneEncryption.newBuilder().build()) + .addAllMaintenanceEvents(new ArrayList()) + .setTargetVersion("targetVersion-1639412217") + .setSurvivabilityConfig(Cluster.SurvivabilityConfig.newBuilder().build()) + .addAllExternalLoadBalancerIpv6AddressPools(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("upgradeClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockEdgeContainer.addResponse(resultOperation); + + String name = "name3373707"; + String targetVersion = "targetVersion-1639412217"; + UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0); + + Cluster actualResponse = client.upgradeClusterAsync(name, targetVersion, schedule).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEdgeContainer.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpgradeClusterRequest actualRequest = ((UpgradeClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(targetVersion, actualRequest.getTargetVersion()); + Assert.assertEquals(schedule, actualRequest.getSchedule()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void upgradeClusterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEdgeContainer.addException(exception); + + try { + String name = "name3373707"; + String targetVersion = "targetVersion-1639412217"; + UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0); + client.upgradeClusterAsync(name, targetVersion, schedule).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + @Test public void deleteClusterTest() throws Exception { Empty expectedResponse = Empty.newBuilder().build(); @@ -618,6 +828,90 @@ public void generateAccessTokenExceptionTest2() throws Exception { } } + @Test + public void generateOfflineCredentialTest() throws Exception { + GenerateOfflineCredentialResponse expectedResponse = + GenerateOfflineCredentialResponse.newBuilder() + .setClientCertificate("clientCertificate592328908") + .setClientKey("clientKey-1904108908") + .setUserId("userId-836030906") + .setExpireTime(Timestamp.newBuilder().build()) + .build(); + mockEdgeContainer.addResponse(expectedResponse); + + ClusterName cluster = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + + GenerateOfflineCredentialResponse actualResponse = client.generateOfflineCredential(cluster); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEdgeContainer.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateOfflineCredentialRequest actualRequest = + ((GenerateOfflineCredentialRequest) actualRequests.get(0)); + + Assert.assertEquals(cluster.toString(), actualRequest.getCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateOfflineCredentialExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEdgeContainer.addException(exception); + + try { + ClusterName cluster = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + client.generateOfflineCredential(cluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateOfflineCredentialTest2() throws Exception { + GenerateOfflineCredentialResponse expectedResponse = + GenerateOfflineCredentialResponse.newBuilder() + .setClientCertificate("clientCertificate592328908") + .setClientKey("clientKey-1904108908") + .setUserId("userId-836030906") + .setExpireTime(Timestamp.newBuilder().build()) + .build(); + mockEdgeContainer.addResponse(expectedResponse); + + String cluster = "cluster872092154"; + + GenerateOfflineCredentialResponse actualResponse = client.generateOfflineCredential(cluster); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEdgeContainer.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateOfflineCredentialRequest actualRequest = + ((GenerateOfflineCredentialRequest) actualRequests.get(0)); + + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateOfflineCredentialExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEdgeContainer.addException(exception); + + try { + String cluster = "cluster872092154"; + client.generateOfflineCredential(cluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listNodePoolsTest() throws Exception { NodePool responsesElement = NodePool.newBuilder().build(); @@ -719,6 +1013,8 @@ public void getNodePoolTest() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); mockEdgeContainer.addResponse(expectedResponse); @@ -765,6 +1061,8 @@ public void getNodePoolTest2() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); mockEdgeContainer.addResponse(expectedResponse); @@ -811,6 +1109,8 @@ public void createNodePoolTest() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -871,6 +1171,8 @@ public void createNodePoolTest2() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -931,6 +1233,8 @@ public void updateNodePoolTest() throws Exception { .setNodeCount(1539922066) .setMachineFilter("machineFilter427190943") .setLocalDiskEncryption(NodePool.LocalDiskEncryption.newBuilder().build()) + .setNodeVersion("nodeVersion1155309686") + .setNodeConfig(NodePool.NodeConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1157,6 +1461,7 @@ public void getMachineTest() throws Exception { .putAllLabels(new HashMap()) .setHostedNode("hostedNode-604250391") .setZone("zone3744684") + .setVersion("version351608024") .setDisabled(true) .build(); mockEdgeContainer.addResponse(expectedResponse); @@ -1201,6 +1506,7 @@ public void getMachineTest2() throws Exception { .putAllLabels(new HashMap()) .setHostedNode("hostedNode-604250391") .setZone("zone3744684") + .setVersion("version351608024") .setDisabled(true) .build(); mockEdgeContainer.addResponse(expectedResponse); @@ -1336,6 +1642,7 @@ public void getVpnConnectionTest() throws Exception { .setVpc("vpc116969") .setVpcProject(VpnConnection.VpcProject.newBuilder().build()) .setEnableHighAvailability(true) + .setRouter("router-925132983") .setDetails(VpnConnection.Details.newBuilder().build()) .build(); mockEdgeContainer.addResponse(expectedResponse); @@ -1383,6 +1690,7 @@ public void getVpnConnectionTest2() throws Exception { .setVpc("vpc116969") .setVpcProject(VpnConnection.VpcProject.newBuilder().build()) .setEnableHighAvailability(true) + .setRouter("router-925132983") .setDetails(VpnConnection.Details.newBuilder().build()) .build(); mockEdgeContainer.addResponse(expectedResponse); @@ -1430,6 +1738,7 @@ public void createVpnConnectionTest() throws Exception { .setVpc("vpc116969") .setVpcProject(VpnConnection.VpcProject.newBuilder().build()) .setEnableHighAvailability(true) + .setRouter("router-925132983") .setDetails(VpnConnection.Details.newBuilder().build()) .build(); Operation resultOperation = @@ -1492,6 +1801,7 @@ public void createVpnConnectionTest2() throws Exception { .setVpc("vpc116969") .setVpcProject(VpnConnection.VpcProject.newBuilder().build()) .setEnableHighAvailability(true) + .setRouter("router-925132983") .setDetails(VpnConnection.Details.newBuilder().build()) .build(); Operation resultOperation = @@ -1624,4 +1934,185 @@ public void deleteVpnConnectionExceptionTest2() throws Exception { Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); } } + + @Test + public void getServerConfigTest() throws Exception { + ServerConfig expectedResponse = + ServerConfig.newBuilder() + .putAllChannels(new HashMap()) + .addAllVersions(new ArrayList()) + .setDefaultVersion("defaultVersion-1939242153") + .build(); + mockEdgeContainer.addResponse(expectedResponse); + + LocationName name = LocationName.of("[PROJECT]", "[LOCATION]"); + + ServerConfig actualResponse = client.getServerConfig(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEdgeContainer.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetServerConfigRequest actualRequest = ((GetServerConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getServerConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEdgeContainer.addException(exception); + + try { + LocationName name = LocationName.of("[PROJECT]", "[LOCATION]"); + client.getServerConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getServerConfigTest2() throws Exception { + ServerConfig expectedResponse = + ServerConfig.newBuilder() + .putAllChannels(new HashMap()) + .addAllVersions(new ArrayList()) + .setDefaultVersion("defaultVersion-1939242153") + .build(); + mockEdgeContainer.addResponse(expectedResponse); + + String name = "name3373707"; + + ServerConfig actualResponse = client.getServerConfig(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockEdgeContainer.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetServerConfigRequest actualRequest = ((GetServerConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getServerConfigExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockEdgeContainer.addException(exception); + + try { + String name = "name3373707"; + client.getServerConfig(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listLocationsTest() throws Exception { + Location responsesElement = Location.newBuilder().build(); + ListLocationsResponse expectedResponse = + ListLocationsResponse.newBuilder() + .setNextPageToken("") + .addAllLocations(Arrays.asList(responsesElement)) + .build(); + mockLocations.addResponse(expectedResponse); + + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + ListLocationsPagedResponse pagedListResponse = client.listLocations(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getLocationsList().get(0), resources.get(0)); + + List actualRequests = mockLocations.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListLocationsRequest actualRequest = ((ListLocationsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getFilter(), actualRequest.getFilter()); + Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize()); + Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listLocationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockLocations.addException(exception); + + try { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.listLocations(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getLocationTest() throws Exception { + Location expectedResponse = + Location.newBuilder() + .setName("name3373707") + .setLocationId("locationId1541836720") + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setMetadata(Any.newBuilder().build()) + .build(); + mockLocations.addResponse(expectedResponse); + + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + + Location actualResponse = client.getLocation(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockLocations.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetLocationRequest actualRequest = ((GetLocationRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getLocationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockLocations.addException(exception); + + try { + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + client.getLocation(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockEdgeContainerImpl.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockEdgeContainerImpl.java index 2c36ad302451..5d0fcb4e65f5 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockEdgeContainerImpl.java +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockEdgeContainerImpl.java @@ -142,6 +142,27 @@ public void updateCluster( } } + @Override + public void upgradeCluster( + UpgradeClusterRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpgradeCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + @Override public void deleteCluster( DeleteClusterRequest request, StreamObserver responseObserver) { @@ -185,6 +206,28 @@ public void generateAccessToken( } } + @Override + public void generateOfflineCredential( + GenerateOfflineCredentialRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GenerateOfflineCredentialResponse) { + requests.add(request); + responseObserver.onNext(((GenerateOfflineCredentialResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GenerateOfflineCredential, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GenerateOfflineCredentialResponse.class.getName(), + Exception.class.getName()))); + } + } + @Override public void listNodePools( ListNodePoolsRequest request, StreamObserver responseObserver) { @@ -414,4 +457,25 @@ public void deleteVpnConnection( Exception.class.getName()))); } } + + @Override + public void getServerConfig( + GetServerConfigRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ServerConfig) { + requests.add(request); + responseObserver.onNext(((ServerConfig) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetServerConfig, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ServerConfig.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockLocations.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockLocations.java new file mode 100644 index 000000000000..f2e94845b863 --- /dev/null +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockLocations.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockLocations implements MockGrpcService { + private final MockLocationsImpl serviceImpl; + + public MockLocations() { + serviceImpl = new MockLocationsImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockLocationsImpl.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockLocationsImpl.java new file mode 100644 index 000000000000..44ef005685e8 --- /dev/null +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/test/java/com/google/cloud/edgecontainer/v1/MockLocationsImpl.java @@ -0,0 +1,105 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1; + +import com.google.api.core.BetaApi; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.cloud.location.LocationsGrpc.LocationsImplBase; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockLocationsImpl extends LocationsImplBase { + private List requests; + private Queue responses; + + public MockLocationsImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listLocations( + ListLocationsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListLocationsResponse) { + requests.add(request); + responseObserver.onNext(((ListLocationsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListLocations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListLocationsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getLocation(GetLocationRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Location) { + requests.add(request); + responseObserver.onNext(((Location) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetLocation, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Location.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/java-distributedcloudedge/grpc-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerGrpc.java b/java-distributedcloudedge/grpc-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerGrpc.java index 407b811f159e..1325d590c9c6 100644 --- a/java-distributedcloudedge/grpc-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerGrpc.java +++ b/java-distributedcloudedge/grpc-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/EdgeContainerGrpc.java @@ -216,6 +216,50 @@ private EdgeContainerGrpc() {} return getUpdateClusterMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest, com.google.longrunning.Operation> + getUpgradeClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpgradeCluster", + requestType = com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest, com.google.longrunning.Operation> + getUpgradeClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest, + com.google.longrunning.Operation> + getUpgradeClusterMethod; + if ((getUpgradeClusterMethod = EdgeContainerGrpc.getUpgradeClusterMethod) == null) { + synchronized (EdgeContainerGrpc.class) { + if ((getUpgradeClusterMethod = EdgeContainerGrpc.getUpgradeClusterMethod) == null) { + EdgeContainerGrpc.getUpgradeClusterMethod = + getUpgradeClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpgradeCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new EdgeContainerMethodDescriptorSupplier("UpgradeCluster")) + .build(); + } + } + } + return getUpgradeClusterMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.edgecontainer.v1.DeleteClusterRequest, com.google.longrunning.Operation> getDeleteClusterMethod; @@ -309,6 +353,57 @@ private EdgeContainerGrpc() {} return getGenerateAccessTokenMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest, + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse> + getGenerateOfflineCredentialMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateOfflineCredential", + requestType = com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest.class, + responseType = com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest, + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse> + getGenerateOfflineCredentialMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest, + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse> + getGenerateOfflineCredentialMethod; + if ((getGenerateOfflineCredentialMethod = EdgeContainerGrpc.getGenerateOfflineCredentialMethod) + == null) { + synchronized (EdgeContainerGrpc.class) { + if ((getGenerateOfflineCredentialMethod = + EdgeContainerGrpc.getGenerateOfflineCredentialMethod) + == null) { + EdgeContainerGrpc.getGenerateOfflineCredentialMethod = + getGenerateOfflineCredentialMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GenerateOfflineCredential")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new EdgeContainerMethodDescriptorSupplier("GenerateOfflineCredential")) + .build(); + } + } + } + return getGenerateOfflineCredentialMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.edgecontainer.v1.ListNodePoolsRequest, com.google.cloud.edgecontainer.v1.ListNodePoolsResponse> @@ -814,6 +909,52 @@ private EdgeContainerGrpc() {} return getDeleteVpnConnectionMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.edgecontainer.v1.GetServerConfigRequest, + com.google.cloud.edgecontainer.v1.ServerConfig> + getGetServerConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetServerConfig", + requestType = com.google.cloud.edgecontainer.v1.GetServerConfigRequest.class, + responseType = com.google.cloud.edgecontainer.v1.ServerConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.edgecontainer.v1.GetServerConfigRequest, + com.google.cloud.edgecontainer.v1.ServerConfig> + getGetServerConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.edgecontainer.v1.GetServerConfigRequest, + com.google.cloud.edgecontainer.v1.ServerConfig> + getGetServerConfigMethod; + if ((getGetServerConfigMethod = EdgeContainerGrpc.getGetServerConfigMethod) == null) { + synchronized (EdgeContainerGrpc.class) { + if ((getGetServerConfigMethod = EdgeContainerGrpc.getGetServerConfigMethod) == null) { + EdgeContainerGrpc.getGetServerConfigMethod = + getGetServerConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServerConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgecontainer.v1.GetServerConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.edgecontainer.v1.ServerConfig.getDefaultInstance())) + .setSchemaDescriptor( + new EdgeContainerMethodDescriptorSupplier("GetServerConfig")) + .build(); + } + } + } + return getGetServerConfigMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static EdgeContainerStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -921,6 +1062,20 @@ default void updateCluster( getUpdateClusterMethod(), responseObserver); } + /** + * + * + *
+     * Upgrades a single cluster.
+     * 
+ */ + default void upgradeCluster( + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpgradeClusterMethod(), responseObserver); + } + /** * * @@ -950,6 +1105,22 @@ default void generateAccessToken( getGenerateAccessTokenMethod(), responseObserver); } + /** + * + * + *
+     * Generates an offline credential for a Cluster.
+     * 
+ */ + default void generateOfflineCredential( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateOfflineCredentialMethod(), responseObserver); + } + /** * * @@ -1106,6 +1277,21 @@ default void deleteVpnConnection( io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteVpnConnectionMethod(), responseObserver); } + + /** + * + * + *
+     * Gets the server config.
+     * 
+ */ + default void getServerConfig( + com.google.cloud.edgecontainer.v1.GetServerConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetServerConfigMethod(), responseObserver); + } } /** @@ -1207,6 +1393,22 @@ public void updateCluster( responseObserver); } + /** + * + * + *
+     * Upgrades a single cluster.
+     * 
+ */ + public void upgradeCluster( + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpgradeClusterMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -1240,6 +1442,24 @@ public void generateAccessToken( responseObserver); } + /** + * + * + *
+     * Generates an offline credential for a Cluster.
+     * 
+ */ + public void generateOfflineCredential( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateOfflineCredentialMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -1417,6 +1637,23 @@ public void deleteVpnConnection( request, responseObserver); } + + /** + * + * + *
+     * Gets the server config.
+     * 
+ */ + public void getServerConfig( + com.google.cloud.edgecontainer.v1.GetServerConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -1491,6 +1728,19 @@ public com.google.longrunning.Operation updateCluster( getChannel(), getUpdateClusterMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Upgrades a single cluster.
+     * 
+ */ + public com.google.longrunning.Operation upgradeCluster( + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpgradeClusterMethod(), getCallOptions(), request); + } + /** * * @@ -1517,6 +1767,20 @@ public com.google.cloud.edgecontainer.v1.GenerateAccessTokenResponse generateAcc getChannel(), getGenerateAccessTokenMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Generates an offline credential for a Cluster.
+     * 
+ */ + public com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse + generateOfflineCredential( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateOfflineCredentialMethod(), getCallOptions(), request); + } + /** * * @@ -1659,6 +1923,19 @@ public com.google.longrunning.Operation deleteVpnConnection( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteVpnConnectionMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Gets the server config.
+     * 
+ */ + public com.google.cloud.edgecontainer.v1.ServerConfig getServerConfig( + com.google.cloud.edgecontainer.v1.GetServerConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetServerConfigMethod(), getCallOptions(), request); + } } /** @@ -1735,6 +2012,19 @@ protected EdgeContainerFutureStub build( getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); } + /** + * + * + *
+     * Upgrades a single cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + upgradeCluster(com.google.cloud.edgecontainer.v1.UpgradeClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpgradeClusterMethod(), getCallOptions()), request); + } + /** * * @@ -1762,6 +2052,21 @@ protected EdgeContainerFutureStub build( getChannel().newCall(getGenerateAccessTokenMethod(), getCallOptions()), request); } + /** + * + * + *
+     * Generates an offline credential for a Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse> + generateOfflineCredential( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateOfflineCredentialMethod(), getCallOptions()), request); + } + /** * * @@ -1910,25 +2215,42 @@ protected EdgeContainerFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteVpnConnectionMethod(), getCallOptions()), request); } + + /** + * + * + *
+     * Gets the server config.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.edgecontainer.v1.ServerConfig> + getServerConfig(com.google.cloud.edgecontainer.v1.GetServerConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request); + } } private static final int METHODID_LIST_CLUSTERS = 0; private static final int METHODID_GET_CLUSTER = 1; private static final int METHODID_CREATE_CLUSTER = 2; private static final int METHODID_UPDATE_CLUSTER = 3; - private static final int METHODID_DELETE_CLUSTER = 4; - private static final int METHODID_GENERATE_ACCESS_TOKEN = 5; - private static final int METHODID_LIST_NODE_POOLS = 6; - private static final int METHODID_GET_NODE_POOL = 7; - private static final int METHODID_CREATE_NODE_POOL = 8; - private static final int METHODID_UPDATE_NODE_POOL = 9; - private static final int METHODID_DELETE_NODE_POOL = 10; - private static final int METHODID_LIST_MACHINES = 11; - private static final int METHODID_GET_MACHINE = 12; - private static final int METHODID_LIST_VPN_CONNECTIONS = 13; - private static final int METHODID_GET_VPN_CONNECTION = 14; - private static final int METHODID_CREATE_VPN_CONNECTION = 15; - private static final int METHODID_DELETE_VPN_CONNECTION = 16; + private static final int METHODID_UPGRADE_CLUSTER = 4; + private static final int METHODID_DELETE_CLUSTER = 5; + private static final int METHODID_GENERATE_ACCESS_TOKEN = 6; + private static final int METHODID_GENERATE_OFFLINE_CREDENTIAL = 7; + private static final int METHODID_LIST_NODE_POOLS = 8; + private static final int METHODID_GET_NODE_POOL = 9; + private static final int METHODID_CREATE_NODE_POOL = 10; + private static final int METHODID_UPDATE_NODE_POOL = 11; + private static final int METHODID_DELETE_NODE_POOL = 12; + private static final int METHODID_LIST_MACHINES = 13; + private static final int METHODID_GET_MACHINE = 14; + private static final int METHODID_LIST_VPN_CONNECTIONS = 15; + private static final int METHODID_GET_VPN_CONNECTION = 16; + private static final int METHODID_CREATE_VPN_CONNECTION = 17; + private static final int METHODID_DELETE_VPN_CONNECTION = 18; + private static final int METHODID_GET_SERVER_CONFIG = 19; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -1969,6 +2291,11 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.edgecontainer.v1.UpdateClusterRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_UPGRADE_CLUSTER: + serviceImpl.upgradeCluster( + (com.google.cloud.edgecontainer.v1.UpgradeClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; case METHODID_DELETE_CLUSTER: serviceImpl.deleteCluster( (com.google.cloud.edgecontainer.v1.DeleteClusterRequest) request, @@ -1981,6 +2308,13 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv com.google.cloud.edgecontainer.v1.GenerateAccessTokenResponse>) responseObserver); break; + case METHODID_GENERATE_OFFLINE_CREDENTIAL: + serviceImpl.generateOfflineCredential( + (com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse>) + responseObserver); + break; case METHODID_LIST_NODE_POOLS: serviceImpl.listNodePools( (com.google.cloud.edgecontainer.v1.ListNodePoolsRequest) request, @@ -2043,6 +2377,12 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.edgecontainer.v1.DeleteVpnConnectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_GET_SERVER_CONFIG: + serviceImpl.getServerConfig( + (com.google.cloud.edgecontainer.v1.GetServerConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; default: throw new AssertionError(); } @@ -2086,6 +2426,12 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser new MethodHandlers< com.google.cloud.edgecontainer.v1.UpdateClusterRequest, com.google.longrunning.Operation>(service, METHODID_UPDATE_CLUSTER))) + .addMethod( + getUpgradeClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest, + com.google.longrunning.Operation>(service, METHODID_UPGRADE_CLUSTER))) .addMethod( getDeleteClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -2099,6 +2445,13 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser com.google.cloud.edgecontainer.v1.GenerateAccessTokenRequest, com.google.cloud.edgecontainer.v1.GenerateAccessTokenResponse>( service, METHODID_GENERATE_ACCESS_TOKEN))) + .addMethod( + getGenerateOfflineCredentialMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest, + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse>( + service, METHODID_GENERATE_OFFLINE_CREDENTIAL))) .addMethod( getListNodePoolsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -2169,6 +2522,13 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser new MethodHandlers< com.google.cloud.edgecontainer.v1.DeleteVpnConnectionRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_VPN_CONNECTION))) + .addMethod( + getGetServerConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.edgecontainer.v1.GetServerConfigRequest, + com.google.cloud.edgecontainer.v1.ServerConfig>( + service, METHODID_GET_SERVER_CONFIG))) .build(); } @@ -2224,8 +2584,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getGetClusterMethod()) .addMethod(getCreateClusterMethod()) .addMethod(getUpdateClusterMethod()) + .addMethod(getUpgradeClusterMethod()) .addMethod(getDeleteClusterMethod()) .addMethod(getGenerateAccessTokenMethod()) + .addMethod(getGenerateOfflineCredentialMethod()) .addMethod(getListNodePoolsMethod()) .addMethod(getGetNodePoolMethod()) .addMethod(getCreateNodePoolMethod()) @@ -2237,6 +2599,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getGetVpnConnectionMethod()) .addMethod(getCreateVpnConnectionMethod()) .addMethod(getDeleteVpnConnectionMethod()) + .addMethod(getGetServerConfigMethod()) .build(); } } diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Authorization.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Authorization.java index e63901a9b982..cb7b55d64388 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Authorization.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Authorization.java @@ -68,9 +68,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. User that will be granted the cluster-admin role on the cluster, providing
-   * full access to the cluster. Currently, this is a singular field, but will
-   * be expanded to allow multiple admins in the future.
+   * Required. User that will be granted the cluster-admin role on the cluster,
+   * providing full access to the cluster. Currently, this is a singular field,
+   * but will be expanded to allow multiple admins in the future.
    * 
* * @@ -87,9 +87,9 @@ public boolean hasAdminUsers() { * * *
-   * Required. User that will be granted the cluster-admin role on the cluster, providing
-   * full access to the cluster. Currently, this is a singular field, but will
-   * be expanded to allow multiple admins in the future.
+   * Required. User that will be granted the cluster-admin role on the cluster,
+   * providing full access to the cluster. Currently, this is a singular field,
+   * but will be expanded to allow multiple admins in the future.
    * 
* * @@ -108,9 +108,9 @@ public com.google.cloud.edgecontainer.v1.ClusterUser getAdminUsers() { * * *
-   * Required. User that will be granted the cluster-admin role on the cluster, providing
-   * full access to the cluster. Currently, this is a singular field, but will
-   * be expanded to allow multiple admins in the future.
+   * Required. User that will be granted the cluster-admin role on the cluster,
+   * providing full access to the cluster. Currently, this is a singular field,
+   * but will be expanded to allow multiple admins in the future.
    * 
* * @@ -495,9 +495,9 @@ public Builder mergeFrom( * * *
-     * Required. User that will be granted the cluster-admin role on the cluster, providing
-     * full access to the cluster. Currently, this is a singular field, but will
-     * be expanded to allow multiple admins in the future.
+     * Required. User that will be granted the cluster-admin role on the cluster,
+     * providing full access to the cluster. Currently, this is a singular field,
+     * but will be expanded to allow multiple admins in the future.
      * 
* * @@ -513,9 +513,9 @@ public boolean hasAdminUsers() { * * *
-     * Required. User that will be granted the cluster-admin role on the cluster, providing
-     * full access to the cluster. Currently, this is a singular field, but will
-     * be expanded to allow multiple admins in the future.
+     * Required. User that will be granted the cluster-admin role on the cluster,
+     * providing full access to the cluster. Currently, this is a singular field,
+     * but will be expanded to allow multiple admins in the future.
      * 
* * @@ -537,9 +537,9 @@ public com.google.cloud.edgecontainer.v1.ClusterUser getAdminUsers() { * * *
-     * Required. User that will be granted the cluster-admin role on the cluster, providing
-     * full access to the cluster. Currently, this is a singular field, but will
-     * be expanded to allow multiple admins in the future.
+     * Required. User that will be granted the cluster-admin role on the cluster,
+     * providing full access to the cluster. Currently, this is a singular field,
+     * but will be expanded to allow multiple admins in the future.
      * 
* * @@ -563,9 +563,9 @@ public Builder setAdminUsers(com.google.cloud.edgecontainer.v1.ClusterUser value * * *
-     * Required. User that will be granted the cluster-admin role on the cluster, providing
-     * full access to the cluster. Currently, this is a singular field, but will
-     * be expanded to allow multiple admins in the future.
+     * Required. User that will be granted the cluster-admin role on the cluster,
+     * providing full access to the cluster. Currently, this is a singular field,
+     * but will be expanded to allow multiple admins in the future.
      * 
* * @@ -587,9 +587,9 @@ public Builder setAdminUsers( * * *
-     * Required. User that will be granted the cluster-admin role on the cluster, providing
-     * full access to the cluster. Currently, this is a singular field, but will
-     * be expanded to allow multiple admins in the future.
+     * Required. User that will be granted the cluster-admin role on the cluster,
+     * providing full access to the cluster. Currently, this is a singular field,
+     * but will be expanded to allow multiple admins in the future.
      * 
* * @@ -618,9 +618,9 @@ public Builder mergeAdminUsers(com.google.cloud.edgecontainer.v1.ClusterUser val * * *
-     * Required. User that will be granted the cluster-admin role on the cluster, providing
-     * full access to the cluster. Currently, this is a singular field, but will
-     * be expanded to allow multiple admins in the future.
+     * Required. User that will be granted the cluster-admin role on the cluster,
+     * providing full access to the cluster. Currently, this is a singular field,
+     * but will be expanded to allow multiple admins in the future.
      * 
* * @@ -641,9 +641,9 @@ public Builder clearAdminUsers() { * * *
-     * Required. User that will be granted the cluster-admin role on the cluster, providing
-     * full access to the cluster. Currently, this is a singular field, but will
-     * be expanded to allow multiple admins in the future.
+     * Required. User that will be granted the cluster-admin role on the cluster,
+     * providing full access to the cluster. Currently, this is a singular field,
+     * but will be expanded to allow multiple admins in the future.
      * 
* * @@ -659,9 +659,9 @@ public com.google.cloud.edgecontainer.v1.ClusterUser.Builder getAdminUsersBuilde * * *
-     * Required. User that will be granted the cluster-admin role on the cluster, providing
-     * full access to the cluster. Currently, this is a singular field, but will
-     * be expanded to allow multiple admins in the future.
+     * Required. User that will be granted the cluster-admin role on the cluster,
+     * providing full access to the cluster. Currently, this is a singular field,
+     * but will be expanded to allow multiple admins in the future.
      * 
* * @@ -681,9 +681,9 @@ public com.google.cloud.edgecontainer.v1.ClusterUserOrBuilder getAdminUsersOrBui * * *
-     * Required. User that will be granted the cluster-admin role on the cluster, providing
-     * full access to the cluster. Currently, this is a singular field, but will
-     * be expanded to allow multiple admins in the future.
+     * Required. User that will be granted the cluster-admin role on the cluster,
+     * providing full access to the cluster. Currently, this is a singular field,
+     * but will be expanded to allow multiple admins in the future.
      * 
* * diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/AuthorizationOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/AuthorizationOrBuilder.java index ab07093d29d9..7fbe37e1cd04 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/AuthorizationOrBuilder.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/AuthorizationOrBuilder.java @@ -28,9 +28,9 @@ public interface AuthorizationOrBuilder * * *
-   * Required. User that will be granted the cluster-admin role on the cluster, providing
-   * full access to the cluster. Currently, this is a singular field, but will
-   * be expanded to allow multiple admins in the future.
+   * Required. User that will be granted the cluster-admin role on the cluster,
+   * providing full access to the cluster. Currently, this is a singular field,
+   * but will be expanded to allow multiple admins in the future.
    * 
* * @@ -44,9 +44,9 @@ public interface AuthorizationOrBuilder * * *
-   * Required. User that will be granted the cluster-admin role on the cluster, providing
-   * full access to the cluster. Currently, this is a singular field, but will
-   * be expanded to allow multiple admins in the future.
+   * Required. User that will be granted the cluster-admin role on the cluster,
+   * providing full access to the cluster. Currently, this is a singular field,
+   * but will be expanded to allow multiple admins in the future.
    * 
* * @@ -60,9 +60,9 @@ public interface AuthorizationOrBuilder * * *
-   * Required. User that will be granted the cluster-admin role on the cluster, providing
-   * full access to the cluster. Currently, this is a singular field, but will
-   * be expanded to allow multiple admins in the future.
+   * Required. User that will be granted the cluster-admin role on the cluster,
+   * providing full access to the cluster. Currently, this is a singular field,
+   * but will be expanded to allow multiple admins in the future.
    * 
* * diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ChannelConfig.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ChannelConfig.java new file mode 100644 index 000000000000..8dda279e6667 --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ChannelConfig.java @@ -0,0 +1,625 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/resources.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +/** + * + * + *
+ * Configuration for a release channel.
+ * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.ChannelConfig} + */ +public final class ChannelConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.ChannelConfig) + ChannelConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ChannelConfig.newBuilder() to construct. + private ChannelConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ChannelConfig() { + defaultVersion_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ChannelConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ChannelConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ChannelConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.ChannelConfig.class, + com.google.cloud.edgecontainer.v1.ChannelConfig.Builder.class); + } + + public static final int DEFAULT_VERSION_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object defaultVersion_ = ""; + /** + * + * + *
+   * Output only. Default version for this release channel, e.g.: "1.4.0".
+   * 
+ * + * string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The defaultVersion. + */ + @java.lang.Override + public java.lang.String getDefaultVersion() { + java.lang.Object ref = defaultVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultVersion_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. Default version for this release channel, e.g.: "1.4.0".
+   * 
+ * + * string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for defaultVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDefaultVersionBytes() { + java.lang.Object ref = defaultVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + defaultVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultVersion_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, defaultVersion_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.ChannelConfig)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.ChannelConfig other = + (com.google.cloud.edgecontainer.v1.ChannelConfig) obj; + + if (!getDefaultVersion().equals(other.getDefaultVersion())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DEFAULT_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getDefaultVersion().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig 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.edgecontainer.v1.ChannelConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.edgecontainer.v1.ChannelConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Configuration for a release channel.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.ChannelConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.ChannelConfig) + com.google.cloud.edgecontainer.v1.ChannelConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ChannelConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ChannelConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.ChannelConfig.class, + com.google.cloud.edgecontainer.v1.ChannelConfig.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.ChannelConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + defaultVersion_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ChannelConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ChannelConfig getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.ChannelConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ChannelConfig build() { + com.google.cloud.edgecontainer.v1.ChannelConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ChannelConfig buildPartial() { + com.google.cloud.edgecontainer.v1.ChannelConfig result = + new com.google.cloud.edgecontainer.v1.ChannelConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.edgecontainer.v1.ChannelConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.defaultVersion_ = defaultVersion_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.ChannelConfig) { + return mergeFrom((com.google.cloud.edgecontainer.v1.ChannelConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.edgecontainer.v1.ChannelConfig other) { + if (other == com.google.cloud.edgecontainer.v1.ChannelConfig.getDefaultInstance()) + return this; + if (!other.getDefaultVersion().isEmpty()) { + defaultVersion_ = other.defaultVersion_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + defaultVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object defaultVersion_ = ""; + /** + * + * + *
+     * Output only. Default version for this release channel, e.g.: "1.4.0".
+     * 
+ * + * string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The defaultVersion. + */ + public java.lang.String getDefaultVersion() { + java.lang.Object ref = defaultVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. Default version for this release channel, e.g.: "1.4.0".
+     * 
+ * + * string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for defaultVersion. + */ + public com.google.protobuf.ByteString getDefaultVersionBytes() { + java.lang.Object ref = defaultVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + defaultVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. Default version for this release channel, e.g.: "1.4.0".
+     * 
+ * + * string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The defaultVersion to set. + * @return This builder for chaining. + */ + public Builder setDefaultVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + defaultVersion_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Default version for this release channel, e.g.: "1.4.0".
+     * 
+ * + * string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearDefaultVersion() { + defaultVersion_ = getDefaultInstance().getDefaultVersion(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Default version for this release channel, e.g.: "1.4.0".
+     * 
+ * + * string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for defaultVersion to set. + * @return This builder for chaining. + */ + public Builder setDefaultVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultVersion_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.ChannelConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.ChannelConfig) + private static final com.google.cloud.edgecontainer.v1.ChannelConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.ChannelConfig(); + } + + public static com.google.cloud.edgecontainer.v1.ChannelConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ChannelConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ChannelConfigOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ChannelConfigOrBuilder.java new file mode 100644 index 000000000000..43a13e3bcb31 --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ChannelConfigOrBuilder.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/resources.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +public interface ChannelConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.ChannelConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Default version for this release channel, e.g.: "1.4.0".
+   * 
+ * + * string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The defaultVersion. + */ + java.lang.String getDefaultVersion(); + /** + * + * + *
+   * Output only. Default version for this release channel, e.g.: "1.4.0".
+   * 
+ * + * string default_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for defaultVersion. + */ + com.google.protobuf.ByteString getDefaultVersionBytes(); +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Cluster.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Cluster.java index 0d9133e27b31..b4f48af97e08 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Cluster.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Cluster.java @@ -42,6 +42,14 @@ private Cluster() { name_ = ""; endpoint_ = ""; clusterCaCertificate_ = ""; + controlPlaneVersion_ = ""; + nodeVersion_ = ""; + externalLoadBalancerIpv4AddressPools_ = com.google.protobuf.LazyStringArrayList.emptyList(); + status_ = 0; + maintenanceEvents_ = java.util.Collections.emptyList(); + targetVersion_ = ""; + releaseChannel_ = 0; + externalLoadBalancerIpv6AddressPools_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -77,1307 +85,15307 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl com.google.cloud.edgecontainer.v1.Cluster.Builder.class); } - private int bitField0_; - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; /** * * *
-   * Required. The resource name of the cluster.
+   * Indicates the status of the cluster.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. + * Protobuf enum {@code google.cloud.edgecontainer.v1.Cluster.Status} */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; + public enum Status implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Status unknown.
+     * 
+ * + * STATUS_UNSPECIFIED = 0; + */ + STATUS_UNSPECIFIED(0), + /** + * + * + *
+     * The cluster is being created.
+     * 
+ * + * PROVISIONING = 1; + */ + PROVISIONING(1), + /** + * + * + *
+     * The cluster is created and fully usable.
+     * 
+ * + * RUNNING = 2; + */ + RUNNING(2), + /** + * + * + *
+     * The cluster is being deleted.
+     * 
+ * + * DELETING = 3; + */ + DELETING(3), + /** + * + * + *
+     * The status indicates that some errors occurred while reconciling/deleting
+     * the cluster.
+     * 
+ * + * ERROR = 4; + */ + ERROR(4), + /** + * + * + *
+     * The cluster is undergoing some work such as version upgrades, etc.
+     * 
+ * + * RECONCILING = 5; + */ + RECONCILING(5), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Status unknown.
+     * 
+ * + * STATUS_UNSPECIFIED = 0; + */ + public static final int STATUS_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * The cluster is being created.
+     * 
+ * + * PROVISIONING = 1; + */ + public static final int PROVISIONING_VALUE = 1; + /** + * + * + *
+     * The cluster is created and fully usable.
+     * 
+ * + * RUNNING = 2; + */ + public static final int RUNNING_VALUE = 2; + /** + * + * + *
+     * The cluster is being deleted.
+     * 
+ * + * DELETING = 3; + */ + public static final int DELETING_VALUE = 3; + /** + * + * + *
+     * The status indicates that some errors occurred while reconciling/deleting
+     * the cluster.
+     * 
+ * + * ERROR = 4; + */ + public static final int ERROR_VALUE = 4; + /** + * + * + *
+     * The cluster is undergoing some work such as version upgrades, etc.
+     * 
+ * + * RECONCILING = 5; + */ + public static final int RECONCILING_VALUE = 5; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; } - } - /** - * - * - *
-   * Required. The resource name of the cluster.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Status valueOf(int value) { + return forNumber(value); } - } - public static final int CREATE_TIME_FIELD_NUMBER = 2; - private com.google.protobuf.Timestamp createTime_; - /** - * - * - *
-   * Output only. The time when the cluster was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - @java.lang.Override - public boolean hasCreateTime() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * - * - *
-   * Output only. The time when the cluster was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getCreateTime() { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; - } - /** - * - * - *
-   * Output only. The time when the cluster was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; - } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Status forNumber(int value) { + switch (value) { + case 0: + return STATUS_UNSPECIFIED; + case 1: + return PROVISIONING; + case 2: + return RUNNING; + case 3: + return DELETING; + case 4: + return ERROR; + case 5: + return RECONCILING; + default: + return null; + } + } - public static final int UPDATE_TIME_FIELD_NUMBER = 3; - private com.google.protobuf.Timestamp updateTime_; - /** - * - * - *
-   * Output only. The time when the cluster was last updated.
-   * 
- * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the updateTime field is set. - */ - @java.lang.Override - public boolean hasUpdateTime() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * - * - *
-   * Output only. The time when the cluster was last updated.
-   * 
- * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The updateTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getUpdateTime() { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Status findValueByNumber(int number) { + return Status.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.Cluster.getDescriptor().getEnumTypes().get(0); + } + + private static final Status[] VALUES = values(); + + public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Status(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.edgecontainer.v1.Cluster.Status) } + /** * * *
-   * Output only. The time when the cluster was last updated.
+   * The release channel a cluster is subscribed to.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * Protobuf enum {@code google.cloud.edgecontainer.v1.Cluster.ReleaseChannel} */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; - } - - 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.edgecontainer.v1.ResourcesProto - .internal_static_google_cloud_edgecontainer_v1_Cluster_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } + public enum ReleaseChannel implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified release channel. This will default to the REGULAR channel.
+     * 
+ * + * RELEASE_CHANNEL_UNSPECIFIED = 0; + */ + RELEASE_CHANNEL_UNSPECIFIED(0), + /** + * + * + *
+     * No release channel.
+     * 
+ * + * NONE = 1; + */ + NONE(1), + /** + * + * + *
+     * Regular release channel.
+     * 
+ * + * REGULAR = 2; + */ + REGULAR(2), + UNRECOGNIZED(-1), + ; - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; + /** + * + * + *
+     * Unspecified release channel. This will default to the REGULAR channel.
+     * 
+ * + * RELEASE_CHANNEL_UNSPECIFIED = 0; + */ + public static final int RELEASE_CHANNEL_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * No release channel.
+     * 
+ * + * NONE = 1; + */ + public static final int NONE_VALUE = 1; + /** + * + * + *
+     * Regular release channel.
+     * 
+ * + * REGULAR = 2; + */ + public static final int REGULAR_VALUE = 2; - private com.google.protobuf.MapField internalGetLabels() { - if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; } - return labels_; - } - public int getLabelsCount() { - return internalGetLabels().getMap().size(); - } - /** - * - * - *
-   * Labels associated with this resource.
-   * 
- * - * map<string, string> labels = 4; - */ - @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ReleaseChannel valueOf(int value) { + return forNumber(value); } - return internalGetLabels().getMap().containsKey(key); - } - /** Use {@link #getLabelsMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getLabels() { - return getLabelsMap(); - } - /** - * - * - *
-   * Labels associated with this resource.
-   * 
- * - * map<string, string> labels = 4; - */ - @java.lang.Override - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); - } - /** - * - * - *
-   * Labels associated with this resource.
-   * 
- * - * map<string, string> labels = 4; - */ - @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( - java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ReleaseChannel forNumber(int value) { + switch (value) { + case 0: + return RELEASE_CHANNEL_UNSPECIFIED; + case 1: + return NONE; + case 2: + return REGULAR; + default: + return null; + } } - java.util.Map map = internalGetLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * - * - *
-   * Labels associated with this resource.
-   * 
- * - * map<string, string> labels = 4; - */ - @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; } - java.util.Map map = internalGetLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ReleaseChannel findValueByNumber(int number) { + return ReleaseChannel.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()); } - return map.get(key); - } - public static final int FLEET_FIELD_NUMBER = 11; - private com.google.cloud.edgecontainer.v1.Fleet fleet_; - /** - * - * - *
-   * Optional. Fleet configuration.
-   * 
- * - * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the fleet field is set. - */ - @java.lang.Override - public boolean hasFleet() { - return ((bitField0_ & 0x00000004) != 0); + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.Cluster.getDescriptor().getEnumTypes().get(1); + } + + private static final ReleaseChannel[] VALUES = values(); + + public static ReleaseChannel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ReleaseChannel(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.edgecontainer.v1.Cluster.ReleaseChannel) } - /** - * - * - *
-   * Optional. Fleet configuration.
-   * 
- * - * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The fleet. - */ - @java.lang.Override - public com.google.cloud.edgecontainer.v1.Fleet getFleet() { - return fleet_ == null ? com.google.cloud.edgecontainer.v1.Fleet.getDefaultInstance() : fleet_; + + public interface ControlPlaneOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.Cluster.ControlPlane) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Remote control plane configuration.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + * + * @return Whether the remote field is set. + */ + boolean hasRemote(); + /** + * + * + *
+     * Remote control plane configuration.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + * + * @return The remote. + */ + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote getRemote(); + /** + * + * + *
+     * Remote control plane configuration.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + */ + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.RemoteOrBuilder getRemoteOrBuilder(); + + /** + * + * + *
+     * Local control plane configuration.
+     *
+     * Warning: Local control plane clusters must be created in their own
+     * project. Local control plane clusters cannot coexist in the same
+     * project with any other type of clusters, including non-GDCE clusters.
+     * Mixing local control plane GDCE clusters with any other type of
+     * clusters in the same project can result in data loss.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + * + * @return Whether the local field is set. + */ + boolean hasLocal(); + /** + * + * + *
+     * Local control plane configuration.
+     *
+     * Warning: Local control plane clusters must be created in their own
+     * project. Local control plane clusters cannot coexist in the same
+     * project with any other type of clusters, including non-GDCE clusters.
+     * Mixing local control plane GDCE clusters with any other type of
+     * clusters in the same project can result in data loss.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + * + * @return The local. + */ + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local getLocal(); + /** + * + * + *
+     * Local control plane configuration.
+     *
+     * Warning: Local control plane clusters must be created in their own
+     * project. Local control plane clusters cannot coexist in the same
+     * project with any other type of clusters, including non-GDCE clusters.
+     * Mixing local control plane GDCE clusters with any other type of
+     * clusters in the same project can result in data loss.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + */ + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.LocalOrBuilder getLocalOrBuilder(); + + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.ConfigCase getConfigCase(); } /** * * *
-   * Optional. Fleet configuration.
+   * Configuration of the cluster control plane.
    * 
* - * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.ControlPlane} */ - @java.lang.Override - public com.google.cloud.edgecontainer.v1.FleetOrBuilder getFleetOrBuilder() { - return fleet_ == null ? com.google.cloud.edgecontainer.v1.Fleet.getDefaultInstance() : fleet_; - } + public static final class ControlPlane extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.Cluster.ControlPlane) + ControlPlaneOrBuilder { + private static final long serialVersionUID = 0L; + // Use ControlPlane.newBuilder() to construct. + private ControlPlane(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } - public static final int NETWORKING_FIELD_NUMBER = 7; - private com.google.cloud.edgecontainer.v1.ClusterNetworking networking_; - /** - * - * - *
-   * Required. Cluster-wide networking configuration.
-   * 
- * - * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the networking field is set. - */ - @java.lang.Override - public boolean hasNetworking() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * - * - *
-   * Required. Cluster-wide networking configuration.
-   * 
- * - * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The networking. - */ - @java.lang.Override - public com.google.cloud.edgecontainer.v1.ClusterNetworking getNetworking() { - return networking_ == null - ? com.google.cloud.edgecontainer.v1.ClusterNetworking.getDefaultInstance() - : networking_; - } - /** - * - * - *
-   * Required. Cluster-wide networking configuration.
-   * 
- * - * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.cloud.edgecontainer.v1.ClusterNetworkingOrBuilder getNetworkingOrBuilder() { - return networking_ == null - ? com.google.cloud.edgecontainer.v1.ClusterNetworking.getDefaultInstance() - : networking_; - } - - public static final int AUTHORIZATION_FIELD_NUMBER = 9; - private com.google.cloud.edgecontainer.v1.Authorization authorization_; - /** - * - * - *
-   * Required. Immutable. RBAC policy that will be applied and managed by GEC.
-   * 
- * - * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return Whether the authorization field is set. - */ - @java.lang.Override - public boolean hasAuthorization() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * - * - *
-   * Required. Immutable. RBAC policy that will be applied and managed by GEC.
-   * 
- * - * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The authorization. - */ - @java.lang.Override - public com.google.cloud.edgecontainer.v1.Authorization getAuthorization() { - return authorization_ == null - ? com.google.cloud.edgecontainer.v1.Authorization.getDefaultInstance() - : authorization_; - } - /** - * - * - *
-   * Required. Immutable. RBAC policy that will be applied and managed by GEC.
-   * 
- * - * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - */ - @java.lang.Override - public com.google.cloud.edgecontainer.v1.AuthorizationOrBuilder getAuthorizationOrBuilder() { - return authorization_ == null - ? com.google.cloud.edgecontainer.v1.Authorization.getDefaultInstance() - : authorization_; - } - - public static final int DEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER = 8; - private int defaultMaxPodsPerNode_ = 0; - /** - * - * - *
-   * Optional. The default maximum number of pods per node used if a maximum value is not
-   * specified explicitly for a node pool in this cluster. If unspecified, the
-   * Kubernetes default value will be used.
-   * 
- * - * int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The defaultMaxPodsPerNode. - */ - @java.lang.Override - public int getDefaultMaxPodsPerNode() { - return defaultMaxPodsPerNode_; - } + private ControlPlane() {} - public static final int ENDPOINT_FIELD_NUMBER = 6; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ControlPlane(); + } - @SuppressWarnings("serial") - private volatile java.lang.Object endpoint_ = ""; - /** - * - * - *
-   * Output only. The IP address of the Kubernetes API server.
-   * 
- * - * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The endpoint. - */ - @java.lang.Override - public java.lang.String getEndpoint() { - java.lang.Object ref = endpoint_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - endpoint_ = s; - return s; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_descriptor; } - } - /** - * - * - *
-   * Output only. The IP address of the Kubernetes API server.
-   * 
- * - * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for endpoint. - */ - @java.lang.Override - 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); - endpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.class, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Builder.class); } - } - public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 10; + /** + * + * + *
+     * Represents the policy configuration about how user applications are
+     * deployed.
+     * 
+ * + * Protobuf enum {@code + * google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy} + */ + public enum SharedDeploymentPolicy implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Unspecified.
+       * 
+ * + * SHARED_DEPLOYMENT_POLICY_UNSPECIFIED = 0; + */ + SHARED_DEPLOYMENT_POLICY_UNSPECIFIED(0), + /** + * + * + *
+       * User applications can be deployed both on control plane and worker
+       * nodes.
+       * 
+ * + * ALLOWED = 1; + */ + ALLOWED(1), + /** + * + * + *
+       * User applications can not be deployed on control plane nodes and can
+       * only be deployed on worker nodes.
+       * 
+ * + * DISALLOWED = 2; + */ + DISALLOWED(2), + UNRECOGNIZED(-1), + ; - @SuppressWarnings("serial") - private volatile java.lang.Object clusterCaCertificate_ = ""; - /** - * - * - *
-   * Output only. The PEM-encoded public certificate of the cluster's CA.
-   * 
- * - * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The clusterCaCertificate. - */ - @java.lang.Override - public java.lang.String getClusterCaCertificate() { - java.lang.Object ref = clusterCaCertificate_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - clusterCaCertificate_ = s; - return s; - } - } - /** - * - * - *
-   * Output only. The PEM-encoded public certificate of the cluster's CA.
-   * 
- * - * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for clusterCaCertificate. - */ - @java.lang.Override - 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); - clusterCaCertificate_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * + * + *
+       * Unspecified.
+       * 
+ * + * SHARED_DEPLOYMENT_POLICY_UNSPECIFIED = 0; + */ + public static final int SHARED_DEPLOYMENT_POLICY_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * User applications can be deployed both on control plane and worker
+       * nodes.
+       * 
+ * + * ALLOWED = 1; + */ + public static final int ALLOWED_VALUE = 1; + /** + * + * + *
+       * User applications can not be deployed on control plane nodes and can
+       * only be deployed on worker nodes.
+       * 
+ * + * DISALLOWED = 2; + */ + public static final int DISALLOWED_VALUE = 2; - public static final int MAINTENANCE_POLICY_FIELD_NUMBER = 12; - private com.google.cloud.edgecontainer.v1.MaintenancePolicy maintenancePolicy_; - /** - * - * - *
-   * Optional. Cluster-wide maintenance policy configuration.
-   * 
- * - * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the maintenancePolicy field is set. - */ - @java.lang.Override - public boolean hasMaintenancePolicy() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * - * - *
-   * Optional. Cluster-wide maintenance policy configuration.
-   * 
- * - * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The maintenancePolicy. - */ - @java.lang.Override - public com.google.cloud.edgecontainer.v1.MaintenancePolicy getMaintenancePolicy() { - return maintenancePolicy_ == null - ? com.google.cloud.edgecontainer.v1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; - } - /** - * - * - *
-   * Optional. Cluster-wide maintenance policy configuration.
-   * 
- * - * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.cloud.edgecontainer.v1.MaintenancePolicyOrBuilder - getMaintenancePolicyOrBuilder() { - return maintenancePolicy_ == null - ? com.google.cloud.edgecontainer.v1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; - } + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } - private byte memoizedIsInitialized = -1; + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SharedDeploymentPolicy valueOf(int value) { + return forNumber(value); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static SharedDeploymentPolicy forNumber(int value) { + switch (value) { + case 0: + return SHARED_DEPLOYMENT_POLICY_UNSPECIFIED; + case 1: + return ALLOWED; + case 2: + return DISALLOWED; + default: + return null; + } + } - memoizedIsInitialized = 1; - return true; - } + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SharedDeploymentPolicy findValueByNumber(int number) { + return SharedDeploymentPolicy.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final SharedDeploymentPolicy[] VALUES = values(); + + public static SharedDeploymentPolicy valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private SharedDeploymentPolicy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy) } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(2, getCreateTime()); + + public interface RemoteOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) + com.google.protobuf.MessageOrBuilder {} + /** + * + * + *
+     * Configuration specific to clusters with a control plane hosted remotely.
+     * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote} + */ + public static final class Remote extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) + RemoteOrBuilder { + private static final long serialVersionUID = 0L; + // Use Remote.newBuilder() to construct. + private Remote(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Remote() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Remote(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Remote_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Remote_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.class, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote other = + (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote + 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.edgecontainer.v1.Cluster.ControlPlane.Remote parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Configuration specific to clusters with a control plane hosted remotely.
+       * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.RemoteOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Remote_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Remote_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.class, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.Builder.class); + } + + // Construct using + // com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Remote_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote + getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote build() { + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote buildPartial() { + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote result = + new com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) { + return mergeFrom((com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote other) { + if (other + == com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) + private static final com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote(); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Remote parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(3, getUpdateTime()); + + public interface LocalOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Name of the Google Distributed Cloud Edge zones where this node pool
+       * will be created. For example: `us-central1-edge-customer-a`.
+       * 
+ * + * string node_location = 1; + * + * @return The nodeLocation. + */ + java.lang.String getNodeLocation(); + /** + * + * + *
+       * Name of the Google Distributed Cloud Edge zones where this node pool
+       * will be created. For example: `us-central1-edge-customer-a`.
+       * 
+ * + * string node_location = 1; + * + * @return The bytes for nodeLocation. + */ + com.google.protobuf.ByteString getNodeLocationBytes(); + + /** + * + * + *
+       * The number of nodes to serve as replicas of the Control Plane.
+       * 
+ * + * int32 node_count = 2; + * + * @return The nodeCount. + */ + int getNodeCount(); + + /** + * + * + *
+       * Only machines matching this filter will be allowed to host control
+       * plane nodes. The filtering language accepts strings like "name=<name>",
+       * and is documented here: [AIP-160](https://google.aip.dev/160).
+       * 
+ * + * string machine_filter = 3; + * + * @return The machineFilter. + */ + java.lang.String getMachineFilter(); + /** + * + * + *
+       * Only machines matching this filter will be allowed to host control
+       * plane nodes. The filtering language accepts strings like "name=<name>",
+       * and is documented here: [AIP-160](https://google.aip.dev/160).
+       * 
+ * + * string machine_filter = 3; + * + * @return The bytes for machineFilter. + */ + com.google.protobuf.ByteString getMachineFilterBytes(); + + /** + * + * + *
+       * Policy configuration about how user applications are deployed.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4; + * + * + * @return The enum numeric value on the wire for sharedDeploymentPolicy. + */ + int getSharedDeploymentPolicyValue(); + /** + * + * + *
+       * Policy configuration about how user applications are deployed.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4; + * + * + * @return The sharedDeploymentPolicy. + */ + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy + getSharedDeploymentPolicy(); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, endpoint_); + /** + * + * + *
+     * Configuration specific to clusters with a control plane hosted locally.
+     *
+     * Warning: Local control plane clusters must be created in their own
+     * project. Local control plane clusters cannot coexist in the same
+     * project with any other type of clusters, including non-GDCE clusters.
+     * Mixing local control plane GDCE clusters with any other type of
+     * clusters in the same project can result in data loss.
+     * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local} + */ + public static final class Local extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) + LocalOrBuilder { + private static final long serialVersionUID = 0L; + // Use Local.newBuilder() to construct. + private Local(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Local() { + nodeLocation_ = ""; + machineFilter_ = ""; + sharedDeploymentPolicy_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Local(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Local_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Local_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.class, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.Builder.class); + } + + public static final int NODE_LOCATION_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object nodeLocation_ = ""; + /** + * + * + *
+       * Name of the Google Distributed Cloud Edge zones where this node pool
+       * will be created. For example: `us-central1-edge-customer-a`.
+       * 
+ * + * string node_location = 1; + * + * @return The nodeLocation. + */ + @java.lang.Override + public java.lang.String getNodeLocation() { + java.lang.Object ref = nodeLocation_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nodeLocation_ = s; + return s; + } + } + /** + * + * + *
+       * Name of the Google Distributed Cloud Edge zones where this node pool
+       * will be created. For example: `us-central1-edge-customer-a`.
+       * 
+ * + * string node_location = 1; + * + * @return The bytes for nodeLocation. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNodeLocationBytes() { + java.lang.Object ref = nodeLocation_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nodeLocation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_COUNT_FIELD_NUMBER = 2; + private int nodeCount_ = 0; + /** + * + * + *
+       * The number of nodes to serve as replicas of the Control Plane.
+       * 
+ * + * int32 node_count = 2; + * + * @return The nodeCount. + */ + @java.lang.Override + public int getNodeCount() { + return nodeCount_; + } + + public static final int MACHINE_FILTER_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object machineFilter_ = ""; + /** + * + * + *
+       * Only machines matching this filter will be allowed to host control
+       * plane nodes. The filtering language accepts strings like "name=<name>",
+       * and is documented here: [AIP-160](https://google.aip.dev/160).
+       * 
+ * + * string machine_filter = 3; + * + * @return The machineFilter. + */ + @java.lang.Override + public java.lang.String getMachineFilter() { + java.lang.Object ref = machineFilter_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + machineFilter_ = s; + return s; + } + } + /** + * + * + *
+       * Only machines matching this filter will be allowed to host control
+       * plane nodes. The filtering language accepts strings like "name=<name>",
+       * and is documented here: [AIP-160](https://google.aip.dev/160).
+       * 
+ * + * string machine_filter = 3; + * + * @return The bytes for machineFilter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getMachineFilterBytes() { + java.lang.Object ref = machineFilter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + machineFilter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SHARED_DEPLOYMENT_POLICY_FIELD_NUMBER = 4; + private int sharedDeploymentPolicy_ = 0; + /** + * + * + *
+       * Policy configuration about how user applications are deployed.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4; + * + * + * @return The enum numeric value on the wire for sharedDeploymentPolicy. + */ + @java.lang.Override + public int getSharedDeploymentPolicyValue() { + return sharedDeploymentPolicy_; + } + /** + * + * + *
+       * Policy configuration about how user applications are deployed.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4; + * + * + * @return The sharedDeploymentPolicy. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy + getSharedDeploymentPolicy() { + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy result = + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy.forNumber( + sharedDeploymentPolicy_); + return result == null + ? com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy + .UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeLocation_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, nodeLocation_); + } + if (nodeCount_ != 0) { + output.writeInt32(2, nodeCount_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineFilter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, machineFilter_); + } + if (sharedDeploymentPolicy_ + != com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy + .SHARED_DEPLOYMENT_POLICY_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, sharedDeploymentPolicy_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeLocation_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, nodeLocation_); + } + if (nodeCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, nodeCount_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineFilter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, machineFilter_); + } + if (sharedDeploymentPolicy_ + != com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy + .SHARED_DEPLOYMENT_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, sharedDeploymentPolicy_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local other = + (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) obj; + + if (!getNodeLocation().equals(other.getNodeLocation())) return false; + if (getNodeCount() != other.getNodeCount()) return false; + if (!getMachineFilter().equals(other.getMachineFilter())) return false; + if (sharedDeploymentPolicy_ != other.sharedDeploymentPolicy_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NODE_LOCATION_FIELD_NUMBER; + hash = (53 * hash) + getNodeLocation().hashCode(); + hash = (37 * hash) + NODE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getNodeCount(); + hash = (37 * hash) + MACHINE_FILTER_FIELD_NUMBER; + hash = (53 * hash) + getMachineFilter().hashCode(); + hash = (37 * hash) + SHARED_DEPLOYMENT_POLICY_FIELD_NUMBER; + hash = (53 * hash) + sharedDeploymentPolicy_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local 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.edgecontainer.v1.Cluster.ControlPlane.Local parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Configuration specific to clusters with a control plane hosted locally.
+       *
+       * Warning: Local control plane clusters must be created in their own
+       * project. Local control plane clusters cannot coexist in the same
+       * project with any other type of clusters, including non-GDCE clusters.
+       * Mixing local control plane GDCE clusters with any other type of
+       * clusters in the same project can result in data loss.
+       * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.LocalOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Local_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Local_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.class, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + nodeLocation_ = ""; + nodeCount_ = 0; + machineFilter_ = ""; + sharedDeploymentPolicy_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Local_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local + getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local build() { + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local buildPartial() { + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local result = + new com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.nodeLocation_ = nodeLocation_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nodeCount_ = nodeCount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.machineFilter_ = machineFilter_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.sharedDeploymentPolicy_ = sharedDeploymentPolicy_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) { + return mergeFrom((com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local other) { + if (other + == com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.getDefaultInstance()) + return this; + if (!other.getNodeLocation().isEmpty()) { + nodeLocation_ = other.nodeLocation_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getNodeCount() != 0) { + setNodeCount(other.getNodeCount()); + } + if (!other.getMachineFilter().isEmpty()) { + machineFilter_ = other.machineFilter_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.sharedDeploymentPolicy_ != 0) { + setSharedDeploymentPolicyValue(other.getSharedDeploymentPolicyValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + nodeLocation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + machineFilter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + sharedDeploymentPolicy_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object nodeLocation_ = ""; + /** + * + * + *
+         * Name of the Google Distributed Cloud Edge zones where this node pool
+         * will be created. For example: `us-central1-edge-customer-a`.
+         * 
+ * + * string node_location = 1; + * + * @return The nodeLocation. + */ + public java.lang.String getNodeLocation() { + java.lang.Object ref = nodeLocation_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nodeLocation_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Name of the Google Distributed Cloud Edge zones where this node pool
+         * will be created. For example: `us-central1-edge-customer-a`.
+         * 
+ * + * string node_location = 1; + * + * @return The bytes for nodeLocation. + */ + public com.google.protobuf.ByteString getNodeLocationBytes() { + java.lang.Object ref = nodeLocation_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nodeLocation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Name of the Google Distributed Cloud Edge zones where this node pool
+         * will be created. For example: `us-central1-edge-customer-a`.
+         * 
+ * + * string node_location = 1; + * + * @param value The nodeLocation to set. + * @return This builder for chaining. + */ + public Builder setNodeLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nodeLocation_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Name of the Google Distributed Cloud Edge zones where this node pool
+         * will be created. For example: `us-central1-edge-customer-a`.
+         * 
+ * + * string node_location = 1; + * + * @return This builder for chaining. + */ + public Builder clearNodeLocation() { + nodeLocation_ = getDefaultInstance().getNodeLocation(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+         * Name of the Google Distributed Cloud Edge zones where this node pool
+         * will be created. For example: `us-central1-edge-customer-a`.
+         * 
+ * + * string node_location = 1; + * + * @param value The bytes for nodeLocation to set. + * @return This builder for chaining. + */ + public Builder setNodeLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeLocation_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int nodeCount_; + /** + * + * + *
+         * The number of nodes to serve as replicas of the Control Plane.
+         * 
+ * + * int32 node_count = 2; + * + * @return The nodeCount. + */ + @java.lang.Override + public int getNodeCount() { + return nodeCount_; + } + /** + * + * + *
+         * The number of nodes to serve as replicas of the Control Plane.
+         * 
+ * + * int32 node_count = 2; + * + * @param value The nodeCount to set. + * @return This builder for chaining. + */ + public Builder setNodeCount(int value) { + + nodeCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of nodes to serve as replicas of the Control Plane.
+         * 
+ * + * int32 node_count = 2; + * + * @return This builder for chaining. + */ + public Builder clearNodeCount() { + bitField0_ = (bitField0_ & ~0x00000002); + nodeCount_ = 0; + onChanged(); + return this; + } + + private java.lang.Object machineFilter_ = ""; + /** + * + * + *
+         * Only machines matching this filter will be allowed to host control
+         * plane nodes. The filtering language accepts strings like "name=<name>",
+         * and is documented here: [AIP-160](https://google.aip.dev/160).
+         * 
+ * + * string machine_filter = 3; + * + * @return The machineFilter. + */ + public java.lang.String getMachineFilter() { + java.lang.Object ref = machineFilter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + machineFilter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Only machines matching this filter will be allowed to host control
+         * plane nodes. The filtering language accepts strings like "name=<name>",
+         * and is documented here: [AIP-160](https://google.aip.dev/160).
+         * 
+ * + * string machine_filter = 3; + * + * @return The bytes for machineFilter. + */ + public com.google.protobuf.ByteString getMachineFilterBytes() { + java.lang.Object ref = machineFilter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + machineFilter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Only machines matching this filter will be allowed to host control
+         * plane nodes. The filtering language accepts strings like "name=<name>",
+         * and is documented here: [AIP-160](https://google.aip.dev/160).
+         * 
+ * + * string machine_filter = 3; + * + * @param value The machineFilter to set. + * @return This builder for chaining. + */ + public Builder setMachineFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + machineFilter_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+         * Only machines matching this filter will be allowed to host control
+         * plane nodes. The filtering language accepts strings like "name=<name>",
+         * and is documented here: [AIP-160](https://google.aip.dev/160).
+         * 
+ * + * string machine_filter = 3; + * + * @return This builder for chaining. + */ + public Builder clearMachineFilter() { + machineFilter_ = getDefaultInstance().getMachineFilter(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+         * Only machines matching this filter will be allowed to host control
+         * plane nodes. The filtering language accepts strings like "name=<name>",
+         * and is documented here: [AIP-160](https://google.aip.dev/160).
+         * 
+ * + * string machine_filter = 3; + * + * @param value The bytes for machineFilter to set. + * @return This builder for chaining. + */ + public Builder setMachineFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineFilter_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int sharedDeploymentPolicy_ = 0; + /** + * + * + *
+         * Policy configuration about how user applications are deployed.
+         * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4; + * + * + * @return The enum numeric value on the wire for sharedDeploymentPolicy. + */ + @java.lang.Override + public int getSharedDeploymentPolicyValue() { + return sharedDeploymentPolicy_; + } + /** + * + * + *
+         * Policy configuration about how user applications are deployed.
+         * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4; + * + * + * @param value The enum numeric value on the wire for sharedDeploymentPolicy to set. + * @return This builder for chaining. + */ + public Builder setSharedDeploymentPolicyValue(int value) { + sharedDeploymentPolicy_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+         * Policy configuration about how user applications are deployed.
+         * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4; + * + * + * @return The sharedDeploymentPolicy. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy + getSharedDeploymentPolicy() { + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy result = + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy + .forNumber(sharedDeploymentPolicy_); + return result == null + ? com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy + .UNRECOGNIZED + : result; + } + /** + * + * + *
+         * Policy configuration about how user applications are deployed.
+         * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4; + * + * + * @param value The sharedDeploymentPolicy to set. + * @return This builder for chaining. + */ + public Builder setSharedDeploymentPolicy( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + sharedDeploymentPolicy_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+         * Policy configuration about how user applications are deployed.
+         * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy shared_deployment_policy = 4; + * + * + * @return This builder for chaining. + */ + public Builder clearSharedDeploymentPolicy() { + bitField0_ = (bitField0_ & ~0x00000008); + sharedDeploymentPolicy_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) + private static final com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local(); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Local parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int configCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object config_; + + public enum ConfigCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + REMOTE(1), + LOCAL(2), + CONFIG_NOT_SET(0); + private final int value; + + private ConfigCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ConfigCase valueOf(int value) { + return forNumber(value); + } + + public static ConfigCase forNumber(int value) { + switch (value) { + case 1: + return REMOTE; + case 2: + return LOCAL; + case 0: + return CONFIG_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ConfigCase getConfigCase() { + return ConfigCase.forNumber(configCase_); + } + + public static final int REMOTE_FIELD_NUMBER = 1; + /** + * + * + *
+     * Remote control plane configuration.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + * + * @return Whether the remote field is set. + */ + @java.lang.Override + public boolean hasRemote() { + return configCase_ == 1; + } + /** + * + * + *
+     * Remote control plane configuration.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + * + * @return The remote. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote getRemote() { + if (configCase_ == 1) { + return (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) config_; + } + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.getDefaultInstance(); + } + /** + * + * + *
+     * Remote control plane configuration.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.RemoteOrBuilder + getRemoteOrBuilder() { + if (configCase_ == 1) { + return (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) config_; + } + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.getDefaultInstance(); + } + + public static final int LOCAL_FIELD_NUMBER = 2; + /** + * + * + *
+     * Local control plane configuration.
+     *
+     * Warning: Local control plane clusters must be created in their own
+     * project. Local control plane clusters cannot coexist in the same
+     * project with any other type of clusters, including non-GDCE clusters.
+     * Mixing local control plane GDCE clusters with any other type of
+     * clusters in the same project can result in data loss.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + * + * @return Whether the local field is set. + */ + @java.lang.Override + public boolean hasLocal() { + return configCase_ == 2; + } + /** + * + * + *
+     * Local control plane configuration.
+     *
+     * Warning: Local control plane clusters must be created in their own
+     * project. Local control plane clusters cannot coexist in the same
+     * project with any other type of clusters, including non-GDCE clusters.
+     * Mixing local control plane GDCE clusters with any other type of
+     * clusters in the same project can result in data loss.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + * + * @return The local. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local getLocal() { + if (configCase_ == 2) { + return (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) config_; + } + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.getDefaultInstance(); + } + /** + * + * + *
+     * Local control plane configuration.
+     *
+     * Warning: Local control plane clusters must be created in their own
+     * project. Local control plane clusters cannot coexist in the same
+     * project with any other type of clusters, including non-GDCE clusters.
+     * Mixing local control plane GDCE clusters with any other type of
+     * clusters in the same project can result in data loss.
+     * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.LocalOrBuilder + getLocalOrBuilder() { + if (configCase_ == 2) { + return (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) config_; + } + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (configCase_ == 1) { + output.writeMessage( + 1, (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) config_); + } + if (configCase_ == 2) { + output.writeMessage( + 2, (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) config_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (configCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) config_); + } + if (configCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) config_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.Cluster.ControlPlane)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane other = + (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane) obj; + + if (!getConfigCase().equals(other.getConfigCase())) return false; + switch (configCase_) { + case 1: + if (!getRemote().equals(other.getRemote())) return false; + break; + case 2: + if (!getLocal().equals(other.getLocal())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (configCase_) { + case 1: + hash = (37 * hash) + REMOTE_FIELD_NUMBER; + hash = (53 * hash) + getRemote().hashCode(); + break; + case 2: + hash = (37 * hash) + LOCAL_FIELD_NUMBER; + hash = (53 * hash) + getLocal().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane 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.edgecontainer.v1.Cluster.ControlPlane parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Configuration of the cluster control plane.
+     * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.ControlPlane} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.Cluster.ControlPlane) + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.class, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (remoteBuilder_ != null) { + remoteBuilder_.clear(); + } + if (localBuilder_ != null) { + localBuilder_.clear(); + } + configCase_ = 0; + config_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane build() { + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane buildPartial() { + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane result = + new com.google.cloud.edgecontainer.v1.Cluster.ControlPlane(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.edgecontainer.v1.Cluster.ControlPlane result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane result) { + result.configCase_ = configCase_; + result.config_ = this.config_; + if (configCase_ == 1 && remoteBuilder_ != null) { + result.config_ = remoteBuilder_.build(); + } + if (configCase_ == 2 && localBuilder_ != null) { + result.config_ = localBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.Cluster.ControlPlane) { + return mergeFrom((com.google.cloud.edgecontainer.v1.Cluster.ControlPlane) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.edgecontainer.v1.Cluster.ControlPlane other) { + if (other == com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.getDefaultInstance()) + return this; + switch (other.getConfigCase()) { + case REMOTE: + { + mergeRemote(other.getRemote()); + break; + } + case LOCAL: + { + mergeLocal(other.getLocal()); + break; + } + case CONFIG_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getRemoteFieldBuilder().getBuilder(), extensionRegistry); + configCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getLocalFieldBuilder().getBuilder(), extensionRegistry); + configCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int configCase_ = 0; + private java.lang.Object config_; + + public ConfigCase getConfigCase() { + return ConfigCase.forNumber(configCase_); + } + + public Builder clearConfig() { + configCase_ = 0; + config_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.RemoteOrBuilder> + remoteBuilder_; + /** + * + * + *
+       * Remote control plane configuration.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + * + * @return Whether the remote field is set. + */ + @java.lang.Override + public boolean hasRemote() { + return configCase_ == 1; + } + /** + * + * + *
+       * Remote control plane configuration.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + * + * @return The remote. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote getRemote() { + if (remoteBuilder_ == null) { + if (configCase_ == 1) { + return (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) config_; + } + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.getDefaultInstance(); + } else { + if (configCase_ == 1) { + return remoteBuilder_.getMessage(); + } + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.getDefaultInstance(); + } + } + /** + * + * + *
+       * Remote control plane configuration.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + */ + public Builder setRemote( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote value) { + if (remoteBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + config_ = value; + onChanged(); + } else { + remoteBuilder_.setMessage(value); + } + configCase_ = 1; + return this; + } + /** + * + * + *
+       * Remote control plane configuration.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + */ + public Builder setRemote( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.Builder builderForValue) { + if (remoteBuilder_ == null) { + config_ = builderForValue.build(); + onChanged(); + } else { + remoteBuilder_.setMessage(builderForValue.build()); + } + configCase_ = 1; + return this; + } + /** + * + * + *
+       * Remote control plane configuration.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + */ + public Builder mergeRemote( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote value) { + if (remoteBuilder_ == null) { + if (configCase_ == 1 + && config_ + != com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote + .getDefaultInstance()) { + config_ = + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.newBuilder( + (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) config_) + .mergeFrom(value) + .buildPartial(); + } else { + config_ = value; + } + onChanged(); + } else { + if (configCase_ == 1) { + remoteBuilder_.mergeFrom(value); + } else { + remoteBuilder_.setMessage(value); + } + } + configCase_ = 1; + return this; + } + /** + * + * + *
+       * Remote control plane configuration.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + */ + public Builder clearRemote() { + if (remoteBuilder_ == null) { + if (configCase_ == 1) { + configCase_ = 0; + config_ = null; + onChanged(); + } + } else { + if (configCase_ == 1) { + configCase_ = 0; + config_ = null; + } + remoteBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Remote control plane configuration.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + */ + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.Builder + getRemoteBuilder() { + return getRemoteFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Remote control plane configuration.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.RemoteOrBuilder + getRemoteOrBuilder() { + if ((configCase_ == 1) && (remoteBuilder_ != null)) { + return remoteBuilder_.getMessageOrBuilder(); + } else { + if (configCase_ == 1) { + return (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) config_; + } + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.getDefaultInstance(); + } + } + /** + * + * + *
+       * Remote control plane configuration.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote remote = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.RemoteOrBuilder> + getRemoteFieldBuilder() { + if (remoteBuilder_ == null) { + if (!(configCase_ == 1)) { + config_ = + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.getDefaultInstance(); + } + remoteBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.RemoteOrBuilder>( + (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote) config_, + getParentForChildren(), + isClean()); + config_ = null; + } + configCase_ = 1; + onChanged(); + return remoteBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.LocalOrBuilder> + localBuilder_; + /** + * + * + *
+       * Local control plane configuration.
+       *
+       * Warning: Local control plane clusters must be created in their own
+       * project. Local control plane clusters cannot coexist in the same
+       * project with any other type of clusters, including non-GDCE clusters.
+       * Mixing local control plane GDCE clusters with any other type of
+       * clusters in the same project can result in data loss.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + * + * @return Whether the local field is set. + */ + @java.lang.Override + public boolean hasLocal() { + return configCase_ == 2; + } + /** + * + * + *
+       * Local control plane configuration.
+       *
+       * Warning: Local control plane clusters must be created in their own
+       * project. Local control plane clusters cannot coexist in the same
+       * project with any other type of clusters, including non-GDCE clusters.
+       * Mixing local control plane GDCE clusters with any other type of
+       * clusters in the same project can result in data loss.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + * + * @return The local. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local getLocal() { + if (localBuilder_ == null) { + if (configCase_ == 2) { + return (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) config_; + } + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.getDefaultInstance(); + } else { + if (configCase_ == 2) { + return localBuilder_.getMessage(); + } + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.getDefaultInstance(); + } + } + /** + * + * + *
+       * Local control plane configuration.
+       *
+       * Warning: Local control plane clusters must be created in their own
+       * project. Local control plane clusters cannot coexist in the same
+       * project with any other type of clusters, including non-GDCE clusters.
+       * Mixing local control plane GDCE clusters with any other type of
+       * clusters in the same project can result in data loss.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + */ + public Builder setLocal(com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local value) { + if (localBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + config_ = value; + onChanged(); + } else { + localBuilder_.setMessage(value); + } + configCase_ = 2; + return this; + } + /** + * + * + *
+       * Local control plane configuration.
+       *
+       * Warning: Local control plane clusters must be created in their own
+       * project. Local control plane clusters cannot coexist in the same
+       * project with any other type of clusters, including non-GDCE clusters.
+       * Mixing local control plane GDCE clusters with any other type of
+       * clusters in the same project can result in data loss.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + */ + public Builder setLocal( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.Builder builderForValue) { + if (localBuilder_ == null) { + config_ = builderForValue.build(); + onChanged(); + } else { + localBuilder_.setMessage(builderForValue.build()); + } + configCase_ = 2; + return this; + } + /** + * + * + *
+       * Local control plane configuration.
+       *
+       * Warning: Local control plane clusters must be created in their own
+       * project. Local control plane clusters cannot coexist in the same
+       * project with any other type of clusters, including non-GDCE clusters.
+       * Mixing local control plane GDCE clusters with any other type of
+       * clusters in the same project can result in data loss.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + */ + public Builder mergeLocal( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local value) { + if (localBuilder_ == null) { + if (configCase_ == 2 + && config_ + != com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local + .getDefaultInstance()) { + config_ = + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.newBuilder( + (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) config_) + .mergeFrom(value) + .buildPartial(); + } else { + config_ = value; + } + onChanged(); + } else { + if (configCase_ == 2) { + localBuilder_.mergeFrom(value); + } else { + localBuilder_.setMessage(value); + } + } + configCase_ = 2; + return this; + } + /** + * + * + *
+       * Local control plane configuration.
+       *
+       * Warning: Local control plane clusters must be created in their own
+       * project. Local control plane clusters cannot coexist in the same
+       * project with any other type of clusters, including non-GDCE clusters.
+       * Mixing local control plane GDCE clusters with any other type of
+       * clusters in the same project can result in data loss.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + */ + public Builder clearLocal() { + if (localBuilder_ == null) { + if (configCase_ == 2) { + configCase_ = 0; + config_ = null; + onChanged(); + } + } else { + if (configCase_ == 2) { + configCase_ = 0; + config_ = null; + } + localBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Local control plane configuration.
+       *
+       * Warning: Local control plane clusters must be created in their own
+       * project. Local control plane clusters cannot coexist in the same
+       * project with any other type of clusters, including non-GDCE clusters.
+       * Mixing local control plane GDCE clusters with any other type of
+       * clusters in the same project can result in data loss.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + */ + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.Builder + getLocalBuilder() { + return getLocalFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Local control plane configuration.
+       *
+       * Warning: Local control plane clusters must be created in their own
+       * project. Local control plane clusters cannot coexist in the same
+       * project with any other type of clusters, including non-GDCE clusters.
+       * Mixing local control plane GDCE clusters with any other type of
+       * clusters in the same project can result in data loss.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.LocalOrBuilder + getLocalOrBuilder() { + if ((configCase_ == 2) && (localBuilder_ != null)) { + return localBuilder_.getMessageOrBuilder(); + } else { + if (configCase_ == 2) { + return (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) config_; + } + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.getDefaultInstance(); + } + } + /** + * + * + *
+       * Local control plane configuration.
+       *
+       * Warning: Local control plane clusters must be created in their own
+       * project. Local control plane clusters cannot coexist in the same
+       * project with any other type of clusters, including non-GDCE clusters.
+       * Mixing local control plane GDCE clusters with any other type of
+       * clusters in the same project can result in data loss.
+       * 
+ * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local local = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.LocalOrBuilder> + getLocalFieldBuilder() { + if (localBuilder_ == null) { + if (!(configCase_ == 2)) { + config_ = + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.getDefaultInstance(); + } + localBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.LocalOrBuilder>( + (com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local) config_, + getParentForChildren(), + isClean()); + config_ = null; + } + configCase_ = 2; + onChanged(); + return localBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.Cluster.ControlPlane) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.Cluster.ControlPlane) + private static final com.google.cloud.edgecontainer.v1.Cluster.ControlPlane DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.Cluster.ControlPlane(); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlane getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ControlPlane parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface SystemAddonsConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Optional. Config for Ingress.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the ingress field is set. + */ + boolean hasIngress(); + /** + * + * + *
+     * Optional. Config for Ingress.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The ingress. + */ + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress getIngress(); + /** + * + * + *
+     * Optional. Config for Ingress.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IngressOrBuilder + getIngressOrBuilder(); + } + /** + * + * + *
+   * Config that customers are allowed to define for GDCE system add-ons.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig} + */ + public static final class SystemAddonsConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig) + SystemAddonsConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use SystemAddonsConfig.newBuilder() to construct. + private SystemAddonsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SystemAddonsConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SystemAddonsConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.class, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Builder.class); + } + + public interface IngressOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Optional. Whether Ingress is disabled.
+       * 
+ * + * bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The disabled. + */ + boolean getDisabled(); + + /** + * + * + *
+       * Optional. Ingress VIP.
+       * 
+ * + * string ipv4_vip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The ipv4Vip. + */ + java.lang.String getIpv4Vip(); + /** + * + * + *
+       * Optional. Ingress VIP.
+       * 
+ * + * string ipv4_vip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for ipv4Vip. + */ + com.google.protobuf.ByteString getIpv4VipBytes(); + } + /** + * + * + *
+     * Config for the Ingress add-on which allows customers to create an Ingress
+     * object to manage external access to the servers in a cluster. The add-on
+     * consists of istiod and istio-ingress.
+     * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress} + */ + public static final class Ingress extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress) + IngressOrBuilder { + private static final long serialVersionUID = 0L; + // Use Ingress.newBuilder() to construct. + private Ingress(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Ingress() { + ipv4Vip_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Ingress(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_Ingress_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_Ingress_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.class, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.Builder.class); + } + + public static final int DISABLED_FIELD_NUMBER = 1; + private boolean disabled_ = false; + /** + * + * + *
+       * Optional. Whether Ingress is disabled.
+       * 
+ * + * bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + + public static final int IPV4_VIP_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object ipv4Vip_ = ""; + /** + * + * + *
+       * Optional. Ingress VIP.
+       * 
+ * + * string ipv4_vip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The ipv4Vip. + */ + @java.lang.Override + public java.lang.String getIpv4Vip() { + java.lang.Object ref = ipv4Vip_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ipv4Vip_ = s; + return s; + } + } + /** + * + * + *
+       * Optional. Ingress VIP.
+       * 
+ * + * string ipv4_vip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for ipv4Vip. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIpv4VipBytes() { + java.lang.Object ref = ipv4Vip_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ipv4Vip_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (disabled_ != false) { + output.writeBool(1, disabled_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipv4Vip_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ipv4Vip_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (disabled_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipv4Vip_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ipv4Vip_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress other = + (com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress) obj; + + if (getDisabled() != other.getDisabled()) return false; + if (!getIpv4Vip().equals(other.getIpv4Vip())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DISABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (37 * hash) + IPV4_VIP_FIELD_NUMBER; + hash = (53 * hash) + getIpv4Vip().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + 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.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Config for the Ingress add-on which allows customers to create an Ingress
+       * object to manage external access to the servers in a cluster. The add-on
+       * consists of istiod and istio-ingress.
+       * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress) + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IngressOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_Ingress_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_Ingress_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.class, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.Builder + .class); + } + + // Construct using + // com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + disabled_ = false; + ipv4Vip_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_Ingress_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress build() { + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress buildPartial() { + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress result = + new com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.disabled_ = disabled_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.ipv4Vip_ = ipv4Vip_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress) { + return mergeFrom( + (com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress other) { + if (other + == com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + .getDefaultInstance()) return this; + if (other.getDisabled() != false) { + setDisabled(other.getDisabled()); + } + if (!other.getIpv4Vip().isEmpty()) { + ipv4Vip_ = other.ipv4Vip_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + disabled_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + ipv4Vip_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private boolean disabled_; + /** + * + * + *
+         * Optional. Whether Ingress is disabled.
+         * 
+ * + * bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + /** + * + * + *
+         * Optional. Whether Ingress is disabled.
+         * 
+ * + * bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The disabled to set. + * @return This builder for chaining. + */ + public Builder setDisabled(boolean value) { + + disabled_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Optional. Whether Ingress is disabled.
+         * 
+ * + * bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearDisabled() { + bitField0_ = (bitField0_ & ~0x00000001); + disabled_ = false; + onChanged(); + return this; + } + + private java.lang.Object ipv4Vip_ = ""; + /** + * + * + *
+         * Optional. Ingress VIP.
+         * 
+ * + * string ipv4_vip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The ipv4Vip. + */ + public java.lang.String getIpv4Vip() { + java.lang.Object ref = ipv4Vip_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ipv4Vip_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Optional. Ingress VIP.
+         * 
+ * + * string ipv4_vip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for ipv4Vip. + */ + public com.google.protobuf.ByteString getIpv4VipBytes() { + java.lang.Object ref = ipv4Vip_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ipv4Vip_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Optional. Ingress VIP.
+         * 
+ * + * string ipv4_vip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The ipv4Vip to set. + * @return This builder for chaining. + */ + public Builder setIpv4Vip(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ipv4Vip_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * Optional. Ingress VIP.
+         * 
+ * + * string ipv4_vip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearIpv4Vip() { + ipv4Vip_ = getDefaultInstance().getIpv4Vip(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+         * Optional. Ingress VIP.
+         * 
+ * + * string ipv4_vip = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for ipv4Vip to set. + * @return This builder for chaining. + */ + public Builder setIpv4VipBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipv4Vip_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress) + private static final com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress(); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Ingress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + public static final int INGRESS_FIELD_NUMBER = 1; + private com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress_; + /** + * + * + *
+     * Optional. Config for Ingress.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the ingress field is set. + */ + @java.lang.Override + public boolean hasIngress() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Optional. Config for Ingress.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The ingress. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress getIngress() { + return ingress_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + .getDefaultInstance() + : ingress_; + } + /** + * + * + *
+     * Optional. Config for Ingress.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IngressOrBuilder + getIngressOrBuilder() { + return ingress_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + .getDefaultInstance() + : ingress_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getIngress()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIngress()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig other = + (com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig) obj; + + if (hasIngress() != other.hasIngress()) return false; + if (hasIngress()) { + if (!getIngress().equals(other.getIngress())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasIngress()) { + hash = (37 * hash) + INGRESS_FIELD_NUMBER; + hash = (53 * hash) + getIngress().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig 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.edgecontainer.v1.Cluster.SystemAddonsConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Config that customers are allowed to define for GDCE system add-ons.
+     * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig) + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.class, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getIngressFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + ingress_ = null; + if (ingressBuilder_ != null) { + ingressBuilder_.dispose(); + ingressBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig + getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig build() { + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig buildPartial() { + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig result = + new com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.ingress_ = ingressBuilder_ == null ? ingress_ : ingressBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig) { + return mergeFrom((com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig other) { + if (other + == com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.getDefaultInstance()) + return this; + if (other.hasIngress()) { + mergeIngress(other.getIngress()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getIngressFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.Builder, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IngressOrBuilder> + ingressBuilder_; + /** + * + * + *
+       * Optional. Config for Ingress.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the ingress field is set. + */ + public boolean hasIngress() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+       * Optional. Config for Ingress.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The ingress. + */ + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress getIngress() { + if (ingressBuilder_ == null) { + return ingress_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + .getDefaultInstance() + : ingress_; + } else { + return ingressBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Optional. Config for Ingress.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setIngress( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress value) { + if (ingressBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ingress_ = value; + } else { + ingressBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. Config for Ingress.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setIngress( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.Builder + builderForValue) { + if (ingressBuilder_ == null) { + ingress_ = builderForValue.build(); + } else { + ingressBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. Config for Ingress.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeIngress( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress value) { + if (ingressBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && ingress_ != null + && ingress_ + != com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + .getDefaultInstance()) { + getIngressBuilder().mergeFrom(value); + } else { + ingress_ = value; + } + } else { + ingressBuilder_.mergeFrom(value); + } + if (ingress_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Optional. Config for Ingress.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearIngress() { + bitField0_ = (bitField0_ & ~0x00000001); + ingress_ = null; + if (ingressBuilder_ != null) { + ingressBuilder_.dispose(); + ingressBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. Config for Ingress.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.Builder + getIngressBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getIngressFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Optional. Config for Ingress.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IngressOrBuilder + getIngressOrBuilder() { + if (ingressBuilder_ != null) { + return ingressBuilder_.getMessageOrBuilder(); + } else { + return ingress_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress + .getDefaultInstance() + : ingress_; + } + } + /** + * + * + *
+       * Optional. Config for Ingress.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress ingress = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.Builder, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IngressOrBuilder> + getIngressFieldBuilder() { + if (ingressBuilder_ == null) { + ingressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress.Builder, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IngressOrBuilder>( + getIngress(), getParentForChildren(), isClean()); + ingress_ = null; + } + return ingressBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig) + private static final com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig(); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SystemAddonsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface ControlPlaneEncryptionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Immutable. The Cloud KMS CryptoKey e.g.
+     * projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
+     * to use for protecting control plane disks. If not specified, a
+     * Google-managed key will be used instead.
+     * 
+ * + * + * string kms_key = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The kmsKey. + */ + java.lang.String getKmsKey(); + /** + * + * + *
+     * Immutable. The Cloud KMS CryptoKey e.g.
+     * projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
+     * to use for protecting control plane disks. If not specified, a
+     * Google-managed key will be used instead.
+     * 
+ * + * + * string kms_key = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for kmsKey. + */ + com.google.protobuf.ByteString getKmsKeyBytes(); + + /** + * + * + *
+     * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+     * protecting control plane disks. Only applicable if kms_key is set.
+     * 
+ * + * + * string kms_key_active_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The kmsKeyActiveVersion. + */ + java.lang.String getKmsKeyActiveVersion(); + /** + * + * + *
+     * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+     * protecting control plane disks. Only applicable if kms_key is set.
+     * 
+ * + * + * string kms_key_active_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for kmsKeyActiveVersion. + */ + com.google.protobuf.ByteString getKmsKeyActiveVersionBytes(); + + /** + * + * + *
+     * Output only. Availability of the Cloud KMS CryptoKey. If not
+     * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+     * local data. This can be caused by a lack of permissions to use the key,
+     * or if the key is disabled or deleted.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.KmsKeyState kms_key_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for kmsKeyState. + */ + int getKmsKeyStateValue(); + /** + * + * + *
+     * Output only. Availability of the Cloud KMS CryptoKey. If not
+     * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+     * local data. This can be caused by a lack of permissions to use the key,
+     * or if the key is disabled or deleted.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.KmsKeyState kms_key_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The kmsKeyState. + */ + com.google.cloud.edgecontainer.v1.KmsKeyState getKmsKeyState(); + + /** + * + * + *
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
+     * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the kmsStatus field is set. + */ + boolean hasKmsStatus(); + /** + * + * + *
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
+     * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The kmsStatus. + */ + com.google.rpc.Status getKmsStatus(); + /** + * + * + *
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
+     * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.StatusOrBuilder getKmsStatusOrBuilder(); + } + /** + * + * + *
+   * Configuration for Customer-managed KMS key support for remote control plane
+   * cluster disk encryption.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption} + */ + public static final class ControlPlaneEncryption extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption) + ControlPlaneEncryptionOrBuilder { + private static final long serialVersionUID = 0L; + // Use ControlPlaneEncryption.newBuilder() to construct. + private ControlPlaneEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ControlPlaneEncryption() { + kmsKey_ = ""; + kmsKeyActiveVersion_ = ""; + kmsKeyState_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ControlPlaneEncryption(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlaneEncryption_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlaneEncryption_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.class, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.Builder.class); + } + + private int bitField0_; + public static final int KMS_KEY_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object kmsKey_ = ""; + /** + * + * + *
+     * Immutable. The Cloud KMS CryptoKey e.g.
+     * projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
+     * to use for protecting control plane disks. If not specified, a
+     * Google-managed key will be used instead.
+     * 
+ * + * + * string kms_key = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The kmsKey. + */ + @java.lang.Override + public java.lang.String getKmsKey() { + java.lang.Object ref = kmsKey_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kmsKey_ = s; + return s; + } + } + /** + * + * + *
+     * Immutable. The Cloud KMS CryptoKey e.g.
+     * projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
+     * to use for protecting control plane disks. If not specified, a
+     * Google-managed key will be used instead.
+     * 
+ * + * + * string kms_key = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for kmsKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKmsKeyBytes() { + java.lang.Object ref = kmsKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kmsKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KMS_KEY_ACTIVE_VERSION_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object kmsKeyActiveVersion_ = ""; + /** + * + * + *
+     * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+     * protecting control plane disks. Only applicable if kms_key is set.
+     * 
+ * + * + * string kms_key_active_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The kmsKeyActiveVersion. + */ + @java.lang.Override + public java.lang.String getKmsKeyActiveVersion() { + java.lang.Object ref = kmsKeyActiveVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kmsKeyActiveVersion_ = s; + return s; + } + } + /** + * + * + *
+     * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+     * protecting control plane disks. Only applicable if kms_key is set.
+     * 
+ * + * + * string kms_key_active_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for kmsKeyActiveVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKmsKeyActiveVersionBytes() { + java.lang.Object ref = kmsKeyActiveVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kmsKeyActiveVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KMS_KEY_STATE_FIELD_NUMBER = 3; + private int kmsKeyState_ = 0; + /** + * + * + *
+     * Output only. Availability of the Cloud KMS CryptoKey. If not
+     * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+     * local data. This can be caused by a lack of permissions to use the key,
+     * or if the key is disabled or deleted.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.KmsKeyState kms_key_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for kmsKeyState. + */ + @java.lang.Override + public int getKmsKeyStateValue() { + return kmsKeyState_; + } + /** + * + * + *
+     * Output only. Availability of the Cloud KMS CryptoKey. If not
+     * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+     * local data. This can be caused by a lack of permissions to use the key,
+     * or if the key is disabled or deleted.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.KmsKeyState kms_key_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The kmsKeyState. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.KmsKeyState getKmsKeyState() { + com.google.cloud.edgecontainer.v1.KmsKeyState result = + com.google.cloud.edgecontainer.v1.KmsKeyState.forNumber(kmsKeyState_); + return result == null ? com.google.cloud.edgecontainer.v1.KmsKeyState.UNRECOGNIZED : result; + } + + public static final int KMS_STATUS_FIELD_NUMBER = 4; + private com.google.rpc.Status kmsStatus_; + /** + * + * + *
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
+     * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the kmsStatus field is set. + */ + @java.lang.Override + public boolean hasKmsStatus() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
+     * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The kmsStatus. + */ + @java.lang.Override + public com.google.rpc.Status getKmsStatus() { + return kmsStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : kmsStatus_; + } + /** + * + * + *
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
+     * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.rpc.StatusOrBuilder getKmsStatusOrBuilder() { + return kmsStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : kmsStatus_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKey_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyActiveVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyActiveVersion_); + } + if (kmsKeyState_ + != com.google.cloud.edgecontainer.v1.KmsKeyState.KMS_KEY_STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(3, kmsKeyState_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(4, getKmsStatus()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kmsKey_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyActiveVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyActiveVersion_); + } + if (kmsKeyState_ + != com.google.cloud.edgecontainer.v1.KmsKeyState.KMS_KEY_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, kmsKeyState_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getKmsStatus()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption other = + (com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption) obj; + + if (!getKmsKey().equals(other.getKmsKey())) return false; + if (!getKmsKeyActiveVersion().equals(other.getKmsKeyActiveVersion())) return false; + if (kmsKeyState_ != other.kmsKeyState_) return false; + if (hasKmsStatus() != other.hasKmsStatus()) return false; + if (hasKmsStatus()) { + if (!getKmsStatus().equals(other.getKmsStatus())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + KMS_KEY_FIELD_NUMBER; + hash = (53 * hash) + getKmsKey().hashCode(); + hash = (37 * hash) + KMS_KEY_ACTIVE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getKmsKeyActiveVersion().hashCode(); + hash = (37 * hash) + KMS_KEY_STATE_FIELD_NUMBER; + hash = (53 * hash) + kmsKeyState_; + if (hasKmsStatus()) { + hash = (37 * hash) + KMS_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getKmsStatus().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + 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.edgecontainer.v1.Cluster.ControlPlaneEncryption parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Configuration for Customer-managed KMS key support for remote control plane
+     * cluster disk encryption.
+     * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption) + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryptionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlaneEncryption_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlaneEncryption_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.class, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.Builder.class); + } + + // Construct using + // com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getKmsStatusFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + kmsKey_ = ""; + kmsKeyActiveVersion_ = ""; + kmsKeyState_ = 0; + kmsStatus_ = null; + if (kmsStatusBuilder_ != null) { + kmsStatusBuilder_.dispose(); + kmsStatusBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlaneEncryption_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption build() { + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption buildPartial() { + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption result = + new com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.kmsKey_ = kmsKey_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.kmsKeyActiveVersion_ = kmsKeyActiveVersion_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.kmsKeyState_ = kmsKeyState_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.kmsStatus_ = kmsStatusBuilder_ == null ? kmsStatus_ : kmsStatusBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption) { + return mergeFrom( + (com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption other) { + if (other + == com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + .getDefaultInstance()) return this; + if (!other.getKmsKey().isEmpty()) { + kmsKey_ = other.kmsKey_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getKmsKeyActiveVersion().isEmpty()) { + kmsKeyActiveVersion_ = other.kmsKeyActiveVersion_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.kmsKeyState_ != 0) { + setKmsKeyStateValue(other.getKmsKeyStateValue()); + } + if (other.hasKmsStatus()) { + mergeKmsStatus(other.getKmsStatus()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + kmsKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + kmsKeyActiveVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + kmsKeyState_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + input.readMessage(getKmsStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object kmsKey_ = ""; + /** + * + * + *
+       * Immutable. The Cloud KMS CryptoKey e.g.
+       * projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
+       * to use for protecting control plane disks. If not specified, a
+       * Google-managed key will be used instead.
+       * 
+ * + * + * string kms_key = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The kmsKey. + */ + public java.lang.String getKmsKey() { + java.lang.Object ref = kmsKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kmsKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Immutable. The Cloud KMS CryptoKey e.g.
+       * projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
+       * to use for protecting control plane disks. If not specified, a
+       * Google-managed key will be used instead.
+       * 
+ * + * + * string kms_key = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for kmsKey. + */ + public com.google.protobuf.ByteString getKmsKeyBytes() { + java.lang.Object ref = kmsKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kmsKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Immutable. The Cloud KMS CryptoKey e.g.
+       * projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
+       * to use for protecting control plane disks. If not specified, a
+       * Google-managed key will be used instead.
+       * 
+ * + * + * string kms_key = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @param value The kmsKey to set. + * @return This builder for chaining. + */ + public Builder setKmsKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kmsKey_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * Immutable. The Cloud KMS CryptoKey e.g.
+       * projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
+       * to use for protecting control plane disks. If not specified, a
+       * Google-managed key will be used instead.
+       * 
+ * + * + * string kms_key = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearKmsKey() { + kmsKey_ = getDefaultInstance().getKmsKey(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * Immutable. The Cloud KMS CryptoKey e.g.
+       * projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
+       * to use for protecting control plane disks. If not specified, a
+       * Google-managed key will be used instead.
+       * 
+ * + * + * string kms_key = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for kmsKey to set. + * @return This builder for chaining. + */ + public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKey_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object kmsKeyActiveVersion_ = ""; + /** + * + * + *
+       * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+       * protecting control plane disks. Only applicable if kms_key is set.
+       * 
+ * + * + * string kms_key_active_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The kmsKeyActiveVersion. + */ + public java.lang.String getKmsKeyActiveVersion() { + java.lang.Object ref = kmsKeyActiveVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kmsKeyActiveVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+       * protecting control plane disks. Only applicable if kms_key is set.
+       * 
+ * + * + * string kms_key_active_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for kmsKeyActiveVersion. + */ + public com.google.protobuf.ByteString getKmsKeyActiveVersionBytes() { + java.lang.Object ref = kmsKeyActiveVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kmsKeyActiveVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+       * protecting control plane disks. Only applicable if kms_key is set.
+       * 
+ * + * + * string kms_key_active_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The kmsKeyActiveVersion to set. + * @return This builder for chaining. + */ + public Builder setKmsKeyActiveVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kmsKeyActiveVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+       * protecting control plane disks. Only applicable if kms_key is set.
+       * 
+ * + * + * string kms_key_active_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearKmsKeyActiveVersion() { + kmsKeyActiveVersion_ = getDefaultInstance().getKmsKeyActiveVersion(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+       * protecting control plane disks. Only applicable if kms_key is set.
+       * 
+ * + * + * string kms_key_active_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for kmsKeyActiveVersion to set. + * @return This builder for chaining. + */ + public Builder setKmsKeyActiveVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyActiveVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int kmsKeyState_ = 0; + /** + * + * + *
+       * Output only. Availability of the Cloud KMS CryptoKey. If not
+       * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+       * local data. This can be caused by a lack of permissions to use the key,
+       * or if the key is disabled or deleted.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.KmsKeyState kms_key_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for kmsKeyState. + */ + @java.lang.Override + public int getKmsKeyStateValue() { + return kmsKeyState_; + } + /** + * + * + *
+       * Output only. Availability of the Cloud KMS CryptoKey. If not
+       * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+       * local data. This can be caused by a lack of permissions to use the key,
+       * or if the key is disabled or deleted.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.KmsKeyState kms_key_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for kmsKeyState to set. + * @return This builder for chaining. + */ + public Builder setKmsKeyStateValue(int value) { + kmsKeyState_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. Availability of the Cloud KMS CryptoKey. If not
+       * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+       * local data. This can be caused by a lack of permissions to use the key,
+       * or if the key is disabled or deleted.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.KmsKeyState kms_key_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The kmsKeyState. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.KmsKeyState getKmsKeyState() { + com.google.cloud.edgecontainer.v1.KmsKeyState result = + com.google.cloud.edgecontainer.v1.KmsKeyState.forNumber(kmsKeyState_); + return result == null ? com.google.cloud.edgecontainer.v1.KmsKeyState.UNRECOGNIZED : result; + } + /** + * + * + *
+       * Output only. Availability of the Cloud KMS CryptoKey. If not
+       * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+       * local data. This can be caused by a lack of permissions to use the key,
+       * or if the key is disabled or deleted.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.KmsKeyState kms_key_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The kmsKeyState to set. + * @return This builder for chaining. + */ + public Builder setKmsKeyState(com.google.cloud.edgecontainer.v1.KmsKeyState value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + kmsKeyState_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. Availability of the Cloud KMS CryptoKey. If not
+       * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+       * local data. This can be caused by a lack of permissions to use the key,
+       * or if the key is disabled or deleted.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.KmsKeyState kms_key_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearKmsKeyState() { + bitField0_ = (bitField0_ & ~0x00000004); + kmsKeyState_ = 0; + onChanged(); + return this; + } + + private com.google.rpc.Status kmsStatus_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + kmsStatusBuilder_; + /** + * + * + *
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
+       * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the kmsStatus field is set. + */ + public boolean hasKmsStatus() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
+       * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The kmsStatus. + */ + public com.google.rpc.Status getKmsStatus() { + if (kmsStatusBuilder_ == null) { + return kmsStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : kmsStatus_; + } else { + return kmsStatusBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
+       * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setKmsStatus(com.google.rpc.Status value) { + if (kmsStatusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kmsStatus_ = value; + } else { + kmsStatusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
+       * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setKmsStatus(com.google.rpc.Status.Builder builderForValue) { + if (kmsStatusBuilder_ == null) { + kmsStatus_ = builderForValue.build(); + } else { + kmsStatusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
+       * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeKmsStatus(com.google.rpc.Status value) { + if (kmsStatusBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && kmsStatus_ != null + && kmsStatus_ != com.google.rpc.Status.getDefaultInstance()) { + getKmsStatusBuilder().mergeFrom(value); + } else { + kmsStatus_ = value; + } + } else { + kmsStatusBuilder_.mergeFrom(value); + } + if (kmsStatus_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
+       * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearKmsStatus() { + bitField0_ = (bitField0_ & ~0x00000008); + kmsStatus_ = null; + if (kmsStatusBuilder_ != null) { + kmsStatusBuilder_.dispose(); + kmsStatusBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
+       * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.rpc.Status.Builder getKmsStatusBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getKmsStatusFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
+       * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.rpc.StatusOrBuilder getKmsStatusOrBuilder() { + if (kmsStatusBuilder_ != null) { + return kmsStatusBuilder_.getMessageOrBuilder(); + } else { + return kmsStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : kmsStatus_; + } + } + /** + * + * + *
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
+       * 
+ * + * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + getKmsStatusFieldBuilder() { + if (kmsStatusBuilder_ == null) { + kmsStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>( + getKmsStatus(), getParentForChildren(), isClean()); + kmsStatus_ = null; + } + return kmsStatusBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption) + private static final com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption(); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ControlPlaneEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface MaintenanceEventOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Output only. UUID of the maintenance event.
+     * 
+ * + * string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The uuid. + */ + java.lang.String getUuid(); + /** + * + * + *
+     * Output only. UUID of the maintenance event.
+     * 
+ * + * string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for uuid. + */ + com.google.protobuf.ByteString getUuidBytes(); + + /** + * + * + *
+     * Output only. The target version of the cluster.
+     * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The targetVersion. + */ + java.lang.String getTargetVersion(); + /** + * + * + *
+     * Output only. The target version of the cluster.
+     * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for targetVersion. + */ + com.google.protobuf.ByteString getTargetVersionBytes(); + + /** + * + * + *
+     * Output only. The operation for running the maintenance event. Specified
+     * in the format projects/*/locations/*/operations/*. If the maintenance
+     * event is split into multiple operations (e.g. due to maintenance
+     * windows), the latest one is recorded.
+     * 
+ * + * string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operation. + */ + java.lang.String getOperation(); + /** + * + * + *
+     * Output only. The operation for running the maintenance event. Specified
+     * in the format projects/*/locations/*/operations/*. If the maintenance
+     * event is split into multiple operations (e.g. due to maintenance
+     * windows), the latest one is recorded.
+     * 
+ * + * string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operation. + */ + com.google.protobuf.ByteString getOperationBytes(); + + /** + * + * + *
+     * Output only. The type of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for type. + */ + int getTypeValue(); + /** + * + * + *
+     * Output only. The type of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The type. + */ + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type getType(); + + /** + * + * + *
+     * Output only. The schedule of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for schedule. + */ + int getScheduleValue(); + /** + * + * + *
+     * Output only. The schedule of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule getSchedule(); + + /** + * + * + *
+     * Output only. The state of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * + * + *
+     * Output only. The state of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State getState(); + + /** + * + * + *
+     * Output only. The time when the maintenance event request was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
+     * Output only. The time when the maintenance event request was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
+     * Output only. The time when the maintenance event request was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
+     * Output only. The time when the maintenance event started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + * + * + *
+     * Output only. The time when the maintenance event started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + * + * + *
+     * Output only. The time when the maintenance event started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + * + * + *
+     * Output only. The time when the maintenance event ended, either
+     * successfully or not. If the maintenance event is split into multiple
+     * maintenance windows, end_time is only updated when the whole flow ends.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + * + * + *
+     * Output only. The time when the maintenance event ended, either
+     * successfully or not. If the maintenance event is split into multiple
+     * maintenance windows, end_time is only updated when the whole flow ends.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + * + * + *
+     * Output only. The time when the maintenance event ended, either
+     * successfully or not. If the maintenance event is split into multiple
+     * maintenance windows, end_time is only updated when the whole flow ends.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + + /** + * + * + *
+     * Output only. The time when the maintenance event message was updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * + * + *
+     * Output only. The time when the maintenance event message was updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
+     * Output only. The time when the maintenance event message was updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + } + /** + * + * + *
+   * A Maintenance Event is an operation that could cause temporary disruptions
+   * to the cluster workloads, including Google-driven or user-initiated cluster
+   * upgrades, user-initiated cluster configuration changes that require
+   * restarting nodes, etc.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent} + */ + public static final class MaintenanceEvent extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent) + MaintenanceEventOrBuilder { + private static final long serialVersionUID = 0L; + // Use MaintenanceEvent.newBuilder() to construct. + private MaintenanceEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MaintenanceEvent() { + uuid_ = ""; + targetVersion_ = ""; + operation_ = ""; + type_ = 0; + schedule_ = 0; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MaintenanceEvent(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_MaintenanceEvent_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_MaintenanceEvent_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.class, + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Builder.class); + } + + /** + * + * + *
+     * Indicates the maintenance event type.
+     * 
+ * + * Protobuf enum {@code google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type} + */ + public enum Type implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Unspecified.
+       * 
+ * + * TYPE_UNSPECIFIED = 0; + */ + TYPE_UNSPECIFIED(0), + /** + * + * + *
+       * Upgrade initiated by users.
+       * 
+ * + * USER_INITIATED_UPGRADE = 1; + */ + USER_INITIATED_UPGRADE(1), + /** + * + * + *
+       * Upgrade driven by Google.
+       * 
+ * + * GOOGLE_DRIVEN_UPGRADE = 2; + */ + GOOGLE_DRIVEN_UPGRADE(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Unspecified.
+       * 
+ * + * TYPE_UNSPECIFIED = 0; + */ + public static final int TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * Upgrade initiated by users.
+       * 
+ * + * USER_INITIATED_UPGRADE = 1; + */ + public static final int USER_INITIATED_UPGRADE_VALUE = 1; + /** + * + * + *
+       * Upgrade driven by Google.
+       * 
+ * + * GOOGLE_DRIVEN_UPGRADE = 2; + */ + public static final int GOOGLE_DRIVEN_UPGRADE_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Type valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Type forNumber(int value) { + switch (value) { + case 0: + return TYPE_UNSPECIFIED; + case 1: + return USER_INITIATED_UPGRADE; + case 2: + return GOOGLE_DRIVEN_UPGRADE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Type[] VALUES = values(); + + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Type(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type) + } + + /** + * + * + *
+     * Indicates when the maintenance event should be performed.
+     * 
+ * + * Protobuf enum {@code google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule} + */ + public enum Schedule implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Unspecified.
+       * 
+ * + * SCHEDULE_UNSPECIFIED = 0; + */ + SCHEDULE_UNSPECIFIED(0), + /** + * + * + *
+       * Immediately after receiving the request.
+       * 
+ * + * IMMEDIATELY = 1; + */ + IMMEDIATELY(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Unspecified.
+       * 
+ * + * SCHEDULE_UNSPECIFIED = 0; + */ + public static final int SCHEDULE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * Immediately after receiving the request.
+       * 
+ * + * IMMEDIATELY = 1; + */ + public static final int IMMEDIATELY_VALUE = 1; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Schedule valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Schedule forNumber(int value) { + switch (value) { + case 0: + return SCHEDULE_UNSPECIFIED; + case 1: + return IMMEDIATELY; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Schedule findValueByNumber(int number) { + return Schedule.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.getDescriptor() + .getEnumTypes() + .get(1); + } + + private static final Schedule[] VALUES = values(); + + public static Schedule valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Schedule(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule) + } + + /** + * + * + *
+     * Indicates the maintenance event state.
+     * 
+ * + * Protobuf enum {@code google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Unspecified.
+       * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + * + * + *
+       * The maintenance event is ongoing. The cluster might be unusable.
+       * 
+ * + * RECONCILING = 1; + */ + RECONCILING(1), + /** + * + * + *
+       * The maintenance event succeeded.
+       * 
+ * + * SUCCEEDED = 2; + */ + SUCCEEDED(2), + /** + * + * + *
+       * The maintenance event failed.
+       * 
+ * + * FAILED = 3; + */ + FAILED(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Unspecified.
+       * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * The maintenance event is ongoing. The cluster might be unusable.
+       * 
+ * + * RECONCILING = 1; + */ + public static final int RECONCILING_VALUE = 1; + /** + * + * + *
+       * The maintenance event succeeded.
+       * 
+ * + * SUCCEEDED = 2; + */ + public static final int SUCCEEDED_VALUE = 2; + /** + * + * + *
+       * The maintenance event failed.
+       * 
+ * + * FAILED = 3; + */ + public static final int FAILED_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: + return STATE_UNSPECIFIED; + case 1: + return RECONCILING; + case 2: + return SUCCEEDED; + case 3: + return FAILED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public 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() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.getDescriptor() + .getEnumTypes() + .get(2); + } + + private static final State[] VALUES = values(); + + 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."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State) + } + + private int bitField0_; + public static final int UUID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object uuid_ = ""; + /** + * + * + *
+     * Output only. UUID of the maintenance event.
+     * 
+ * + * string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The uuid. + */ + @java.lang.Override + public java.lang.String getUuid() { + java.lang.Object ref = uuid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uuid_ = s; + return s; + } + } + /** + * + * + *
+     * Output only. UUID of the maintenance event.
+     * 
+ * + * string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for uuid. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUuidBytes() { + java.lang.Object ref = uuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TARGET_VERSION_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object targetVersion_ = ""; + /** + * + * + *
+     * Output only. The target version of the cluster.
+     * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The targetVersion. + */ + @java.lang.Override + public java.lang.String getTargetVersion() { + java.lang.Object ref = targetVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetVersion_ = s; + return s; + } + } + /** + * + * + *
+     * Output only. The target version of the cluster.
+     * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for targetVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTargetVersionBytes() { + java.lang.Object ref = targetVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATION_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object operation_ = ""; + /** + * + * + *
+     * Output only. The operation for running the maintenance event. Specified
+     * in the format projects/*/locations/*/operations/*. If the maintenance
+     * event is split into multiple operations (e.g. due to maintenance
+     * windows), the latest one is recorded.
+     * 
+ * + * string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operation. + */ + @java.lang.Override + public java.lang.String getOperation() { + java.lang.Object ref = operation_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operation_ = s; + return s; + } + } + /** + * + * + *
+     * Output only. The operation for running the maintenance event. Specified
+     * in the format projects/*/locations/*/operations/*. If the maintenance
+     * event is split into multiple operations (e.g. due to maintenance
+     * windows), the latest one is recorded.
+     * 
+ * + * string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operation. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOperationBytes() { + java.lang.Object ref = operation_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + operation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TYPE_FIELD_NUMBER = 4; + private int type_ = 0; + /** + * + * + *
+     * Output only. The type of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + /** + * + * + *
+     * Output only. The type of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The type. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type getType() { + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type result = + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type.forNumber(type_); + return result == null + ? com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type.UNRECOGNIZED + : result; + } + + public static final int SCHEDULE_FIELD_NUMBER = 5; + private int schedule_ = 0; + /** + * + * + *
+     * Output only. The schedule of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for schedule. + */ + @java.lang.Override + public int getScheduleValue() { + return schedule_; + } + /** + * + * + *
+     * Output only. The schedule of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule getSchedule() { + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule result = + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule.forNumber(schedule_); + return result == null + ? com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule.UNRECOGNIZED + : result; + } + + public static final int STATE_FIELD_NUMBER = 6; + private int state_ = 0; + /** + * + * + *
+     * Output only. The state of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.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() { + return state_; + } + /** + * + * + *
+     * Output only. The state of the maintenance event.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State getState() { + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State result = + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State.forNumber(state_); + return result == null + ? com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State.UNRECOGNIZED + : result; + } + + public static final int CREATE_TIME_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+     * Output only. The time when the maintenance event request was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Output only. The time when the maintenance event request was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+     * Output only. The time when the maintenance event request was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int START_TIME_FIELD_NUMBER = 8; + private com.google.protobuf.Timestamp startTime_; + /** + * + * + *
+     * Output only. The time when the maintenance event started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Output only. The time when the maintenance event started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + * + * + *
+     * Output only. The time when the maintenance event started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + + public static final int END_TIME_FIELD_NUMBER = 9; + private com.google.protobuf.Timestamp endTime_; + /** + * + * + *
+     * Output only. The time when the maintenance event ended, either
+     * successfully or not. If the maintenance event is split into multiple
+     * maintenance windows, end_time is only updated when the whole flow ends.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Output only. The time when the maintenance event ended, either
+     * successfully or not. If the maintenance event is split into multiple
+     * maintenance windows, end_time is only updated when the whole flow ends.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + * + * + *
+     * Output only. The time when the maintenance event ended, either
+     * successfully or not. If the maintenance event is split into multiple
+     * maintenance windows, end_time is only updated when the whole flow ends.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 10; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+     * Output only. The time when the maintenance event message was updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Output only. The time when the maintenance event message was updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + * + * + *
+     * Output only. The time when the maintenance event message was updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetVersion_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, operation_); + } + if (type_ + != com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type.TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, type_); + } + if (schedule_ + != com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule + .SCHEDULE_UNSPECIFIED + .getNumber()) { + output.writeEnum(5, schedule_); + } + if (state_ + != com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State.STATE_UNSPECIFIED + .getNumber()) { + output.writeEnum(6, state_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(7, getCreateTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(8, getStartTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(9, getEndTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(10, getUpdateTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetVersion_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, operation_); + } + if (type_ + != com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); + } + if (schedule_ + != com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule + .SCHEDULE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, schedule_); + } + if (state_ + != com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getStartTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getEndTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent other = + (com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent) obj; + + if (!getUuid().equals(other.getUuid())) return false; + if (!getTargetVersion().equals(other.getTargetVersion())) return false; + if (!getOperation().equals(other.getOperation())) return false; + if (type_ != other.type_) return false; + if (schedule_ != other.schedule_) return false; + if (state_ != other.state_) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime().equals(other.getStartTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + UUID_FIELD_NUMBER; + hash = (53 * hash) + getUuid().hashCode(); + hash = (37 * hash) + TARGET_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getTargetVersion().hashCode(); + hash = (37 * hash) + OPERATION_FIELD_NUMBER; + hash = (53 * hash) + getOperation().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; + hash = (53 * hash) + schedule_; + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent 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.edgecontainer.v1.Cluster.MaintenanceEvent parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A Maintenance Event is an operation that could cause temporary disruptions
+     * to the cluster workloads, including Google-driven or user-initiated cluster
+     * upgrades, user-initiated cluster configuration changes that require
+     * restarting nodes, etc.
+     * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent) + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_MaintenanceEvent_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_MaintenanceEvent_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.class, + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + getStartTimeFieldBuilder(); + getEndTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + uuid_ = ""; + targetVersion_ = ""; + operation_ = ""; + type_ = 0; + schedule_ = 0; + state_ = 0; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_MaintenanceEvent_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent + getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent build() { + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent buildPartial() { + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent result = + new com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.uuid_ = uuid_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.targetVersion_ = targetVersion_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.operation_ = operation_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.type_ = type_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.schedule_ = schedule_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.state_ = state_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000040) != 0)) { + result.createTime_ = + createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.updateTime_ = + updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent) { + return mergeFrom((com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent other) { + if (other + == com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.getDefaultInstance()) + return this; + if (!other.getUuid().isEmpty()) { + uuid_ = other.uuid_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getTargetVersion().isEmpty()) { + targetVersion_ = other.targetVersion_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getOperation().isEmpty()) { + operation_ = other.operation_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + if (other.schedule_ != 0) { + setScheduleValue(other.getScheduleValue()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + uuid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + targetVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + operation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + schedule_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object uuid_ = ""; + /** + * + * + *
+       * Output only. UUID of the maintenance event.
+       * 
+ * + * string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The uuid. + */ + public java.lang.String getUuid() { + java.lang.Object ref = uuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Output only. UUID of the maintenance event.
+       * 
+ * + * string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for uuid. + */ + public com.google.protobuf.ByteString getUuidBytes() { + java.lang.Object ref = uuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Output only. UUID of the maintenance event.
+       * 
+ * + * string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The uuid to set. + * @return This builder for chaining. + */ + public Builder setUuid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + uuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. UUID of the maintenance event.
+       * 
+ * + * string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearUuid() { + uuid_ = getDefaultInstance().getUuid(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. UUID of the maintenance event.
+       * 
+ * + * string uuid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for uuid to set. + * @return This builder for chaining. + */ + public Builder setUuidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uuid_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object targetVersion_ = ""; + /** + * + * + *
+       * Output only. The target version of the cluster.
+       * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The targetVersion. + */ + public java.lang.String getTargetVersion() { + java.lang.Object ref = targetVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Output only. The target version of the cluster.
+       * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for targetVersion. + */ + public com.google.protobuf.ByteString getTargetVersionBytes() { + java.lang.Object ref = targetVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Output only. The target version of the cluster.
+       * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The targetVersion to set. + * @return This builder for chaining. + */ + public Builder setTargetVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + targetVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The target version of the cluster.
+       * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearTargetVersion() { + targetVersion_ = getDefaultInstance().getTargetVersion(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The target version of the cluster.
+       * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for targetVersion to set. + * @return This builder for chaining. + */ + public Builder setTargetVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object operation_ = ""; + /** + * + * + *
+       * Output only. The operation for running the maintenance event. Specified
+       * in the format projects/*/locations/*/operations/*. If the maintenance
+       * event is split into multiple operations (e.g. due to maintenance
+       * windows), the latest one is recorded.
+       * 
+ * + * string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The operation. + */ + public java.lang.String getOperation() { + java.lang.Object ref = operation_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operation_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Output only. The operation for running the maintenance event. Specified
+       * in the format projects/*/locations/*/operations/*. If the maintenance
+       * event is split into multiple operations (e.g. due to maintenance
+       * windows), the latest one is recorded.
+       * 
+ * + * string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for operation. + */ + public com.google.protobuf.ByteString getOperationBytes() { + java.lang.Object ref = operation_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + operation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Output only. The operation for running the maintenance event. Specified
+       * in the format projects/*/locations/*/operations/*. If the maintenance
+       * event is split into multiple operations (e.g. due to maintenance
+       * windows), the latest one is recorded.
+       * 
+ * + * string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The operation to set. + * @return This builder for chaining. + */ + public Builder setOperation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + operation_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The operation for running the maintenance event. Specified
+       * in the format projects/*/locations/*/operations/*. If the maintenance
+       * event is split into multiple operations (e.g. due to maintenance
+       * windows), the latest one is recorded.
+       * 
+ * + * string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearOperation() { + operation_ = getDefaultInstance().getOperation(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The operation for running the maintenance event. Specified
+       * in the format projects/*/locations/*/operations/*. If the maintenance
+       * event is split into multiple operations (e.g. due to maintenance
+       * windows), the latest one is recorded.
+       * 
+ * + * string operation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for operation to set. + * @return This builder for chaining. + */ + public Builder setOperationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operation_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int type_ = 0; + /** + * + * + *
+       * Output only. The type of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + /** + * + * + *
+       * Output only. The type of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + type_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The type of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The type. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type getType() { + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type result = + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type.forNumber(type_); + return result == null + ? com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Output only. The type of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The type of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000008); + type_ = 0; + onChanged(); + return this; + } + + private int schedule_ = 0; + /** + * + * + *
+       * Output only. The schedule of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for schedule. + */ + @java.lang.Override + public int getScheduleValue() { + return schedule_; + } + /** + * + * + *
+       * Output only. The schedule of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for schedule to set. + * @return This builder for chaining. + */ + public Builder setScheduleValue(int value) { + schedule_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The schedule of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The schedule. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule getSchedule() { + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule result = + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule.forNumber( + schedule_); + return result == null + ? com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Output only. The schedule of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The schedule to set. + * @return This builder for chaining. + */ + public Builder setSchedule( + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + schedule_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The schedule of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule schedule = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearSchedule() { + bitField0_ = (bitField0_ & ~0x00000010); + schedule_ = 0; + onChanged(); + return this; + } + + private int state_ = 0; + /** + * + * + *
+       * Output only. The state of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.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() { + return state_; + } + /** + * + * + *
+       * Output only. The state of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.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; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The state of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State getState() { + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State result = + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State.forNumber(state_); + return result == null + ? com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Output only. The state of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState( + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The state of the maintenance event.
+       * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000020); + state_ = 0; + onChanged(); + return this; + } + + 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_; + /** + * + * + *
+       * Output only. The time when the maintenance event request was created.
+       * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+       * Output only. The time when the maintenance event request was created.
+       * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.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_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Output only. The time when the maintenance event request was created.
+       * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event request was created.
+       * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event request was created.
+       * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + if (createTime_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event request was created.
+       * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000040); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event request was created.
+       * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Output only. The time when the maintenance event request was created.
+       * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.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_; + } + } + /** + * + * + *
+       * Output only. The time when the maintenance event request was created.
+       * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.Timestamp startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; + /** + * + * + *
+       * Output only. The time when the maintenance event started.
+       * 
+ * + * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+       * Output only. The time when the maintenance event started.
+       * 
+ * + * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Output only. The time when the maintenance event started.
+       * 
+ * + * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event started.
+       * 
+ * + * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event started.
+       * 
+ * + * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + if (startTime_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event started.
+       * 
+ * + * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000080); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event started.
+       * 
+ * + * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Output only. The time when the maintenance event started.
+       * 
+ * + * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : startTime_; + } + } + /** + * + * + *
+       * Output only. The time when the maintenance event started.
+       * 
+ * + * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + 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_; + /** + * + * + *
+       * Output only. The time when the maintenance event ended, either
+       * successfully or not. If the maintenance event is split into multiple
+       * maintenance windows, end_time is only updated when the whole flow ends.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+       * Output only. The time when the maintenance event ended, either
+       * successfully or not. If the maintenance event is split into multiple
+       * maintenance windows, end_time is only updated when the whole flow ends.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Output only. The time when the maintenance event ended, either
+       * successfully or not. If the maintenance event is split into multiple
+       * maintenance windows, end_time is only updated when the whole flow ends.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event ended, either
+       * successfully or not. If the maintenance event is split into multiple
+       * maintenance windows, end_time is only updated when the whole flow ends.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event ended, either
+       * successfully or not. If the maintenance event is split into multiple
+       * maintenance windows, end_time is only updated when the whole flow ends.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + if (endTime_ != null) { + bitField0_ |= 0x00000100; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event ended, either
+       * successfully or not. If the maintenance event is split into multiple
+       * maintenance windows, end_time is only updated when the whole flow ends.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000100); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event ended, either
+       * successfully or not. If the maintenance event is split into multiple
+       * maintenance windows, end_time is only updated when the whole flow ends.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Output only. The time when the maintenance event ended, either
+       * successfully or not. If the maintenance event is split into multiple
+       * maintenance windows, end_time is only updated when the whole flow ends.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.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_; + } + } + /** + * + * + *
+       * Output only. The time when the maintenance event ended, either
+       * successfully or not. If the maintenance event is split into multiple
+       * maintenance windows, end_time is only updated when the whole flow ends.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + 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()); + endTime_ = null; + } + return endTimeBuilder_; + } + + 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_; + /** + * + * + *
+       * Output only. The time when the maintenance event message was updated.
+       * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+       * Output only. The time when the maintenance event message was updated.
+       * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Output only. The time when the maintenance event message was updated.
+       * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + } else { + updateTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event message was updated.
+       * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event message was updated.
+       * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getUpdateTimeBuilder().mergeFrom(value); + } else { + updateTime_ = value; + } + } else { + updateTimeBuilder_.mergeFrom(value); + } + if (updateTime_ != null) { + bitField0_ |= 0x00000200; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event message was updated.
+       * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateTime() { + bitField0_ = (bitField0_ & ~0x00000200); + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The time when the maintenance event message was updated.
+       * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + bitField0_ |= 0x00000200; + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Output only. The time when the maintenance event message was updated.
+       * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } + } + /** + * + * + *
+       * Output only. The time when the maintenance event message was updated.
+       * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + 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()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent) + private static final com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent(); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface SurvivabilityConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Optional. Time period that allows the cluster nodes to be rebooted and
+     * become functional without network connectivity to Google. The default 0
+     * means not allowed. The maximum is 7 days.
+     * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the offlineRebootTtl field is set. + */ + boolean hasOfflineRebootTtl(); + /** + * + * + *
+     * Optional. Time period that allows the cluster nodes to be rebooted and
+     * become functional without network connectivity to Google. The default 0
+     * means not allowed. The maximum is 7 days.
+     * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The offlineRebootTtl. + */ + com.google.protobuf.Duration getOfflineRebootTtl(); + /** + * + * + *
+     * Optional. Time period that allows the cluster nodes to be rebooted and
+     * become functional without network connectivity to Google. The default 0
+     * means not allowed. The maximum is 7 days.
+     * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.DurationOrBuilder getOfflineRebootTtlOrBuilder(); + } + /** + * + * + *
+   * Configuration of the cluster survivability, e.g., for the case when network
+   * connectivity is lost.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig} + */ + public static final class SurvivabilityConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig) + SurvivabilityConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use SurvivabilityConfig.newBuilder() to construct. + private SurvivabilityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SurvivabilityConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SurvivabilityConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SurvivabilityConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SurvivabilityConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.class, + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.Builder.class); + } + + private int bitField0_; + public static final int OFFLINE_REBOOT_TTL_FIELD_NUMBER = 1; + private com.google.protobuf.Duration offlineRebootTtl_; + /** + * + * + *
+     * Optional. Time period that allows the cluster nodes to be rebooted and
+     * become functional without network connectivity to Google. The default 0
+     * means not allowed. The maximum is 7 days.
+     * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the offlineRebootTtl field is set. + */ + @java.lang.Override + public boolean hasOfflineRebootTtl() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Optional. Time period that allows the cluster nodes to be rebooted and
+     * become functional without network connectivity to Google. The default 0
+     * means not allowed. The maximum is 7 days.
+     * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The offlineRebootTtl. + */ + @java.lang.Override + public com.google.protobuf.Duration getOfflineRebootTtl() { + return offlineRebootTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : offlineRebootTtl_; + } + /** + * + * + *
+     * Optional. Time period that allows the cluster nodes to be rebooted and
+     * become functional without network connectivity to Google. The default 0
+     * means not allowed. The maximum is 7 days.
+     * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getOfflineRebootTtlOrBuilder() { + return offlineRebootTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : offlineRebootTtl_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getOfflineRebootTtl()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOfflineRebootTtl()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig other = + (com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig) obj; + + if (hasOfflineRebootTtl() != other.hasOfflineRebootTtl()) return false; + if (hasOfflineRebootTtl()) { + if (!getOfflineRebootTtl().equals(other.getOfflineRebootTtl())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasOfflineRebootTtl()) { + hash = (37 * hash) + OFFLINE_REBOOT_TTL_FIELD_NUMBER; + hash = (53 * hash) + getOfflineRebootTtl().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig 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.edgecontainer.v1.Cluster.SurvivabilityConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Configuration of the cluster survivability, e.g., for the case when network
+     * connectivity is lost.
+     * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig) + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SurvivabilityConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SurvivabilityConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.class, + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getOfflineRebootTtlFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + offlineRebootTtl_ = null; + if (offlineRebootTtlBuilder_ != null) { + offlineRebootTtlBuilder_.dispose(); + offlineRebootTtlBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_SurvivabilityConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig + getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig build() { + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig buildPartial() { + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig result = + new com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.offlineRebootTtl_ = + offlineRebootTtlBuilder_ == null + ? offlineRebootTtl_ + : offlineRebootTtlBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig) { + return mergeFrom((com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig other) { + if (other + == com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.getDefaultInstance()) + return this; + if (other.hasOfflineRebootTtl()) { + mergeOfflineRebootTtl(other.getOfflineRebootTtl()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + getOfflineRebootTtlFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.Duration offlineRebootTtl_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + offlineRebootTtlBuilder_; + /** + * + * + *
+       * Optional. Time period that allows the cluster nodes to be rebooted and
+       * become functional without network connectivity to Google. The default 0
+       * means not allowed. The maximum is 7 days.
+       * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the offlineRebootTtl field is set. + */ + public boolean hasOfflineRebootTtl() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+       * Optional. Time period that allows the cluster nodes to be rebooted and
+       * become functional without network connectivity to Google. The default 0
+       * means not allowed. The maximum is 7 days.
+       * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The offlineRebootTtl. + */ + public com.google.protobuf.Duration getOfflineRebootTtl() { + if (offlineRebootTtlBuilder_ == null) { + return offlineRebootTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : offlineRebootTtl_; + } else { + return offlineRebootTtlBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Optional. Time period that allows the cluster nodes to be rebooted and
+       * become functional without network connectivity to Google. The default 0
+       * means not allowed. The maximum is 7 days.
+       * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setOfflineRebootTtl(com.google.protobuf.Duration value) { + if (offlineRebootTtlBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + offlineRebootTtl_ = value; + } else { + offlineRebootTtlBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. Time period that allows the cluster nodes to be rebooted and
+       * become functional without network connectivity to Google. The default 0
+       * means not allowed. The maximum is 7 days.
+       * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setOfflineRebootTtl(com.google.protobuf.Duration.Builder builderForValue) { + if (offlineRebootTtlBuilder_ == null) { + offlineRebootTtl_ = builderForValue.build(); + } else { + offlineRebootTtlBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. Time period that allows the cluster nodes to be rebooted and
+       * become functional without network connectivity to Google. The default 0
+       * means not allowed. The maximum is 7 days.
+       * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeOfflineRebootTtl(com.google.protobuf.Duration value) { + if (offlineRebootTtlBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && offlineRebootTtl_ != null + && offlineRebootTtl_ != com.google.protobuf.Duration.getDefaultInstance()) { + getOfflineRebootTtlBuilder().mergeFrom(value); + } else { + offlineRebootTtl_ = value; + } + } else { + offlineRebootTtlBuilder_.mergeFrom(value); + } + if (offlineRebootTtl_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Optional. Time period that allows the cluster nodes to be rebooted and
+       * become functional without network connectivity to Google. The default 0
+       * means not allowed. The maximum is 7 days.
+       * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearOfflineRebootTtl() { + bitField0_ = (bitField0_ & ~0x00000001); + offlineRebootTtl_ = null; + if (offlineRebootTtlBuilder_ != null) { + offlineRebootTtlBuilder_.dispose(); + offlineRebootTtlBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. Time period that allows the cluster nodes to be rebooted and
+       * become functional without network connectivity to Google. The default 0
+       * means not allowed. The maximum is 7 days.
+       * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.Duration.Builder getOfflineRebootTtlBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getOfflineRebootTtlFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Optional. Time period that allows the cluster nodes to be rebooted and
+       * become functional without network connectivity to Google. The default 0
+       * means not allowed. The maximum is 7 days.
+       * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.DurationOrBuilder getOfflineRebootTtlOrBuilder() { + if (offlineRebootTtlBuilder_ != null) { + return offlineRebootTtlBuilder_.getMessageOrBuilder(); + } else { + return offlineRebootTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : offlineRebootTtl_; + } + } + /** + * + * + *
+       * Optional. Time period that allows the cluster nodes to be rebooted and
+       * become functional without network connectivity to Google. The default 0
+       * means not allowed. The maximum is 7 days.
+       * 
+ * + * + * .google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getOfflineRebootTtlFieldBuilder() { + if (offlineRebootTtlBuilder_ == null) { + offlineRebootTtlBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getOfflineRebootTtl(), getParentForChildren(), isClean()); + offlineRebootTtl_ = null; + } + return offlineRebootTtlBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig) + private static final com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig(); + } + + public static com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SurvivabilityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The resource name of the cluster.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the cluster.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CREATE_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+   * Output only. The time when the cluster was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Output only. The time when the cluster was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+   * Output only. The time when the cluster was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+   * Output only. The time when the cluster was last updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * Output only. The time when the cluster was last updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + * + * + *
+   * Output only. The time when the cluster was last updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + + 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.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+   * Labels associated with this resource.
+   * 
+ * + * map<string, string> labels = 4; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+   * Labels associated with this resource.
+   * 
+ * + * map<string, string> labels = 4; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+   * Labels associated with this resource.
+   * 
+ * + * map<string, string> labels = 4; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Labels associated with this resource.
+   * 
+ * + * map<string, string> labels = 4; + */ + @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(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int FLEET_FIELD_NUMBER = 11; + private com.google.cloud.edgecontainer.v1.Fleet fleet_; + /** + * + * + *
+   * Required. Fleet configuration.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the fleet field is set. + */ + @java.lang.Override + public boolean hasFleet() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Required. Fleet configuration.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The fleet. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Fleet getFleet() { + return fleet_ == null ? com.google.cloud.edgecontainer.v1.Fleet.getDefaultInstance() : fleet_; + } + /** + * + * + *
+   * Required. Fleet configuration.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.FleetOrBuilder getFleetOrBuilder() { + return fleet_ == null ? com.google.cloud.edgecontainer.v1.Fleet.getDefaultInstance() : fleet_; + } + + public static final int NETWORKING_FIELD_NUMBER = 7; + private com.google.cloud.edgecontainer.v1.ClusterNetworking networking_; + /** + * + * + *
+   * Required. Cluster-wide networking configuration.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the networking field is set. + */ + @java.lang.Override + public boolean hasNetworking() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * Required. Cluster-wide networking configuration.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networking. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ClusterNetworking getNetworking() { + return networking_ == null + ? com.google.cloud.edgecontainer.v1.ClusterNetworking.getDefaultInstance() + : networking_; + } + /** + * + * + *
+   * Required. Cluster-wide networking configuration.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ClusterNetworkingOrBuilder getNetworkingOrBuilder() { + return networking_ == null + ? com.google.cloud.edgecontainer.v1.ClusterNetworking.getDefaultInstance() + : networking_; + } + + public static final int AUTHORIZATION_FIELD_NUMBER = 9; + private com.google.cloud.edgecontainer.v1.Authorization authorization_; + /** + * + * + *
+   * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the authorization field is set. + */ + @java.lang.Override + public boolean hasAuthorization() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The authorization. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Authorization getAuthorization() { + return authorization_ == null + ? com.google.cloud.edgecontainer.v1.Authorization.getDefaultInstance() + : authorization_; + } + /** + * + * + *
+   * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.AuthorizationOrBuilder getAuthorizationOrBuilder() { + return authorization_ == null + ? com.google.cloud.edgecontainer.v1.Authorization.getDefaultInstance() + : authorization_; + } + + public static final int DEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER = 8; + private int defaultMaxPodsPerNode_ = 0; + /** + * + * + *
+   * Optional. The default maximum number of pods per node used if a maximum
+   * value is not specified explicitly for a node pool in this cluster. If
+   * unspecified, the Kubernetes default value will be used.
+   * 
+ * + * int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The defaultMaxPodsPerNode. + */ + @java.lang.Override + public int getDefaultMaxPodsPerNode() { + return defaultMaxPodsPerNode_; + } + + public static final int ENDPOINT_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object endpoint_ = ""; + /** + * + * + *
+   * Output only. The IP address of the Kubernetes API server.
+   * 
+ * + * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The endpoint. + */ + @java.lang.Override + public java.lang.String getEndpoint() { + java.lang.Object ref = endpoint_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + endpoint_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The IP address of the Kubernetes API server.
+   * 
+ * + * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for endpoint. + */ + @java.lang.Override + 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); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PORT_FIELD_NUMBER = 19; + private int port_ = 0; + /** + * + * + *
+   * Output only. The port number of the Kubernetes API server.
+   * 
+ * + * int32 port = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The port. + */ + @java.lang.Override + public int getPort() { + return port_; + } + + public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 10; + + @SuppressWarnings("serial") + private volatile java.lang.Object clusterCaCertificate_ = ""; + /** + * + * + *
+   * Output only. The PEM-encoded public certificate of the cluster's CA.
+   * 
+ * + * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clusterCaCertificate. + */ + @java.lang.Override + public java.lang.String getClusterCaCertificate() { + java.lang.Object ref = clusterCaCertificate_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clusterCaCertificate_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The PEM-encoded public certificate of the cluster's CA.
+   * 
+ * + * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterCaCertificate. + */ + @java.lang.Override + 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); + clusterCaCertificate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAINTENANCE_POLICY_FIELD_NUMBER = 12; + private com.google.cloud.edgecontainer.v1.MaintenancePolicy maintenancePolicy_; + /** + * + * + *
+   * Optional. Cluster-wide maintenance policy configuration.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the maintenancePolicy field is set. + */ + @java.lang.Override + public boolean hasMaintenancePolicy() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * Optional. Cluster-wide maintenance policy configuration.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The maintenancePolicy. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.MaintenancePolicy getMaintenancePolicy() { + return maintenancePolicy_ == null + ? com.google.cloud.edgecontainer.v1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; + } + /** + * + * + *
+   * Optional. Cluster-wide maintenance policy configuration.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.MaintenancePolicyOrBuilder + getMaintenancePolicyOrBuilder() { + return maintenancePolicy_ == null + ? com.google.cloud.edgecontainer.v1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; + } + + public static final int CONTROL_PLANE_VERSION_FIELD_NUMBER = 13; + + @SuppressWarnings("serial") + private volatile java.lang.Object controlPlaneVersion_ = ""; + /** + * + * + *
+   * Output only. The control plane release version
+   * 
+ * + * string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The controlPlaneVersion. + */ + @java.lang.Override + public java.lang.String getControlPlaneVersion() { + java.lang.Object ref = controlPlaneVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + controlPlaneVersion_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The control plane release version
+   * 
+ * + * string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for controlPlaneVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getControlPlaneVersionBytes() { + java.lang.Object ref = controlPlaneVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + controlPlaneVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_VERSION_FIELD_NUMBER = 14; + + @SuppressWarnings("serial") + private volatile java.lang.Object nodeVersion_ = ""; + /** + * + * + *
+   * Output only. The lowest release version among all worker nodes. This field
+   * can be empty if the cluster does not have any worker nodes.
+   * 
+ * + * string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nodeVersion. + */ + @java.lang.Override + public java.lang.String getNodeVersion() { + java.lang.Object ref = nodeVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nodeVersion_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The lowest release version among all worker nodes. This field
+   * can be empty if the cluster does not have any worker nodes.
+   * 
+ * + * string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nodeVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNodeVersionBytes() { + java.lang.Object ref = nodeVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nodeVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONTROL_PLANE_FIELD_NUMBER = 15; + private com.google.cloud.edgecontainer.v1.Cluster.ControlPlane controlPlane_; + /** + * + * + *
+   * Optional. The configuration of the cluster control plane.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the controlPlane field is set. + */ + @java.lang.Override + public boolean hasControlPlane() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * Optional. The configuration of the cluster control plane.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The controlPlane. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane getControlPlane() { + return controlPlane_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.getDefaultInstance() + : controlPlane_; + } + /** + * + * + *
+   * Optional. The configuration of the cluster control plane.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneOrBuilder + getControlPlaneOrBuilder() { + return controlPlane_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.getDefaultInstance() + : controlPlane_; + } + + public static final int SYSTEM_ADDONS_CONFIG_FIELD_NUMBER = 16; + private com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig systemAddonsConfig_; + /** + * + * + *
+   * Optional. The configuration of the system add-ons.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the systemAddonsConfig field is set. + */ + @java.lang.Override + public boolean hasSystemAddonsConfig() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+   * Optional. The configuration of the system add-ons.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The systemAddonsConfig. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig getSystemAddonsConfig() { + return systemAddonsConfig_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.getDefaultInstance() + : systemAddonsConfig_; + } + /** + * + * + *
+   * Optional. The configuration of the system add-ons.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfigOrBuilder + getSystemAddonsConfigOrBuilder() { + return systemAddonsConfig_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.getDefaultInstance() + : systemAddonsConfig_; + } + + public static final int EXTERNAL_LOAD_BALANCER_IPV4_ADDRESS_POOLS_FIELD_NUMBER = 17; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList externalLoadBalancerIpv4AddressPools_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * Optional. IPv4 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the externalLoadBalancerIpv4AddressPools. + */ + public com.google.protobuf.ProtocolStringList getExternalLoadBalancerIpv4AddressPoolsList() { + return externalLoadBalancerIpv4AddressPools_; + } + /** + * + * + *
+   * Optional. IPv4 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of externalLoadBalancerIpv4AddressPools. + */ + public int getExternalLoadBalancerIpv4AddressPoolsCount() { + return externalLoadBalancerIpv4AddressPools_.size(); + } + /** + * + * + *
+   * Optional. IPv4 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The externalLoadBalancerIpv4AddressPools at the given index. + */ + public java.lang.String getExternalLoadBalancerIpv4AddressPools(int index) { + return externalLoadBalancerIpv4AddressPools_.get(index); + } + /** + * + * + *
+   * Optional. IPv4 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the externalLoadBalancerIpv4AddressPools at the given index. + */ + public com.google.protobuf.ByteString getExternalLoadBalancerIpv4AddressPoolsBytes(int index) { + return externalLoadBalancerIpv4AddressPools_.getByteString(index); + } + + public static final int CONTROL_PLANE_ENCRYPTION_FIELD_NUMBER = 18; + private com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption controlPlaneEncryption_; + /** + * + * + *
+   * Optional. Remote control plane disk encryption options. This field is only
+   * used when enabling CMEK support.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the controlPlaneEncryption field is set. + */ + @java.lang.Override + public boolean hasControlPlaneEncryption() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+   * Optional. Remote control plane disk encryption options. This field is only
+   * used when enabling CMEK support.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The controlPlaneEncryption. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + getControlPlaneEncryption() { + return controlPlaneEncryption_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.getDefaultInstance() + : controlPlaneEncryption_; + } + /** + * + * + *
+   * Optional. Remote control plane disk encryption options. This field is only
+   * used when enabling CMEK support.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryptionOrBuilder + getControlPlaneEncryptionOrBuilder() { + return controlPlaneEncryption_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.getDefaultInstance() + : controlPlaneEncryption_; + } + + public static final int STATUS_FIELD_NUMBER = 20; + private int status_ = 0; + /** + * + * + *
+   * Output only. The current status of the cluster.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for status. + */ + @java.lang.Override + public int getStatusValue() { + return status_; + } + /** + * + * + *
+   * Output only. The current status of the cluster.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The status. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.Status getStatus() { + com.google.cloud.edgecontainer.v1.Cluster.Status result = + com.google.cloud.edgecontainer.v1.Cluster.Status.forNumber(status_); + return result == null ? com.google.cloud.edgecontainer.v1.Cluster.Status.UNRECOGNIZED : result; + } + + public static final int MAINTENANCE_EVENTS_FIELD_NUMBER = 21; + + @SuppressWarnings("serial") + private java.util.List + maintenanceEvents_; + /** + * + * + *
+   * Output only. All the maintenance events scheduled for the cluster,
+   * including the ones ongoing, planned for the future and done in the past (up
+   * to 90 days).
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getMaintenanceEventsList() { + return maintenanceEvents_; + } + /** + * + * + *
+   * Output only. All the maintenance events scheduled for the cluster,
+   * including the ones ongoing, planned for the future and done in the past (up
+   * to 90 days).
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventOrBuilder> + getMaintenanceEventsOrBuilderList() { + return maintenanceEvents_; + } + /** + * + * + *
+   * Output only. All the maintenance events scheduled for the cluster,
+   * including the ones ongoing, planned for the future and done in the past (up
+   * to 90 days).
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public int getMaintenanceEventsCount() { + return maintenanceEvents_.size(); + } + /** + * + * + *
+   * Output only. All the maintenance events scheduled for the cluster,
+   * including the ones ongoing, planned for the future and done in the past (up
+   * to 90 days).
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent getMaintenanceEvents( + int index) { + return maintenanceEvents_.get(index); + } + /** + * + * + *
+   * Output only. All the maintenance events scheduled for the cluster,
+   * including the ones ongoing, planned for the future and done in the past (up
+   * to 90 days).
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventOrBuilder + getMaintenanceEventsOrBuilder(int index) { + return maintenanceEvents_.get(index); + } + + public static final int TARGET_VERSION_FIELD_NUMBER = 22; + + @SuppressWarnings("serial") + private volatile java.lang.Object targetVersion_ = ""; + /** + * + * + *
+   * Optional. The target cluster version. For example: "1.5.0".
+   * 
+ * + * string target_version = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The targetVersion. + */ + @java.lang.Override + public java.lang.String getTargetVersion() { + java.lang.Object ref = targetVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetVersion_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The target cluster version. For example: "1.5.0".
+   * 
+ * + * string target_version = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for targetVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTargetVersionBytes() { + java.lang.Object ref = targetVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RELEASE_CHANNEL_FIELD_NUMBER = 23; + private int releaseChannel_ = 0; + /** + * + * + *
+   * Optional. The release channel a cluster is subscribed to.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for releaseChannel. + */ + @java.lang.Override + public int getReleaseChannelValue() { + return releaseChannel_; + } + /** + * + * + *
+   * Optional. The release channel a cluster is subscribed to.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The releaseChannel. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel getReleaseChannel() { + com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel result = + com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel.forNumber(releaseChannel_); + return result == null + ? com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel.UNRECOGNIZED + : result; + } + + public static final int SURVIVABILITY_CONFIG_FIELD_NUMBER = 24; + private com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivabilityConfig_; + /** + * + * + *
+   * Optional. Configuration of the cluster survivability, e.g., for the case
+   * when network connectivity is lost. Note: This only applies to local control
+   * plane clusters.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the survivabilityConfig field is set. + */ + @java.lang.Override + public boolean hasSurvivabilityConfig() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+   * Optional. Configuration of the cluster survivability, e.g., for the case
+   * when network connectivity is lost. Note: This only applies to local control
+   * plane clusters.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The survivabilityConfig. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig getSurvivabilityConfig() { + return survivabilityConfig_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.getDefaultInstance() + : survivabilityConfig_; + } + /** + * + * + *
+   * Optional. Configuration of the cluster survivability, e.g., for the case
+   * when network connectivity is lost. Note: This only applies to local control
+   * plane clusters.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfigOrBuilder + getSurvivabilityConfigOrBuilder() { + return survivabilityConfig_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.getDefaultInstance() + : survivabilityConfig_; + } + + public static final int EXTERNAL_LOAD_BALANCER_IPV6_ADDRESS_POOLS_FIELD_NUMBER = 25; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList externalLoadBalancerIpv6AddressPools_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * Optional. IPv6 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the externalLoadBalancerIpv6AddressPools. + */ + public com.google.protobuf.ProtocolStringList getExternalLoadBalancerIpv6AddressPoolsList() { + return externalLoadBalancerIpv6AddressPools_; + } + /** + * + * + *
+   * Optional. IPv6 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of externalLoadBalancerIpv6AddressPools. + */ + public int getExternalLoadBalancerIpv6AddressPoolsCount() { + return externalLoadBalancerIpv6AddressPools_.size(); + } + /** + * + * + *
+   * Optional. IPv6 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The externalLoadBalancerIpv6AddressPools at the given index. + */ + public java.lang.String getExternalLoadBalancerIpv6AddressPools(int index) { + return externalLoadBalancerIpv6AddressPools_.get(index); + } + /** + * + * + *
+   * Optional. IPv6 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the externalLoadBalancerIpv6AddressPools at the given index. + */ + public com.google.protobuf.ByteString getExternalLoadBalancerIpv6AddressPoolsBytes(int index) { + return externalLoadBalancerIpv6AddressPools_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getCreateTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getUpdateTime()); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, endpoint_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(7, getNetworking()); + } + if (defaultMaxPodsPerNode_ != 0) { + output.writeInt32(8, defaultMaxPodsPerNode_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(9, getAuthorization()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, clusterCaCertificate_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(11, getFleet()); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeMessage(12, getMaintenancePolicy()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(controlPlaneVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, controlPlaneVersion_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, nodeVersion_); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeMessage(15, getControlPlane()); + } + if (((bitField0_ & 0x00000080) != 0)) { + output.writeMessage(16, getSystemAddonsConfig()); + } + for (int i = 0; i < externalLoadBalancerIpv4AddressPools_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 17, externalLoadBalancerIpv4AddressPools_.getRaw(i)); + } + if (((bitField0_ & 0x00000100) != 0)) { + output.writeMessage(18, getControlPlaneEncryption()); + } + if (port_ != 0) { + output.writeInt32(19, port_); + } + if (status_ + != com.google.cloud.edgecontainer.v1.Cluster.Status.STATUS_UNSPECIFIED.getNumber()) { + output.writeEnum(20, status_); + } + for (int i = 0; i < maintenanceEvents_.size(); i++) { + output.writeMessage(21, maintenanceEvents_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 22, targetVersion_); + } + if (releaseChannel_ + != com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel.RELEASE_CHANNEL_UNSPECIFIED + .getNumber()) { + output.writeEnum(23, releaseChannel_); + } + if (((bitField0_ & 0x00000200) != 0)) { + output.writeMessage(24, getSurvivabilityConfig()); + } + for (int i = 0; i < externalLoadBalancerIpv6AddressPools_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 25, externalLoadBalancerIpv6AddressPools_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + } + 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__); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, endpoint_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getNetworking()); + } + if (defaultMaxPodsPerNode_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, defaultMaxPodsPerNode_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getAuthorization()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, clusterCaCertificate_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getFleet()); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getMaintenancePolicy()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(controlPlaneVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, controlPlaneVersion_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, nodeVersion_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getControlPlane()); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getSystemAddonsConfig()); + } + { + int dataSize = 0; + for (int i = 0; i < externalLoadBalancerIpv4AddressPools_.size(); i++) { + dataSize += computeStringSizeNoTag(externalLoadBalancerIpv4AddressPools_.getRaw(i)); + } + size += dataSize; + size += 2 * getExternalLoadBalancerIpv4AddressPoolsList().size(); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(18, getControlPlaneEncryption()); + } + if (port_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(19, port_); + } + if (status_ + != com.google.cloud.edgecontainer.v1.Cluster.Status.STATUS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, status_); + } + for (int i = 0; i < maintenanceEvents_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(21, maintenanceEvents_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, targetVersion_); + } + if (releaseChannel_ + != com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel.RELEASE_CHANNEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(23, releaseChannel_); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(24, getSurvivabilityConfig()); + } + { + int dataSize = 0; + for (int i = 0; i < externalLoadBalancerIpv6AddressPools_.size(); i++) { + dataSize += computeStringSizeNoTag(externalLoadBalancerIpv6AddressPools_.getRaw(i)); + } + size += dataSize; + size += 2 * getExternalLoadBalancerIpv6AddressPoolsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.Cluster)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.Cluster other = + (com.google.cloud.edgecontainer.v1.Cluster) obj; + + if (!getName().equals(other.getName())) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (hasFleet() != other.hasFleet()) return false; + if (hasFleet()) { + if (!getFleet().equals(other.getFleet())) return false; + } + if (hasNetworking() != other.hasNetworking()) return false; + if (hasNetworking()) { + if (!getNetworking().equals(other.getNetworking())) return false; + } + if (hasAuthorization() != other.hasAuthorization()) return false; + if (hasAuthorization()) { + if (!getAuthorization().equals(other.getAuthorization())) return false; + } + if (getDefaultMaxPodsPerNode() != other.getDefaultMaxPodsPerNode()) return false; + if (!getEndpoint().equals(other.getEndpoint())) return false; + if (getPort() != other.getPort()) return false; + if (!getClusterCaCertificate().equals(other.getClusterCaCertificate())) return false; + if (hasMaintenancePolicy() != other.hasMaintenancePolicy()) return false; + if (hasMaintenancePolicy()) { + if (!getMaintenancePolicy().equals(other.getMaintenancePolicy())) return false; + } + if (!getControlPlaneVersion().equals(other.getControlPlaneVersion())) return false; + if (!getNodeVersion().equals(other.getNodeVersion())) return false; + if (hasControlPlane() != other.hasControlPlane()) return false; + if (hasControlPlane()) { + if (!getControlPlane().equals(other.getControlPlane())) return false; + } + if (hasSystemAddonsConfig() != other.hasSystemAddonsConfig()) return false; + if (hasSystemAddonsConfig()) { + if (!getSystemAddonsConfig().equals(other.getSystemAddonsConfig())) return false; + } + if (!getExternalLoadBalancerIpv4AddressPoolsList() + .equals(other.getExternalLoadBalancerIpv4AddressPoolsList())) return false; + if (hasControlPlaneEncryption() != other.hasControlPlaneEncryption()) return false; + if (hasControlPlaneEncryption()) { + if (!getControlPlaneEncryption().equals(other.getControlPlaneEncryption())) return false; + } + if (status_ != other.status_) return false; + if (!getMaintenanceEventsList().equals(other.getMaintenanceEventsList())) return false; + if (!getTargetVersion().equals(other.getTargetVersion())) return false; + if (releaseChannel_ != other.releaseChannel_) return false; + if (hasSurvivabilityConfig() != other.hasSurvivabilityConfig()) return false; + if (hasSurvivabilityConfig()) { + if (!getSurvivabilityConfig().equals(other.getSurvivabilityConfig())) return false; + } + if (!getExternalLoadBalancerIpv6AddressPoolsList() + .equals(other.getExternalLoadBalancerIpv6AddressPoolsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + if (hasFleet()) { + hash = (37 * hash) + FLEET_FIELD_NUMBER; + hash = (53 * hash) + getFleet().hashCode(); + } + if (hasNetworking()) { + hash = (37 * hash) + NETWORKING_FIELD_NUMBER; + hash = (53 * hash) + getNetworking().hashCode(); + } + if (hasAuthorization()) { + hash = (37 * hash) + AUTHORIZATION_FIELD_NUMBER; + hash = (53 * hash) + getAuthorization().hashCode(); + } + hash = (37 * hash) + DEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER; + hash = (53 * hash) + getDefaultMaxPodsPerNode(); + hash = (37 * hash) + ENDPOINT_FIELD_NUMBER; + hash = (53 * hash) + getEndpoint().hashCode(); + hash = (37 * hash) + PORT_FIELD_NUMBER; + hash = (53 * hash) + getPort(); + hash = (37 * hash) + CLUSTER_CA_CERTIFICATE_FIELD_NUMBER; + hash = (53 * hash) + getClusterCaCertificate().hashCode(); + if (hasMaintenancePolicy()) { + hash = (37 * hash) + MAINTENANCE_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getMaintenancePolicy().hashCode(); + } + hash = (37 * hash) + CONTROL_PLANE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getControlPlaneVersion().hashCode(); + hash = (37 * hash) + NODE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getNodeVersion().hashCode(); + if (hasControlPlane()) { + hash = (37 * hash) + CONTROL_PLANE_FIELD_NUMBER; + hash = (53 * hash) + getControlPlane().hashCode(); + } + if (hasSystemAddonsConfig()) { + hash = (37 * hash) + SYSTEM_ADDONS_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getSystemAddonsConfig().hashCode(); + } + if (getExternalLoadBalancerIpv4AddressPoolsCount() > 0) { + hash = (37 * hash) + EXTERNAL_LOAD_BALANCER_IPV4_ADDRESS_POOLS_FIELD_NUMBER; + hash = (53 * hash) + getExternalLoadBalancerIpv4AddressPoolsList().hashCode(); + } + if (hasControlPlaneEncryption()) { + hash = (37 * hash) + CONTROL_PLANE_ENCRYPTION_FIELD_NUMBER; + hash = (53 * hash) + getControlPlaneEncryption().hashCode(); + } + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + status_; + if (getMaintenanceEventsCount() > 0) { + hash = (37 * hash) + MAINTENANCE_EVENTS_FIELD_NUMBER; + hash = (53 * hash) + getMaintenanceEventsList().hashCode(); + } + hash = (37 * hash) + TARGET_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getTargetVersion().hashCode(); + hash = (37 * hash) + RELEASE_CHANNEL_FIELD_NUMBER; + hash = (53 * hash) + releaseChannel_; + if (hasSurvivabilityConfig()) { + hash = (37 * hash) + SURVIVABILITY_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getSurvivabilityConfig().hashCode(); + } + if (getExternalLoadBalancerIpv6AddressPoolsCount() > 0) { + hash = (37 * hash) + EXTERNAL_LOAD_BALANCER_IPV6_ADDRESS_POOLS_FIELD_NUMBER; + hash = (53 * hash) + getExternalLoadBalancerIpv6AddressPoolsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.Cluster parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Cluster parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster 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.edgecontainer.v1.Cluster parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.edgecontainer.v1.Cluster prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A Google Distributed Cloud Edge Kubernetes cluster.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.Cluster) + com.google.cloud.edgecontainer.v1.ClusterOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 4: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 4: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Cluster.class, + com.google.cloud.edgecontainer.v1.Cluster.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.Cluster.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); + getFleetFieldBuilder(); + getNetworkingFieldBuilder(); + getAuthorizationFieldBuilder(); + getMaintenancePolicyFieldBuilder(); + getControlPlaneFieldBuilder(); + getSystemAddonsConfigFieldBuilder(); + getControlPlaneEncryptionFieldBuilder(); + getMaintenanceEventsFieldBuilder(); + getSurvivabilityConfigFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + internalGetMutableLabels().clear(); + fleet_ = null; + if (fleetBuilder_ != null) { + fleetBuilder_.dispose(); + fleetBuilder_ = null; + } + networking_ = null; + if (networkingBuilder_ != null) { + networkingBuilder_.dispose(); + networkingBuilder_ = null; + } + authorization_ = null; + if (authorizationBuilder_ != null) { + authorizationBuilder_.dispose(); + authorizationBuilder_ = null; + } + defaultMaxPodsPerNode_ = 0; + endpoint_ = ""; + port_ = 0; + clusterCaCertificate_ = ""; + maintenancePolicy_ = null; + if (maintenancePolicyBuilder_ != null) { + maintenancePolicyBuilder_.dispose(); + maintenancePolicyBuilder_ = null; + } + controlPlaneVersion_ = ""; + nodeVersion_ = ""; + controlPlane_ = null; + if (controlPlaneBuilder_ != null) { + controlPlaneBuilder_.dispose(); + controlPlaneBuilder_ = null; + } + systemAddonsConfig_ = null; + if (systemAddonsConfigBuilder_ != null) { + systemAddonsConfigBuilder_.dispose(); + systemAddonsConfigBuilder_ = null; + } + externalLoadBalancerIpv4AddressPools_ = com.google.protobuf.LazyStringArrayList.emptyList(); + controlPlaneEncryption_ = null; + if (controlPlaneEncryptionBuilder_ != null) { + controlPlaneEncryptionBuilder_.dispose(); + controlPlaneEncryptionBuilder_ = null; + } + status_ = 0; + if (maintenanceEventsBuilder_ == null) { + maintenanceEvents_ = java.util.Collections.emptyList(); + } else { + maintenanceEvents_ = null; + maintenanceEventsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00080000); + targetVersion_ = ""; + releaseChannel_ = 0; + survivabilityConfig_ = null; + if (survivabilityConfigBuilder_ != null) { + survivabilityConfigBuilder_.dispose(); + survivabilityConfigBuilder_ = null; + } + externalLoadBalancerIpv6AddressPools_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Cluster_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.Cluster.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster build() { + com.google.cloud.edgecontainer.v1.Cluster result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster buildPartial() { + com.google.cloud.edgecontainer.v1.Cluster result = + new com.google.cloud.edgecontainer.v1.Cluster(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.edgecontainer.v1.Cluster result) { + if (maintenanceEventsBuilder_ == null) { + if (((bitField0_ & 0x00080000) != 0)) { + maintenanceEvents_ = java.util.Collections.unmodifiableList(maintenanceEvents_); + bitField0_ = (bitField0_ & ~0x00080000); + } + result.maintenanceEvents_ = maintenanceEvents_; + } else { + result.maintenanceEvents_ = maintenanceEventsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.edgecontainer.v1.Cluster result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.fleet_ = fleetBuilder_ == null ? fleet_ : fleetBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.networking_ = networkingBuilder_ == null ? networking_ : networkingBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.authorization_ = + authorizationBuilder_ == null ? authorization_ : authorizationBuilder_.build(); + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.defaultMaxPodsPerNode_ = defaultMaxPodsPerNode_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.endpoint_ = endpoint_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.port_ = port_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.clusterCaCertificate_ = clusterCaCertificate_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.maintenancePolicy_ = + maintenancePolicyBuilder_ == null + ? maintenancePolicy_ + : maintenancePolicyBuilder_.build(); + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.controlPlaneVersion_ = controlPlaneVersion_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.nodeVersion_ = nodeVersion_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.controlPlane_ = + controlPlaneBuilder_ == null ? controlPlane_ : controlPlaneBuilder_.build(); + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.systemAddonsConfig_ = + systemAddonsConfigBuilder_ == null + ? systemAddonsConfig_ + : systemAddonsConfigBuilder_.build(); + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00010000) != 0)) { + externalLoadBalancerIpv4AddressPools_.makeImmutable(); + result.externalLoadBalancerIpv4AddressPools_ = externalLoadBalancerIpv4AddressPools_; + } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.controlPlaneEncryption_ = + controlPlaneEncryptionBuilder_ == null + ? controlPlaneEncryption_ + : controlPlaneEncryptionBuilder_.build(); + to_bitField0_ |= 0x00000100; + } + if (((from_bitField0_ & 0x00040000) != 0)) { + result.status_ = status_; + } + if (((from_bitField0_ & 0x00100000) != 0)) { + result.targetVersion_ = targetVersion_; + } + if (((from_bitField0_ & 0x00200000) != 0)) { + result.releaseChannel_ = releaseChannel_; + } + if (((from_bitField0_ & 0x00400000) != 0)) { + result.survivabilityConfig_ = + survivabilityConfigBuilder_ == null + ? survivabilityConfig_ + : survivabilityConfigBuilder_.build(); + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00800000) != 0)) { + externalLoadBalancerIpv6AddressPools_.makeImmutable(); + result.externalLoadBalancerIpv6AddressPools_ = externalLoadBalancerIpv6AddressPools_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.Cluster) { + return mergeFrom((com.google.cloud.edgecontainer.v1.Cluster) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.edgecontainer.v1.Cluster other) { + if (other == com.google.cloud.edgecontainer.v1.Cluster.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField0_ |= 0x00000008; + if (other.hasFleet()) { + mergeFleet(other.getFleet()); + } + if (other.hasNetworking()) { + mergeNetworking(other.getNetworking()); + } + if (other.hasAuthorization()) { + mergeAuthorization(other.getAuthorization()); + } + if (other.getDefaultMaxPodsPerNode() != 0) { + setDefaultMaxPodsPerNode(other.getDefaultMaxPodsPerNode()); + } + if (!other.getEndpoint().isEmpty()) { + endpoint_ = other.endpoint_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (other.getPort() != 0) { + setPort(other.getPort()); + } + if (!other.getClusterCaCertificate().isEmpty()) { + clusterCaCertificate_ = other.clusterCaCertificate_; + bitField0_ |= 0x00000400; + onChanged(); + } + if (other.hasMaintenancePolicy()) { + mergeMaintenancePolicy(other.getMaintenancePolicy()); + } + if (!other.getControlPlaneVersion().isEmpty()) { + controlPlaneVersion_ = other.controlPlaneVersion_; + bitField0_ |= 0x00001000; + onChanged(); + } + if (!other.getNodeVersion().isEmpty()) { + nodeVersion_ = other.nodeVersion_; + bitField0_ |= 0x00002000; + onChanged(); + } + if (other.hasControlPlane()) { + mergeControlPlane(other.getControlPlane()); + } + if (other.hasSystemAddonsConfig()) { + mergeSystemAddonsConfig(other.getSystemAddonsConfig()); + } + if (!other.externalLoadBalancerIpv4AddressPools_.isEmpty()) { + if (externalLoadBalancerIpv4AddressPools_.isEmpty()) { + externalLoadBalancerIpv4AddressPools_ = other.externalLoadBalancerIpv4AddressPools_; + bitField0_ |= 0x00010000; + } else { + ensureExternalLoadBalancerIpv4AddressPoolsIsMutable(); + externalLoadBalancerIpv4AddressPools_.addAll(other.externalLoadBalancerIpv4AddressPools_); + } + onChanged(); + } + if (other.hasControlPlaneEncryption()) { + mergeControlPlaneEncryption(other.getControlPlaneEncryption()); + } + if (other.status_ != 0) { + setStatusValue(other.getStatusValue()); + } + if (maintenanceEventsBuilder_ == null) { + if (!other.maintenanceEvents_.isEmpty()) { + if (maintenanceEvents_.isEmpty()) { + maintenanceEvents_ = other.maintenanceEvents_; + bitField0_ = (bitField0_ & ~0x00080000); + } else { + ensureMaintenanceEventsIsMutable(); + maintenanceEvents_.addAll(other.maintenanceEvents_); + } + onChanged(); + } + } else { + if (!other.maintenanceEvents_.isEmpty()) { + if (maintenanceEventsBuilder_.isEmpty()) { + maintenanceEventsBuilder_.dispose(); + maintenanceEventsBuilder_ = null; + maintenanceEvents_ = other.maintenanceEvents_; + bitField0_ = (bitField0_ & ~0x00080000); + maintenanceEventsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMaintenanceEventsFieldBuilder() + : null; + } else { + maintenanceEventsBuilder_.addAllMessages(other.maintenanceEvents_); + } + } + } + if (!other.getTargetVersion().isEmpty()) { + targetVersion_ = other.targetVersion_; + bitField0_ |= 0x00100000; + onChanged(); + } + if (other.releaseChannel_ != 0) { + setReleaseChannelValue(other.getReleaseChannelValue()); + } + if (other.hasSurvivabilityConfig()) { + mergeSurvivabilityConfig(other.getSurvivabilityConfig()); + } + if (!other.externalLoadBalancerIpv6AddressPools_.isEmpty()) { + if (externalLoadBalancerIpv6AddressPools_.isEmpty()) { + externalLoadBalancerIpv6AddressPools_ = other.externalLoadBalancerIpv6AddressPools_; + bitField0_ |= 0x00800000; + } else { + ensureExternalLoadBalancerIpv6AddressPoolsIsMutable(); + externalLoadBalancerIpv6AddressPools_.addAll(other.externalLoadBalancerIpv6AddressPools_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 50: + { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 50 + case 58: + { + input.readMessage(getNetworkingFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 64: + { + defaultMaxPodsPerNode_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 74: + { + input.readMessage(getAuthorizationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 74 + case 82: + { + clusterCaCertificate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 82 + case 90: + { + input.readMessage(getFleetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 90 + case 98: + { + input.readMessage( + getMaintenancePolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: + { + controlPlaneVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 114: + { + nodeVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 114 + case 122: + { + input.readMessage(getControlPlaneFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 122 + case 130: + { + input.readMessage( + getSystemAddonsConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 130 + case 138: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExternalLoadBalancerIpv4AddressPoolsIsMutable(); + externalLoadBalancerIpv4AddressPools_.add(s); + break; + } // case 138 + case 146: + { + input.readMessage( + getControlPlaneEncryptionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 146 + case 152: + { + port_ = input.readInt32(); + bitField0_ |= 0x00000200; + break; + } // case 152 + case 160: + { + status_ = input.readEnum(); + bitField0_ |= 0x00040000; + break; + } // case 160 + case 170: + { + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent m = + input.readMessage( + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.parser(), + extensionRegistry); + if (maintenanceEventsBuilder_ == null) { + ensureMaintenanceEventsIsMutable(); + maintenanceEvents_.add(m); + } else { + maintenanceEventsBuilder_.addMessage(m); + } + break; + } // case 170 + case 178: + { + targetVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00100000; + break; + } // case 178 + case 184: + { + releaseChannel_ = input.readEnum(); + bitField0_ |= 0x00200000; + break; + } // case 184 + case 194: + { + input.readMessage( + getSurvivabilityConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00400000; + break; + } // case 194 + case 202: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExternalLoadBalancerIpv6AddressPoolsIsMutable(); + externalLoadBalancerIpv6AddressPools_.add(s); + break; + } // case 202 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+     * Output only. The time when the cluster was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Output only. The time when the cluster was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.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_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The time when the cluster was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The time when the cluster was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The time when the cluster was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + if (createTime_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Output only. The time when the cluster was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000002); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The time when the cluster was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The time when the cluster was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 2 [(.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_; + } + } + /** + * + * + *
+     * Output only. The time when the cluster was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_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> + 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()); + createTime_ = null; + } + return createTimeBuilder_; + } + + 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_; + /** + * + * + *
+     * Output only. The time when the cluster was last updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Output only. The time when the cluster was last updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 3 [(.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_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The time when the cluster was last updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + } else { + updateTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The time when the cluster was last updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The time when the cluster was last updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getUpdateTimeBuilder().mergeFrom(value); + } else { + updateTime_ = value; + } + } else { + updateTimeBuilder_.mergeFrom(value); + } + if (updateTime_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Output only. The time when the cluster was last updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateTime() { + bitField0_ = (bitField0_ & ~0x00000004); + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The time when the cluster was last updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The time when the cluster was last updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 3 [(.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_; + } + } + /** + * + * + *
+     * Output only. The time when the cluster was last updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + private com.google.protobuf.MapField + internalGetMutableLabels() { + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + bitField0_ |= 0x00000008; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+     * Labels associated with this resource.
+     * 
+ * + * map<string, string> labels = 4; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+     * Labels associated with this resource.
+     * 
+ * + * map<string, string> labels = 4; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+     * Labels associated with this resource.
+     * 
+ * + * map<string, string> labels = 4; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Labels associated with this resource.
+     * 
+ * + * map<string, string> labels = 4; + */ + @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(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + bitField0_ = (bitField0_ & ~0x00000008); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Labels associated with this resource.
+     * 
+ * + * map<string, string> labels = 4; + */ + 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. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + bitField0_ |= 0x00000008; + return internalGetMutableLabels().getMutableMap(); + } + /** + * + * + *
+     * Labels associated with this resource.
+     * 
+ * + * map<string, string> labels = 4; + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); + bitField0_ |= 0x00000008; + return this; + } + /** + * + * + *
+     * Labels associated with this resource.
+     * 
+ * + * map<string, string> labels = 4; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField0_ |= 0x00000008; + return this; + } + + private com.google.cloud.edgecontainer.v1.Fleet fleet_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Fleet, + com.google.cloud.edgecontainer.v1.Fleet.Builder, + com.google.cloud.edgecontainer.v1.FleetOrBuilder> + fleetBuilder_; + /** + * + * + *
+     * Required. Fleet configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the fleet field is set. + */ + public boolean hasFleet() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Required. Fleet configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The fleet. + */ + public com.google.cloud.edgecontainer.v1.Fleet getFleet() { + if (fleetBuilder_ == null) { + return fleet_ == null + ? com.google.cloud.edgecontainer.v1.Fleet.getDefaultInstance() + : fleet_; + } else { + return fleetBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. Fleet configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFleet(com.google.cloud.edgecontainer.v1.Fleet value) { + if (fleetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + fleet_ = value; + } else { + fleetBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Fleet configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFleet(com.google.cloud.edgecontainer.v1.Fleet.Builder builderForValue) { + if (fleetBuilder_ == null) { + fleet_ = builderForValue.build(); + } else { + fleetBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Fleet configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFleet(com.google.cloud.edgecontainer.v1.Fleet value) { + if (fleetBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && fleet_ != null + && fleet_ != com.google.cloud.edgecontainer.v1.Fleet.getDefaultInstance()) { + getFleetBuilder().mergeFrom(value); + } else { + fleet_ = value; + } + } else { + fleetBuilder_.mergeFrom(value); + } + if (fleet_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Required. Fleet configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFleet() { + bitField0_ = (bitField0_ & ~0x00000010); + fleet_ = null; + if (fleetBuilder_ != null) { + fleetBuilder_.dispose(); + fleetBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Fleet configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.edgecontainer.v1.Fleet.Builder getFleetBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getFleetFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. Fleet configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.edgecontainer.v1.FleetOrBuilder getFleetOrBuilder() { + if (fleetBuilder_ != null) { + return fleetBuilder_.getMessageOrBuilder(); + } else { + return fleet_ == null + ? com.google.cloud.edgecontainer.v1.Fleet.getDefaultInstance() + : fleet_; + } + } + /** + * + * + *
+     * Required. Fleet configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Fleet, + com.google.cloud.edgecontainer.v1.Fleet.Builder, + com.google.cloud.edgecontainer.v1.FleetOrBuilder> + getFleetFieldBuilder() { + if (fleetBuilder_ == null) { + fleetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Fleet, + com.google.cloud.edgecontainer.v1.Fleet.Builder, + com.google.cloud.edgecontainer.v1.FleetOrBuilder>( + getFleet(), getParentForChildren(), isClean()); + fleet_ = null; + } + return fleetBuilder_; + } + + private com.google.cloud.edgecontainer.v1.ClusterNetworking networking_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.ClusterNetworking, + com.google.cloud.edgecontainer.v1.ClusterNetworking.Builder, + com.google.cloud.edgecontainer.v1.ClusterNetworkingOrBuilder> + networkingBuilder_; + /** + * + * + *
+     * Required. Cluster-wide networking configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the networking field is set. + */ + public boolean hasNetworking() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * Required. Cluster-wide networking configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networking. + */ + public com.google.cloud.edgecontainer.v1.ClusterNetworking getNetworking() { + if (networkingBuilder_ == null) { + return networking_ == null + ? com.google.cloud.edgecontainer.v1.ClusterNetworking.getDefaultInstance() + : networking_; + } else { + return networkingBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. Cluster-wide networking configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNetworking(com.google.cloud.edgecontainer.v1.ClusterNetworking value) { + if (networkingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + networking_ = value; + } else { + networkingBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeMessage(7, getNetworking()); + /** + * + * + *
+     * Required. Cluster-wide networking configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNetworking( + com.google.cloud.edgecontainer.v1.ClusterNetworking.Builder builderForValue) { + if (networkingBuilder_ == null) { + networking_ = builderForValue.build(); + } else { + networkingBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; } - if (defaultMaxPodsPerNode_ != 0) { - output.writeInt32(8, defaultMaxPodsPerNode_); + /** + * + * + *
+     * Required. Cluster-wide networking configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeNetworking(com.google.cloud.edgecontainer.v1.ClusterNetworking value) { + if (networkingBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && networking_ != null + && networking_ + != com.google.cloud.edgecontainer.v1.ClusterNetworking.getDefaultInstance()) { + getNetworkingBuilder().mergeFrom(value); + } else { + networking_ = value; + } + } else { + networkingBuilder_.mergeFrom(value); + } + if (networking_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; } - if (((bitField0_ & 0x00000010) != 0)) { - output.writeMessage(9, getAuthorization()); + /** + * + * + *
+     * Required. Cluster-wide networking configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearNetworking() { + bitField0_ = (bitField0_ & ~0x00000020); + networking_ = null; + if (networkingBuilder_ != null) { + networkingBuilder_.dispose(); + networkingBuilder_ = null; + } + onChanged(); + return this; } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, clusterCaCertificate_); + /** + * + * + *
+     * Required. Cluster-wide networking configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.edgecontainer.v1.ClusterNetworking.Builder getNetworkingBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getNetworkingFieldBuilder().getBuilder(); } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(11, getFleet()); + /** + * + * + *
+     * Required. Cluster-wide networking configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.edgecontainer.v1.ClusterNetworkingOrBuilder getNetworkingOrBuilder() { + if (networkingBuilder_ != null) { + return networkingBuilder_.getMessageOrBuilder(); + } else { + return networking_ == null + ? com.google.cloud.edgecontainer.v1.ClusterNetworking.getDefaultInstance() + : networking_; + } } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeMessage(12, getMaintenancePolicy()); + /** + * + * + *
+     * Required. Cluster-wide networking configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.ClusterNetworking, + com.google.cloud.edgecontainer.v1.ClusterNetworking.Builder, + com.google.cloud.edgecontainer.v1.ClusterNetworkingOrBuilder> + getNetworkingFieldBuilder() { + if (networkingBuilder_ == null) { + networkingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.ClusterNetworking, + com.google.cloud.edgecontainer.v1.ClusterNetworking.Builder, + com.google.cloud.edgecontainer.v1.ClusterNetworkingOrBuilder>( + getNetworking(), getParentForChildren(), isClean()); + networking_ = null; + } + return networkingBuilder_; } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + private com.google.cloud.edgecontainer.v1.Authorization authorization_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Authorization, + com.google.cloud.edgecontainer.v1.Authorization.Builder, + com.google.cloud.edgecontainer.v1.AuthorizationOrBuilder> + authorizationBuilder_; + /** + * + * + *
+     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return Whether the authorization field is set. + */ + public boolean hasAuthorization() { + return ((bitField0_ & 0x00000040) != 0); } - 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__); + /** + * + * + *
+     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The authorization. + */ + public com.google.cloud.edgecontainer.v1.Authorization getAuthorization() { + if (authorizationBuilder_ == null) { + return authorization_ == null + ? com.google.cloud.edgecontainer.v1.Authorization.getDefaultInstance() + : authorization_; + } else { + return authorizationBuilder_.getMessage(); + } } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, endpoint_); + /** + * + * + *
+     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder setAuthorization(com.google.cloud.edgecontainer.v1.Authorization value) { + if (authorizationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authorization_ = value; + } else { + authorizationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getNetworking()); + /** + * + * + *
+     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder setAuthorization( + com.google.cloud.edgecontainer.v1.Authorization.Builder builderForValue) { + if (authorizationBuilder_ == null) { + authorization_ = builderForValue.build(); + } else { + authorizationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; } - if (defaultMaxPodsPerNode_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, defaultMaxPodsPerNode_); + /** + * + * + *
+     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder mergeAuthorization(com.google.cloud.edgecontainer.v1.Authorization value) { + if (authorizationBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && authorization_ != null + && authorization_ + != com.google.cloud.edgecontainer.v1.Authorization.getDefaultInstance()) { + getAuthorizationBuilder().mergeFrom(value); + } else { + authorization_ = value; + } + } else { + authorizationBuilder_.mergeFrom(value); + } + if (authorization_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } + return this; } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getAuthorization()); + /** + * + * + *
+     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + */ + public Builder clearAuthorization() { + bitField0_ = (bitField0_ & ~0x00000040); + authorization_ = null; + if (authorizationBuilder_ != null) { + authorizationBuilder_.dispose(); + authorizationBuilder_ = null; + } + onChanged(); + return this; } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, clusterCaCertificate_); + /** + * + * + *
+     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + */ + public com.google.cloud.edgecontainer.v1.Authorization.Builder getAuthorizationBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getAuthorizationFieldBuilder().getBuilder(); } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getFleet()); + /** + * + * + *
+     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + */ + public com.google.cloud.edgecontainer.v1.AuthorizationOrBuilder getAuthorizationOrBuilder() { + if (authorizationBuilder_ != null) { + return authorizationBuilder_.getMessageOrBuilder(); + } else { + return authorization_ == null + ? com.google.cloud.edgecontainer.v1.Authorization.getDefaultInstance() + : authorization_; + } } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getMaintenancePolicy()); + /** + * + * + *
+     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Authorization, + com.google.cloud.edgecontainer.v1.Authorization.Builder, + com.google.cloud.edgecontainer.v1.AuthorizationOrBuilder> + getAuthorizationFieldBuilder() { + if (authorizationBuilder_ == null) { + authorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Authorization, + com.google.cloud.edgecontainer.v1.Authorization.Builder, + com.google.cloud.edgecontainer.v1.AuthorizationOrBuilder>( + getAuthorization(), getParentForChildren(), isClean()); + authorization_ = null; + } + return authorizationBuilder_; } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.edgecontainer.v1.Cluster)) { - return super.equals(obj); + private int defaultMaxPodsPerNode_; + /** + * + * + *
+     * Optional. The default maximum number of pods per node used if a maximum
+     * value is not specified explicitly for a node pool in this cluster. If
+     * unspecified, the Kubernetes default value will be used.
+     * 
+ * + * int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The defaultMaxPodsPerNode. + */ + @java.lang.Override + public int getDefaultMaxPodsPerNode() { + return defaultMaxPodsPerNode_; } - com.google.cloud.edgecontainer.v1.Cluster other = - (com.google.cloud.edgecontainer.v1.Cluster) obj; + /** + * + * + *
+     * Optional. The default maximum number of pods per node used if a maximum
+     * value is not specified explicitly for a node pool in this cluster. If
+     * unspecified, the Kubernetes default value will be used.
+     * 
+ * + * int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The defaultMaxPodsPerNode to set. + * @return This builder for chaining. + */ + public Builder setDefaultMaxPodsPerNode(int value) { - if (!getName().equals(other.getName())) return false; - if (hasCreateTime() != other.hasCreateTime()) return false; - if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; - } - if (hasUpdateTime() != other.hasUpdateTime()) return false; - if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (hasFleet() != other.hasFleet()) return false; - if (hasFleet()) { - if (!getFleet().equals(other.getFleet())) return false; - } - if (hasNetworking() != other.hasNetworking()) return false; - if (hasNetworking()) { - if (!getNetworking().equals(other.getNetworking())) return false; - } - if (hasAuthorization() != other.hasAuthorization()) return false; - if (hasAuthorization()) { - if (!getAuthorization().equals(other.getAuthorization())) return false; + defaultMaxPodsPerNode_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; } - if (getDefaultMaxPodsPerNode() != other.getDefaultMaxPodsPerNode()) return false; - if (!getEndpoint().equals(other.getEndpoint())) return false; - if (!getClusterCaCertificate().equals(other.getClusterCaCertificate())) return false; - if (hasMaintenancePolicy() != other.hasMaintenancePolicy()) return false; - if (hasMaintenancePolicy()) { - if (!getMaintenancePolicy().equals(other.getMaintenancePolicy())) return false; + /** + * + * + *
+     * Optional. The default maximum number of pods per node used if a maximum
+     * value is not specified explicitly for a node pool in this cluster. If
+     * unspecified, the Kubernetes default value will be used.
+     * 
+ * + * int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearDefaultMaxPodsPerNode() { + bitField0_ = (bitField0_ & ~0x00000080); + defaultMaxPodsPerNode_ = 0; + onChanged(); + return this; } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (hasCreateTime()) { - hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getCreateTime().hashCode(); - } - if (hasUpdateTime()) { - hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getUpdateTime().hashCode(); - } - if (!internalGetLabels().getMap().isEmpty()) { - hash = (37 * hash) + LABELS_FIELD_NUMBER; - hash = (53 * hash) + internalGetLabels().hashCode(); + private java.lang.Object endpoint_ = ""; + /** + * + * + *
+     * Output only. The IP address of the Kubernetes API server.
+     * 
+ * + * string endpoint = 6 [(.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; + java.lang.String s = bs.toStringUtf8(); + endpoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } } - if (hasFleet()) { - hash = (37 * hash) + FLEET_FIELD_NUMBER; - hash = (53 * hash) + getFleet().hashCode(); + /** + * + * + *
+     * Output only. The IP address of the Kubernetes API server.
+     * 
+ * + * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for endpoint. + */ + 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); + endpoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - if (hasNetworking()) { - hash = (37 * hash) + NETWORKING_FIELD_NUMBER; - hash = (53 * hash) + getNetworking().hashCode(); + /** + * + * + *
+     * Output only. The IP address of the Kubernetes API server.
+     * 
+ * + * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + endpoint_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; } - if (hasAuthorization()) { - hash = (37 * hash) + AUTHORIZATION_FIELD_NUMBER; - hash = (53 * hash) + getAuthorization().hashCode(); + /** + * + * + *
+     * Output only. The IP address of the Kubernetes API server.
+     * 
+ * + * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearEndpoint() { + endpoint_ = getDefaultInstance().getEndpoint(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; } - hash = (37 * hash) + DEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER; - hash = (53 * hash) + getDefaultMaxPodsPerNode(); - hash = (37 * hash) + ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + getEndpoint().hashCode(); - hash = (37 * hash) + CLUSTER_CA_CERTIFICATE_FIELD_NUMBER; - hash = (53 * hash) + getClusterCaCertificate().hashCode(); - if (hasMaintenancePolicy()) { - hash = (37 * hash) + MAINTENANCE_POLICY_FIELD_NUMBER; - hash = (53 * hash) + getMaintenancePolicy().hashCode(); + /** + * + * + *
+     * Output only. The IP address of the Kubernetes API server.
+     * 
+ * + * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for endpoint to set. + * @return This builder for chaining. + */ + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.edgecontainer.v1.Cluster parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.edgecontainer.v1.Cluster parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.edgecontainer.v1.Cluster parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.edgecontainer.v1.Cluster parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.edgecontainer.v1.Cluster 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.edgecontainer.v1.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.edgecontainer.v1.Cluster parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.cloud.edgecontainer.v1.Cluster prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * A Google Distributed Cloud Edge Kubernetes cluster.
-   * 
- * - * Protobuf type {@code google.cloud.edgecontainer.v1.Cluster} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.Cluster) - com.google.cloud.edgecontainer.v1.ClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.edgecontainer.v1.ResourcesProto - .internal_static_google_cloud_edgecontainer_v1_Cluster_descriptor; + private int port_; + /** + * + * + *
+     * Output only. The port number of the Kubernetes API server.
+     * 
+ * + * int32 port = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The port. + */ + @java.lang.Override + public int getPort() { + return port_; } + /** + * + * + *
+     * Output only. The port number of the Kubernetes API server.
+     * 
+ * + * int32 port = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The port to set. + * @return This builder for chaining. + */ + public Builder setPort(int value) { - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( - int number) { - switch (number) { - case 4: - return internalGetLabels(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } + port_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The port number of the Kubernetes API server.
+     * 
+ * + * int32 port = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearPort() { + bitField0_ = (bitField0_ & ~0x00000200); + port_ = 0; + onChanged(); + return this; } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( - int number) { - switch (number) { - case 4: - return internalGetMutableLabels(); - default: - throw new RuntimeException("Invalid map field number: " + number); + private java.lang.Object clusterCaCertificate_ = ""; + /** + * + * + *
+     * Output only. The PEM-encoded public certificate of the cluster's CA.
+     * 
+ * + * string cluster_ca_certificate = 10 [(.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; + java.lang.String s = bs.toStringUtf8(); + clusterCaCertificate_ = s; + return s; + } else { + return (java.lang.String) ref; } } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.edgecontainer.v1.ResourcesProto - .internal_static_google_cloud_edgecontainer_v1_Cluster_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.edgecontainer.v1.Cluster.class, - com.google.cloud.edgecontainer.v1.Cluster.Builder.class); + /** + * + * + *
+     * Output only. The PEM-encoded public certificate of the cluster's CA.
+     * 
+ * + * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clusterCaCertificate. + */ + 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); + clusterCaCertificate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - - // Construct using com.google.cloud.edgecontainer.v1.Cluster.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + /** + * + * + *
+     * Output only. The PEM-encoded public certificate of the cluster's CA.
+     * 
+ * + * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clusterCaCertificate to set. + * @return This builder for chaining. + */ + public Builder setClusterCaCertificate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clusterCaCertificate_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + /** + * + * + *
+     * Output only. The PEM-encoded public certificate of the cluster's CA.
+     * 
+ * + * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearClusterCaCertificate() { + clusterCaCertificate_ = getDefaultInstance().getClusterCaCertificate(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getCreateTimeFieldBuilder(); - getUpdateTimeFieldBuilder(); - getFleetFieldBuilder(); - getNetworkingFieldBuilder(); - getAuthorizationFieldBuilder(); - getMaintenancePolicyFieldBuilder(); + /** + * + * + *
+     * Output only. The PEM-encoded public certificate of the cluster's CA.
+     * 
+ * + * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clusterCaCertificate to set. + * @return This builder for chaining. + */ + public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } + checkByteStringIsUtf8(value); + clusterCaCertificate_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - createTime_ = null; - if (createTimeBuilder_ != null) { - createTimeBuilder_.dispose(); - createTimeBuilder_ = null; + private com.google.cloud.edgecontainer.v1.MaintenancePolicy maintenancePolicy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.MaintenancePolicy, + com.google.cloud.edgecontainer.v1.MaintenancePolicy.Builder, + com.google.cloud.edgecontainer.v1.MaintenancePolicyOrBuilder> + maintenancePolicyBuilder_; + /** + * + * + *
+     * Optional. Cluster-wide maintenance policy configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the maintenancePolicy field is set. + */ + public boolean hasMaintenancePolicy() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+     * Optional. Cluster-wide maintenance policy configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The maintenancePolicy. + */ + public com.google.cloud.edgecontainer.v1.MaintenancePolicy getMaintenancePolicy() { + if (maintenancePolicyBuilder_ == null) { + return maintenancePolicy_ == null + ? com.google.cloud.edgecontainer.v1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; + } else { + return maintenancePolicyBuilder_.getMessage(); } - updateTime_ = null; - if (updateTimeBuilder_ != null) { - updateTimeBuilder_.dispose(); - updateTimeBuilder_ = null; + } + /** + * + * + *
+     * Optional. Cluster-wide maintenance policy configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMaintenancePolicy(com.google.cloud.edgecontainer.v1.MaintenancePolicy value) { + if (maintenancePolicyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + maintenancePolicy_ = value; + } else { + maintenancePolicyBuilder_.setMessage(value); } - internalGetMutableLabels().clear(); - fleet_ = null; - if (fleetBuilder_ != null) { - fleetBuilder_.dispose(); - fleetBuilder_ = null; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Cluster-wide maintenance policy configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMaintenancePolicy( + com.google.cloud.edgecontainer.v1.MaintenancePolicy.Builder builderForValue) { + if (maintenancePolicyBuilder_ == null) { + maintenancePolicy_ = builderForValue.build(); + } else { + maintenancePolicyBuilder_.setMessage(builderForValue.build()); } - networking_ = null; - if (networkingBuilder_ != null) { - networkingBuilder_.dispose(); - networkingBuilder_ = null; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Cluster-wide maintenance policy configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeMaintenancePolicy( + com.google.cloud.edgecontainer.v1.MaintenancePolicy value) { + if (maintenancePolicyBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0) + && maintenancePolicy_ != null + && maintenancePolicy_ + != com.google.cloud.edgecontainer.v1.MaintenancePolicy.getDefaultInstance()) { + getMaintenancePolicyBuilder().mergeFrom(value); + } else { + maintenancePolicy_ = value; + } + } else { + maintenancePolicyBuilder_.mergeFrom(value); } - authorization_ = null; - if (authorizationBuilder_ != null) { - authorizationBuilder_.dispose(); - authorizationBuilder_ = null; + if (maintenancePolicy_ != null) { + bitField0_ |= 0x00000800; + onChanged(); } - defaultMaxPodsPerNode_ = 0; - endpoint_ = ""; - clusterCaCertificate_ = ""; + return this; + } + /** + * + * + *
+     * Optional. Cluster-wide maintenance policy configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearMaintenancePolicy() { + bitField0_ = (bitField0_ & ~0x00000800); maintenancePolicy_ = null; if (maintenancePolicyBuilder_ != null) { maintenancePolicyBuilder_.dispose(); maintenancePolicyBuilder_ = null; } + onChanged(); return this; } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.edgecontainer.v1.ResourcesProto - .internal_static_google_cloud_edgecontainer_v1_Cluster_descriptor; - } - - @java.lang.Override - public com.google.cloud.edgecontainer.v1.Cluster getDefaultInstanceForType() { - return com.google.cloud.edgecontainer.v1.Cluster.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.edgecontainer.v1.Cluster build() { - com.google.cloud.edgecontainer.v1.Cluster result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + /** + * + * + *
+     * Optional. Cluster-wide maintenance policy configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.edgecontainer.v1.MaintenancePolicy.Builder + getMaintenancePolicyBuilder() { + bitField0_ |= 0x00000800; + onChanged(); + return getMaintenancePolicyFieldBuilder().getBuilder(); } - - @java.lang.Override - public com.google.cloud.edgecontainer.v1.Cluster buildPartial() { - com.google.cloud.edgecontainer.v1.Cluster result = - new com.google.cloud.edgecontainer.v1.Cluster(this); - if (bitField0_ != 0) { - buildPartial0(result); + /** + * + * + *
+     * Optional. Cluster-wide maintenance policy configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.edgecontainer.v1.MaintenancePolicyOrBuilder + getMaintenancePolicyOrBuilder() { + if (maintenancePolicyBuilder_ != null) { + return maintenancePolicyBuilder_.getMessageOrBuilder(); + } else { + return maintenancePolicy_ == null + ? com.google.cloud.edgecontainer.v1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } - onBuilt(); - return result; } - - private void buildPartial0(com.google.cloud.edgecontainer.v1.Cluster result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.labels_ = internalGetLabels(); - result.labels_.makeImmutable(); - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.fleet_ = fleetBuilder_ == null ? fleet_ : fleetBuilder_.build(); - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.networking_ = networkingBuilder_ == null ? networking_ : networkingBuilder_.build(); - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.authorization_ = - authorizationBuilder_ == null ? authorization_ : authorizationBuilder_.build(); - to_bitField0_ |= 0x00000010; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.defaultMaxPodsPerNode_ = defaultMaxPodsPerNode_; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.endpoint_ = endpoint_; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.clusterCaCertificate_ = clusterCaCertificate_; - } - if (((from_bitField0_ & 0x00000400) != 0)) { - result.maintenancePolicy_ = - maintenancePolicyBuilder_ == null - ? maintenancePolicy_ - : maintenancePolicyBuilder_.build(); - to_bitField0_ |= 0x00000020; + /** + * + * + *
+     * Optional. Cluster-wide maintenance policy configuration.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.MaintenancePolicy, + com.google.cloud.edgecontainer.v1.MaintenancePolicy.Builder, + com.google.cloud.edgecontainer.v1.MaintenancePolicyOrBuilder> + getMaintenancePolicyFieldBuilder() { + if (maintenancePolicyBuilder_ == null) { + maintenancePolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.MaintenancePolicy, + com.google.cloud.edgecontainer.v1.MaintenancePolicy.Builder, + com.google.cloud.edgecontainer.v1.MaintenancePolicyOrBuilder>( + getMaintenancePolicy(), getParentForChildren(), isClean()); + maintenancePolicy_ = null; } - result.bitField0_ |= to_bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + return maintenancePolicyBuilder_; } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.edgecontainer.v1.Cluster) { - return mergeFrom((com.google.cloud.edgecontainer.v1.Cluster) other); + private java.lang.Object controlPlaneVersion_ = ""; + /** + * + * + *
+     * Output only. The control plane release version
+     * 
+ * + * string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The controlPlaneVersion. + */ + public java.lang.String getControlPlaneVersion() { + java.lang.Object ref = controlPlaneVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + controlPlaneVersion_ = s; + return s; } else { - super.mergeFrom(other); - return this; + return (java.lang.String) ref; } } - - public Builder mergeFrom(com.google.cloud.edgecontainer.v1.Cluster other) { - if (other == com.google.cloud.edgecontainer.v1.Cluster.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasCreateTime()) { - mergeCreateTime(other.getCreateTime()); - } - if (other.hasUpdateTime()) { - mergeUpdateTime(other.getUpdateTime()); - } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - bitField0_ |= 0x00000008; - if (other.hasFleet()) { - mergeFleet(other.getFleet()); - } - if (other.hasNetworking()) { - mergeNetworking(other.getNetworking()); - } - if (other.hasAuthorization()) { - mergeAuthorization(other.getAuthorization()); - } - if (other.getDefaultMaxPodsPerNode() != 0) { - setDefaultMaxPodsPerNode(other.getDefaultMaxPodsPerNode()); - } - if (!other.getEndpoint().isEmpty()) { - endpoint_ = other.endpoint_; - bitField0_ |= 0x00000100; - onChanged(); - } - if (!other.getClusterCaCertificate().isEmpty()) { - clusterCaCertificate_ = other.clusterCaCertificate_; - bitField0_ |= 0x00000200; - onChanged(); + /** + * + * + *
+     * Output only. The control plane release version
+     * 
+ * + * string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for controlPlaneVersion. + */ + public com.google.protobuf.ByteString getControlPlaneVersionBytes() { + java.lang.Object ref = controlPlaneVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + controlPlaneVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - if (other.hasMaintenancePolicy()) { - mergeMaintenancePolicy(other.getMaintenancePolicy()); + } + /** + * + * + *
+     * Output only. The control plane release version
+     * 
+ * + * string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The controlPlaneVersion to set. + * @return This builder for chaining. + */ + public Builder setControlPlaneVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } - this.mergeUnknownFields(other.getUnknownFields()); + controlPlaneVersion_ = value; + bitField0_ |= 0x00001000; onChanged(); return this; } - - @java.lang.Override - public final boolean isInitialized() { - return true; + /** + * + * + *
+     * Output only. The control plane release version
+     * 
+ * + * string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearControlPlaneVersion() { + controlPlaneVersion_ = getDefaultInstance().getControlPlaneVersion(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + return this; } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + /** + * + * + *
+     * Output only. The control plane release version
+     * 
+ * + * string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for controlPlaneVersion to set. + * @return This builder for chaining. + */ + public Builder setControlPlaneVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 50: - { - endpoint_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 50 - case 58: - { - input.readMessage(getNetworkingFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 64: - { - defaultMaxPodsPerNode_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 74: - { - input.readMessage(getAuthorizationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 74 - case 82: - { - clusterCaCertificate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 90: - { - input.readMessage(getFleetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 90 - case 98: - { - input.readMessage( - getMaintenancePolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 98 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally + checkByteStringIsUtf8(value); + controlPlaneVersion_ = value; + bitField0_ |= 0x00001000; + onChanged(); return this; } - private int bitField0_; - - private java.lang.Object name_ = ""; + private java.lang.Object nodeVersion_ = ""; /** * * *
-     * Required. The resource name of the cluster.
+     * Output only. The lowest release version among all worker nodes. This field
+     * can be empty if the cluster does not have any worker nodes.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * @return The name. + * @return The nodeVersion. */ - public java.lang.String getName() { - java.lang.Object ref = name_; + public java.lang.String getNodeVersion() { + java.lang.Object ref = nodeVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - name_ = s; + nodeVersion_ = s; return s; } else { return (java.lang.String) ref; @@ -1387,21 +15395,20 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the cluster.
+     * Output only. The lowest release version among all worker nodes. This field
+     * can be empty if the cluster does not have any worker nodes.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * @return The bytes for name. + * @return The bytes for nodeVersion. */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; + public com.google.protobuf.ByteString getNodeVersionBytes() { + java.lang.Object ref = nodeVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; + nodeVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -1411,22 +15418,21 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the cluster.
+     * Output only. The lowest release version among all worker nodes. This field
+     * can be empty if the cluster does not have any worker nodes.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * @param value The name to set. + * @param value The nodeVersion to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setNodeVersion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - name_ = value; - bitField0_ |= 0x00000001; + nodeVersion_ = value; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -1434,18 +15440,17 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the cluster.
+     * Output only. The lowest release version among all worker nodes. This field
+     * can be empty if the cluster does not have any worker nodes.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); + public Builder clearNodeVersion() { + nodeVersion_ = getDefaultInstance().getNodeVersion(); + bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } @@ -1453,92 +15458,91 @@ public Builder clearName() { * * *
-     * Required. The resource name of the cluster.
+     * Output only. The lowest release version among all worker nodes. This field
+     * can be empty if the cluster does not have any worker nodes.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * @param value The bytes for name to set. + * @param value The bytes for nodeVersion to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; + nodeVersion_ = value; + bitField0_ |= 0x00002000; onChanged(); return this; } - private com.google.protobuf.Timestamp createTime_; + private com.google.cloud.edgecontainer.v1.Cluster.ControlPlane controlPlane_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneOrBuilder> + controlPlaneBuilder_; /** * * *
-     * Output only. The time when the cluster was created.
+     * Optional. The configuration of the cluster control plane.
      * 
* * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return Whether the createTime field is set. + * @return Whether the controlPlane field is set. */ - public boolean hasCreateTime() { - return ((bitField0_ & 0x00000002) != 0); + public boolean hasControlPlane() { + return ((bitField0_ & 0x00004000) != 0); } /** * * *
-     * Output only. The time when the cluster was created.
+     * Optional. The configuration of the cluster control plane.
      * 
* * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return The createTime. + * @return The controlPlane. */ - public com.google.protobuf.Timestamp getCreateTime() { - if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane getControlPlane() { + if (controlPlaneBuilder_ == null) { + return controlPlane_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.getDefaultInstance() + : controlPlane_; } else { - return createTimeBuilder_.getMessage(); + return controlPlaneBuilder_.getMessage(); } } /** * * *
-     * Output only. The time when the cluster was created.
+     * Optional. The configuration of the cluster control plane.
      * 
* * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder setCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { + public Builder setControlPlane(com.google.cloud.edgecontainer.v1.Cluster.ControlPlane value) { + if (controlPlaneBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - createTime_ = value; + controlPlane_ = value; } else { - createTimeBuilder_.setMessage(value); + controlPlaneBuilder_.setMessage(value); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -1546,20 +15550,21 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time when the cluster was created.
+     * Optional. The configuration of the cluster control plane.
      * 
* * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (createTimeBuilder_ == null) { - createTime_ = builderForValue.build(); + public Builder setControlPlane( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Builder builderForValue) { + if (controlPlaneBuilder_ == null) { + controlPlane_ = builderForValue.build(); } else { - createTimeBuilder_.setMessage(builderForValue.build()); + controlPlaneBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -1567,27 +15572,28 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. The time when the cluster was created.
+     * Optional. The configuration of the cluster control plane.
      * 
* * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - getCreateTimeBuilder().mergeFrom(value); + public Builder mergeControlPlane(com.google.cloud.edgecontainer.v1.Cluster.ControlPlane value) { + if (controlPlaneBuilder_ == null) { + if (((bitField0_ & 0x00004000) != 0) + && controlPlane_ != null + && controlPlane_ + != com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.getDefaultInstance()) { + getControlPlaneBuilder().mergeFrom(value); } else { - createTime_ = value; + controlPlane_ = value; } } else { - createTimeBuilder_.mergeFrom(value); + controlPlaneBuilder_.mergeFrom(value); } - if (createTime_ != null) { - bitField0_ |= 0x00000002; + if (controlPlane_ != null) { + bitField0_ |= 0x00004000; onChanged(); } return this; @@ -1596,19 +15602,19 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time when the cluster was created.
+     * Optional. The configuration of the cluster control plane.
      * 
* * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder clearCreateTime() { - bitField0_ = (bitField0_ & ~0x00000002); - createTime_ = null; - if (createTimeBuilder_ != null) { - createTimeBuilder_.dispose(); - createTimeBuilder_ = null; + public Builder clearControlPlane() { + bitField0_ = (bitField0_ & ~0x00004000); + controlPlane_ = null; + if (controlPlaneBuilder_ != null) { + controlPlaneBuilder_.dispose(); + controlPlaneBuilder_ = null; } onChanged(); return this; @@ -1617,131 +15623,133 @@ public Builder clearCreateTime() { * * *
-     * Output only. The time when the cluster was created.
+     * Optional. The configuration of the cluster control plane.
      * 
* * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; * */ - public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - bitField0_ |= 0x00000002; + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Builder getControlPlaneBuilder() { + bitField0_ |= 0x00004000; onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); + return getControlPlaneFieldBuilder().getBuilder(); } /** * * *
-     * Output only. The time when the cluster was created.
+     * Optional. The configuration of the cluster control plane.
      * 
* * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; * */ - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - if (createTimeBuilder_ != null) { - return createTimeBuilder_.getMessageOrBuilder(); + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneOrBuilder + getControlPlaneOrBuilder() { + if (controlPlaneBuilder_ != null) { + return controlPlaneBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return controlPlane_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.getDefaultInstance() + : controlPlane_; } } /** * * *
-     * Output only. The time when the cluster was created.
+     * Optional. The configuration of the cluster control plane.
      * 
* * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { - if (createTimeBuilder_ == null) { - createTimeBuilder_ = + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneOrBuilder> + getControlPlaneFieldBuilder() { + if (controlPlaneBuilder_ == null) { + controlPlaneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); - createTime_ = null; + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneOrBuilder>( + getControlPlane(), getParentForChildren(), isClean()); + controlPlane_ = null; } - return createTimeBuilder_; + return controlPlaneBuilder_; } - private com.google.protobuf.Timestamp updateTime_; + private com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig systemAddonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Builder, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfigOrBuilder> + systemAddonsConfigBuilder_; /** * * *
-     * Output only. The time when the cluster was last updated.
+     * Optional. The configuration of the system add-ons.
      * 
* * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return Whether the updateTime field is set. + * @return Whether the systemAddonsConfig field is set. */ - public boolean hasUpdateTime() { - return ((bitField0_ & 0x00000004) != 0); + public boolean hasSystemAddonsConfig() { + return ((bitField0_ & 0x00008000) != 0); } /** * * *
-     * Output only. The time when the cluster was last updated.
+     * Optional. The configuration of the system add-ons.
      * 
* * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return The updateTime. + * @return The systemAddonsConfig. */ - public com.google.protobuf.Timestamp getUpdateTime() { - if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig getSystemAddonsConfig() { + if (systemAddonsConfigBuilder_ == null) { + return systemAddonsConfig_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.getDefaultInstance() + : systemAddonsConfig_; } else { - return updateTimeBuilder_.getMessage(); + return systemAddonsConfigBuilder_.getMessage(); } } /** * * *
-     * Output only. The time when the cluster was last updated.
+     * Optional. The configuration of the system add-ons.
      * 
* * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder setUpdateTime(com.google.protobuf.Timestamp value) { - if (updateTimeBuilder_ == null) { + public Builder setSystemAddonsConfig( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig value) { + if (systemAddonsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - updateTime_ = value; + systemAddonsConfig_ = value; } else { - updateTimeBuilder_.setMessage(value); + systemAddonsConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -1749,20 +15757,21 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time when the cluster was last updated.
+     * Optional. The configuration of the system add-ons.
      * 
* * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (updateTimeBuilder_ == null) { - updateTime_ = builderForValue.build(); + public Builder setSystemAddonsConfig( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Builder builderForValue) { + if (systemAddonsConfigBuilder_ == null) { + systemAddonsConfig_ = builderForValue.build(); } else { - updateTimeBuilder_.setMessage(builderForValue.build()); + systemAddonsConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -1770,27 +15779,30 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. The time when the cluster was last updated.
+     * Optional. The configuration of the system add-ons.
      * 
* * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { - if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - getUpdateTimeBuilder().mergeFrom(value); + public Builder mergeSystemAddonsConfig( + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig value) { + if (systemAddonsConfigBuilder_ == null) { + if (((bitField0_ & 0x00008000) != 0) + && systemAddonsConfig_ != null + && systemAddonsConfig_ + != com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig + .getDefaultInstance()) { + getSystemAddonsConfigBuilder().mergeFrom(value); } else { - updateTime_ = value; + systemAddonsConfig_ = value; } } else { - updateTimeBuilder_.mergeFrom(value); + systemAddonsConfigBuilder_.mergeFrom(value); } - if (updateTime_ != null) { - bitField0_ |= 0x00000004; + if (systemAddonsConfig_ != null) { + bitField0_ |= 0x00008000; onChanged(); } return this; @@ -1799,19 +15811,19 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time when the cluster was last updated.
+     * Optional. The configuration of the system add-ons.
      * 
* * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder clearUpdateTime() { - bitField0_ = (bitField0_ & ~0x00000004); - updateTime_ = null; - if (updateTimeBuilder_ != null) { - updateTimeBuilder_.dispose(); - updateTimeBuilder_ = null; + public Builder clearSystemAddonsConfig() { + bitField0_ = (bitField0_ & ~0x00008000); + systemAddonsConfig_ = null; + if (systemAddonsConfigBuilder_ != null) { + systemAddonsConfigBuilder_.dispose(); + systemAddonsConfigBuilder_ = null; } onChanged(); return this; @@ -1820,294 +15832,344 @@ public Builder clearUpdateTime() { * * *
-     * Output only. The time when the cluster was last updated.
+     * Optional. The configuration of the system add-ons.
      * 
* * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * */ - public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - bitField0_ |= 0x00000004; + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Builder + getSystemAddonsConfigBuilder() { + bitField0_ |= 0x00008000; onChanged(); - return getUpdateTimeFieldBuilder().getBuilder(); + return getSystemAddonsConfigFieldBuilder().getBuilder(); } /** * * *
-     * Output only. The time when the cluster was last updated.
+     * Optional. The configuration of the system add-ons.
      * 
* * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * */ - public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { - if (updateTimeBuilder_ != null) { - return updateTimeBuilder_.getMessageOrBuilder(); + public com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfigOrBuilder + getSystemAddonsConfigOrBuilder() { + if (systemAddonsConfigBuilder_ != null) { + return systemAddonsConfigBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return systemAddonsConfig_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.getDefaultInstance() + : systemAddonsConfig_; } } /** * * *
-     * Output only. The time when the cluster was last updated.
+     * Optional. The configuration of the system add-ons.
      * 
* * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getUpdateTimeFieldBuilder() { - if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Builder, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfigOrBuilder> + getSystemAddonsConfigFieldBuilder() { + if (systemAddonsConfigBuilder_ == null) { + systemAddonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); - updateTime_ = null; + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Builder, + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfigOrBuilder>( + getSystemAddonsConfig(), getParentForChildren(), isClean()); + systemAddonsConfig_ = null; } - return updateTimeBuilder_; + return systemAddonsConfigBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { - if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); - } - return labels_; - } + private com.google.protobuf.LazyStringArrayList externalLoadBalancerIpv4AddressPools_ = + com.google.protobuf.LazyStringArrayList.emptyList(); - private com.google.protobuf.MapField - internalGetMutableLabels() { - if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - } - if (!labels_.isMutable()) { - labels_ = labels_.copy(); + private void ensureExternalLoadBalancerIpv4AddressPoolsIsMutable() { + if (!externalLoadBalancerIpv4AddressPools_.isModifiable()) { + externalLoadBalancerIpv4AddressPools_ = + new com.google.protobuf.LazyStringArrayList(externalLoadBalancerIpv4AddressPools_); } - bitField0_ |= 0x00000008; - onChanged(); - return labels_; - } - - public int getLabelsCount() { - return internalGetLabels().getMap().size(); + bitField0_ |= 0x00010000; } /** * * *
-     * Labels associated with this resource.
+     * Optional. IPv4 address pools for cluster data plane external load
+     * balancing.
      * 
* - * map<string, string> labels = 4; + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the externalLoadBalancerIpv4AddressPools. */ - @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetLabels().getMap().containsKey(key); + public com.google.protobuf.ProtocolStringList getExternalLoadBalancerIpv4AddressPoolsList() { + externalLoadBalancerIpv4AddressPools_.makeImmutable(); + return externalLoadBalancerIpv4AddressPools_; } - /** Use {@link #getLabelsMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getLabels() { - return getLabelsMap(); + /** + * + * + *
+     * Optional. IPv4 address pools for cluster data plane external load
+     * balancing.
+     * 
+ * + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of externalLoadBalancerIpv4AddressPools. + */ + public int getExternalLoadBalancerIpv4AddressPoolsCount() { + return externalLoadBalancerIpv4AddressPools_.size(); } /** * * *
-     * Labels associated with this resource.
+     * Optional. IPv4 address pools for cluster data plane external load
+     * balancing.
      * 
* - * map<string, string> labels = 4; + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The externalLoadBalancerIpv4AddressPools at the given index. */ - @java.lang.Override - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); + public java.lang.String getExternalLoadBalancerIpv4AddressPools(int index) { + return externalLoadBalancerIpv4AddressPools_.get(index); } /** * * *
-     * Labels associated with this resource.
+     * Optional. IPv4 address pools for cluster data plane external load
+     * balancing.
      * 
* - * map<string, string> labels = 4; + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the externalLoadBalancerIpv4AddressPools at the given index. */ - @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( - java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + public com.google.protobuf.ByteString getExternalLoadBalancerIpv4AddressPoolsBytes(int index) { + return externalLoadBalancerIpv4AddressPools_.getByteString(index); } /** * * *
-     * Labels associated with this resource.
+     * Optional. IPv4 address pools for cluster data plane external load
+     * balancing.
      * 
* - * map<string, string> labels = 4; + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index to set the value at. + * @param value The externalLoadBalancerIpv4AddressPools to set. + * @return This builder for chaining. */ - @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(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); + public Builder setExternalLoadBalancerIpv4AddressPools(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } - return map.get(key); - } - - public Builder clearLabels() { - bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableLabels().getMutableMap().clear(); + ensureExternalLoadBalancerIpv4AddressPoolsIsMutable(); + externalLoadBalancerIpv4AddressPools_.set(index, value); + bitField0_ |= 0x00010000; + onChanged(); return this; } /** * * *
-     * Labels associated with this resource.
+     * Optional. IPv4 address pools for cluster data plane external load
+     * balancing.
      * 
* - * map<string, string> labels = 4; + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The externalLoadBalancerIpv4AddressPools to add. + * @return This builder for chaining. */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); + public Builder addExternalLoadBalancerIpv4AddressPools(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } - internalGetMutableLabels().getMutableMap().remove(key); + ensureExternalLoadBalancerIpv4AddressPoolsIsMutable(); + externalLoadBalancerIpv4AddressPools_.add(value); + bitField0_ |= 0x00010000; + onChanged(); return this; } - /** Use alternate mutation accessors instead. */ - @java.lang.Deprecated - public java.util.Map getMutableLabels() { - bitField0_ |= 0x00000008; - return internalGetMutableLabels().getMutableMap(); + /** + * + * + *
+     * Optional. IPv4 address pools for cluster data plane external load
+     * balancing.
+     * 
+ * + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param values The externalLoadBalancerIpv4AddressPools to add. + * @return This builder for chaining. + */ + public Builder addAllExternalLoadBalancerIpv4AddressPools( + java.lang.Iterable values) { + ensureExternalLoadBalancerIpv4AddressPoolsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, externalLoadBalancerIpv4AddressPools_); + bitField0_ |= 0x00010000; + onChanged(); + return this; } /** * * *
-     * Labels associated with this resource.
+     * Optional. IPv4 address pools for cluster data plane external load
+     * balancing.
      * 
* - * map<string, string> labels = 4; + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); - bitField0_ |= 0x00000008; + public Builder clearExternalLoadBalancerIpv4AddressPools() { + externalLoadBalancerIpv4AddressPools_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00010000); + ; + onChanged(); return this; } /** * * *
-     * Labels associated with this resource.
+     * Optional. IPv4 address pools for cluster data plane external load
+     * balancing.
      * 
* - * map<string, string> labels = 4; + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The bytes of the externalLoadBalancerIpv4AddressPools to add. + * @return This builder for chaining. */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); - bitField0_ |= 0x00000008; + public Builder addExternalLoadBalancerIpv4AddressPoolsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureExternalLoadBalancerIpv4AddressPoolsIsMutable(); + externalLoadBalancerIpv4AddressPools_.add(value); + bitField0_ |= 0x00010000; + onChanged(); return this; } - private com.google.cloud.edgecontainer.v1.Fleet fleet_; + private com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + controlPlaneEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.Fleet, - com.google.cloud.edgecontainer.v1.Fleet.Builder, - com.google.cloud.edgecontainer.v1.FleetOrBuilder> - fleetBuilder_; + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryptionOrBuilder> + controlPlaneEncryptionBuilder_; /** * * *
-     * Optional. Fleet configuration.
+     * Optional. Remote control plane disk encryption options. This field is only
+     * used when enabling CMEK support.
      * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return Whether the fleet field is set. + * @return Whether the controlPlaneEncryption field is set. */ - public boolean hasFleet() { - return ((bitField0_ & 0x00000010) != 0); + public boolean hasControlPlaneEncryption() { + return ((bitField0_ & 0x00020000) != 0); } /** * * *
-     * Optional. Fleet configuration.
+     * Optional. Remote control plane disk encryption options. This field is only
+     * used when enabling CMEK support.
      * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return The fleet. + * @return The controlPlaneEncryption. */ - public com.google.cloud.edgecontainer.v1.Fleet getFleet() { - if (fleetBuilder_ == null) { - return fleet_ == null - ? com.google.cloud.edgecontainer.v1.Fleet.getDefaultInstance() - : fleet_; + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + getControlPlaneEncryption() { + if (controlPlaneEncryptionBuilder_ == null) { + return controlPlaneEncryption_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.getDefaultInstance() + : controlPlaneEncryption_; } else { - return fleetBuilder_.getMessage(); + return controlPlaneEncryptionBuilder_.getMessage(); } } /** * * *
-     * Optional. Fleet configuration.
+     * Optional. Remote control plane disk encryption options. This field is only
+     * used when enabling CMEK support.
      * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder setFleet(com.google.cloud.edgecontainer.v1.Fleet value) { - if (fleetBuilder_ == null) { + public Builder setControlPlaneEncryption( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption value) { + if (controlPlaneEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - fleet_ = value; + controlPlaneEncryption_ = value; } else { - fleetBuilder_.setMessage(value); + controlPlaneEncryptionBuilder_.setMessage(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -2115,20 +16177,22 @@ public Builder setFleet(com.google.cloud.edgecontainer.v1.Fleet value) { * * *
-     * Optional. Fleet configuration.
+     * Optional. Remote control plane disk encryption options. This field is only
+     * used when enabling CMEK support.
      * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder setFleet(com.google.cloud.edgecontainer.v1.Fleet.Builder builderForValue) { - if (fleetBuilder_ == null) { - fleet_ = builderForValue.build(); + public Builder setControlPlaneEncryption( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.Builder builderForValue) { + if (controlPlaneEncryptionBuilder_ == null) { + controlPlaneEncryption_ = builderForValue.build(); } else { - fleetBuilder_.setMessage(builderForValue.build()); + controlPlaneEncryptionBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -2136,27 +16200,31 @@ public Builder setFleet(com.google.cloud.edgecontainer.v1.Fleet.Builder builderF * * *
-     * Optional. Fleet configuration.
+     * Optional. Remote control plane disk encryption options. This field is only
+     * used when enabling CMEK support.
      * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder mergeFleet(com.google.cloud.edgecontainer.v1.Fleet value) { - if (fleetBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && fleet_ != null - && fleet_ != com.google.cloud.edgecontainer.v1.Fleet.getDefaultInstance()) { - getFleetBuilder().mergeFrom(value); + public Builder mergeControlPlaneEncryption( + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption value) { + if (controlPlaneEncryptionBuilder_ == null) { + if (((bitField0_ & 0x00020000) != 0) + && controlPlaneEncryption_ != null + && controlPlaneEncryption_ + != com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption + .getDefaultInstance()) { + getControlPlaneEncryptionBuilder().mergeFrom(value); } else { - fleet_ = value; + controlPlaneEncryption_ = value; } } else { - fleetBuilder_.mergeFrom(value); + controlPlaneEncryptionBuilder_.mergeFrom(value); } - if (fleet_ != null) { - bitField0_ |= 0x00000010; + if (controlPlaneEncryption_ != null) { + bitField0_ |= 0x00020000; onChanged(); } return this; @@ -2165,19 +16233,20 @@ public Builder mergeFleet(com.google.cloud.edgecontainer.v1.Fleet value) { * * *
-     * Optional. Fleet configuration.
+     * Optional. Remote control plane disk encryption options. This field is only
+     * used when enabling CMEK support.
      * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ - public Builder clearFleet() { - bitField0_ = (bitField0_ & ~0x00000010); - fleet_ = null; - if (fleetBuilder_ != null) { - fleetBuilder_.dispose(); - fleetBuilder_ = null; + public Builder clearControlPlaneEncryption() { + bitField0_ = (bitField0_ & ~0x00020000); + controlPlaneEncryption_ = null; + if (controlPlaneEncryptionBuilder_ != null) { + controlPlaneEncryptionBuilder_.dispose(); + controlPlaneEncryptionBuilder_ = null; } onChanged(); return this; @@ -2186,183 +16255,356 @@ public Builder clearFleet() { * * *
-     * Optional. Fleet configuration.
+     * Optional. Remote control plane disk encryption options. This field is only
+     * used when enabling CMEK support.
      * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ - public com.google.cloud.edgecontainer.v1.Fleet.Builder getFleetBuilder() { - bitField0_ |= 0x00000010; + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.Builder + getControlPlaneEncryptionBuilder() { + bitField0_ |= 0x00020000; onChanged(); - return getFleetFieldBuilder().getBuilder(); + return getControlPlaneEncryptionFieldBuilder().getBuilder(); } /** * * *
-     * Optional. Fleet configuration.
+     * Optional. Remote control plane disk encryption options. This field is only
+     * used when enabling CMEK support.
      * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ - public com.google.cloud.edgecontainer.v1.FleetOrBuilder getFleetOrBuilder() { - if (fleetBuilder_ != null) { - return fleetBuilder_.getMessageOrBuilder(); + public com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryptionOrBuilder + getControlPlaneEncryptionOrBuilder() { + if (controlPlaneEncryptionBuilder_ != null) { + return controlPlaneEncryptionBuilder_.getMessageOrBuilder(); } else { - return fleet_ == null - ? com.google.cloud.edgecontainer.v1.Fleet.getDefaultInstance() - : fleet_; + return controlPlaneEncryption_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.getDefaultInstance() + : controlPlaneEncryption_; } } /** * * *
-     * Optional. Fleet configuration.
+     * Optional. Remote control plane disk encryption options. This field is only
+     * used when enabling CMEK support.
      * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.Fleet, - com.google.cloud.edgecontainer.v1.Fleet.Builder, - com.google.cloud.edgecontainer.v1.FleetOrBuilder> - getFleetFieldBuilder() { - if (fleetBuilder_ == null) { - fleetBuilder_ = + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryptionOrBuilder> + getControlPlaneEncryptionFieldBuilder() { + if (controlPlaneEncryptionBuilder_ == null) { + controlPlaneEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.Fleet, - com.google.cloud.edgecontainer.v1.Fleet.Builder, - com.google.cloud.edgecontainer.v1.FleetOrBuilder>( - getFleet(), getParentForChildren(), isClean()); - fleet_ = null; + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption.Builder, + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryptionOrBuilder>( + getControlPlaneEncryption(), getParentForChildren(), isClean()); + controlPlaneEncryption_ = null; } - return fleetBuilder_; + return controlPlaneEncryptionBuilder_; } - private com.google.cloud.edgecontainer.v1.ClusterNetworking networking_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.ClusterNetworking, - com.google.cloud.edgecontainer.v1.ClusterNetworking.Builder, - com.google.cloud.edgecontainer.v1.ClusterNetworkingOrBuilder> - networkingBuilder_; + private int status_ = 0; /** * * *
-     * Required. Cluster-wide networking configuration.
+     * Output only. The current status of the cluster.
      * 
* * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return Whether the networking field is set. + * @return The enum numeric value on the wire for status. */ - public boolean hasNetworking() { - return ((bitField0_ & 0x00000020) != 0); + @java.lang.Override + public int getStatusValue() { + return status_; } /** * * *
-     * Required. Cluster-wide networking configuration.
+     * Output only. The current status of the cluster.
      * 
* * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return The networking. + * @param value The enum numeric value on the wire for status to set. + * @return This builder for chaining. */ - public com.google.cloud.edgecontainer.v1.ClusterNetworking getNetworking() { - if (networkingBuilder_ == null) { - return networking_ == null - ? com.google.cloud.edgecontainer.v1.ClusterNetworking.getDefaultInstance() - : networking_; + public Builder setStatusValue(int value) { + status_ = value; + bitField0_ |= 0x00040000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The current status of the cluster.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The status. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.Status getStatus() { + com.google.cloud.edgecontainer.v1.Cluster.Status result = + com.google.cloud.edgecontainer.v1.Cluster.Status.forNumber(status_); + return result == null + ? com.google.cloud.edgecontainer.v1.Cluster.Status.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Output only. The current status of the cluster.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The status to set. + * @return This builder for chaining. + */ + public Builder setStatus(com.google.cloud.edgecontainer.v1.Cluster.Status value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00040000; + status_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The current status of the cluster.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00040000); + status_ = 0; + onChanged(); + return this; + } + + private java.util.List + maintenanceEvents_ = java.util.Collections.emptyList(); + + private void ensureMaintenanceEventsIsMutable() { + if (!((bitField0_ & 0x00080000) != 0)) { + maintenanceEvents_ = + new java.util.ArrayList( + maintenanceEvents_); + bitField0_ |= 0x00080000; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent, + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Builder, + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventOrBuilder> + maintenanceEventsBuilder_; + + /** + * + * + *
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getMaintenanceEventsList() { + if (maintenanceEventsBuilder_ == null) { + return java.util.Collections.unmodifiableList(maintenanceEvents_); } else { - return networkingBuilder_.getMessage(); + return maintenanceEventsBuilder_.getMessageList(); } } /** * * *
-     * Required. Cluster-wide networking configuration.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setNetworking(com.google.cloud.edgecontainer.v1.ClusterNetworking value) { - if (networkingBuilder_ == null) { + public int getMaintenanceEventsCount() { + if (maintenanceEventsBuilder_ == null) { + return maintenanceEvents_.size(); + } else { + return maintenanceEventsBuilder_.getCount(); + } + } + /** + * + * + *
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent getMaintenanceEvents( + int index) { + if (maintenanceEventsBuilder_ == null) { + return maintenanceEvents_.get(index); + } else { + return maintenanceEventsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setMaintenanceEvents( + int index, com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent value) { + if (maintenanceEventsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - networking_ = value; + ensureMaintenanceEventsIsMutable(); + maintenanceEvents_.set(index, value); + onChanged(); } else { - networkingBuilder_.setMessage(value); + maintenanceEventsBuilder_.setMessage(index, value); } - bitField0_ |= 0x00000020; - onChanged(); return this; } /** * * *
-     * Required. Cluster-wide networking configuration.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setNetworking( - com.google.cloud.edgecontainer.v1.ClusterNetworking.Builder builderForValue) { - if (networkingBuilder_ == null) { - networking_ = builderForValue.build(); + public Builder setMaintenanceEvents( + int index, + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Builder builderForValue) { + if (maintenanceEventsBuilder_ == null) { + ensureMaintenanceEventsIsMutable(); + maintenanceEvents_.set(index, builderForValue.build()); + onChanged(); } else { - networkingBuilder_.setMessage(builderForValue.build()); + maintenanceEventsBuilder_.setMessage(index, builderForValue.build()); } - bitField0_ |= 0x00000020; - onChanged(); return this; } /** * * *
-     * Required. Cluster-wide networking configuration.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder mergeNetworking(com.google.cloud.edgecontainer.v1.ClusterNetworking value) { - if (networkingBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && networking_ != null - && networking_ - != com.google.cloud.edgecontainer.v1.ClusterNetworking.getDefaultInstance()) { - getNetworkingBuilder().mergeFrom(value); - } else { - networking_ = value; + public Builder addMaintenanceEvents( + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent value) { + if (maintenanceEventsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureMaintenanceEventsIsMutable(); + maintenanceEvents_.add(value); + onChanged(); } else { - networkingBuilder_.mergeFrom(value); + maintenanceEventsBuilder_.addMessage(value); } - if (networking_ != null) { - bitField0_ |= 0x00000020; + return this; + } + /** + * + * + *
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addMaintenanceEvents( + int index, com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent value) { + if (maintenanceEventsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMaintenanceEventsIsMutable(); + maintenanceEvents_.add(index, value); onChanged(); + } else { + maintenanceEventsBuilder_.addMessage(index, value); } return this; } @@ -2370,328 +16612,339 @@ public Builder mergeNetworking(com.google.cloud.edgecontainer.v1.ClusterNetworki * * *
-     * Required. Cluster-wide networking configuration.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder clearNetworking() { - bitField0_ = (bitField0_ & ~0x00000020); - networking_ = null; - if (networkingBuilder_ != null) { - networkingBuilder_.dispose(); - networkingBuilder_ = null; + public Builder addMaintenanceEvents( + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Builder builderForValue) { + if (maintenanceEventsBuilder_ == null) { + ensureMaintenanceEventsIsMutable(); + maintenanceEvents_.add(builderForValue.build()); + onChanged(); + } else { + maintenanceEventsBuilder_.addMessage(builderForValue.build()); } - onChanged(); return this; } /** * * *
-     * Required. Cluster-wide networking configuration.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.cloud.edgecontainer.v1.ClusterNetworking.Builder getNetworkingBuilder() { - bitField0_ |= 0x00000020; - onChanged(); - return getNetworkingFieldBuilder().getBuilder(); + public Builder addMaintenanceEvents( + int index, + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Builder builderForValue) { + if (maintenanceEventsBuilder_ == null) { + ensureMaintenanceEventsIsMutable(); + maintenanceEvents_.add(index, builderForValue.build()); + onChanged(); + } else { + maintenanceEventsBuilder_.addMessage(index, builderForValue.build()); + } + return this; } /** * * *
-     * Required. Cluster-wide networking configuration.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.cloud.edgecontainer.v1.ClusterNetworkingOrBuilder getNetworkingOrBuilder() { - if (networkingBuilder_ != null) { - return networkingBuilder_.getMessageOrBuilder(); - } else { - return networking_ == null - ? com.google.cloud.edgecontainer.v1.ClusterNetworking.getDefaultInstance() - : networking_; + public Builder addAllMaintenanceEvents( + java.lang.Iterable + values) { + if (maintenanceEventsBuilder_ == null) { + ensureMaintenanceEventsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, maintenanceEvents_); + onChanged(); + } else { + maintenanceEventsBuilder_.addAllMessages(values); } + return this; } /** * * *
-     * Required. Cluster-wide networking configuration.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.ClusterNetworking, - com.google.cloud.edgecontainer.v1.ClusterNetworking.Builder, - com.google.cloud.edgecontainer.v1.ClusterNetworkingOrBuilder> - getNetworkingFieldBuilder() { - if (networkingBuilder_ == null) { - networkingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.ClusterNetworking, - com.google.cloud.edgecontainer.v1.ClusterNetworking.Builder, - com.google.cloud.edgecontainer.v1.ClusterNetworkingOrBuilder>( - getNetworking(), getParentForChildren(), isClean()); - networking_ = null; + public Builder clearMaintenanceEvents() { + if (maintenanceEventsBuilder_ == null) { + maintenanceEvents_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00080000); + onChanged(); + } else { + maintenanceEventsBuilder_.clear(); } - return networkingBuilder_; + return this; } - - private com.google.cloud.edgecontainer.v1.Authorization authorization_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.Authorization, - com.google.cloud.edgecontainer.v1.Authorization.Builder, - com.google.cloud.edgecontainer.v1.AuthorizationOrBuilder> - authorizationBuilder_; /** * * *
-     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * - * @return Whether the authorization field is set. */ - public boolean hasAuthorization() { - return ((bitField0_ & 0x00000040) != 0); + public Builder removeMaintenanceEvents(int index) { + if (maintenanceEventsBuilder_ == null) { + ensureMaintenanceEventsIsMutable(); + maintenanceEvents_.remove(index); + onChanged(); + } else { + maintenanceEventsBuilder_.remove(index); + } + return this; } /** * * *
-     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * - * @return The authorization. */ - public com.google.cloud.edgecontainer.v1.Authorization getAuthorization() { - if (authorizationBuilder_ == null) { - return authorization_ == null - ? com.google.cloud.edgecontainer.v1.Authorization.getDefaultInstance() - : authorization_; - } else { - return authorizationBuilder_.getMessage(); - } + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Builder + getMaintenanceEventsBuilder(int index) { + return getMaintenanceEventsFieldBuilder().getBuilder(index); } /** * * *
-     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setAuthorization(com.google.cloud.edgecontainer.v1.Authorization value) { - if (authorizationBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - authorization_ = value; + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventOrBuilder + getMaintenanceEventsOrBuilder(int index) { + if (maintenanceEventsBuilder_ == null) { + return maintenanceEvents_.get(index); } else { - authorizationBuilder_.setMessage(value); + return maintenanceEventsBuilder_.getMessageOrBuilder(index); } - bitField0_ |= 0x00000040; - onChanged(); - return this; } /** * * *
-     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setAuthorization( - com.google.cloud.edgecontainer.v1.Authorization.Builder builderForValue) { - if (authorizationBuilder_ == null) { - authorization_ = builderForValue.build(); + public java.util.List< + ? extends com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventOrBuilder> + getMaintenanceEventsOrBuilderList() { + if (maintenanceEventsBuilder_ != null) { + return maintenanceEventsBuilder_.getMessageOrBuilderList(); } else { - authorizationBuilder_.setMessage(builderForValue.build()); + return java.util.Collections.unmodifiableList(maintenanceEvents_); } - bitField0_ |= 0x00000040; - onChanged(); - return this; } /** * * *
-     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder mergeAuthorization(com.google.cloud.edgecontainer.v1.Authorization value) { - if (authorizationBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && authorization_ != null - && authorization_ - != com.google.cloud.edgecontainer.v1.Authorization.getDefaultInstance()) { - getAuthorizationBuilder().mergeFrom(value); - } else { - authorization_ = value; - } - } else { - authorizationBuilder_.mergeFrom(value); - } - if (authorization_ != null) { - bitField0_ |= 0x00000040; - onChanged(); - } - return this; + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Builder + addMaintenanceEventsBuilder() { + return getMaintenanceEventsFieldBuilder() + .addBuilder( + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.getDefaultInstance()); } /** * * *
-     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder clearAuthorization() { - bitField0_ = (bitField0_ & ~0x00000040); - authorization_ = null; - if (authorizationBuilder_ != null) { - authorizationBuilder_.dispose(); - authorizationBuilder_ = null; - } - onChanged(); - return this; + public com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Builder + addMaintenanceEventsBuilder(int index) { + return getMaintenanceEventsFieldBuilder() + .addBuilder( + index, + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.getDefaultInstance()); } /** * * *
-     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * Output only. All the maintenance events scheduled for the cluster,
+     * including the ones ongoing, planned for the future and done in the past (up
+     * to 90 days).
      * 
* * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.cloud.edgecontainer.v1.Authorization.Builder getAuthorizationBuilder() { - bitField0_ |= 0x00000040; - onChanged(); - return getAuthorizationFieldBuilder().getBuilder(); + public java.util.List + getMaintenanceEventsBuilderList() { + return getMaintenanceEventsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent, + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Builder, + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventOrBuilder> + getMaintenanceEventsFieldBuilder() { + if (maintenanceEventsBuilder_ == null) { + maintenanceEventsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent, + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Builder, + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventOrBuilder>( + maintenanceEvents_, + ((bitField0_ & 0x00080000) != 0), + getParentForChildren(), + isClean()); + maintenanceEvents_ = null; + } + return maintenanceEventsBuilder_; } + + private java.lang.Object targetVersion_ = ""; /** * * *
-     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * Optional. The target cluster version. For example: "1.5.0".
      * 
* - * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * string target_version = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The targetVersion. */ - public com.google.cloud.edgecontainer.v1.AuthorizationOrBuilder getAuthorizationOrBuilder() { - if (authorizationBuilder_ != null) { - return authorizationBuilder_.getMessageOrBuilder(); + public java.lang.String getTargetVersion() { + java.lang.Object ref = targetVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetVersion_ = s; + return s; } else { - return authorization_ == null - ? com.google.cloud.edgecontainer.v1.Authorization.getDefaultInstance() - : authorization_; + return (java.lang.String) ref; } } /** * * *
-     * Required. Immutable. RBAC policy that will be applied and managed by GEC.
+     * Optional. The target cluster version. For example: "1.5.0".
      * 
* - * - * .google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * + * string target_version = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for targetVersion. */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.Authorization, - com.google.cloud.edgecontainer.v1.Authorization.Builder, - com.google.cloud.edgecontainer.v1.AuthorizationOrBuilder> - getAuthorizationFieldBuilder() { - if (authorizationBuilder_ == null) { - authorizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.Authorization, - com.google.cloud.edgecontainer.v1.Authorization.Builder, - com.google.cloud.edgecontainer.v1.AuthorizationOrBuilder>( - getAuthorization(), getParentForChildren(), isClean()); - authorization_ = null; + public com.google.protobuf.ByteString getTargetVersionBytes() { + java.lang.Object ref = targetVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - return authorizationBuilder_; } - - private int defaultMaxPodsPerNode_; /** * * *
-     * Optional. The default maximum number of pods per node used if a maximum value is not
-     * specified explicitly for a node pool in this cluster. If unspecified, the
-     * Kubernetes default value will be used.
+     * Optional. The target cluster version. For example: "1.5.0".
      * 
* - * int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL]; + * string target_version = 22 [(.google.api.field_behavior) = OPTIONAL]; * - * @return The defaultMaxPodsPerNode. + * @param value The targetVersion to set. + * @return This builder for chaining. */ - @java.lang.Override - public int getDefaultMaxPodsPerNode() { - return defaultMaxPodsPerNode_; + public Builder setTargetVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + targetVersion_ = value; + bitField0_ |= 0x00100000; + onChanged(); + return this; } /** * * *
-     * Optional. The default maximum number of pods per node used if a maximum value is not
-     * specified explicitly for a node pool in this cluster. If unspecified, the
-     * Kubernetes default value will be used.
+     * Optional. The target cluster version. For example: "1.5.0".
      * 
* - * int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL]; + * string target_version = 22 [(.google.api.field_behavior) = OPTIONAL]; * - * @param value The defaultMaxPodsPerNode to set. * @return This builder for chaining. */ - public Builder setDefaultMaxPodsPerNode(int value) { - - defaultMaxPodsPerNode_ = value; - bitField0_ |= 0x00000080; + public Builder clearTargetVersion() { + targetVersion_ = getDefaultInstance().getTargetVersion(); + bitField0_ = (bitField0_ & ~0x00100000); onChanged(); return this; } @@ -2699,191 +16952,281 @@ public Builder setDefaultMaxPodsPerNode(int value) { * * *
-     * Optional. The default maximum number of pods per node used if a maximum value is not
-     * specified explicitly for a node pool in this cluster. If unspecified, the
-     * Kubernetes default value will be used.
+     * Optional. The target cluster version. For example: "1.5.0".
      * 
* - * int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL]; + * string target_version = 22 [(.google.api.field_behavior) = OPTIONAL]; * + * @param value The bytes for targetVersion to set. * @return This builder for chaining. */ - public Builder clearDefaultMaxPodsPerNode() { - bitField0_ = (bitField0_ & ~0x00000080); - defaultMaxPodsPerNode_ = 0; + public Builder setTargetVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetVersion_ = value; + bitField0_ |= 0x00100000; onChanged(); return this; } - private java.lang.Object endpoint_ = ""; + private int releaseChannel_ = 0; /** * * *
-     * Output only. The IP address of the Kubernetes API server.
+     * Optional. The release channel a cluster is subscribed to.
      * 
* - * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * - * @return The endpoint. + * @return The enum numeric value on the wire for releaseChannel. */ - 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; - java.lang.String s = bs.toStringUtf8(); - endpoint_ = s; - return s; - } else { - return (java.lang.String) ref; - } + @java.lang.Override + public int getReleaseChannelValue() { + return releaseChannel_; } /** * * *
-     * Output only. The IP address of the Kubernetes API server.
+     * Optional. The release channel a cluster is subscribed to.
      * 
* - * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * - * @return The bytes for endpoint. + * @param value The enum numeric value on the wire for releaseChannel to set. + * @return This builder for chaining. */ - 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); - endpoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public Builder setReleaseChannelValue(int value) { + releaseChannel_ = value; + bitField0_ |= 0x00200000; + onChanged(); + return this; } /** * * *
-     * Output only. The IP address of the Kubernetes API server.
+     * Optional. The release channel a cluster is subscribed to.
      * 
* - * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * - * @param value The endpoint to set. + * @return The releaseChannel. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel getReleaseChannel() { + com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel result = + com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel.forNumber(releaseChannel_); + return result == null + ? com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Optional. The release channel a cluster is subscribed to.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The releaseChannel to set. * @return This builder for chaining. */ - public Builder setEndpoint(java.lang.String value) { + public Builder setReleaseChannel( + com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel value) { if (value == null) { throw new NullPointerException(); } - endpoint_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00200000; + releaseChannel_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The release channel a cluster is subscribed to.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearReleaseChannel() { + bitField0_ = (bitField0_ & ~0x00200000); + releaseChannel_ = 0; onChanged(); return this; } + + private com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivabilityConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig, + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.Builder, + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfigOrBuilder> + survivabilityConfigBuilder_; + /** + * + * + *
+     * Optional. Configuration of the cluster survivability, e.g., for the case
+     * when network connectivity is lost. Note: This only applies to local control
+     * plane clusters.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the survivabilityConfig field is set. + */ + public boolean hasSurvivabilityConfig() { + return ((bitField0_ & 0x00400000) != 0); + } /** * * *
-     * Output only. The IP address of the Kubernetes API server.
+     * Optional. Configuration of the cluster survivability, e.g., for the case
+     * when network connectivity is lost. Note: This only applies to local control
+     * plane clusters.
      * 
* - * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * * - * @return This builder for chaining. + * @return The survivabilityConfig. */ - public Builder clearEndpoint() { - endpoint_ = getDefaultInstance().getEndpoint(); - bitField0_ = (bitField0_ & ~0x00000100); - onChanged(); - return this; + public com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig getSurvivabilityConfig() { + if (survivabilityConfigBuilder_ == null) { + return survivabilityConfig_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.getDefaultInstance() + : survivabilityConfig_; + } else { + return survivabilityConfigBuilder_.getMessage(); + } } /** * * *
-     * Output only. The IP address of the Kubernetes API server.
+     * Optional. Configuration of the cluster survivability, e.g., for the case
+     * when network connectivity is lost. Note: This only applies to local control
+     * plane clusters.
      * 
* - * string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for endpoint to set. - * @return This builder for chaining. + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEndpointBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public Builder setSurvivabilityConfig( + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig value) { + if (survivabilityConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + survivabilityConfig_ = value; + } else { + survivabilityConfigBuilder_.setMessage(value); } - checkByteStringIsUtf8(value); - endpoint_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00400000; onChanged(); return this; } - - private java.lang.Object clusterCaCertificate_ = ""; /** * * *
-     * Output only. The PEM-encoded public certificate of the cluster's CA.
+     * Optional. Configuration of the cluster survivability, e.g., for the case
+     * when network connectivity is lost. Note: This only applies to local control
+     * plane clusters.
      * 
* - * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The clusterCaCertificate. + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ - 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; - java.lang.String s = bs.toStringUtf8(); - clusterCaCertificate_ = s; - return s; + public Builder setSurvivabilityConfig( + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.Builder builderForValue) { + if (survivabilityConfigBuilder_ == null) { + survivabilityConfig_ = builderForValue.build(); } else { - return (java.lang.String) ref; + survivabilityConfigBuilder_.setMessage(builderForValue.build()); } + bitField0_ |= 0x00400000; + onChanged(); + return this; } /** * * *
-     * Output only. The PEM-encoded public certificate of the cluster's CA.
+     * Optional. Configuration of the cluster survivability, e.g., for the case
+     * when network connectivity is lost. Note: This only applies to local control
+     * plane clusters.
      * 
* - * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for clusterCaCertificate. + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ - 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); - clusterCaCertificate_ = b; - return b; + public Builder mergeSurvivabilityConfig( + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig value) { + if (survivabilityConfigBuilder_ == null) { + if (((bitField0_ & 0x00400000) != 0) + && survivabilityConfig_ != null + && survivabilityConfig_ + != com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig + .getDefaultInstance()) { + getSurvivabilityConfigBuilder().mergeFrom(value); + } else { + survivabilityConfig_ = value; + } } else { - return (com.google.protobuf.ByteString) ref; + survivabilityConfigBuilder_.mergeFrom(value); + } + if (survivabilityConfig_ != null) { + bitField0_ |= 0x00400000; + onChanged(); } + return this; } /** * * *
-     * Output only. The PEM-encoded public certificate of the cluster's CA.
+     * Optional. Configuration of the cluster survivability, e.g., for the case
+     * when network connectivity is lost. Note: This only applies to local control
+     * plane clusters.
      * 
* - * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The clusterCaCertificate to set. - * @return This builder for chaining. + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setClusterCaCertificate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder clearSurvivabilityConfig() { + bitField0_ = (bitField0_ & ~0x00400000); + survivabilityConfig_ = null; + if (survivabilityConfigBuilder_ != null) { + survivabilityConfigBuilder_.dispose(); + survivabilityConfigBuilder_ = null; } - clusterCaCertificate_ = value; - bitField0_ |= 0x00000200; onChanged(); return this; } @@ -2891,181 +17234,203 @@ public Builder setClusterCaCertificate(java.lang.String value) { * * *
-     * Output only. The PEM-encoded public certificate of the cluster's CA.
+     * Optional. Configuration of the cluster survivability, e.g., for the case
+     * when network connectivity is lost. Note: This only applies to local control
+     * plane clusters.
      * 
* - * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder clearClusterCaCertificate() { - clusterCaCertificate_ = getDefaultInstance().getClusterCaCertificate(); - bitField0_ = (bitField0_ & ~0x00000200); + public com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.Builder + getSurvivabilityConfigBuilder() { + bitField0_ |= 0x00400000; onChanged(); - return this; + return getSurvivabilityConfigFieldBuilder().getBuilder(); } /** * * *
-     * Output only. The PEM-encoded public certificate of the cluster's CA.
+     * Optional. Configuration of the cluster survivability, e.g., for the case
+     * when network connectivity is lost. Note: This only applies to local control
+     * plane clusters.
      * 
* - * string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfigOrBuilder + getSurvivabilityConfigOrBuilder() { + if (survivabilityConfigBuilder_ != null) { + return survivabilityConfigBuilder_.getMessageOrBuilder(); + } else { + return survivabilityConfig_ == null + ? com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.getDefaultInstance() + : survivabilityConfig_; + } + } + /** * - * @param value The bytes for clusterCaCertificate to set. - * @return This builder for chaining. + * + *
+     * Optional. Configuration of the cluster survivability, e.g., for the case
+     * when network connectivity is lost. Note: This only applies to local control
+     * plane clusters.
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig, + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.Builder, + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfigOrBuilder> + getSurvivabilityConfigFieldBuilder() { + if (survivabilityConfigBuilder_ == null) { + survivabilityConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig, + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.Builder, + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfigOrBuilder>( + getSurvivabilityConfig(), getParentForChildren(), isClean()); + survivabilityConfig_ = null; } - checkByteStringIsUtf8(value); - clusterCaCertificate_ = value; - bitField0_ |= 0x00000200; - onChanged(); - return this; + return survivabilityConfigBuilder_; } - private com.google.cloud.edgecontainer.v1.MaintenancePolicy maintenancePolicy_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.MaintenancePolicy, - com.google.cloud.edgecontainer.v1.MaintenancePolicy.Builder, - com.google.cloud.edgecontainer.v1.MaintenancePolicyOrBuilder> - maintenancePolicyBuilder_; + private com.google.protobuf.LazyStringArrayList externalLoadBalancerIpv6AddressPools_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureExternalLoadBalancerIpv6AddressPoolsIsMutable() { + if (!externalLoadBalancerIpv6AddressPools_.isModifiable()) { + externalLoadBalancerIpv6AddressPools_ = + new com.google.protobuf.LazyStringArrayList(externalLoadBalancerIpv6AddressPools_); + } + bitField0_ |= 0x00800000; + } /** * * *
-     * Optional. Cluster-wide maintenance policy configuration.
+     * Optional. IPv6 address pools for cluster data plane external load
+     * balancing.
      * 
* * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return Whether the maintenancePolicy field is set. + * @return A list containing the externalLoadBalancerIpv6AddressPools. */ - public boolean hasMaintenancePolicy() { - return ((bitField0_ & 0x00000400) != 0); + public com.google.protobuf.ProtocolStringList getExternalLoadBalancerIpv6AddressPoolsList() { + externalLoadBalancerIpv6AddressPools_.makeImmutable(); + return externalLoadBalancerIpv6AddressPools_; } /** * * *
-     * Optional. Cluster-wide maintenance policy configuration.
+     * Optional. IPv6 address pools for cluster data plane external load
+     * balancing.
      * 
* * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return The maintenancePolicy. + * @return The count of externalLoadBalancerIpv6AddressPools. */ - public com.google.cloud.edgecontainer.v1.MaintenancePolicy getMaintenancePolicy() { - if (maintenancePolicyBuilder_ == null) { - return maintenancePolicy_ == null - ? com.google.cloud.edgecontainer.v1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; - } else { - return maintenancePolicyBuilder_.getMessage(); - } + public int getExternalLoadBalancerIpv6AddressPoolsCount() { + return externalLoadBalancerIpv6AddressPools_.size(); } /** * * *
-     * Optional. Cluster-wide maintenance policy configuration.
+     * Optional. IPv6 address pools for cluster data plane external load
+     * balancing.
      * 
* * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The externalLoadBalancerIpv6AddressPools at the given index. */ - public Builder setMaintenancePolicy(com.google.cloud.edgecontainer.v1.MaintenancePolicy value) { - if (maintenancePolicyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - maintenancePolicy_ = value; - } else { - maintenancePolicyBuilder_.setMessage(value); - } - bitField0_ |= 0x00000400; - onChanged(); - return this; + public java.lang.String getExternalLoadBalancerIpv6AddressPools(int index) { + return externalLoadBalancerIpv6AddressPools_.get(index); } /** * * *
-     * Optional. Cluster-wide maintenance policy configuration.
+     * Optional. IPv6 address pools for cluster data plane external load
+     * balancing.
      * 
* * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the externalLoadBalancerIpv6AddressPools at the given index. */ - public Builder setMaintenancePolicy( - com.google.cloud.edgecontainer.v1.MaintenancePolicy.Builder builderForValue) { - if (maintenancePolicyBuilder_ == null) { - maintenancePolicy_ = builderForValue.build(); - } else { - maintenancePolicyBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000400; - onChanged(); - return this; + public com.google.protobuf.ByteString getExternalLoadBalancerIpv6AddressPoolsBytes(int index) { + return externalLoadBalancerIpv6AddressPools_.getByteString(index); } /** * * *
-     * Optional. Cluster-wide maintenance policy configuration.
+     * Optional. IPv6 address pools for cluster data plane external load
+     * balancing.
      * 
* * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index to set the value at. + * @param value The externalLoadBalancerIpv6AddressPools to set. + * @return This builder for chaining. */ - public Builder mergeMaintenancePolicy( - com.google.cloud.edgecontainer.v1.MaintenancePolicy value) { - if (maintenancePolicyBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && maintenancePolicy_ != null - && maintenancePolicy_ - != com.google.cloud.edgecontainer.v1.MaintenancePolicy.getDefaultInstance()) { - getMaintenancePolicyBuilder().mergeFrom(value); - } else { - maintenancePolicy_ = value; - } - } else { - maintenancePolicyBuilder_.mergeFrom(value); - } - if (maintenancePolicy_ != null) { - bitField0_ |= 0x00000400; - onChanged(); + public Builder setExternalLoadBalancerIpv6AddressPools(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } + ensureExternalLoadBalancerIpv6AddressPoolsIsMutable(); + externalLoadBalancerIpv6AddressPools_.set(index, value); + bitField0_ |= 0x00800000; + onChanged(); return this; } /** * * *
-     * Optional. Cluster-wide maintenance policy configuration.
+     * Optional. IPv6 address pools for cluster data plane external load
+     * balancing.
      * 
* * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The externalLoadBalancerIpv6AddressPools to add. + * @return This builder for chaining. */ - public Builder clearMaintenancePolicy() { - bitField0_ = (bitField0_ & ~0x00000400); - maintenancePolicy_ = null; - if (maintenancePolicyBuilder_ != null) { - maintenancePolicyBuilder_.dispose(); - maintenancePolicyBuilder_ = null; + public Builder addExternalLoadBalancerIpv6AddressPools(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } + ensureExternalLoadBalancerIpv6AddressPoolsIsMutable(); + externalLoadBalancerIpv6AddressPools_.add(value); + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -3073,66 +17438,73 @@ public Builder clearMaintenancePolicy() { * * *
-     * Optional. Cluster-wide maintenance policy configuration.
+     * Optional. IPv6 address pools for cluster data plane external load
+     * balancing.
      * 
* * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param values The externalLoadBalancerIpv6AddressPools to add. + * @return This builder for chaining. */ - public com.google.cloud.edgecontainer.v1.MaintenancePolicy.Builder - getMaintenancePolicyBuilder() { - bitField0_ |= 0x00000400; + public Builder addAllExternalLoadBalancerIpv6AddressPools( + java.lang.Iterable values) { + ensureExternalLoadBalancerIpv6AddressPoolsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, externalLoadBalancerIpv6AddressPools_); + bitField0_ |= 0x00800000; onChanged(); - return getMaintenancePolicyFieldBuilder().getBuilder(); + return this; } /** * * *
-     * Optional. Cluster-wide maintenance policy configuration.
+     * Optional. IPv6 address pools for cluster data plane external load
+     * balancing.
      * 
* * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ - public com.google.cloud.edgecontainer.v1.MaintenancePolicyOrBuilder - getMaintenancePolicyOrBuilder() { - if (maintenancePolicyBuilder_ != null) { - return maintenancePolicyBuilder_.getMessageOrBuilder(); - } else { - return maintenancePolicy_ == null - ? com.google.cloud.edgecontainer.v1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; - } + public Builder clearExternalLoadBalancerIpv6AddressPools() { + externalLoadBalancerIpv6AddressPools_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00800000); + ; + onChanged(); + return this; } /** * * *
-     * Optional. Cluster-wide maintenance policy configuration.
+     * Optional. IPv6 address pools for cluster data plane external load
+     * balancing.
      * 
* * - * .google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The bytes of the externalLoadBalancerIpv6AddressPools to add. + * @return This builder for chaining. */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.MaintenancePolicy, - com.google.cloud.edgecontainer.v1.MaintenancePolicy.Builder, - com.google.cloud.edgecontainer.v1.MaintenancePolicyOrBuilder> - getMaintenancePolicyFieldBuilder() { - if (maintenancePolicyBuilder_ == null) { - maintenancePolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.edgecontainer.v1.MaintenancePolicy, - com.google.cloud.edgecontainer.v1.MaintenancePolicy.Builder, - com.google.cloud.edgecontainer.v1.MaintenancePolicyOrBuilder>( - getMaintenancePolicy(), getParentForChildren(), isClean()); - maintenancePolicy_ = null; + public Builder addExternalLoadBalancerIpv6AddressPoolsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } - return maintenancePolicyBuilder_; + checkByteStringIsUtf8(value); + ensureExternalLoadBalancerIpv6AddressPoolsIsMutable(); + externalLoadBalancerIpv6AddressPools_.add(value); + bitField0_ |= 0x00800000; + onChanged(); + return this; } @java.lang.Override diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterNetworking.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterNetworking.java index 3d8e4c49866e..eaf092dfcc09 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterNetworking.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterNetworking.java @@ -73,9 +73,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+   * these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -90,9 +90,9 @@ public com.google.protobuf.ProtocolStringList getClusterIpv4CidrBlocksList() { * * *
-   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+   * these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -107,9 +107,9 @@ public int getClusterIpv4CidrBlocksCount() { * * *
-   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+   * these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -125,9 +125,9 @@ public java.lang.String getClusterIpv4CidrBlocks(int index) { * * *
-   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+   * these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -149,9 +149,9 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlocksBytes(int index) { * * *
-   * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+   * from these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -166,9 +166,9 @@ public com.google.protobuf.ProtocolStringList getServicesIpv4CidrBlocksList() { * * *
-   * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+   * from these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -183,9 +183,9 @@ public int getServicesIpv4CidrBlocksCount() { * * *
-   * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+   * from these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -201,9 +201,9 @@ public java.lang.String getServicesIpv4CidrBlocks(int index) { * * *
-   * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+   * from these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -627,9 +627,9 @@ private void ensureClusterIpv4CidrBlocksIsMutable() { * * *
-     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+     * these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -645,9 +645,9 @@ public com.google.protobuf.ProtocolStringList getClusterIpv4CidrBlocksList() { * * *
-     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+     * these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -662,9 +662,9 @@ public int getClusterIpv4CidrBlocksCount() { * * *
-     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+     * these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -680,9 +680,9 @@ public java.lang.String getClusterIpv4CidrBlocks(int index) { * * *
-     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+     * these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -698,9 +698,9 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlocksBytes(int index) { * * *
-     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+     * these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -724,9 +724,9 @@ public Builder setClusterIpv4CidrBlocks(int index, java.lang.String value) { * * *
-     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+     * these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -749,9 +749,9 @@ public Builder addClusterIpv4CidrBlocks(java.lang.String value) { * * *
-     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+     * these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -771,9 +771,9 @@ public Builder addAllClusterIpv4CidrBlocks(java.lang.Iterable * * *
-     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+     * these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -792,9 +792,9 @@ public Builder clearClusterIpv4CidrBlocks() { * * *
-     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+     * these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -829,9 +829,9 @@ private void ensureServicesIpv4CidrBlocksIsMutable() { * * *
-     * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+     * from these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * @@ -848,9 +848,9 @@ public com.google.protobuf.ProtocolStringList getServicesIpv4CidrBlocksList() { * * *
-     * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+     * from these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * @@ -866,9 +866,9 @@ public int getServicesIpv4CidrBlocksCount() { * * *
-     * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+     * from these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * @@ -885,9 +885,9 @@ public java.lang.String getServicesIpv4CidrBlocks(int index) { * * *
-     * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+     * from these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * @@ -904,9 +904,9 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlocksBytes(int index) * * *
-     * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+     * from these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * @@ -931,9 +931,9 @@ public Builder setServicesIpv4CidrBlocks(int index, java.lang.String value) { * * *
-     * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+     * from these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * @@ -957,9 +957,9 @@ public Builder addServicesIpv4CidrBlocks(java.lang.String value) { * * *
-     * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+     * from these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * @@ -980,9 +980,9 @@ public Builder addAllServicesIpv4CidrBlocks(java.lang.Iterable * * *
-     * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+     * from these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * @@ -1002,9 +1002,9 @@ public Builder clearServicesIpv4CidrBlocks() { * * *
-     * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-     * blocks. Only a single block is supported. This field cannot be changed
-     * after creation.
+     * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+     * from these blocks. Only a single block is supported. This field cannot be
+     * changed after creation.
      * 
* * diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterNetworkingOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterNetworkingOrBuilder.java index e22db8b38565..905e43a3970e 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterNetworkingOrBuilder.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterNetworkingOrBuilder.java @@ -28,9 +28,9 @@ public interface ClusterNetworkingOrBuilder * * *
-   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+   * these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -43,9 +43,9 @@ public interface ClusterNetworkingOrBuilder * * *
-   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+   * these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -58,9 +58,9 @@ public interface ClusterNetworkingOrBuilder * * *
-   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+   * these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -74,9 +74,9 @@ public interface ClusterNetworkingOrBuilder * * *
-   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All pods in the cluster are assigned an RFC1918 IPv4 address from
+   * these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string cluster_ipv4_cidr_blocks = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -91,9 +91,9 @@ public interface ClusterNetworkingOrBuilder * * *
-   * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+   * from these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -106,9 +106,9 @@ public interface ClusterNetworkingOrBuilder * * *
-   * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+   * from these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -121,9 +121,9 @@ public interface ClusterNetworkingOrBuilder * * *
-   * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+   * from these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -137,9 +137,9 @@ public interface ClusterNetworkingOrBuilder * * *
-   * Required. All services in the cluster are assigned an RFC1918 IPv4 address from these
-   * blocks. Only a single block is supported. This field cannot be changed
-   * after creation.
+   * Required. All services in the cluster are assigned an RFC1918 IPv4 address
+   * from these blocks. Only a single block is supported. This field cannot be
+   * changed after creation.
    * 
* * repeated string services_ipv4_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterOrBuilder.java index 3c564a4f5a5d..007860ba2e33 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterOrBuilder.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ClusterOrBuilder.java @@ -191,11 +191,11 @@ java.lang.String getLabelsOrDefault( * * *
-   * Optional. Fleet configuration.
+   * Required. Fleet configuration.
    * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the fleet field is set. @@ -205,11 +205,11 @@ java.lang.String getLabelsOrDefault( * * *
-   * Optional. Fleet configuration.
+   * Required. Fleet configuration.
    * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; * * * @return The fleet. @@ -219,11 +219,11 @@ java.lang.String getLabelsOrDefault( * * *
-   * Optional. Fleet configuration.
+   * Required. Fleet configuration.
    * 
* * - * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = REQUIRED]; * */ com.google.cloud.edgecontainer.v1.FleetOrBuilder getFleetOrBuilder(); @@ -314,9 +314,9 @@ java.lang.String getLabelsOrDefault( * * *
-   * Optional. The default maximum number of pods per node used if a maximum value is not
-   * specified explicitly for a node pool in this cluster. If unspecified, the
-   * Kubernetes default value will be used.
+   * Optional. The default maximum number of pods per node used if a maximum
+   * value is not specified explicitly for a node pool in this cluster. If
+   * unspecified, the Kubernetes default value will be used.
    * 
* * int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL]; @@ -350,6 +350,19 @@ java.lang.String getLabelsOrDefault( */ com.google.protobuf.ByteString getEndpointBytes(); + /** + * + * + *
+   * Output only. The port number of the Kubernetes API server.
+   * 
+ * + * int32 port = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The port. + */ + int getPort(); + /** * * @@ -415,4 +428,515 @@ java.lang.String getLabelsOrDefault( *
*/ com.google.cloud.edgecontainer.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder(); + + /** + * + * + *
+   * Output only. The control plane release version
+   * 
+ * + * string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The controlPlaneVersion. + */ + java.lang.String getControlPlaneVersion(); + /** + * + * + *
+   * Output only. The control plane release version
+   * 
+ * + * string control_plane_version = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for controlPlaneVersion. + */ + com.google.protobuf.ByteString getControlPlaneVersionBytes(); + + /** + * + * + *
+   * Output only. The lowest release version among all worker nodes. This field
+   * can be empty if the cluster does not have any worker nodes.
+   * 
+ * + * string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nodeVersion. + */ + java.lang.String getNodeVersion(); + /** + * + * + *
+   * Output only. The lowest release version among all worker nodes. This field
+   * can be empty if the cluster does not have any worker nodes.
+   * 
+ * + * string node_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nodeVersion. + */ + com.google.protobuf.ByteString getNodeVersionBytes(); + + /** + * + * + *
+   * Optional. The configuration of the cluster control plane.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the controlPlane field is set. + */ + boolean hasControlPlane(); + /** + * + * + *
+   * Optional. The configuration of the cluster control plane.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The controlPlane. + */ + com.google.cloud.edgecontainer.v1.Cluster.ControlPlane getControlPlane(); + /** + * + * + *
+   * Optional. The configuration of the cluster control plane.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlane control_plane = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneOrBuilder getControlPlaneOrBuilder(); + + /** + * + * + *
+   * Optional. The configuration of the system add-ons.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the systemAddonsConfig field is set. + */ + boolean hasSystemAddonsConfig(); + /** + * + * + *
+   * Optional. The configuration of the system add-ons.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The systemAddonsConfig. + */ + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig getSystemAddonsConfig(); + /** + * + * + *
+   * Optional. The configuration of the system add-ons.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig system_addons_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfigOrBuilder + getSystemAddonsConfigOrBuilder(); + + /** + * + * + *
+   * Optional. IPv4 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the externalLoadBalancerIpv4AddressPools. + */ + java.util.List getExternalLoadBalancerIpv4AddressPoolsList(); + /** + * + * + *
+   * Optional. IPv4 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of externalLoadBalancerIpv4AddressPools. + */ + int getExternalLoadBalancerIpv4AddressPoolsCount(); + /** + * + * + *
+   * Optional. IPv4 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The externalLoadBalancerIpv4AddressPools at the given index. + */ + java.lang.String getExternalLoadBalancerIpv4AddressPools(int index); + /** + * + * + *
+   * Optional. IPv4 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv4_address_pools = 17 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the externalLoadBalancerIpv4AddressPools at the given index. + */ + com.google.protobuf.ByteString getExternalLoadBalancerIpv4AddressPoolsBytes(int index); + + /** + * + * + *
+   * Optional. Remote control plane disk encryption options. This field is only
+   * used when enabling CMEK support.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the controlPlaneEncryption field is set. + */ + boolean hasControlPlaneEncryption(); + /** + * + * + *
+   * Optional. Remote control plane disk encryption options. This field is only
+   * used when enabling CMEK support.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The controlPlaneEncryption. + */ + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption getControlPlaneEncryption(); + /** + * + * + *
+   * Optional. Remote control plane disk encryption options. This field is only
+   * used when enabling CMEK support.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption control_plane_encryption = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryptionOrBuilder + getControlPlaneEncryptionOrBuilder(); + + /** + * + * + *
+   * Output only. The current status of the cluster.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for status. + */ + int getStatusValue(); + /** + * + * + *
+   * Output only. The current status of the cluster.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.Status status = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The status. + */ + com.google.cloud.edgecontainer.v1.Cluster.Status getStatus(); + + /** + * + * + *
+   * Output only. All the maintenance events scheduled for the cluster,
+   * including the ones ongoing, planned for the future and done in the past (up
+   * to 90 days).
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getMaintenanceEventsList(); + /** + * + * + *
+   * Output only. All the maintenance events scheduled for the cluster,
+   * including the ones ongoing, planned for the future and done in the past (up
+   * to 90 days).
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent getMaintenanceEvents(int index); + /** + * + * + *
+   * Output only. All the maintenance events scheduled for the cluster,
+   * including the ones ongoing, planned for the future and done in the past (up
+   * to 90 days).
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getMaintenanceEventsCount(); + /** + * + * + *
+   * Output only. All the maintenance events scheduled for the cluster,
+   * including the ones ongoing, planned for the future and done in the past (up
+   * to 90 days).
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getMaintenanceEventsOrBuilderList(); + /** + * + * + *
+   * Output only. All the maintenance events scheduled for the cluster,
+   * including the ones ongoing, planned for the future and done in the past (up
+   * to 90 days).
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent maintenance_events = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventOrBuilder getMaintenanceEventsOrBuilder( + int index); + + /** + * + * + *
+   * Optional. The target cluster version. For example: "1.5.0".
+   * 
+ * + * string target_version = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The targetVersion. + */ + java.lang.String getTargetVersion(); + /** + * + * + *
+   * Optional. The target cluster version. For example: "1.5.0".
+   * 
+ * + * string target_version = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for targetVersion. + */ + com.google.protobuf.ByteString getTargetVersionBytes(); + + /** + * + * + *
+   * Optional. The release channel a cluster is subscribed to.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for releaseChannel. + */ + int getReleaseChannelValue(); + /** + * + * + *
+   * Optional. The release channel a cluster is subscribed to.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.ReleaseChannel release_channel = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The releaseChannel. + */ + com.google.cloud.edgecontainer.v1.Cluster.ReleaseChannel getReleaseChannel(); + + /** + * + * + *
+   * Optional. Configuration of the cluster survivability, e.g., for the case
+   * when network connectivity is lost. Note: This only applies to local control
+   * plane clusters.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the survivabilityConfig field is set. + */ + boolean hasSurvivabilityConfig(); + /** + * + * + *
+   * Optional. Configuration of the cluster survivability, e.g., for the case
+   * when network connectivity is lost. Note: This only applies to local control
+   * plane clusters.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The survivabilityConfig. + */ + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig getSurvivabilityConfig(); + /** + * + * + *
+   * Optional. Configuration of the cluster survivability, e.g., for the case
+   * when network connectivity is lost. Note: This only applies to local control
+   * plane clusters.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig survivability_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfigOrBuilder + getSurvivabilityConfigOrBuilder(); + + /** + * + * + *
+   * Optional. IPv6 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the externalLoadBalancerIpv6AddressPools. + */ + java.util.List getExternalLoadBalancerIpv6AddressPoolsList(); + /** + * + * + *
+   * Optional. IPv6 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of externalLoadBalancerIpv6AddressPools. + */ + int getExternalLoadBalancerIpv6AddressPoolsCount(); + /** + * + * + *
+   * Optional. IPv6 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The externalLoadBalancerIpv6AddressPools at the given index. + */ + java.lang.String getExternalLoadBalancerIpv6AddressPools(int index); + /** + * + * + *
+   * Optional. IPv6 address pools for cluster data plane external load
+   * balancing.
+   * 
+ * + * + * repeated string external_load_balancer_ipv6_address_pools = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the externalLoadBalancerIpv6AddressPools at the given index. + */ + com.google.protobuf.ByteString getExternalLoadBalancerIpv6AddressPoolsBytes(int index); } diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Fleet.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Fleet.java index 44febce7d86c..eca8068038f7 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Fleet.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Fleet.java @@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the Fleet host project where this cluster will be registered.
+   * Required. The name of the Fleet host project where this cluster will be
+   * registered.
    *
    * Project names are formatted as
    * `projects/<project-number>`.
@@ -102,7 +103,8 @@ public java.lang.String getProject() {
    *
    *
    * 
-   * Required. The name of the Fleet host project where this cluster will be registered.
+   * Required. The name of the Fleet host project where this cluster will be
+   * registered.
    *
    * Project names are formatted as
    * `projects/<project-number>`.
@@ -133,7 +135,8 @@ public com.google.protobuf.ByteString getProjectBytes() {
    *
    *
    * 
-   * Output only. The name of the managed Hub Membership resource associated to this cluster.
+   * Output only. The name of the managed Hub Membership resource associated to
+   * this cluster.
    *
    * Membership names are formatted as
    * `projects/<project-number>/locations/global/membership/<cluster-id>`.
@@ -159,7 +162,8 @@ public java.lang.String getMembership() {
    *
    *
    * 
-   * Output only. The name of the managed Hub Membership resource associated to this cluster.
+   * Output only. The name of the managed Hub Membership resource associated to
+   * this cluster.
    *
    * Membership names are formatted as
    * `projects/<project-number>/locations/global/membership/<cluster-id>`.
@@ -555,7 +559,8 @@ public Builder mergeFrom(
      *
      *
      * 
-     * Required. The name of the Fleet host project where this cluster will be registered.
+     * Required. The name of the Fleet host project where this cluster will be
+     * registered.
      *
      * Project names are formatted as
      * `projects/<project-number>`.
@@ -580,7 +585,8 @@ public java.lang.String getProject() {
      *
      *
      * 
-     * Required. The name of the Fleet host project where this cluster will be registered.
+     * Required. The name of the Fleet host project where this cluster will be
+     * registered.
      *
      * Project names are formatted as
      * `projects/<project-number>`.
@@ -605,7 +611,8 @@ public com.google.protobuf.ByteString getProjectBytes() {
      *
      *
      * 
-     * Required. The name of the Fleet host project where this cluster will be registered.
+     * Required. The name of the Fleet host project where this cluster will be
+     * registered.
      *
      * Project names are formatted as
      * `projects/<project-number>`.
@@ -629,7 +636,8 @@ public Builder setProject(java.lang.String value) {
      *
      *
      * 
-     * Required. The name of the Fleet host project where this cluster will be registered.
+     * Required. The name of the Fleet host project where this cluster will be
+     * registered.
      *
      * Project names are formatted as
      * `projects/<project-number>`.
@@ -649,7 +657,8 @@ public Builder clearProject() {
      *
      *
      * 
-     * Required. The name of the Fleet host project where this cluster will be registered.
+     * Required. The name of the Fleet host project where this cluster will be
+     * registered.
      *
      * Project names are formatted as
      * `projects/<project-number>`.
@@ -676,7 +685,8 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Output only. The name of the managed Hub Membership resource associated to this cluster.
+     * Output only. The name of the managed Hub Membership resource associated to
+     * this cluster.
      *
      * Membership names are formatted as
      * `projects/<project-number>/locations/global/membership/<cluster-id>`.
@@ -701,7 +711,8 @@ public java.lang.String getMembership() {
      *
      *
      * 
-     * Output only. The name of the managed Hub Membership resource associated to this cluster.
+     * Output only. The name of the managed Hub Membership resource associated to
+     * this cluster.
      *
      * Membership names are formatted as
      * `projects/<project-number>/locations/global/membership/<cluster-id>`.
@@ -726,7 +737,8 @@ public com.google.protobuf.ByteString getMembershipBytes() {
      *
      *
      * 
-     * Output only. The name of the managed Hub Membership resource associated to this cluster.
+     * Output only. The name of the managed Hub Membership resource associated to
+     * this cluster.
      *
      * Membership names are formatted as
      * `projects/<project-number>/locations/global/membership/<cluster-id>`.
@@ -750,7 +762,8 @@ public Builder setMembership(java.lang.String value) {
      *
      *
      * 
-     * Output only. The name of the managed Hub Membership resource associated to this cluster.
+     * Output only. The name of the managed Hub Membership resource associated to
+     * this cluster.
      *
      * Membership names are formatted as
      * `projects/<project-number>/locations/global/membership/<cluster-id>`.
@@ -770,7 +783,8 @@ public Builder clearMembership() {
      *
      *
      * 
-     * Output only. The name of the managed Hub Membership resource associated to this cluster.
+     * Output only. The name of the managed Hub Membership resource associated to
+     * this cluster.
      *
      * Membership names are formatted as
      * `projects/<project-number>/locations/global/membership/<cluster-id>`.
diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/FleetOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/FleetOrBuilder.java
index 8014c469fad2..30e3e399aba9 100644
--- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/FleetOrBuilder.java
+++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/FleetOrBuilder.java
@@ -28,7 +28,8 @@ public interface FleetOrBuilder
    *
    *
    * 
-   * Required. The name of the Fleet host project where this cluster will be registered.
+   * Required. The name of the Fleet host project where this cluster will be
+   * registered.
    *
    * Project names are formatted as
    * `projects/<project-number>`.
@@ -43,7 +44,8 @@ public interface FleetOrBuilder
    *
    *
    * 
-   * Required. The name of the Fleet host project where this cluster will be registered.
+   * Required. The name of the Fleet host project where this cluster will be
+   * registered.
    *
    * Project names are formatted as
    * `projects/<project-number>`.
@@ -59,7 +61,8 @@ public interface FleetOrBuilder
    *
    *
    * 
-   * Output only. The name of the managed Hub Membership resource associated to this cluster.
+   * Output only. The name of the managed Hub Membership resource associated to
+   * this cluster.
    *
    * Membership names are formatted as
    * `projects/<project-number>/locations/global/membership/<cluster-id>`.
@@ -74,7 +77,8 @@ public interface FleetOrBuilder
    *
    *
    * 
-   * Output only. The name of the managed Hub Membership resource associated to this cluster.
+   * Output only. The name of the managed Hub Membership resource associated to
+   * this cluster.
    *
    * Membership names are formatted as
    * `projects/<project-number>/locations/global/membership/<cluster-id>`.
diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialRequest.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialRequest.java
new file mode 100644
index 000000000000..cde64eb3ed30
--- /dev/null
+++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialRequest.java
@@ -0,0 +1,652 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/edgecontainer/v1/service.proto
+
+// Protobuf Java Version: 3.25.2
+package com.google.cloud.edgecontainer.v1;
+
+/**
+ *
+ *
+ * 
+ * Generates an offline credential(offline) for a cluster.
+ * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest} + */ +public final class GenerateOfflineCredentialRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest) + GenerateOfflineCredentialRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GenerateOfflineCredentialRequest.newBuilder() to construct. + private GenerateOfflineCredentialRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GenerateOfflineCredentialRequest() { + cluster_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GenerateOfflineCredentialRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest.class, + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest.Builder.class); + } + + public static final int CLUSTER_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object cluster_ = ""; + /** + * + * + *
+   * Required. The resource name of the cluster.
+   * 
+ * + * + * string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The cluster. + */ + @java.lang.Override + public java.lang.String getCluster() { + java.lang.Object ref = cluster_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + cluster_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the cluster.
+   * 
+ * + * + * string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for cluster. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClusterBytes() { + java.lang.Object ref = cluster_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + cluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cluster_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cluster_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cluster_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest other = + (com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest) obj; + + if (!getCluster().equals(other.getCluster())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CLUSTER_FIELD_NUMBER; + hash = (53 * hash) + getCluster().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest + 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.edgecontainer.v1.GenerateOfflineCredentialRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Generates an offline credential(offline) for a cluster.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest) + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest.class, + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest.Builder.class); + } + + // Construct using + // com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + cluster_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest + getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest build() { + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest buildPartial() { + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest result = + new com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.cluster_ = cluster_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest) { + return mergeFrom( + (com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest other) { + if (other + == com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest + .getDefaultInstance()) return this; + if (!other.getCluster().isEmpty()) { + cluster_ = other.cluster_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + cluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object cluster_ = ""; + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The cluster. + */ + public java.lang.String getCluster() { + java.lang.Object ref = cluster_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + cluster_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for cluster. + */ + public com.google.protobuf.ByteString getClusterBytes() { + java.lang.Object ref = cluster_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + cluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The cluster to set. + * @return This builder for chaining. + */ + public Builder setCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + cluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearCluster() { + cluster_ = getDefaultInstance().getCluster(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for cluster to set. + * @return This builder for chaining. + */ + public Builder setClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest) + private static final com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest(); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateOfflineCredentialRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialRequestOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialRequestOrBuilder.java new file mode 100644 index 000000000000..8c5b8cf2520e --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialRequestOrBuilder.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +public interface GenerateOfflineCredentialRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the cluster.
+   * 
+ * + * + * string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The cluster. + */ + java.lang.String getCluster(); + /** + * + * + *
+   * Required. The resource name of the cluster.
+   * 
+ * + * + * string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for cluster. + */ + com.google.protobuf.ByteString getClusterBytes(); +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialResponse.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialResponse.java new file mode 100644 index 000000000000..eae0741120b9 --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialResponse.java @@ -0,0 +1,1298 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +/** + * + * + *
+ * An offline credential for a cluster.
+ * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse} + */ +public final class GenerateOfflineCredentialResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse) + GenerateOfflineCredentialResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use GenerateOfflineCredentialResponse.newBuilder() to construct. + private GenerateOfflineCredentialResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GenerateOfflineCredentialResponse() { + clientCertificate_ = ""; + clientKey_ = ""; + userId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GenerateOfflineCredentialResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse.class, + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse.Builder.class); + } + + private int bitField0_; + public static final int CLIENT_CERTIFICATE_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientCertificate_ = ""; + /** + * + * + *
+   * Output only. Client certificate to authenticate to k8s api-server.
+   * 
+ * + * string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clientCertificate. + */ + @java.lang.Override + public java.lang.String getClientCertificate() { + java.lang.Object ref = clientCertificate_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientCertificate_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. Client certificate to authenticate to k8s api-server.
+   * 
+ * + * string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clientCertificate. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientCertificateBytes() { + java.lang.Object ref = clientCertificate_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientCertificate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLIENT_KEY_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object clientKey_ = ""; + /** + * + * + *
+   * Output only. Client private key to authenticate to k8s api-server.
+   * 
+ * + * string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clientKey. + */ + @java.lang.Override + public java.lang.String getClientKey() { + java.lang.Object ref = clientKey_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientKey_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. Client private key to authenticate to k8s api-server.
+   * 
+ * + * string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clientKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getClientKeyBytes() { + java.lang.Object ref = clientKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int USER_ID_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object userId_ = ""; + /** + * + * + *
+   * Output only. Client's identity.
+   * 
+ * + * string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The userId. + */ + @java.lang.Override + public java.lang.String getUserId() { + java.lang.Object ref = userId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userId_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. Client's identity.
+   * 
+ * + * string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for userId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUserIdBytes() { + java.lang.Object ref = userId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + userId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXPIRE_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp expireTime_; + /** + * + * + *
+   * Output only. Timestamp at which this credential will expire.
+   * 
+ * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the expireTime field is set. + */ + @java.lang.Override + public boolean hasExpireTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Output only. Timestamp at which this credential will expire.
+   * 
+ * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The expireTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getExpireTime() { + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + } + /** + * + * + *
+   * Output only. Timestamp at which this credential will expire.
+   * 
+ * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientCertificate_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clientCertificate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientKey_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clientKey_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, userId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(4, getExpireTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientCertificate_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clientCertificate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientKey_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clientKey_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExpireTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse other = + (com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse) obj; + + if (!getClientCertificate().equals(other.getClientCertificate())) return false; + if (!getClientKey().equals(other.getClientKey())) return false; + if (!getUserId().equals(other.getUserId())) return false; + if (hasExpireTime() != other.hasExpireTime()) return false; + if (hasExpireTime()) { + if (!getExpireTime().equals(other.getExpireTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CLIENT_CERTIFICATE_FIELD_NUMBER; + hash = (53 * hash) + getClientCertificate().hashCode(); + hash = (37 * hash) + CLIENT_KEY_FIELD_NUMBER; + hash = (53 * hash) + getClientKey().hashCode(); + hash = (37 * hash) + USER_ID_FIELD_NUMBER; + hash = (53 * hash) + getUserId().hashCode(); + if (hasExpireTime()) { + hash = (37 * hash) + EXPIRE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getExpireTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse + 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.edgecontainer.v1.GenerateOfflineCredentialResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * An offline credential for a cluster.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse) + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse.class, + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse.Builder.class); + } + + // Construct using + // com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getExpireTimeFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + clientCertificate_ = ""; + clientKey_ = ""; + userId_ = ""; + expireTime_ = null; + if (expireTimeBuilder_ != null) { + expireTimeBuilder_.dispose(); + expireTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse + getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse build() { + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse buildPartial() { + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse result = + new com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.clientCertificate_ = clientCertificate_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.clientKey_ = clientKey_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.userId_ = userId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse) { + return mergeFrom( + (com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse other) { + if (other + == com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse + .getDefaultInstance()) return this; + if (!other.getClientCertificate().isEmpty()) { + clientCertificate_ = other.clientCertificate_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getClientKey().isEmpty()) { + clientKey_ = other.clientKey_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getUserId().isEmpty()) { + userId_ = other.userId_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasExpireTime()) { + mergeExpireTime(other.getExpireTime()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + clientCertificate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clientKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + userId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object clientCertificate_ = ""; + /** + * + * + *
+     * Output only. Client certificate to authenticate to k8s api-server.
+     * 
+ * + * string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clientCertificate. + */ + public java.lang.String getClientCertificate() { + java.lang.Object ref = clientCertificate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientCertificate_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. Client certificate to authenticate to k8s api-server.
+     * 
+ * + * string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clientCertificate. + */ + public com.google.protobuf.ByteString getClientCertificateBytes() { + java.lang.Object ref = clientCertificate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientCertificate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. Client certificate to authenticate to k8s api-server.
+     * 
+ * + * string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clientCertificate to set. + * @return This builder for chaining. + */ + public Builder setClientCertificate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientCertificate_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Client certificate to authenticate to k8s api-server.
+     * 
+ * + * string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearClientCertificate() { + clientCertificate_ = getDefaultInstance().getClientCertificate(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Client certificate to authenticate to k8s api-server.
+     * 
+ * + * string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clientCertificate to set. + * @return This builder for chaining. + */ + public Builder setClientCertificateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientCertificate_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object clientKey_ = ""; + /** + * + * + *
+     * Output only. Client private key to authenticate to k8s api-server.
+     * 
+ * + * string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clientKey. + */ + public java.lang.String getClientKey() { + java.lang.Object ref = clientKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clientKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. Client private key to authenticate to k8s api-server.
+     * 
+ * + * string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clientKey. + */ + public com.google.protobuf.ByteString getClientKeyBytes() { + java.lang.Object ref = clientKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + clientKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. Client private key to authenticate to k8s api-server.
+     * 
+ * + * string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The clientKey to set. + * @return This builder for chaining. + */ + public Builder setClientKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + clientKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Client private key to authenticate to k8s api-server.
+     * 
+ * + * string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearClientKey() { + clientKey_ = getDefaultInstance().getClientKey(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Client private key to authenticate to k8s api-server.
+     * 
+ * + * string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for clientKey to set. + * @return This builder for chaining. + */ + public Builder setClientKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object userId_ = ""; + /** + * + * + *
+     * Output only. Client's identity.
+     * 
+ * + * string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The userId. + */ + public java.lang.String getUserId() { + java.lang.Object ref = userId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. Client's identity.
+     * 
+ * + * string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for userId. + */ + public com.google.protobuf.ByteString getUserIdBytes() { + java.lang.Object ref = userId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + userId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. Client's identity.
+     * 
+ * + * string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The userId to set. + * @return This builder for chaining. + */ + public Builder setUserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + userId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Client's identity.
+     * 
+ * + * string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearUserId() { + userId_ = getDefaultInstance().getUserId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Client's identity.
+     * 
+ * + * string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for userId to set. + * @return This builder for chaining. + */ + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp expireTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expireTimeBuilder_; + /** + * + * + *
+     * Output only. Timestamp at which this credential will expire.
+     * 
+ * + * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the expireTime field is set. + */ + public boolean hasExpireTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Output only. Timestamp at which this credential will expire.
+     * 
+ * + * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The expireTime. + */ + public com.google.protobuf.Timestamp getExpireTime() { + if (expireTimeBuilder_ == null) { + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; + } else { + return expireTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Timestamp at which this credential will expire.
+     * 
+ * + * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setExpireTime(com.google.protobuf.Timestamp value) { + if (expireTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + expireTime_ = value; + } else { + expireTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp at which this credential will expire.
+     * 
+ * + * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (expireTimeBuilder_ == null) { + expireTime_ = builderForValue.build(); + } else { + expireTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp at which this credential will expire.
+     * 
+ * + * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { + if (expireTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && expireTime_ != null + && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getExpireTimeBuilder().mergeFrom(value); + } else { + expireTime_ = value; + } + } else { + expireTimeBuilder_.mergeFrom(value); + } + if (expireTime_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Output only. Timestamp at which this credential will expire.
+     * 
+ * + * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearExpireTime() { + bitField0_ = (bitField0_ & ~0x00000008); + expireTime_ = null; + if (expireTimeBuilder_ != null) { + expireTimeBuilder_.dispose(); + expireTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp at which this credential will expire.
+     * 
+ * + * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getExpireTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Timestamp at which this credential will expire.
+     * 
+ * + * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { + if (expireTimeBuilder_ != null) { + return expireTimeBuilder_.getMessageOrBuilder(); + } else { + return expireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expireTime_; + } + } + /** + * + * + *
+     * Output only. Timestamp at which this credential will expire.
+     * 
+ * + * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getExpireTimeFieldBuilder() { + if (expireTimeBuilder_ == null) { + expireTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), getParentForChildren(), isClean()); + expireTime_ = null; + } + return expireTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse) + private static final com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse(); + } + + public static com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateOfflineCredentialResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialResponseOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialResponseOrBuilder.java new file mode 100644 index 000000000000..649adefb43fe --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GenerateOfflineCredentialResponseOrBuilder.java @@ -0,0 +1,139 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +public interface GenerateOfflineCredentialResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Client certificate to authenticate to k8s api-server.
+   * 
+ * + * string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clientCertificate. + */ + java.lang.String getClientCertificate(); + /** + * + * + *
+   * Output only. Client certificate to authenticate to k8s api-server.
+   * 
+ * + * string client_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clientCertificate. + */ + com.google.protobuf.ByteString getClientCertificateBytes(); + + /** + * + * + *
+   * Output only. Client private key to authenticate to k8s api-server.
+   * 
+ * + * string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The clientKey. + */ + java.lang.String getClientKey(); + /** + * + * + *
+   * Output only. Client private key to authenticate to k8s api-server.
+   * 
+ * + * string client_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for clientKey. + */ + com.google.protobuf.ByteString getClientKeyBytes(); + + /** + * + * + *
+   * Output only. Client's identity.
+   * 
+ * + * string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The userId. + */ + java.lang.String getUserId(); + /** + * + * + *
+   * Output only. Client's identity.
+   * 
+ * + * string user_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for userId. + */ + com.google.protobuf.ByteString getUserIdBytes(); + + /** + * + * + *
+   * Output only. Timestamp at which this credential will expire.
+   * 
+ * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the expireTime field is set. + */ + boolean hasExpireTime(); + /** + * + * + *
+   * Output only. Timestamp at which this credential will expire.
+   * 
+ * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The expireTime. + */ + com.google.protobuf.Timestamp getExpireTime(); + /** + * + * + *
+   * Output only. Timestamp at which this credential will expire.
+   * 
+ * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GetServerConfigRequest.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GetServerConfigRequest.java new file mode 100644 index 000000000000..ea30baaa301f --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GetServerConfigRequest.java @@ -0,0 +1,647 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +/** + * + * + *
+ * Gets the server config.
+ * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.GetServerConfigRequest} + */ +public final class GetServerConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.GetServerConfigRequest) + GetServerConfigRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetServerConfigRequest.newBuilder() to construct. + private GetServerConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetServerConfigRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetServerConfigRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GetServerConfigRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GetServerConfigRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.GetServerConfigRequest.class, + com.google.cloud.edgecontainer.v1.GetServerConfigRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name (project and location) of the server config to get,
+   * specified in the format `projects/*/locations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name (project and location) of the server config to get,
+   * specified in the format `projects/*/locations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.GetServerConfigRequest)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.GetServerConfigRequest other = + (com.google.cloud.edgecontainer.v1.GetServerConfigRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest 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.edgecontainer.v1.GetServerConfigRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.GetServerConfigRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Gets the server config.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.GetServerConfigRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.GetServerConfigRequest) + com.google.cloud.edgecontainer.v1.GetServerConfigRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GetServerConfigRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GetServerConfigRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.GetServerConfigRequest.class, + com.google.cloud.edgecontainer.v1.GetServerConfigRequest.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.GetServerConfigRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_GetServerConfigRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GetServerConfigRequest getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.GetServerConfigRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GetServerConfigRequest build() { + com.google.cloud.edgecontainer.v1.GetServerConfigRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GetServerConfigRequest buildPartial() { + com.google.cloud.edgecontainer.v1.GetServerConfigRequest result = + new com.google.cloud.edgecontainer.v1.GetServerConfigRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.edgecontainer.v1.GetServerConfigRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.GetServerConfigRequest) { + return mergeFrom((com.google.cloud.edgecontainer.v1.GetServerConfigRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.edgecontainer.v1.GetServerConfigRequest other) { + if (other == com.google.cloud.edgecontainer.v1.GetServerConfigRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The name (project and location) of the server config to get,
+     * specified in the format `projects/*/locations/*`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name (project and location) of the server config to get,
+     * specified in the format `projects/*/locations/*`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name (project and location) of the server config to get,
+     * specified in the format `projects/*/locations/*`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name (project and location) of the server config to get,
+     * specified in the format `projects/*/locations/*`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name (project and location) of the server config to get,
+     * specified in the format `projects/*/locations/*`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.GetServerConfigRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.GetServerConfigRequest) + private static final com.google.cloud.edgecontainer.v1.GetServerConfigRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.GetServerConfigRequest(); + } + + public static com.google.cloud.edgecontainer.v1.GetServerConfigRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetServerConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.GetServerConfigRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GetServerConfigRequestOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GetServerConfigRequestOrBuilder.java new file mode 100644 index 000000000000..38f2685d4411 --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/GetServerConfigRequestOrBuilder.java @@ -0,0 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +public interface GetServerConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.GetServerConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name (project and location) of the server config to get,
+   * specified in the format `projects/*/locations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name (project and location) of the server config to get,
+   * specified in the format `projects/*/locations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ListVpnConnectionsRequest.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ListVpnConnectionsRequest.java index def0bdf0993b..f9741f026b4a 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ListVpnConnectionsRequest.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ListVpnConnectionsRequest.java @@ -74,7 +74,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The parent location, which owns this collection of VPN connections.
+   * Required. The parent location, which owns this collection of VPN
+   * connections.
    * 
* * @@ -99,7 +100,8 @@ public java.lang.String getParent() { * * *
-   * Required. The parent location, which owns this collection of VPN connections.
+   * Required. The parent location, which owns this collection of VPN
+   * connections.
    * 
* * @@ -734,7 +736,8 @@ public Builder mergeFrom( * * *
-     * Required. The parent location, which owns this collection of VPN connections.
+     * Required. The parent location, which owns this collection of VPN
+     * connections.
      * 
* * @@ -758,7 +761,8 @@ public java.lang.String getParent() { * * *
-     * Required. The parent location, which owns this collection of VPN connections.
+     * Required. The parent location, which owns this collection of VPN
+     * connections.
      * 
* * @@ -782,7 +786,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The parent location, which owns this collection of VPN connections.
+     * Required. The parent location, which owns this collection of VPN
+     * connections.
      * 
* * @@ -805,7 +810,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The parent location, which owns this collection of VPN connections.
+     * Required. The parent location, which owns this collection of VPN
+     * connections.
      * 
* * @@ -824,7 +830,8 @@ public Builder clearParent() { * * *
-     * Required. The parent location, which owns this collection of VPN connections.
+     * Required. The parent location, which owns this collection of VPN
+     * connections.
      * 
* * diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ListVpnConnectionsRequestOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ListVpnConnectionsRequestOrBuilder.java index 62033da446ca..a54755e8639f 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ListVpnConnectionsRequestOrBuilder.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ListVpnConnectionsRequestOrBuilder.java @@ -28,7 +28,8 @@ public interface ListVpnConnectionsRequestOrBuilder * * *
-   * Required. The parent location, which owns this collection of VPN connections.
+   * Required. The parent location, which owns this collection of VPN
+   * connections.
    * 
* * @@ -42,7 +43,8 @@ public interface ListVpnConnectionsRequestOrBuilder * * *
-   * Required. The parent location, which owns this collection of VPN connections.
+   * Required. The parent location, which owns this collection of VPN
+   * connections.
    * 
* * diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/LocationMetadata.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/LocationMetadata.java index cc348cde645f..5c1ecbb38c02 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/LocationMetadata.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/LocationMetadata.java @@ -23,7 +23,8 @@ * * *
- * Metadata for a given [google.cloud.location.Location][google.cloud.location.Location].
+ * Metadata for a given
+ * [google.cloud.location.Location][google.cloud.location.Location].
  * 
* * Protobuf type {@code google.cloud.edgecontainer.v1.LocationMetadata} @@ -369,7 +370,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Metadata for a given [google.cloud.location.Location][google.cloud.location.Location].
+   * Metadata for a given
+   * [google.cloud.location.Location][google.cloud.location.Location].
    * 
* * Protobuf type {@code google.cloud.edgecontainer.v1.LocationMetadata} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Machine.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Machine.java index f6b10da37431..ff9dbe051a25 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Machine.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Machine.java @@ -43,6 +43,7 @@ private Machine() { name_ = ""; hostedNode_ = ""; zone_ = ""; + version_ = ""; } @java.lang.Override @@ -346,6 +347,10 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * hosting e.g. * projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, * Or empty if the machine is not assigned to assume the role of a node. + * + * For control plane nodes hosted on edge machines, this will return + * the following format: + * "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}". *
* * string hosted_node = 5; @@ -372,6 +377,10 @@ public java.lang.String getHostedNode() { * hosting e.g. * projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, * Or empty if the machine is not assigned to assume the role of a node. + * + * For control plane nodes hosted on edge machines, this will return + * the following format: + * "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}". *
* * string hosted_node = 5; @@ -442,14 +451,65 @@ public com.google.protobuf.ByteString getZoneBytes() { } } + public static final int VERSION_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private volatile java.lang.Object version_ = ""; + /** + * + * + *
+   * Output only. The software version of the machine.
+   * 
+ * + * string version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The software version of the machine.
+   * 
+ * + * string version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int DISABLED_FIELD_NUMBER = 8; private boolean disabled_ = false; /** * * *
-   * Output only. Whether the machine is disabled. If disabled, the machine is unable to
-   * enter service.
+   * Output only. Whether the machine is disabled. If disabled, the machine is
+   * unable to enter service.
    * 
* * bool disabled = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -492,6 +552,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, zone_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, version_); + } if (disabled_ != false) { output.writeBool(8, disabled_); } @@ -529,6 +592,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, zone_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, version_); + } if (disabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, disabled_); } @@ -560,6 +626,7 @@ public boolean equals(final java.lang.Object obj) { if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getHostedNode().equals(other.getHostedNode())) return false; if (!getZone().equals(other.getZone())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (getDisabled() != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -590,6 +657,8 @@ public int hashCode() { hash = (53 * hash) + getHostedNode().hashCode(); hash = (37 * hash) + ZONE_FIELD_NUMBER; hash = (53 * hash) + getZone().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -778,6 +847,7 @@ public Builder clear() { internalGetMutableLabels().clear(); hostedNode_ = ""; zone_ = ""; + version_ = ""; disabled_ = false; return this; } @@ -838,6 +908,9 @@ private void buildPartial0(com.google.cloud.edgecontainer.v1.Machine result) { result.zone_ = zone_; } if (((from_bitField0_ & 0x00000040) != 0)) { + result.version_ = version_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { result.disabled_ = disabled_; } result.bitField0_ |= to_bitField0_; @@ -911,6 +984,11 @@ public Builder mergeFrom(com.google.cloud.edgecontainer.v1.Machine other) { bitField0_ |= 0x00000020; onChanged(); } + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + bitField0_ |= 0x00000040; + onChanged(); + } if (other.getDisabled() != false) { setDisabled(other.getDisabled()); } @@ -982,10 +1060,16 @@ public Builder mergeFrom( bitField0_ |= 0x00000020; break; } // case 50 + case 58: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 case 64: { disabled_ = input.readBool(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case 64 default: @@ -1701,6 +1785,10 @@ public Builder putAllLabels(java.util.Map va * hosting e.g. * projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, * Or empty if the machine is not assigned to assume the role of a node. + * + * For control plane nodes hosted on edge machines, this will return + * the following format: + * "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}". *
* * string hosted_node = 5; @@ -1726,6 +1814,10 @@ public java.lang.String getHostedNode() { * hosting e.g. * projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, * Or empty if the machine is not assigned to assume the role of a node. + * + * For control plane nodes hosted on edge machines, this will return + * the following format: + * "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}". *
* * string hosted_node = 5; @@ -1751,6 +1843,10 @@ public com.google.protobuf.ByteString getHostedNodeBytes() { * hosting e.g. * projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, * Or empty if the machine is not assigned to assume the role of a node. + * + * For control plane nodes hosted on edge machines, this will return + * the following format: + * "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}". *
* * string hosted_node = 5; @@ -1775,6 +1871,10 @@ public Builder setHostedNode(java.lang.String value) { * hosting e.g. * projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, * Or empty if the machine is not assigned to assume the role of a node. + * + * For control plane nodes hosted on edge machines, this will return + * the following format: + * "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}". *
* * string hosted_node = 5; @@ -1795,6 +1895,10 @@ public Builder clearHostedNode() { * hosting e.g. * projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, * Or empty if the machine is not assigned to assume the role of a node. + * + * For control plane nodes hosted on edge machines, this will return + * the following format: + * "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}". *
* * string hosted_node = 5; @@ -1919,13 +2023,119 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object version_ = ""; + /** + * + * + *
+     * Output only. The software version of the machine.
+     * 
+ * + * string version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The software version of the machine.
+     * 
+ * + * string version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for version. + */ + public com.google.protobuf.ByteString getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The software version of the machine.
+     * 
+ * + * string version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + version_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The software version of the machine.
+     * 
+ * + * string version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearVersion() { + version_ = getDefaultInstance().getVersion(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The software version of the machine.
+     * 
+ * + * string version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + private boolean disabled_; /** * * *
-     * Output only. Whether the machine is disabled. If disabled, the machine is unable to
-     * enter service.
+     * Output only. Whether the machine is disabled. If disabled, the machine is
+     * unable to enter service.
      * 
* * bool disabled = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1940,8 +2150,8 @@ public boolean getDisabled() { * * *
-     * Output only. Whether the machine is disabled. If disabled, the machine is unable to
-     * enter service.
+     * Output only. Whether the machine is disabled. If disabled, the machine is
+     * unable to enter service.
      * 
* * bool disabled = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1952,7 +2162,7 @@ public boolean getDisabled() { public Builder setDisabled(boolean value) { disabled_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -1960,8 +2170,8 @@ public Builder setDisabled(boolean value) { * * *
-     * Output only. Whether the machine is disabled. If disabled, the machine is unable to
-     * enter service.
+     * Output only. Whether the machine is disabled. If disabled, the machine is
+     * unable to enter service.
      * 
* * bool disabled = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1969,7 +2179,7 @@ public Builder setDisabled(boolean value) { * @return This builder for chaining. */ public Builder clearDisabled() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); disabled_ = false; onChanged(); return this; diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/MachineOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/MachineOrBuilder.java index f9222bc85e3d..6e54afa32bbc 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/MachineOrBuilder.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/MachineOrBuilder.java @@ -195,6 +195,10 @@ java.lang.String getLabelsOrDefault( * hosting e.g. * projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, * Or empty if the machine is not assigned to assume the role of a node. + * + * For control plane nodes hosted on edge machines, this will return + * the following format: + * "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}". *
* * string hosted_node = 5; @@ -210,6 +214,10 @@ java.lang.String getLabelsOrDefault( * hosting e.g. * projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, * Or empty if the machine is not assigned to assume the role of a node. + * + * For control plane nodes hosted on edge machines, this will return + * the following format: + * "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}". *
* * string hosted_node = 5; @@ -247,8 +255,33 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. Whether the machine is disabled. If disabled, the machine is unable to
-   * enter service.
+   * Output only. The software version of the machine.
+   * 
+ * + * string version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The version. + */ + java.lang.String getVersion(); + /** + * + * + *
+   * Output only. The software version of the machine.
+   * 
+ * + * string version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for version. + */ + com.google.protobuf.ByteString getVersionBytes(); + + /** + * + * + *
+   * Output only. Whether the machine is disabled. If disabled, the machine is
+   * unable to enter service.
    * 
* * bool disabled = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/NodePool.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/NodePool.java index beb13ba86a4a..0a11a45d15ca 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/NodePool.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/NodePool.java @@ -43,6 +43,7 @@ private NodePool() { name_ = ""; nodeLocation_ = ""; machineFilter_ = ""; + nodeVersion_ = ""; } @java.lang.Override @@ -122,8 +123,8 @@ public interface LocalDiskEncryptionOrBuilder * * *
-     * Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local
-     * disks. Only applicable if kms_key is set.
+     * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+     * protecting node local disks. Only applicable if kms_key is set.
      * 
* * @@ -137,8 +138,8 @@ public interface LocalDiskEncryptionOrBuilder * * *
-     * Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local
-     * disks. Only applicable if kms_key is set.
+     * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+     * protecting node local disks. Only applicable if kms_key is set.
      * 
* * @@ -153,10 +154,10 @@ public interface LocalDiskEncryptionOrBuilder * * *
-     * Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then
-     * nodes may go offline as they cannot access their local data. This can be
-     * caused by a lack of permissions to use the key, or if the key is disabled
-     * or deleted.
+     * Output only. Availability of the Cloud KMS CryptoKey. If not
+     * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+     * local data. This can be caused by a lack of permissions to use the key,
+     * or if the key is disabled or deleted.
      * 
* * @@ -170,10 +171,10 @@ public interface LocalDiskEncryptionOrBuilder * * *
-     * Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then
-     * nodes may go offline as they cannot access their local data. This can be
-     * caused by a lack of permissions to use the key, or if the key is disabled
-     * or deleted.
+     * Output only. Availability of the Cloud KMS CryptoKey. If not
+     * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+     * local data. This can be caused by a lack of permissions to use the key,
+     * or if the key is disabled or deleted.
      * 
* * @@ -188,9 +189,10 @@ public interface LocalDiskEncryptionOrBuilder * * *
-     * Output only. Error status returned by Cloud KMS when using this key. This field may be
-     * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-     * If populated, this field contains the error status reported by Cloud KMS.
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
      * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -202,9 +204,10 @@ public interface LocalDiskEncryptionOrBuilder * * *
-     * Output only. Error status returned by Cloud KMS when using this key. This field may be
-     * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-     * If populated, this field contains the error status reported by Cloud KMS.
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
      * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -216,9 +219,10 @@ public interface LocalDiskEncryptionOrBuilder * * *
-     * Output only. Error status returned by Cloud KMS when using this key. This field may be
-     * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-     * If populated, this field contains the error status reported by Cloud KMS.
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
      * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -341,8 +345,8 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { * * *
-     * Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local
-     * disks. Only applicable if kms_key is set.
+     * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+     * protecting node local disks. Only applicable if kms_key is set.
      * 
* * @@ -367,8 +371,8 @@ public java.lang.String getKmsKeyActiveVersion() { * * *
-     * Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local
-     * disks. Only applicable if kms_key is set.
+     * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+     * protecting node local disks. Only applicable if kms_key is set.
      * 
* * @@ -396,10 +400,10 @@ public com.google.protobuf.ByteString getKmsKeyActiveVersionBytes() { * * *
-     * Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then
-     * nodes may go offline as they cannot access their local data. This can be
-     * caused by a lack of permissions to use the key, or if the key is disabled
-     * or deleted.
+     * Output only. Availability of the Cloud KMS CryptoKey. If not
+     * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+     * local data. This can be caused by a lack of permissions to use the key,
+     * or if the key is disabled or deleted.
      * 
* * @@ -416,10 +420,10 @@ public int getKmsKeyStateValue() { * * *
-     * Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then
-     * nodes may go offline as they cannot access their local data. This can be
-     * caused by a lack of permissions to use the key, or if the key is disabled
-     * or deleted.
+     * Output only. Availability of the Cloud KMS CryptoKey. If not
+     * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+     * local data. This can be caused by a lack of permissions to use the key,
+     * or if the key is disabled or deleted.
      * 
* * @@ -441,9 +445,10 @@ public com.google.cloud.edgecontainer.v1.KmsKeyState getKmsKeyState() { * * *
-     * Output only. Error status returned by Cloud KMS when using this key. This field may be
-     * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-     * If populated, this field contains the error status reported by Cloud KMS.
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
      * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -458,9 +463,10 @@ public boolean hasKmsStatus() { * * *
-     * Output only. Error status returned by Cloud KMS when using this key. This field may be
-     * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-     * If populated, this field contains the error status reported by Cloud KMS.
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
      * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -475,9 +481,10 @@ public com.google.rpc.Status getKmsStatus() { * * *
-     * Output only. Error status returned by Cloud KMS when using this key. This field may be
-     * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-     * If populated, this field contains the error status reported by Cloud KMS.
+     * Output only. Error status returned by Cloud KMS when using this key. This
+     * field may be populated only if `kms_key_state` is not
+     * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+     * error status reported by Cloud KMS.
      * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1065,8 +1072,8 @@ public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { * * *
-       * Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local
-       * disks. Only applicable if kms_key is set.
+       * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+       * protecting node local disks. Only applicable if kms_key is set.
        * 
* * @@ -1090,8 +1097,8 @@ public java.lang.String getKmsKeyActiveVersion() { * * *
-       * Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local
-       * disks. Only applicable if kms_key is set.
+       * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+       * protecting node local disks. Only applicable if kms_key is set.
        * 
* * @@ -1115,8 +1122,8 @@ public com.google.protobuf.ByteString getKmsKeyActiveVersionBytes() { * * *
-       * Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local
-       * disks. Only applicable if kms_key is set.
+       * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+       * protecting node local disks. Only applicable if kms_key is set.
        * 
* * @@ -1139,8 +1146,8 @@ public Builder setKmsKeyActiveVersion(java.lang.String value) { * * *
-       * Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local
-       * disks. Only applicable if kms_key is set.
+       * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+       * protecting node local disks. Only applicable if kms_key is set.
        * 
* * @@ -1159,8 +1166,8 @@ public Builder clearKmsKeyActiveVersion() { * * *
-       * Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local
-       * disks. Only applicable if kms_key is set.
+       * Output only. The Cloud KMS CryptoKeyVersion currently in use for
+       * protecting node local disks. Only applicable if kms_key is set.
        * 
* * @@ -1186,10 +1193,10 @@ public Builder setKmsKeyActiveVersionBytes(com.google.protobuf.ByteString value) * * *
-       * Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then
-       * nodes may go offline as they cannot access their local data. This can be
-       * caused by a lack of permissions to use the key, or if the key is disabled
-       * or deleted.
+       * Output only. Availability of the Cloud KMS CryptoKey. If not
+       * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+       * local data. This can be caused by a lack of permissions to use the key,
+       * or if the key is disabled or deleted.
        * 
* * @@ -1206,10 +1213,10 @@ public int getKmsKeyStateValue() { * * *
-       * Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then
-       * nodes may go offline as they cannot access their local data. This can be
-       * caused by a lack of permissions to use the key, or if the key is disabled
-       * or deleted.
+       * Output only. Availability of the Cloud KMS CryptoKey. If not
+       * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+       * local data. This can be caused by a lack of permissions to use the key,
+       * or if the key is disabled or deleted.
        * 
* * @@ -1229,10 +1236,10 @@ public Builder setKmsKeyStateValue(int value) { * * *
-       * Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then
-       * nodes may go offline as they cannot access their local data. This can be
-       * caused by a lack of permissions to use the key, or if the key is disabled
-       * or deleted.
+       * Output only. Availability of the Cloud KMS CryptoKey. If not
+       * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+       * local data. This can be caused by a lack of permissions to use the key,
+       * or if the key is disabled or deleted.
        * 
* * @@ -1251,10 +1258,10 @@ public com.google.cloud.edgecontainer.v1.KmsKeyState getKmsKeyState() { * * *
-       * Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then
-       * nodes may go offline as they cannot access their local data. This can be
-       * caused by a lack of permissions to use the key, or if the key is disabled
-       * or deleted.
+       * Output only. Availability of the Cloud KMS CryptoKey. If not
+       * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+       * local data. This can be caused by a lack of permissions to use the key,
+       * or if the key is disabled or deleted.
        * 
* * @@ -1277,10 +1284,10 @@ public Builder setKmsKeyState(com.google.cloud.edgecontainer.v1.KmsKeyState valu * * *
-       * Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then
-       * nodes may go offline as they cannot access their local data. This can be
-       * caused by a lack of permissions to use the key, or if the key is disabled
-       * or deleted.
+       * Output only. Availability of the Cloud KMS CryptoKey. If not
+       * `KEY_AVAILABLE`, then nodes may go offline as they cannot access their
+       * local data. This can be caused by a lack of permissions to use the key,
+       * or if the key is disabled or deleted.
        * 
* * @@ -1304,9 +1311,10 @@ public Builder clearKmsKeyState() { * * *
-       * Output only. Error status returned by Cloud KMS when using this key. This field may be
-       * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-       * If populated, this field contains the error status reported by Cloud KMS.
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
        * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1321,9 +1329,10 @@ public boolean hasKmsStatus() { * * *
-       * Output only. Error status returned by Cloud KMS when using this key. This field may be
-       * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-       * If populated, this field contains the error status reported by Cloud KMS.
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
        * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1342,9 +1351,10 @@ public com.google.rpc.Status getKmsStatus() { * * *
-       * Output only. Error status returned by Cloud KMS when using this key. This field may be
-       * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-       * If populated, this field contains the error status reported by Cloud KMS.
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
        * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1367,9 +1377,10 @@ public Builder setKmsStatus(com.google.rpc.Status value) { * * *
-       * Output only. Error status returned by Cloud KMS when using this key. This field may be
-       * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-       * If populated, this field contains the error status reported by Cloud KMS.
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
        * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1389,9 +1400,10 @@ public Builder setKmsStatus(com.google.rpc.Status.Builder builderForValue) { * * *
-       * Output only. Error status returned by Cloud KMS when using this key. This field may be
-       * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-       * If populated, this field contains the error status reported by Cloud KMS.
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
        * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1419,9 +1431,10 @@ public Builder mergeKmsStatus(com.google.rpc.Status value) { * * *
-       * Output only. Error status returned by Cloud KMS when using this key. This field may be
-       * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-       * If populated, this field contains the error status reported by Cloud KMS.
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
        * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1441,9 +1454,10 @@ public Builder clearKmsStatus() { * * *
-       * Output only. Error status returned by Cloud KMS when using this key. This field may be
-       * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-       * If populated, this field contains the error status reported by Cloud KMS.
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
        * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1458,9 +1472,10 @@ public com.google.rpc.Status.Builder getKmsStatusBuilder() { * * *
-       * Output only. Error status returned by Cloud KMS when using this key. This field may be
-       * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-       * If populated, this field contains the error status reported by Cloud KMS.
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
        * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1477,9 +1492,10 @@ public com.google.rpc.StatusOrBuilder getKmsStatusOrBuilder() { * * *
-       * Output only. Error status returned by Cloud KMS when using this key. This field may be
-       * populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`.
-       * If populated, this field contains the error status reported by Cloud KMS.
+       * Output only. Error status returned by Cloud KMS when using this key. This
+       * field may be populated only if `kms_key_state` is not
+       * `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the
+       * error status reported by Cloud KMS.
        * 
* * .google.rpc.Status kms_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1567,6 +1583,840 @@ public com.google.protobuf.Parser getParserForType() { } } + public interface NodeConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.NodePool.NodeConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Optional. The Kubernetes node labels
+     * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getLabelsCount(); + /** + * + * + *
+     * Optional. The Kubernetes node labels
+     * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + /** + * + * + *
+     * Optional. The Kubernetes node labels
+     * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.Map getLabelsMap(); + /** + * + * + *
+     * Optional. The Kubernetes node labels
+     * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + /** + * + * + *
+     * Optional. The Kubernetes node labels
+     * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); + } + /** + * + * + *
+   * Configuration for each node in the NodePool
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.NodePool.NodeConfig} + */ + public static final class NodeConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.NodePool.NodeConfig) + NodeConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use NodeConfig.newBuilder() to construct. + private NodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NodeConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NodeConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.class, + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.Builder.class); + } + + public static final int LABELS_FIELD_NUMBER = 1; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+     * Optional. The Kubernetes node labels
+     * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+     * Optional. The Kubernetes node labels
+     * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+     * Optional. The Kubernetes node labels
+     * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Optional. The Kubernetes node labels
+     * 
+ * + * map<string, string> labels = 1 [(.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(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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(1, labels__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.NodePool.NodeConfig)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig other = + (com.google.cloud.edgecontainer.v1.NodePool.NodeConfig) obj; + + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig 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.edgecontainer.v1.NodePool.NodeConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Configuration for each node in the NodePool
+     * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.NodePool.NodeConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.NodePool.NodeConfig) + com.google.cloud.edgecontainer.v1.NodePool.NodeConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.class, + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableLabels().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.NodePool.NodeConfig getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.NodePool.NodeConfig build() { + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.NodePool.NodeConfig buildPartial() { + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig result = + new com.google.cloud.edgecontainer.v1.NodePool.NodeConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.edgecontainer.v1.NodePool.NodeConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.NodePool.NodeConfig) { + return mergeFrom((com.google.cloud.edgecontainer.v1.NodePool.NodeConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.edgecontainer.v1.NodePool.NodeConfig other) { + if (other == com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.getDefaultInstance()) + return this; + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField0_ |= 0x00000001; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + private com.google.protobuf.MapField + internalGetMutableLabels() { + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+       * Optional. The Kubernetes node labels
+       * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+       * Optional. The Kubernetes node labels
+       * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+       * Optional. The Kubernetes node labels
+       * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+       * Optional. The Kubernetes node labels
+       * 
+ * + * map<string, string> labels = 1 [(.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(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + /** + * + * + *
+       * Optional. The Kubernetes node labels
+       * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + 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. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + bitField0_ |= 0x00000001; + return internalGetMutableLabels().getMutableMap(); + } + /** + * + * + *
+       * Optional. The Kubernetes node labels
+       * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+       * Optional. The Kubernetes node labels
+       * 
+ * + * map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField0_ |= 0x00000001; + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.NodePool.NodeConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.NodePool.NodeConfig) + private static final com.google.cloud.edgecontainer.v1.NodePool.NodeConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.NodePool.NodeConfig(); + } + + public static com.google.cloud.edgecontainer.v1.NodePool.NodeConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.NodePool.NodeConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @@ -1894,32 +2744,145 @@ public int getNodeCount() { return nodeCount_; } - public static final int MACHINE_FILTER_FIELD_NUMBER = 7; + public static final int MACHINE_FILTER_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private volatile java.lang.Object machineFilter_ = ""; + /** + * + * + *
+   * Only machines matching this filter will be allowed to join the node pool.
+   * The filtering language accepts strings like "name=<name>", and is
+   * documented in more detail in [AIP-160](https://google.aip.dev/160).
+   * 
+ * + * string machine_filter = 7; + * + * @return The machineFilter. + */ + @java.lang.Override + public java.lang.String getMachineFilter() { + java.lang.Object ref = machineFilter_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + machineFilter_ = s; + return s; + } + } + /** + * + * + *
+   * Only machines matching this filter will be allowed to join the node pool.
+   * The filtering language accepts strings like "name=<name>", and is
+   * documented in more detail in [AIP-160](https://google.aip.dev/160).
+   * 
+ * + * string machine_filter = 7; + * + * @return The bytes for machineFilter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getMachineFilterBytes() { + java.lang.Object ref = machineFilter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + machineFilter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LOCAL_DISK_ENCRYPTION_FIELD_NUMBER = 9; + private com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption localDiskEncryption_; + /** + * + * + *
+   * Optional. Local disk encryption options. This field is only used when
+   * enabling CMEK support.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the localDiskEncryption field is set. + */ + @java.lang.Override + public boolean hasLocalDiskEncryption() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Optional. Local disk encryption options. This field is only used when
+   * enabling CMEK support.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The localDiskEncryption. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption getLocalDiskEncryption() { + return localDiskEncryption_ == null + ? com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption.getDefaultInstance() + : localDiskEncryption_; + } + /** + * + * + *
+   * Optional. Local disk encryption options. This field is only used when
+   * enabling CMEK support.
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryptionOrBuilder + getLocalDiskEncryptionOrBuilder() { + return localDiskEncryption_ == null + ? com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption.getDefaultInstance() + : localDiskEncryption_; + } + + public static final int NODE_VERSION_FIELD_NUMBER = 10; @SuppressWarnings("serial") - private volatile java.lang.Object machineFilter_ = ""; + private volatile java.lang.Object nodeVersion_ = ""; /** * * *
-   * Only machines matching this filter will be allowed to join the node pool.
-   * The filtering language accepts strings like "name=<name>", and is
-   * documented in more detail in [AIP-160](https://google.aip.dev/160).
+   * Output only. The lowest release version among all worker nodes.
    * 
* - * string machine_filter = 7; + * string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * @return The machineFilter. + * @return The nodeVersion. */ @java.lang.Override - public java.lang.String getMachineFilter() { - java.lang.Object ref = machineFilter_; + public java.lang.String getNodeVersion() { + java.lang.Object ref = nodeVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - machineFilter_ = s; + nodeVersion_ = s; return s; } } @@ -1927,86 +2890,80 @@ public java.lang.String getMachineFilter() { * * *
-   * Only machines matching this filter will be allowed to join the node pool.
-   * The filtering language accepts strings like "name=<name>", and is
-   * documented in more detail in [AIP-160](https://google.aip.dev/160).
+   * Output only. The lowest release version among all worker nodes.
    * 
* - * string machine_filter = 7; + * string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * @return The bytes for machineFilter. + * @return The bytes for nodeVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineFilterBytes() { - java.lang.Object ref = machineFilter_; + public com.google.protobuf.ByteString getNodeVersionBytes() { + java.lang.Object ref = nodeVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - machineFilter_ = b; + nodeVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int LOCAL_DISK_ENCRYPTION_FIELD_NUMBER = 9; - private com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption localDiskEncryption_; + public static final int NODE_CONFIG_FIELD_NUMBER = 11; + private com.google.cloud.edgecontainer.v1.NodePool.NodeConfig nodeConfig_; /** * * *
-   * Optional. Local disk encryption options. This field is only used when enabling CMEK
-   * support.
+   * Optional. Configuration for each node in the NodePool
    * 
* * - * .google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return Whether the localDiskEncryption field is set. + * @return Whether the nodeConfig field is set. */ @java.lang.Override - public boolean hasLocalDiskEncryption() { - return ((bitField0_ & 0x00000004) != 0); + public boolean hasNodeConfig() { + return ((bitField0_ & 0x00000008) != 0); } /** * * *
-   * Optional. Local disk encryption options. This field is only used when enabling CMEK
-   * support.
+   * Optional. Configuration for each node in the NodePool
    * 
* * - * .google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return The localDiskEncryption. + * @return The nodeConfig. */ @java.lang.Override - public com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption getLocalDiskEncryption() { - return localDiskEncryption_ == null - ? com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption.getDefaultInstance() - : localDiskEncryption_; + public com.google.cloud.edgecontainer.v1.NodePool.NodeConfig getNodeConfig() { + return nodeConfig_ == null + ? com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.getDefaultInstance() + : nodeConfig_; } /** * * *
-   * Optional. Local disk encryption options. This field is only used when enabling CMEK
-   * support.
+   * Optional. Configuration for each node in the NodePool
    * 
* * - * .google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption local_disk_encryption = 9 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override - public com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryptionOrBuilder - getLocalDiskEncryptionOrBuilder() { - return localDiskEncryption_ == null - ? com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption.getDefaultInstance() - : localDiskEncryption_; + public com.google.cloud.edgecontainer.v1.NodePool.NodeConfigOrBuilder getNodeConfigOrBuilder() { + return nodeConfig_ == null + ? com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.getDefaultInstance() + : nodeConfig_; } private byte memoizedIsInitialized = -1; @@ -2046,6 +3003,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(9, getLocalDiskEncryption()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, nodeVersion_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(11, getNodeConfig()); + } getUnknownFields().writeTo(output); } @@ -2086,6 +3049,12 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getLocalDiskEncryption()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, nodeVersion_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getNodeConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2119,6 +3088,11 @@ public boolean equals(final java.lang.Object obj) { if (hasLocalDiskEncryption()) { if (!getLocalDiskEncryption().equals(other.getLocalDiskEncryption())) return false; } + if (!getNodeVersion().equals(other.getNodeVersion())) return false; + if (hasNodeConfig() != other.hasNodeConfig()) return false; + if (hasNodeConfig()) { + if (!getNodeConfig().equals(other.getNodeConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2154,6 +3128,12 @@ public int hashCode() { hash = (37 * hash) + LOCAL_DISK_ENCRYPTION_FIELD_NUMBER; hash = (53 * hash) + getLocalDiskEncryption().hashCode(); } + hash = (37 * hash) + NODE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getNodeVersion().hashCode(); + if (hasNodeConfig()) { + hash = (37 * hash) + NODE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNodeConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -2320,6 +3300,7 @@ private void maybeForceBuilderInitialization() { getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); getLocalDiskEncryptionFieldBuilder(); + getNodeConfigFieldBuilder(); } } @@ -2347,6 +3328,12 @@ public Builder clear() { localDiskEncryptionBuilder_.dispose(); localDiskEncryptionBuilder_ = null; } + nodeVersion_ = ""; + nodeConfig_ = null; + if (nodeConfigBuilder_ != null) { + nodeConfigBuilder_.dispose(); + nodeConfigBuilder_ = null; + } return this; } @@ -2415,6 +3402,13 @@ private void buildPartial0(com.google.cloud.edgecontainer.v1.NodePool result) { : localDiskEncryptionBuilder_.build(); to_bitField0_ |= 0x00000004; } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.nodeVersion_ = nodeVersion_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.nodeConfig_ = nodeConfigBuilder_ == null ? nodeConfig_ : nodeConfigBuilder_.build(); + to_bitField0_ |= 0x00000008; + } result.bitField0_ |= to_bitField0_; } @@ -2492,6 +3486,14 @@ public Builder mergeFrom(com.google.cloud.edgecontainer.v1.NodePool other) { if (other.hasLocalDiskEncryption()) { mergeLocalDiskEncryption(other.getLocalDiskEncryption()); } + if (!other.getNodeVersion().isEmpty()) { + nodeVersion_ = other.nodeVersion_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (other.hasNodeConfig()) { + mergeNodeConfig(other.getNodeConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2573,6 +3575,18 @@ public Builder mergeFrom( bitField0_ |= 0x00000080; break; } // case 74 + case 82: + { + nodeVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 82 + case 90: + { + input.readMessage(getNodeConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 90 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -3567,8 +4581,8 @@ public Builder setMachineFilterBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Local disk encryption options. This field is only used when enabling CMEK
-     * support.
+     * Optional. Local disk encryption options. This field is only used when
+     * enabling CMEK support.
      * 
* * @@ -3584,8 +4598,8 @@ public boolean hasLocalDiskEncryption() { * * *
-     * Optional. Local disk encryption options. This field is only used when enabling CMEK
-     * support.
+     * Optional. Local disk encryption options. This field is only used when
+     * enabling CMEK support.
      * 
* * @@ -3607,8 +4621,8 @@ public com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption getLocalDi * * *
-     * Optional. Local disk encryption options. This field is only used when enabling CMEK
-     * support.
+     * Optional. Local disk encryption options. This field is only used when
+     * enabling CMEK support.
      * 
* * @@ -3633,8 +4647,8 @@ public Builder setLocalDiskEncryption( * * *
-     * Optional. Local disk encryption options. This field is only used when enabling CMEK
-     * support.
+     * Optional. Local disk encryption options. This field is only used when
+     * enabling CMEK support.
      * 
* * @@ -3656,8 +4670,8 @@ public Builder setLocalDiskEncryption( * * *
-     * Optional. Local disk encryption options. This field is only used when enabling CMEK
-     * support.
+     * Optional. Local disk encryption options. This field is only used when
+     * enabling CMEK support.
      * 
* * @@ -3689,8 +4703,8 @@ public Builder mergeLocalDiskEncryption( * * *
-     * Optional. Local disk encryption options. This field is only used when enabling CMEK
-     * support.
+     * Optional. Local disk encryption options. This field is only used when
+     * enabling CMEK support.
      * 
* * @@ -3711,8 +4725,8 @@ public Builder clearLocalDiskEncryption() { * * *
-     * Optional. Local disk encryption options. This field is only used when enabling CMEK
-     * support.
+     * Optional. Local disk encryption options. This field is only used when
+     * enabling CMEK support.
      * 
* * @@ -3729,8 +4743,8 @@ public Builder clearLocalDiskEncryption() { * * *
-     * Optional. Local disk encryption options. This field is only used when enabling CMEK
-     * support.
+     * Optional. Local disk encryption options. This field is only used when
+     * enabling CMEK support.
      * 
* * @@ -3751,8 +4765,8 @@ public Builder clearLocalDiskEncryption() { * * *
-     * Optional. Local disk encryption options. This field is only used when enabling CMEK
-     * support.
+     * Optional. Local disk encryption options. This field is only used when
+     * enabling CMEK support.
      * 
* * @@ -3776,6 +4790,317 @@ public Builder clearLocalDiskEncryption() { return localDiskEncryptionBuilder_; } + private java.lang.Object nodeVersion_ = ""; + /** + * + * + *
+     * Output only. The lowest release version among all worker nodes.
+     * 
+ * + * string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nodeVersion. + */ + public java.lang.String getNodeVersion() { + java.lang.Object ref = nodeVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nodeVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The lowest release version among all worker nodes.
+     * 
+ * + * string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nodeVersion. + */ + public com.google.protobuf.ByteString getNodeVersionBytes() { + java.lang.Object ref = nodeVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nodeVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The lowest release version among all worker nodes.
+     * 
+ * + * string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The nodeVersion to set. + * @return This builder for chaining. + */ + public Builder setNodeVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nodeVersion_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The lowest release version among all worker nodes.
+     * 
+ * + * string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearNodeVersion() { + nodeVersion_ = getDefaultInstance().getNodeVersion(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The lowest release version among all worker nodes.
+     * 
+ * + * string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for nodeVersion to set. + * @return This builder for chaining. + */ + public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeVersion_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private com.google.cloud.edgecontainer.v1.NodePool.NodeConfig nodeConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig, + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.Builder, + com.google.cloud.edgecontainer.v1.NodePool.NodeConfigOrBuilder> + nodeConfigBuilder_; + /** + * + * + *
+     * Optional. Configuration for each node in the NodePool
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the nodeConfig field is set. + */ + public boolean hasNodeConfig() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+     * Optional. Configuration for each node in the NodePool
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The nodeConfig. + */ + public com.google.cloud.edgecontainer.v1.NodePool.NodeConfig getNodeConfig() { + if (nodeConfigBuilder_ == null) { + return nodeConfig_ == null + ? com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.getDefaultInstance() + : nodeConfig_; + } else { + return nodeConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Optional. Configuration for each node in the NodePool
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setNodeConfig(com.google.cloud.edgecontainer.v1.NodePool.NodeConfig value) { + if (nodeConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nodeConfig_ = value; + } else { + nodeConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Configuration for each node in the NodePool
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setNodeConfig( + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.Builder builderForValue) { + if (nodeConfigBuilder_ == null) { + nodeConfig_ = builderForValue.build(); + } else { + nodeConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Configuration for each node in the NodePool
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeNodeConfig(com.google.cloud.edgecontainer.v1.NodePool.NodeConfig value) { + if (nodeConfigBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0) + && nodeConfig_ != null + && nodeConfig_ + != com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.getDefaultInstance()) { + getNodeConfigBuilder().mergeFrom(value); + } else { + nodeConfig_ = value; + } + } else { + nodeConfigBuilder_.mergeFrom(value); + } + if (nodeConfig_ != null) { + bitField0_ |= 0x00000200; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Optional. Configuration for each node in the NodePool
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearNodeConfig() { + bitField0_ = (bitField0_ & ~0x00000200); + nodeConfig_ = null; + if (nodeConfigBuilder_ != null) { + nodeConfigBuilder_.dispose(); + nodeConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Configuration for each node in the NodePool
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.Builder getNodeConfigBuilder() { + bitField0_ |= 0x00000200; + onChanged(); + return getNodeConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Optional. Configuration for each node in the NodePool
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.edgecontainer.v1.NodePool.NodeConfigOrBuilder getNodeConfigOrBuilder() { + if (nodeConfigBuilder_ != null) { + return nodeConfigBuilder_.getMessageOrBuilder(); + } else { + return nodeConfig_ == null + ? com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.getDefaultInstance() + : nodeConfig_; + } + } + /** + * + * + *
+     * Optional. Configuration for each node in the NodePool
+     * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig, + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.Builder, + com.google.cloud.edgecontainer.v1.NodePool.NodeConfigOrBuilder> + getNodeConfigFieldBuilder() { + if (nodeConfigBuilder_ == null) { + nodeConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig, + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig.Builder, + com.google.cloud.edgecontainer.v1.NodePool.NodeConfigOrBuilder>( + getNodeConfig(), getParentForChildren(), isClean()); + nodeConfig_ = null; + } + return nodeConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/NodePoolOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/NodePoolOrBuilder.java index 9d6ef148b5ad..8a0e4cc43302 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/NodePoolOrBuilder.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/NodePoolOrBuilder.java @@ -260,8 +260,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Optional. Local disk encryption options. This field is only used when enabling CMEK
-   * support.
+   * Optional. Local disk encryption options. This field is only used when
+   * enabling CMEK support.
    * 
* * @@ -275,8 +275,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Optional. Local disk encryption options. This field is only used when enabling CMEK
-   * support.
+   * Optional. Local disk encryption options. This field is only used when
+   * enabling CMEK support.
    * 
* * @@ -290,8 +290,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Optional. Local disk encryption options. This field is only used when enabling CMEK
-   * support.
+   * Optional. Local disk encryption options. This field is only used when
+   * enabling CMEK support.
    * 
* * @@ -300,4 +300,70 @@ java.lang.String getLabelsOrDefault( */ com.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryptionOrBuilder getLocalDiskEncryptionOrBuilder(); + + /** + * + * + *
+   * Output only. The lowest release version among all worker nodes.
+   * 
+ * + * string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The nodeVersion. + */ + java.lang.String getNodeVersion(); + /** + * + * + *
+   * Output only. The lowest release version among all worker nodes.
+   * 
+ * + * string node_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for nodeVersion. + */ + com.google.protobuf.ByteString getNodeVersionBytes(); + + /** + * + * + *
+   * Optional. Configuration for each node in the NodePool
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the nodeConfig field is set. + */ + boolean hasNodeConfig(); + /** + * + * + *
+   * Optional. Configuration for each node in the NodePool
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The nodeConfig. + */ + com.google.cloud.edgecontainer.v1.NodePool.NodeConfig getNodeConfig(); + /** + * + * + *
+   * Optional. Configuration for each node in the NodePool
+   * 
+ * + * + * .google.cloud.edgecontainer.v1.NodePool.NodeConfig node_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.edgecontainer.v1.NodePool.NodeConfigOrBuilder getNodeConfigOrBuilder(); } diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/OperationMetadata.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/OperationMetadata.java index 2582e027758a..d41198fffdd5 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/OperationMetadata.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/OperationMetadata.java @@ -43,6 +43,7 @@ private OperationMetadata() { verb_ = ""; statusMessage_ = ""; apiVersion_ = ""; + warnings_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -320,8 +321,8 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { *
    * Identifies whether the user has requested cancellation of the operation.
    * Operations that have successfully been cancelled have [Operation.error][]
-   * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
-   * `Code.CANCELLED`.
+   * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
+   * corresponding to `Code.CANCELLED`.
    * 
* * bool requested_cancellation = 6; @@ -384,6 +385,74 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } + public static final int WARNINGS_FIELD_NUMBER = 8; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList warnings_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * Warnings that do not block the operation, but still hold relevant
+   * information for the end user to receive.
+   * 
+ * + * repeated string warnings = 8; + * + * @return A list containing the warnings. + */ + public com.google.protobuf.ProtocolStringList getWarningsList() { + return warnings_; + } + /** + * + * + *
+   * Warnings that do not block the operation, but still hold relevant
+   * information for the end user to receive.
+   * 
+ * + * repeated string warnings = 8; + * + * @return The count of warnings. + */ + public int getWarningsCount() { + return warnings_.size(); + } + /** + * + * + *
+   * Warnings that do not block the operation, but still hold relevant
+   * information for the end user to receive.
+   * 
+ * + * repeated string warnings = 8; + * + * @param index The index of the element to return. + * @return The warnings at the given index. + */ + public java.lang.String getWarnings(int index) { + return warnings_.get(index); + } + /** + * + * + *
+   * Warnings that do not block the operation, but still hold relevant
+   * information for the end user to receive.
+   * 
+ * + * repeated string warnings = 8; + * + * @param index The index of the value to return. + * @return The bytes of the warnings at the given index. + */ + public com.google.protobuf.ByteString getWarningsBytes(int index) { + return warnings_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -419,6 +488,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_); } + for (int i = 0; i < warnings_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, warnings_.getRaw(i)); + } getUnknownFields().writeTo(output); } @@ -449,6 +521,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } + { + int dataSize = 0; + for (int i = 0; i < warnings_.size(); i++) { + dataSize += computeStringSizeNoTag(warnings_.getRaw(i)); + } + size += dataSize; + size += 1 * getWarningsList().size(); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -478,6 +558,7 @@ public boolean equals(final java.lang.Object obj) { if (!getStatusMessage().equals(other.getStatusMessage())) return false; if (getRequestedCancellation() != other.getRequestedCancellation()) return false; if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getWarningsList().equals(other.getWarningsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -507,6 +588,10 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); + if (getWarningsCount() > 0) { + hash = (37 * hash) + WARNINGS_FIELD_NUMBER; + hash = (53 * hash) + getWarningsList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -671,6 +756,7 @@ public Builder clear() { statusMessage_ = ""; requestedCancellation_ = false; apiVersion_ = ""; + warnings_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -731,6 +817,10 @@ private void buildPartial0(com.google.cloud.edgecontainer.v1.OperationMetadata r if (((from_bitField0_ & 0x00000040) != 0)) { result.apiVersion_ = apiVersion_; } + if (((from_bitField0_ & 0x00000080) != 0)) { + warnings_.makeImmutable(); + result.warnings_ = warnings_; + } result.bitField0_ |= to_bitField0_; } @@ -809,6 +899,16 @@ public Builder mergeFrom(com.google.cloud.edgecontainer.v1.OperationMetadata oth bitField0_ |= 0x00000040; onChanged(); } + if (!other.warnings_.isEmpty()) { + if (warnings_.isEmpty()) { + warnings_ = other.warnings_; + bitField0_ |= 0x00000080; + } else { + ensureWarningsIsMutable(); + warnings_.addAll(other.warnings_); + } + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -877,6 +977,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000040; break; } // case 58 + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureWarningsIsMutable(); + warnings_.add(s); + break; + } // case 66 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1587,8 +1694,8 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { *
      * Identifies whether the user has requested cancellation of the operation.
      * Operations that have successfully been cancelled have [Operation.error][]
-     * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
-     * `Code.CANCELLED`.
+     * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
+     * corresponding to `Code.CANCELLED`.
      * 
* * bool requested_cancellation = 6; @@ -1605,8 +1712,8 @@ public boolean getRequestedCancellation() { *
      * Identifies whether the user has requested cancellation of the operation.
      * Operations that have successfully been cancelled have [Operation.error][]
-     * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
-     * `Code.CANCELLED`.
+     * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
+     * corresponding to `Code.CANCELLED`.
      * 
* * bool requested_cancellation = 6; @@ -1627,8 +1734,8 @@ public Builder setRequestedCancellation(boolean value) { *
      * Identifies whether the user has requested cancellation of the operation.
      * Operations that have successfully been cancelled have [Operation.error][]
-     * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
-     * `Code.CANCELLED`.
+     * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
+     * corresponding to `Code.CANCELLED`.
      * 
* * bool requested_cancellation = 6; @@ -1748,6 +1855,189 @@ public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.protobuf.LazyStringArrayList warnings_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureWarningsIsMutable() { + if (!warnings_.isModifiable()) { + warnings_ = new com.google.protobuf.LazyStringArrayList(warnings_); + } + bitField0_ |= 0x00000080; + } + /** + * + * + *
+     * Warnings that do not block the operation, but still hold relevant
+     * information for the end user to receive.
+     * 
+ * + * repeated string warnings = 8; + * + * @return A list containing the warnings. + */ + public com.google.protobuf.ProtocolStringList getWarningsList() { + warnings_.makeImmutable(); + return warnings_; + } + /** + * + * + *
+     * Warnings that do not block the operation, but still hold relevant
+     * information for the end user to receive.
+     * 
+ * + * repeated string warnings = 8; + * + * @return The count of warnings. + */ + public int getWarningsCount() { + return warnings_.size(); + } + /** + * + * + *
+     * Warnings that do not block the operation, but still hold relevant
+     * information for the end user to receive.
+     * 
+ * + * repeated string warnings = 8; + * + * @param index The index of the element to return. + * @return The warnings at the given index. + */ + public java.lang.String getWarnings(int index) { + return warnings_.get(index); + } + /** + * + * + *
+     * Warnings that do not block the operation, but still hold relevant
+     * information for the end user to receive.
+     * 
+ * + * repeated string warnings = 8; + * + * @param index The index of the value to return. + * @return The bytes of the warnings at the given index. + */ + public com.google.protobuf.ByteString getWarningsBytes(int index) { + return warnings_.getByteString(index); + } + /** + * + * + *
+     * Warnings that do not block the operation, but still hold relevant
+     * information for the end user to receive.
+     * 
+ * + * repeated string warnings = 8; + * + * @param index The index to set the value at. + * @param value The warnings to set. + * @return This builder for chaining. + */ + public Builder setWarnings(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureWarningsIsMutable(); + warnings_.set(index, value); + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Warnings that do not block the operation, but still hold relevant
+     * information for the end user to receive.
+     * 
+ * + * repeated string warnings = 8; + * + * @param value The warnings to add. + * @return This builder for chaining. + */ + public Builder addWarnings(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureWarningsIsMutable(); + warnings_.add(value); + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Warnings that do not block the operation, but still hold relevant
+     * information for the end user to receive.
+     * 
+ * + * repeated string warnings = 8; + * + * @param values The warnings to add. + * @return This builder for chaining. + */ + public Builder addAllWarnings(java.lang.Iterable values) { + ensureWarningsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, warnings_); + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Warnings that do not block the operation, but still hold relevant
+     * information for the end user to receive.
+     * 
+ * + * repeated string warnings = 8; + * + * @return This builder for chaining. + */ + public Builder clearWarnings() { + warnings_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * Warnings that do not block the operation, but still hold relevant
+     * information for the end user to receive.
+     * 
+ * + * repeated string warnings = 8; + * + * @param value The bytes of the warnings to add. + * @return This builder for chaining. + */ + public Builder addWarningsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureWarningsIsMutable(); + warnings_.add(value); + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/OperationMetadataOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/OperationMetadataOrBuilder.java index cdebd5b426cd..bc119595371a 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/OperationMetadataOrBuilder.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/OperationMetadataOrBuilder.java @@ -175,8 +175,8 @@ public interface OperationMetadataOrBuilder *
    * Identifies whether the user has requested cancellation of the operation.
    * Operations that have successfully been cancelled have [Operation.error][]
-   * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
-   * `Code.CANCELLED`.
+   * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
+   * corresponding to `Code.CANCELLED`.
    * 
* * bool requested_cancellation = 6; @@ -209,4 +209,59 @@ public interface OperationMetadataOrBuilder * @return The bytes for apiVersion. */ com.google.protobuf.ByteString getApiVersionBytes(); + + /** + * + * + *
+   * Warnings that do not block the operation, but still hold relevant
+   * information for the end user to receive.
+   * 
+ * + * repeated string warnings = 8; + * + * @return A list containing the warnings. + */ + java.util.List getWarningsList(); + /** + * + * + *
+   * Warnings that do not block the operation, but still hold relevant
+   * information for the end user to receive.
+   * 
+ * + * repeated string warnings = 8; + * + * @return The count of warnings. + */ + int getWarningsCount(); + /** + * + * + *
+   * Warnings that do not block the operation, but still hold relevant
+   * information for the end user to receive.
+   * 
+ * + * repeated string warnings = 8; + * + * @param index The index of the element to return. + * @return The warnings at the given index. + */ + java.lang.String getWarnings(int index); + /** + * + * + *
+   * Warnings that do not block the operation, but still hold relevant
+   * information for the end user to receive.
+   * 
+ * + * repeated string warnings = 8; + * + * @param index The index of the value to return. + * @return The bytes of the warnings at the given index. + */ + com.google.protobuf.ByteString getWarningsBytes(int index); } diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ResourcesProto.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ResourcesProto.java index 02533e9b437d..9f58379dfd0f 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ResourcesProto.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ResourcesProto.java @@ -32,6 +32,38 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_edgecontainer_v1_Cluster_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_edgecontainer_v1_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Remote_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Remote_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Local_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Local_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_Ingress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_Ingress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlaneEncryption_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlaneEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_Cluster_MaintenanceEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_Cluster_MaintenanceEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_Cluster_SurvivabilityConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_Cluster_SurvivabilityConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_edgecontainer_v1_Cluster_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -60,6 +92,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_edgecontainer_v1_NodePool_LocalDiskEncryption_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_edgecontainer_v1_NodePool_LocalDiskEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_edgecontainer_v1_NodePool_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -108,6 +148,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_RackTypesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_RackTypesEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_edgecontainer_v1_Quota_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -128,6 +172,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_edgecontainer_v1_TimeWindow_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_edgecontainer_v1_TimeWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_ServerConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_ServerConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_ServerConfig_ChannelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_ServerConfig_ChannelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_ChannelConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_ChannelConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_Version_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_Version_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -140,135 +200,229 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n-google/cloud/edgecontainer/v1/resource" + "s.proto\022\035google.cloud.edgecontainer.v1\032\037" + "google/api/field_behavior.proto\032\031google/" - + "api/resource.proto\032\037google/protobuf/time" - + "stamp.proto\032\027google/rpc/status.proto\"\224\006\n" - + "\007Cluster\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$edgecont" - + "ainer.googleapis.com/Cluster\0224\n\013create_t" - + "ime\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\0224\n\013update_time\030\003 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\022B\n\006labels\030\004 \003(\01322.googl" - + "e.cloud.edgecontainer.v1.Cluster.LabelsE" - + "ntry\0228\n\005fleet\030\013 \001(\0132$.google.cloud.edgec" - + "ontainer.v1.FleetB\003\340A\001\022I\n\nnetworking\030\007 \001" - + "(\01320.google.cloud.edgecontainer.v1.Clust" - + "erNetworkingB\003\340A\002\022K\n\rauthorization\030\t \001(\013" - + "2,.google.cloud.edgecontainer.v1.Authori" - + "zationB\006\340A\002\340A\005\022&\n\031default_max_pods_per_n" - + "ode\030\010 \001(\005B\003\340A\001\022\025\n\010endpoint\030\006 \001(\tB\003\340A\003\022#\n" - + "\026cluster_ca_certificate\030\n \001(\tB\003\340A\003\022Q\n\022ma" - + "intenance_policy\030\014 \001(\01320.google.cloud.ed" - + "gecontainer.v1.MaintenancePolicyB\003\340A\001\032-\n" - + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" - + ":\0028\001:e\352Ab\n$edgecontainer.googleapis.com/" - + "Cluster\022:projects/{project}/locations/{l" - + "ocation}/clusters/{cluster}\"b\n\021ClusterNe" - + "tworking\022%\n\030cluster_ipv4_cidr_blocks\030\001 \003" - + "(\tB\003\340A\002\022&\n\031services_ipv4_cidr_blocks\030\002 \003" - + "(\tB\003\340A\002\"6\n\005Fleet\022\024\n\007project\030\001 \001(\tB\003\340A\002\022\027" - + "\n\nmembership\030\002 \001(\tB\003\340A\003\"$\n\013ClusterUser\022\025" - + "\n\010username\030\001 \001(\tB\003\340A\002\"U\n\rAuthorization\022D" - + "\n\013admin_users\030\001 \001(\0132*.google.cloud.edgec" - + "ontainer.v1.ClusterUserB\003\340A\002\"\351\006\n\010NodePoo" - + "l\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%edgecontainer.g" - + "oogleapis.com/NodePool\0224\n\013create_time\030\002 " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" - + "update_time\030\003 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\022C\n\006labels\030\004 \003(\01323.google.clou" - + "d.edgecontainer.v1.NodePool.LabelsEntry\022" - + "\025\n\rnode_location\030\010 \001(\t\022\027\n\nnode_count\030\006 \001" - + "(\005B\003\340A\002\022\026\n\016machine_filter\030\007 \001(\t\022_\n\025local" - + "_disk_encryption\030\t \001(\0132;.google.cloud.ed" - + "gecontainer.v1.NodePool.LocalDiskEncrypt" - + "ionB\003\340A\001\032\230\002\n\023LocalDiskEncryption\022:\n\007kms_" - + "key\030\001 \001(\tB)\340A\005\372A#\n!cloudkms.googleapis.c" - + "om/CryptoKey\022P\n\026kms_key_active_version\030\002" - + " \001(\tB0\340A\003\372A*\n(cloudkms.googleapis.com/Cr" - + "yptoKeyVersion\022F\n\rkms_key_state\030\003 \001(\0162*." - + "google.cloud.edgecontainer.v1.KmsKeyStat" - + "eB\003\340A\003\022+\n\nkms_status\030\004 \001(\0132\022.google.rpc." - + "StatusB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001:|\352Ay\n%edgecontainer.g" - + "oogleapis.com/NodePool\022Pprojects/{projec" - + "t}/locations/{location}/clusters/{cluste" - + "r}/nodePools/{node_pool}\"\305\003\n\007Machine\022:\n\004" - + "name\030\001 \001(\tB,\340A\002\372A&\n$edgecontainer.google" - + "apis.com/Machine\0224\n\013create_time\030\002 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" - + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\022B\n\006labels\030\004 \003(\01322.google.cloud.edge" - + "container.v1.Machine.LabelsEntry\022\023\n\013host" - + "ed_node\030\005 \001(\t\022\014\n\004zone\030\006 \001(\t\022\025\n\010disabled\030" - + "\010 \001(\010B\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001:e\352Ab\n$edgecontainer.go" - + "ogleapis.com/Machine\022:projects/{project}" - + "/locations/{location}/machines/{machine}" - + "\"\342\n\n\rVpnConnection\022@\n\004name\030\001 \001(\tB2\340A\002\372A," - + "\n*edgecontainer.googleapis.com/VpnConnec" - + "tion\0224\n\013create_time\030\002 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\022H\n\006labe" - + "ls\030\004 \003(\01328.google.cloud.edgecontainer.v1" - + ".VpnConnection.LabelsEntry\022\026\n\016nat_gatewa" - + "y_ip\030\005 \001(\t\022Y\n\020bgp_routing_mode\030\006 \001(\0162;.g" - + "oogle.cloud.edgecontainer.v1.VpnConnecti" - + "on.BgpRoutingModeB\002\030\001\022:\n\007cluster\030\007 \001(\tB)" - + "\372A&\n$edgecontainer.googleapis.com/Cluste" - + "r\022\013\n\003vpc\030\010 \001(\t\022Q\n\013vpc_project\030\013 \001(\01327.go" - + "ogle.cloud.edgecontainer.v1.VpnConnectio" - + "n.VpcProjectB\003\340A\001\022 \n\030enable_high_availab" - + "ility\030\t \001(\010\022J\n\007details\030\n \001(\01324.google.cl" - + "oud.edgecontainer.v1.VpnConnection.Detai" - + "lsB\003\340A\003\032>\n\nVpcProject\022\022\n\nproject_id\030\001 \001(" - + "\t\022\034\n\017service_account\030\002 \001(\tB\003\340A\001\032\244\003\n\007Deta" - + "ils\022I\n\005state\030\001 \001(\0162:.google.cloud.edgeco" - + "ntainer.v1.VpnConnection.Details.State\022\r" - + "\n\005error\030\002 \001(\t\022V\n\014cloud_router\030\003 \001(\0132@.go" - + "ogle.cloud.edgecontainer.v1.VpnConnectio" - + "n.Details.CloudRouter\022Q\n\ncloud_vpns\030\004 \003(" - + "\0132=.google.cloud.edgecontainer.v1.VpnCon" - + "nection.Details.CloudVpn\032\033\n\013CloudRouter\022" - + "\014\n\004name\030\001 \001(\t\032\033\n\010CloudVpn\022\017\n\007gateway\030\001 \001" - + "(\t\"Z\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\023\n\017ST" - + "ATE_CONNECTED\020\001\022\024\n\020STATE_CONNECTING\020\002\022\017\n" - + "\013STATE_ERROR\020\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"L\n\016BgpRoutingMode\022" - + " \n\034BGP_ROUTING_MODE_UNSPECIFIED\020\000\022\014\n\010REG" - + "IONAL\020\001\022\n\n\006GLOBAL\020\002:x\352Au\n*edgecontainer." - + "googleapis.com/VpnConnection\022Gprojects/{" - + "project}/locations/{location}/vpnConnect" - + "ions/{vpn_connection}\"\324\001\n\020LocationMetada" - + "ta\022\\\n\017available_zones\030\001 \003(\0132C.google.clo" - + "ud.edgecontainer.v1.LocationMetadata.Ava" - + "ilableZonesEntry\032b\n\023AvailableZonesEntry\022" - + "\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.google.clo" - + "ud.edgecontainer.v1.ZoneMetadata:\0028\001\"C\n\014" - + "ZoneMetadata\0223\n\005quota\030\001 \003(\0132$.google.clo" - + "ud.edgecontainer.v1.Quota\"5\n\005Quota\022\016\n\006me" - + "tric\030\001 \001(\t\022\r\n\005limit\030\002 \001(\001\022\r\n\005usage\030\003 \001(\001" - + "\"U\n\021MaintenancePolicy\022@\n\006window\030\001 \001(\01320." - + "google.cloud.edgecontainer.v1.Maintenanc" - + "eWindow\"a\n\021MaintenanceWindow\022L\n\020recurrin" - + "g_window\030\001 \001(\01322.google.cloud.edgecontai" - + "ner.v1.RecurringTimeWindow\"d\n\023RecurringT" - + "imeWindow\0229\n\006window\030\001 \001(\0132).google.cloud" - + ".edgecontainer.v1.TimeWindow\022\022\n\nrecurren" - + "ce\030\002 \001(\t\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001" - + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" - + "me\030\002 \001(\0132\032.google.protobuf.Timestamp*p\n\013" - + "KmsKeyState\022\035\n\031KMS_KEY_STATE_UNSPECIFIED" - + "\020\000\022\037\n\033KMS_KEY_STATE_KEY_AVAILABLE\020\001\022!\n\035K" - + "MS_KEY_STATE_KEY_UNAVAILABLE\020\002B\243\003\n!com.g" - + "oogle.cloud.edgecontainer.v1B\016ResourcesP" - + "rotoP\001ZGcloud.google.com/go/edgecontaine" - + "r/apiv1/edgecontainerpb;edgecontainerpb\352" - + "Ax\n!cloudkms.googleapis.com/CryptoKey\022Sp" - + "rojects/{project}/locations/{location}/k" - + "eyRings/{key_ring}/cryptoKeys/{crypto_ke" - + "y}\352A\246\001\n(cloudkms.googleapis.com/CryptoKe" - + "yVersion\022zprojects/{project}/locations/{" - + "location}/keyRings/{key_ring}/cryptoKeys" - + "/{crypto_key}/cryptoKeyVersions/{crypto_" - + "key_version}b\006proto3" + + "api/resource.proto\032\036google/protobuf/dura" + + "tion.proto\032\037google/protobuf/timestamp.pr" + + "oto\032\027google/rpc/status.proto\"\212\034\n\007Cluster" + + "\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$edgecontainer.go" + + "ogleapis.com/Cluster\0224\n\013create_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + + "date_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022B\n\006labels\030\004 \003(\01322.google.cloud." + + "edgecontainer.v1.Cluster.LabelsEntry\0228\n\005" + + "fleet\030\013 \001(\0132$.google.cloud.edgecontainer" + + ".v1.FleetB\003\340A\002\022I\n\nnetworking\030\007 \001(\01320.goo" + + "gle.cloud.edgecontainer.v1.ClusterNetwor" + + "kingB\003\340A\002\022K\n\rauthorization\030\t \001(\0132,.googl" + + "e.cloud.edgecontainer.v1.AuthorizationB\006" + + "\340A\002\340A\005\022&\n\031default_max_pods_per_node\030\010 \001(" + + "\005B\003\340A\001\022\025\n\010endpoint\030\006 \001(\tB\003\340A\003\022\021\n\004port\030\023 " + + "\001(\005B\003\340A\003\022#\n\026cluster_ca_certificate\030\n \001(\t" + + "B\003\340A\003\022Q\n\022maintenance_policy\030\014 \001(\01320.goog" + + "le.cloud.edgecontainer.v1.MaintenancePol" + + "icyB\003\340A\001\022\"\n\025control_plane_version\030\r \001(\tB" + + "\003\340A\003\022\031\n\014node_version\030\016 \001(\tB\003\340A\003\022O\n\rcontr" + + "ol_plane\030\017 \001(\01323.google.cloud.edgecontai" + + "ner.v1.Cluster.ControlPlaneB\003\340A\001\022\\\n\024syst" + + "em_addons_config\030\020 \001(\01329.google.cloud.ed" + + "gecontainer.v1.Cluster.SystemAddonsConfi" + + "gB\003\340A\001\0226\n)external_load_balancer_ipv4_ad" + + "dress_pools\030\021 \003(\tB\003\340A\001\022d\n\030control_plane_" + + "encryption\030\022 \001(\0132=.google.cloud.edgecont" + + "ainer.v1.Cluster.ControlPlaneEncryptionB" + + "\003\340A\001\022B\n\006status\030\024 \001(\0162-.google.cloud.edge" + + "container.v1.Cluster.StatusB\003\340A\003\022X\n\022main" + + "tenance_events\030\025 \003(\01327.google.cloud.edge" + + "container.v1.Cluster.MaintenanceEventB\003\340" + + "A\003\022\033\n\016target_version\030\026 \001(\tB\003\340A\001\022S\n\017relea" + + "se_channel\030\027 \001(\01625.google.cloud.edgecont" + + "ainer.v1.Cluster.ReleaseChannelB\003\340A\001\022]\n\024" + + "survivability_config\030\030 \001(\0132:.google.clou" + + "d.edgecontainer.v1.Cluster.Survivability" + + "ConfigB\003\340A\001\0226\n)external_load_balancer_ip" + + "v6_address_pools\030\031 \003(\tB\003\340A\001\032\330\003\n\014ControlP" + + "lane\022L\n\006remote\030\001 \001(\0132:.google.cloud.edge" + + "container.v1.Cluster.ControlPlane.Remote" + + "H\000\022J\n\005local\030\002 \001(\01329.google.cloud.edgecon" + + "tainer.v1.Cluster.ControlPlane.LocalH\000\032\010" + + "\n\006Remote\032\270\001\n\005Local\022\025\n\rnode_location\030\001 \001(" + + "\t\022\022\n\nnode_count\030\002 \001(\005\022\026\n\016machine_filter\030" + + "\003 \001(\t\022l\n\030shared_deployment_policy\030\004 \001(\0162" + + "J.google.cloud.edgecontainer.v1.Cluster." + + "ControlPlane.SharedDeploymentPolicy\"_\n\026S" + + "haredDeploymentPolicy\022(\n$SHARED_DEPLOYME" + + "NT_POLICY_UNSPECIFIED\020\000\022\013\n\007ALLOWED\020\001\022\016\n\n" + + "DISALLOWED\020\002B\010\n\006config\032\246\001\n\022SystemAddonsC" + + "onfig\022W\n\007ingress\030\001 \001(\0132A.google.cloud.ed" + + "gecontainer.v1.Cluster.SystemAddonsConfi" + + "g.IngressB\003\340A\001\0327\n\007Ingress\022\025\n\010disabled\030\001 " + + "\001(\010B\003\340A\001\022\025\n\010ipv4_vip\030\002 \001(\tB\003\340A\001\032\233\002\n\026Cont" + + "rolPlaneEncryption\022:\n\007kms_key\030\001 \001(\tB)\340A\005" + + "\372A#\n!cloudkms.googleapis.com/CryptoKey\022P" + + "\n\026kms_key_active_version\030\002 \001(\tB0\340A\003\372A*\n(" + + "cloudkms.googleapis.com/CryptoKeyVersion" + + "\022F\n\rkms_key_state\030\003 \001(\0162*.google.cloud.e" + + "dgecontainer.v1.KmsKeyStateB\003\340A\003\022+\n\nkms_" + + "status\030\004 \001(\0132\022.google.rpc.StatusB\003\340A\003\032\203\006" + + "\n\020MaintenanceEvent\022\021\n\004uuid\030\001 \001(\tB\003\340A\003\022\033\n" + + "\016target_version\030\002 \001(\tB\003\340A\003\022\026\n\toperation\030" + + "\003 \001(\tB\003\340A\003\022O\n\004type\030\004 \001(\0162<.google.cloud." + + "edgecontainer.v1.Cluster.MaintenanceEven" + + "t.TypeB\003\340A\003\022W\n\010schedule\030\005 \001(\0162@.google.c" + + "loud.edgecontainer.v1.Cluster.Maintenanc" + + "eEvent.ScheduleB\003\340A\003\022Q\n\005state\030\006 \001(\0162=.go" + + "ogle.cloud.edgecontainer.v1.Cluster.Main" + + "tenanceEvent.StateB\003\340A\003\0224\n\013create_time\030\007" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0223\n" + + "\nstart_time\030\010 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0221\n\010end_time\030\t \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\n \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\"S\n\004T" + + "ype\022\024\n\020TYPE_UNSPECIFIED\020\000\022\032\n\026USER_INITIA" + + "TED_UPGRADE\020\001\022\031\n\025GOOGLE_DRIVEN_UPGRADE\020\002" + + "\"5\n\010Schedule\022\030\n\024SCHEDULE_UNSPECIFIED\020\000\022\017" + + "\n\013IMMEDIATELY\020\001\"J\n\005State\022\025\n\021STATE_UNSPEC" + + "IFIED\020\000\022\017\n\013RECONCILING\020\001\022\r\n\tSUCCEEDED\020\002\022" + + "\n\n\006FAILED\020\003\032Q\n\023SurvivabilityConfig\022:\n\022of" + + "fline_reboot_ttl\030\001 \001(\0132\031.google.protobuf" + + ".DurationB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"i\n\006Status\022\026\n\022STATU" + + "S_UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUN" + + "NING\020\002\022\014\n\010DELETING\020\003\022\t\n\005ERROR\020\004\022\017\n\013RECON" + + "CILING\020\005\"H\n\016ReleaseChannel\022\037\n\033RELEASE_CH" + + "ANNEL_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\013\n\007REGULAR" + + "\020\002:e\352Ab\n$edgecontainer.googleapis.com/Cl" + + "uster\022:projects/{project}/locations/{loc" + + "ation}/clusters/{cluster}\"b\n\021ClusterNetw" + + "orking\022%\n\030cluster_ipv4_cidr_blocks\030\001 \003(\t" + + "B\003\340A\002\022&\n\031services_ipv4_cidr_blocks\030\002 \003(\t" + + "B\003\340A\002\"6\n\005Fleet\022\024\n\007project\030\001 \001(\tB\003\340A\002\022\027\n\n" + + "membership\030\002 \001(\tB\003\340A\003\"$\n\013ClusterUser\022\025\n\010" + + "username\030\001 \001(\tB\003\340A\002\"U\n\rAuthorization\022D\n\013" + + "admin_users\030\001 \001(\0132*.google.cloud.edgecon" + + "tainer.v1.ClusterUserB\003\340A\002\"\345\010\n\010NodePool\022" + + ";\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%edgecontainer.goo" + + "gleapis.com/NodePool\0224\n\013create_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" + + "date_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\022C\n\006labels\030\004 \003(\01323.google.cloud." + + "edgecontainer.v1.NodePool.LabelsEntry\022\025\n" + + "\rnode_location\030\010 \001(\t\022\027\n\nnode_count\030\006 \001(\005" + + "B\003\340A\002\022\026\n\016machine_filter\030\007 \001(\t\022_\n\025local_d" + + "isk_encryption\030\t \001(\0132;.google.cloud.edge" + + "container.v1.NodePool.LocalDiskEncryptio" + + "nB\003\340A\001\022\031\n\014node_version\030\n \001(\tB\003\340A\003\022L\n\013nod" + + "e_config\030\013 \001(\01322.google.cloud.edgecontai" + + "ner.v1.NodePool.NodeConfigB\003\340A\001\032\230\002\n\023Loca" + + "lDiskEncryption\022:\n\007kms_key\030\001 \001(\tB)\340A\005\372A#" + + "\n!cloudkms.googleapis.com/CryptoKey\022P\n\026k" + + "ms_key_active_version\030\002 \001(\tB0\340A\003\372A*\n(clo" + + "udkms.googleapis.com/CryptoKeyVersion\022F\n" + + "\rkms_key_state\030\003 \001(\0162*.google.cloud.edge" + + "container.v1.KmsKeyStateB\003\340A\003\022+\n\nkms_sta" + + "tus\030\004 \001(\0132\022.google.rpc.StatusB\003\340A\003\032\220\001\n\nN" + + "odeConfig\022S\n\006labels\030\001 \003(\0132>.google.cloud" + + ".edgecontainer.v1.NodePool.NodeConfig.La" + + "belsEntryB\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\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:|\352Ay\n%edgec" + + "ontainer.googleapis.com/NodePool\022Pprojec" + + "ts/{project}/locations/{location}/cluste" + + "rs/{cluster}/nodePools/{node_pool}\"\333\003\n\007M" + + "achine\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$edgecontai" + + "ner.googleapis.com/Machine\0224\n\013create_tim" + + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\003 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022B\n\006labels\030\004 \003(\01322.google." + + "cloud.edgecontainer.v1.Machine.LabelsEnt" + + "ry\022\023\n\013hosted_node\030\005 \001(\t\022\014\n\004zone\030\006 \001(\t\022\024\n" + + "\007version\030\007 \001(\tB\003\340A\003\022\025\n\010disabled\030\010 \001(\010B\003\340" + + "A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001:e\352Ab\n$edgecontainer.googleapis" + + ".com/Machine\022:projects/{project}/locatio" + + "ns/{location}/machines/{machine}\"\371\n\n\rVpn" + + "Connection\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*edgeco" + + "ntainer.googleapis.com/VpnConnection\0224\n\013" + + "create_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\003\022H\n\006labels\030\004 \003(\013" + + "28.google.cloud.edgecontainer.v1.VpnConn" + + "ection.LabelsEntry\022\026\n\016nat_gateway_ip\030\005 \001" + + "(\t\022Y\n\020bgp_routing_mode\030\006 \001(\0162;.google.cl" + + "oud.edgecontainer.v1.VpnConnection.BgpRo" + + "utingModeB\002\030\001\022:\n\007cluster\030\007 \001(\tB)\372A&\n$edg" + + "econtainer.googleapis.com/Cluster\022\013\n\003vpc" + + "\030\010 \001(\t\022Q\n\013vpc_project\030\013 \001(\01327.google.clo" + + "ud.edgecontainer.v1.VpnConnection.VpcPro" + + "jectB\003\340A\001\022 \n\030enable_high_availability\030\t " + + "\001(\010\022\023\n\006router\030\014 \001(\tB\003\340A\001\022J\n\007details\030\n \001(" + + "\01324.google.cloud.edgecontainer.v1.VpnCon" + + "nection.DetailsB\003\340A\003\032@\n\nVpcProject\022\022\n\npr" + + "oject_id\030\001 \001(\t\022\036\n\017service_account\030\002 \001(\tB" + + "\005\030\001\340A\001\032\244\003\n\007Details\022I\n\005state\030\001 \001(\0162:.goog" + + "le.cloud.edgecontainer.v1.VpnConnection." + + "Details.State\022\r\n\005error\030\002 \001(\t\022V\n\014cloud_ro" + + "uter\030\003 \001(\0132@.google.cloud.edgecontainer." + + "v1.VpnConnection.Details.CloudRouter\022Q\n\n" + + "cloud_vpns\030\004 \003(\0132=.google.cloud.edgecont" + + "ainer.v1.VpnConnection.Details.CloudVpn\032" + + "\033\n\013CloudRouter\022\014\n\004name\030\001 \001(\t\032\033\n\010CloudVpn" + + "\022\017\n\007gateway\030\001 \001(\t\"Z\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\023\n\017STATE_CONNECTED\020\001\022\024\n\020STATE_" + + "CONNECTING\020\002\022\017\n\013STATE_ERROR\020\003\032-\n\013LabelsE" + + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"L\n\016" + + "BgpRoutingMode\022 \n\034BGP_ROUTING_MODE_UNSPE" + + "CIFIED\020\000\022\014\n\010REGIONAL\020\001\022\n\n\006GLOBAL\020\002:x\352Au\n" + + "*edgecontainer.googleapis.com/VpnConnect" + + "ion\022Gprojects/{project}/locations/{locat" + + "ion}/vpnConnections/{vpn_connection}\"\324\001\n" + + "\020LocationMetadata\022\\\n\017available_zones\030\001 \003" + + "(\0132C.google.cloud.edgecontainer.v1.Locat" + + "ionMetadata.AvailableZonesEntry\032b\n\023Avail" + + "ableZonesEntry\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001" + + "(\0132+.google.cloud.edgecontainer.v1.ZoneM" + + "etadata:\0028\001\"\273\002\n\014ZoneMetadata\0223\n\005quota\030\001 " + + "\003(\0132$.google.cloud.edgecontainer.v1.Quot" + + "a\022N\n\nrack_types\030\002 \003(\0132:.google.cloud.edg" + + "econtainer.v1.ZoneMetadata.RackTypesEntr" + + "y\032f\n\016RackTypesEntry\022\013\n\003key\030\001 \001(\t\022C\n\005valu" + + "e\030\002 \001(\01624.google.cloud.edgecontainer.v1." + + "ZoneMetadata.RackType:\0028\001\">\n\010RackType\022\031\n" + + "\025RACK_TYPE_UNSPECIFIED\020\000\022\010\n\004BASE\020\001\022\r\n\tEX" + + "PANSION\020\002\"5\n\005Quota\022\016\n\006metric\030\001 \001(\t\022\r\n\005li" + + "mit\030\002 \001(\001\022\r\n\005usage\030\003 \001(\001\"U\n\021MaintenanceP" + + "olicy\022@\n\006window\030\001 \001(\01320.google.cloud.edg" + + "econtainer.v1.MaintenanceWindow\"a\n\021Maint" + + "enanceWindow\022L\n\020recurring_window\030\001 \001(\01322" + + ".google.cloud.edgecontainer.v1.Recurring" + + "TimeWindow\"d\n\023RecurringTimeWindow\0229\n\006win" + + "dow\030\001 \001(\0132).google.cloud.edgecontainer.v" + + "1.TimeWindow\022\022\n\nrecurrence\030\002 \001(\t\"j\n\nTime" + + "Window\022.\n\nstart_time\030\001 \001(\0132\032.google.prot" + + "obuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\"\234\002\n\014ServerConfig\022P\n" + + "\010channels\030\001 \003(\01329.google.cloud.edgeconta" + + "iner.v1.ServerConfig.ChannelsEntryB\003\340A\003\022" + + "=\n\010versions\030\002 \003(\0132&.google.cloud.edgecon" + + "tainer.v1.VersionB\003\340A\003\022\034\n\017default_versio" + + "n\030\003 \001(\tB\003\340A\003\032]\n\rChannelsEntry\022\013\n\003key\030\001 \001" + + "(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.edgecon" + + "tainer.v1.ChannelConfig:\0028\001\"-\n\rChannelCo" + + "nfig\022\034\n\017default_version\030\001 \001(\tB\003\340A\003\"\034\n\007Ve" + + "rsion\022\021\n\004name\030\001 \001(\tB\003\340A\003*p\n\013KmsKeyState\022" + + "\035\n\031KMS_KEY_STATE_UNSPECIFIED\020\000\022\037\n\033KMS_KE" + + "Y_STATE_KEY_AVAILABLE\020\001\022!\n\035KMS_KEY_STATE" + + "_KEY_UNAVAILABLE\020\002B\243\003\n!com.google.cloud." + + "edgecontainer.v1B\016ResourcesProtoP\001ZGclou" + + "d.google.com/go/edgecontainer/apiv1/edge" + + "containerpb;edgecontainerpb\352Ax\n!cloudkms" + + ".googleapis.com/CryptoKey\022Sprojects/{pro" + + "ject}/locations/{location}/keyRings/{key" + + "_ring}/cryptoKeys/{crypto_key}\352A\246\001\n(clou" + + "dkms.googleapis.com/CryptoKeyVersion\022zpr" + + "ojects/{project}/locations/{location}/ke" + + "yRings/{key_ring}/cryptoKeys/{crypto_key" + + "}/cryptoKeyVersions/{crypto_key_version}" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -276,6 +430,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), }); @@ -294,11 +449,101 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Authorization", "DefaultMaxPodsPerNode", "Endpoint", + "Port", "ClusterCaCertificate", "MaintenancePolicy", + "ControlPlaneVersion", + "NodeVersion", + "ControlPlane", + "SystemAddonsConfig", + "ExternalLoadBalancerIpv4AddressPools", + "ControlPlaneEncryption", + "Status", + "MaintenanceEvents", + "TargetVersion", + "ReleaseChannel", + "SurvivabilityConfig", + "ExternalLoadBalancerIpv6AddressPools", }); - internal_static_google_cloud_edgecontainer_v1_Cluster_LabelsEntry_descriptor = + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_descriptor = internal_static_google_cloud_edgecontainer_v1_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_descriptor, + new java.lang.String[] { + "Remote", "Local", "Config", + }); + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Remote_descriptor = + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Remote_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Remote_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Local_descriptor = + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Local_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlane_Local_descriptor, + new java.lang.String[] { + "NodeLocation", "NodeCount", "MachineFilter", "SharedDeploymentPolicy", + }); + internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_descriptor = + internal_static_google_cloud_edgecontainer_v1_Cluster_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_descriptor, + new java.lang.String[] { + "Ingress", + }); + internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_Ingress_descriptor = + internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_Ingress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_Cluster_SystemAddonsConfig_Ingress_descriptor, + new java.lang.String[] { + "Disabled", "Ipv4Vip", + }); + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlaneEncryption_descriptor = + internal_static_google_cloud_edgecontainer_v1_Cluster_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlaneEncryption_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_Cluster_ControlPlaneEncryption_descriptor, + new java.lang.String[] { + "KmsKey", "KmsKeyActiveVersion", "KmsKeyState", "KmsStatus", + }); + internal_static_google_cloud_edgecontainer_v1_Cluster_MaintenanceEvent_descriptor = + internal_static_google_cloud_edgecontainer_v1_Cluster_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_edgecontainer_v1_Cluster_MaintenanceEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_Cluster_MaintenanceEvent_descriptor, + new java.lang.String[] { + "Uuid", + "TargetVersion", + "Operation", + "Type", + "Schedule", + "State", + "CreateTime", + "StartTime", + "EndTime", + "UpdateTime", + }); + internal_static_google_cloud_edgecontainer_v1_Cluster_SurvivabilityConfig_descriptor = + internal_static_google_cloud_edgecontainer_v1_Cluster_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_edgecontainer_v1_Cluster_SurvivabilityConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_Cluster_SurvivabilityConfig_descriptor, + new java.lang.String[] { + "OfflineRebootTtl", + }); + internal_static_google_cloud_edgecontainer_v1_Cluster_LabelsEntry_descriptor = + internal_static_google_cloud_edgecontainer_v1_Cluster_descriptor.getNestedTypes().get(5); internal_static_google_cloud_edgecontainer_v1_Cluster_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_Cluster_LabelsEntry_descriptor, @@ -351,6 +596,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeCount", "MachineFilter", "LocalDiskEncryption", + "NodeVersion", + "NodeConfig", }); internal_static_google_cloud_edgecontainer_v1_NodePool_LocalDiskEncryption_descriptor = internal_static_google_cloud_edgecontainer_v1_NodePool_descriptor.getNestedTypes().get(0); @@ -360,8 +607,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "KmsKey", "KmsKeyActiveVersion", "KmsKeyState", "KmsStatus", }); - internal_static_google_cloud_edgecontainer_v1_NodePool_LabelsEntry_descriptor = + internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_descriptor = internal_static_google_cloud_edgecontainer_v1_NodePool_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_descriptor, + new java.lang.String[] { + "Labels", + }); + internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_LabelsEntry_descriptor = + internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_NodePool_NodeConfig_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_edgecontainer_v1_NodePool_LabelsEntry_descriptor = + internal_static_google_cloud_edgecontainer_v1_NodePool_descriptor.getNestedTypes().get(2); internal_static_google_cloud_edgecontainer_v1_NodePool_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_NodePool_LabelsEntry_descriptor, @@ -374,7 +639,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_Machine_descriptor, new java.lang.String[] { - "Name", "CreateTime", "UpdateTime", "Labels", "HostedNode", "Zone", "Disabled", + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "HostedNode", + "Zone", + "Version", + "Disabled", }); internal_static_google_cloud_edgecontainer_v1_Machine_LabelsEntry_descriptor = internal_static_google_cloud_edgecontainer_v1_Machine_descriptor.getNestedTypes().get(0); @@ -400,6 +672,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Vpc", "VpcProject", "EnableHighAvailability", + "Router", "Details", }); internal_static_google_cloud_edgecontainer_v1_VpnConnection_VpcProject_descriptor = @@ -476,7 +749,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_descriptor, new java.lang.String[] { - "Quota", + "Quota", "RackTypes", + }); + internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_RackTypesEntry_descriptor = + internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_RackTypesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_RackTypesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", }); internal_static_google_cloud_edgecontainer_v1_Quota_descriptor = getDescriptor().getMessageTypes().get(10); @@ -518,6 +801,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "StartTime", "EndTime", }); + internal_static_google_cloud_edgecontainer_v1_ServerConfig_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_edgecontainer_v1_ServerConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_ServerConfig_descriptor, + new java.lang.String[] { + "Channels", "Versions", "DefaultVersion", + }); + internal_static_google_cloud_edgecontainer_v1_ServerConfig_ChannelsEntry_descriptor = + internal_static_google_cloud_edgecontainer_v1_ServerConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_edgecontainer_v1_ServerConfig_ChannelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_ServerConfig_ChannelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_edgecontainer_v1_ChannelConfig_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_edgecontainer_v1_ChannelConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_ChannelConfig_descriptor, + new java.lang.String[] { + "DefaultVersion", + }); + internal_static_google_cloud_edgecontainer_v1_Version_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_edgecontainer_v1_Version_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_Version_descriptor, + new java.lang.String[] { + "Name", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); @@ -528,6 +845,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); } diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServerConfig.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServerConfig.java new file mode 100644 index 000000000000..86d24add4179 --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServerConfig.java @@ -0,0 +1,1609 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/resources.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +/** + * + * + *
+ * Server configuration for supported versions and release channels.
+ * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.ServerConfig} + */ +public final class ServerConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.ServerConfig) + ServerConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ServerConfig.newBuilder() to construct. + private ServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ServerConfig() { + versions_ = java.util.Collections.emptyList(); + defaultVersion_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ServerConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ServerConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetChannels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ServerConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.ServerConfig.class, + com.google.cloud.edgecontainer.v1.ServerConfig.Builder.class); + } + + public static final int CHANNELS_FIELD_NUMBER = 1; + + private static final class ChannelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.edgecontainer.v1.ChannelConfig> + defaultEntry = + com.google.protobuf.MapEntry + . + newDefaultInstance( + com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ServerConfig_ChannelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.edgecontainer.v1.ChannelConfig.getDefaultInstance()); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.edgecontainer.v1.ChannelConfig> + channels_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.edgecontainer.v1.ChannelConfig> + internalGetChannels() { + if (channels_ == null) { + return com.google.protobuf.MapField.emptyMapField(ChannelsDefaultEntryHolder.defaultEntry); + } + return channels_; + } + + public int getChannelsCount() { + return internalGetChannels().getMap().size(); + } + /** + * + * + *
+   * Output only. Mapping from release channel to channel config.
+   * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public boolean containsChannels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetChannels().getMap().containsKey(key); + } + /** Use {@link #getChannelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getChannels() { + return getChannelsMap(); + } + /** + * + * + *
+   * Output only. Mapping from release channel to channel config.
+   * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.Map + getChannelsMap() { + return internalGetChannels().getMap(); + } + /** + * + * + *
+   * Output only. Mapping from release channel to channel config.
+   * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.edgecontainer.v1.ChannelConfig getChannelsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.edgecontainer.v1.ChannelConfig defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetChannels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Output only. Mapping from release channel to channel config.
+   * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ChannelConfig getChannelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetChannels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int VERSIONS_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private java.util.List versions_; + /** + * + * + *
+   * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List getVersionsList() { + return versions_; + } + /** + * + * + *
+   * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getVersionsOrBuilderList() { + return versions_; + } + /** + * + * + *
+   * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public int getVersionsCount() { + return versions_.size(); + } + /** + * + * + *
+   * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Version getVersions(int index) { + return versions_.get(index); + } + /** + * + * + *
+   * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.VersionOrBuilder getVersionsOrBuilder(int index) { + return versions_.get(index); + } + + public static final int DEFAULT_VERSION_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object defaultVersion_ = ""; + /** + * + * + *
+   * Output only. Default version, e.g.: "1.4.0".
+   * 
+ * + * string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The defaultVersion. + */ + @java.lang.Override + public java.lang.String getDefaultVersion() { + java.lang.Object ref = defaultVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultVersion_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. Default version, e.g.: "1.4.0".
+   * 
+ * + * string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for defaultVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDefaultVersionBytes() { + java.lang.Object ref = defaultVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + defaultVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetChannels(), ChannelsDefaultEntryHolder.defaultEntry, 1); + for (int i = 0; i < versions_.size(); i++) { + output.writeMessage(2, versions_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultVersion_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry + entry : internalGetChannels().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.edgecontainer.v1.ChannelConfig> + channels__ = + ChannelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, channels__); + } + for (int i = 0; i < versions_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, versions_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultVersion_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.ServerConfig)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.ServerConfig other = + (com.google.cloud.edgecontainer.v1.ServerConfig) obj; + + if (!internalGetChannels().equals(other.internalGetChannels())) return false; + if (!getVersionsList().equals(other.getVersionsList())) return false; + if (!getDefaultVersion().equals(other.getDefaultVersion())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetChannels().getMap().isEmpty()) { + hash = (37 * hash) + CHANNELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetChannels().hashCode(); + } + if (getVersionsCount() > 0) { + hash = (37 * hash) + VERSIONS_FIELD_NUMBER; + hash = (53 * hash) + getVersionsList().hashCode(); + } + hash = (37 * hash) + DEFAULT_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getDefaultVersion().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig 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.edgecontainer.v1.ServerConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.edgecontainer.v1.ServerConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Server configuration for supported versions and release channels.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.ServerConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.ServerConfig) + com.google.cloud.edgecontainer.v1.ServerConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ServerConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetChannels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 1: + return internalGetMutableChannels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ServerConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.ServerConfig.class, + com.google.cloud.edgecontainer.v1.ServerConfig.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.ServerConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableChannels().clear(); + if (versionsBuilder_ == null) { + versions_ = java.util.Collections.emptyList(); + } else { + versions_ = null; + versionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + defaultVersion_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ServerConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ServerConfig getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.ServerConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ServerConfig build() { + com.google.cloud.edgecontainer.v1.ServerConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ServerConfig buildPartial() { + com.google.cloud.edgecontainer.v1.ServerConfig result = + new com.google.cloud.edgecontainer.v1.ServerConfig(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.edgecontainer.v1.ServerConfig result) { + if (versionsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + versions_ = java.util.Collections.unmodifiableList(versions_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.versions_ = versions_; + } else { + result.versions_ = versionsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.edgecontainer.v1.ServerConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.channels_ = internalGetChannels().build(ChannelsDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.defaultVersion_ = defaultVersion_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.ServerConfig) { + return mergeFrom((com.google.cloud.edgecontainer.v1.ServerConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.edgecontainer.v1.ServerConfig other) { + if (other == com.google.cloud.edgecontainer.v1.ServerConfig.getDefaultInstance()) return this; + internalGetMutableChannels().mergeFrom(other.internalGetChannels()); + bitField0_ |= 0x00000001; + if (versionsBuilder_ == null) { + if (!other.versions_.isEmpty()) { + if (versions_.isEmpty()) { + versions_ = other.versions_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureVersionsIsMutable(); + versions_.addAll(other.versions_); + } + onChanged(); + } + } else { + if (!other.versions_.isEmpty()) { + if (versionsBuilder_.isEmpty()) { + versionsBuilder_.dispose(); + versionsBuilder_ = null; + versions_ = other.versions_; + bitField0_ = (bitField0_ & ~0x00000002); + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVersionsFieldBuilder() + : null; + } else { + versionsBuilder_.addAllMessages(other.versions_); + } + } + } + if (!other.getDefaultVersion().isEmpty()) { + defaultVersion_ = other.defaultVersion_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.edgecontainer.v1.ChannelConfig> + channels__ = + input.readMessage( + ChannelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableChannels() + .ensureBuilderMap() + .put(channels__.getKey(), channels__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.edgecontainer.v1.Version m = + input.readMessage( + com.google.cloud.edgecontainer.v1.Version.parser(), extensionRegistry); + if (versionsBuilder_ == null) { + ensureVersionsIsMutable(); + versions_.add(m); + } else { + versionsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + defaultVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private static final class ChannelsConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.String, + com.google.cloud.edgecontainer.v1.ChannelConfigOrBuilder, + com.google.cloud.edgecontainer.v1.ChannelConfig> { + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ChannelConfig build( + com.google.cloud.edgecontainer.v1.ChannelConfigOrBuilder val) { + if (val instanceof com.google.cloud.edgecontainer.v1.ChannelConfig) { + return (com.google.cloud.edgecontainer.v1.ChannelConfig) val; + } + return ((com.google.cloud.edgecontainer.v1.ChannelConfig.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.edgecontainer.v1.ChannelConfig> + defaultEntry() { + return ChannelsDefaultEntryHolder.defaultEntry; + } + }; + + private static final ChannelsConverter channelsConverter = new ChannelsConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.edgecontainer.v1.ChannelConfigOrBuilder, + com.google.cloud.edgecontainer.v1.ChannelConfig, + com.google.cloud.edgecontainer.v1.ChannelConfig.Builder> + channels_; + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.edgecontainer.v1.ChannelConfigOrBuilder, + com.google.cloud.edgecontainer.v1.ChannelConfig, + com.google.cloud.edgecontainer.v1.ChannelConfig.Builder> + internalGetChannels() { + if (channels_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(channelsConverter); + } + return channels_; + } + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.edgecontainer.v1.ChannelConfigOrBuilder, + com.google.cloud.edgecontainer.v1.ChannelConfig, + com.google.cloud.edgecontainer.v1.ChannelConfig.Builder> + internalGetMutableChannels() { + if (channels_ == null) { + channels_ = new com.google.protobuf.MapFieldBuilder<>(channelsConverter); + } + bitField0_ |= 0x00000001; + onChanged(); + return channels_; + } + + public int getChannelsCount() { + return internalGetChannels().ensureBuilderMap().size(); + } + /** + * + * + *
+     * Output only. Mapping from release channel to channel config.
+     * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public boolean containsChannels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetChannels().ensureBuilderMap().containsKey(key); + } + /** Use {@link #getChannelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getChannels() { + return getChannelsMap(); + } + /** + * + * + *
+     * Output only. Mapping from release channel to channel config.
+     * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.Map + getChannelsMap() { + return internalGetChannels().getImmutableMap(); + } + /** + * + * + *
+     * Output only. Mapping from release channel to channel config.
+     * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.edgecontainer.v1.ChannelConfig getChannelsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.edgecontainer.v1.ChannelConfig defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetMutableChannels().ensureBuilderMap(); + return map.containsKey(key) ? channelsConverter.build(map.get(key)) : defaultValue; + } + /** + * + * + *
+     * Output only. Mapping from release channel to channel config.
+     * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ChannelConfig getChannelsOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetMutableChannels().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return channelsConverter.build(map.get(key)); + } + + public Builder clearChannels() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableChannels().clear(); + return this; + } + /** + * + * + *
+     * Output only. Mapping from release channel to channel config.
+     * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder removeChannels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableChannels().ensureBuilderMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableChannels() { + bitField0_ |= 0x00000001; + return internalGetMutableChannels().ensureMessageMap(); + } + /** + * + * + *
+     * Output only. Mapping from release channel to channel config.
+     * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder putChannels( + java.lang.String key, com.google.cloud.edgecontainer.v1.ChannelConfig value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableChannels().ensureBuilderMap().put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Output only. Mapping from release channel to channel config.
+     * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder putAllChannels( + java.util.Map values) { + for (java.util.Map.Entry + e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableChannels().ensureBuilderMap().putAll(values); + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * Output only. Mapping from release channel to channel config.
+     * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.edgecontainer.v1.ChannelConfig.Builder putChannelsBuilderIfAbsent( + java.lang.String key) { + java.util.Map + builderMap = internalGetMutableChannels().ensureBuilderMap(); + com.google.cloud.edgecontainer.v1.ChannelConfigOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.google.cloud.edgecontainer.v1.ChannelConfig.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.google.cloud.edgecontainer.v1.ChannelConfig) { + entry = ((com.google.cloud.edgecontainer.v1.ChannelConfig) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.google.cloud.edgecontainer.v1.ChannelConfig.Builder) entry; + } + + private java.util.List versions_ = + java.util.Collections.emptyList(); + + private void ensureVersionsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + versions_ = new java.util.ArrayList(versions_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Version, + com.google.cloud.edgecontainer.v1.Version.Builder, + com.google.cloud.edgecontainer.v1.VersionOrBuilder> + versionsBuilder_; + + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List getVersionsList() { + if (versionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(versions_); + } else { + return versionsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public int getVersionsCount() { + if (versionsBuilder_ == null) { + return versions_.size(); + } else { + return versionsBuilder_.getCount(); + } + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.edgecontainer.v1.Version getVersions(int index) { + if (versionsBuilder_ == null) { + return versions_.get(index); + } else { + return versionsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setVersions(int index, com.google.cloud.edgecontainer.v1.Version value) { + if (versionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVersionsIsMutable(); + versions_.set(index, value); + onChanged(); + } else { + versionsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setVersions( + int index, com.google.cloud.edgecontainer.v1.Version.Builder builderForValue) { + if (versionsBuilder_ == null) { + ensureVersionsIsMutable(); + versions_.set(index, builderForValue.build()); + onChanged(); + } else { + versionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addVersions(com.google.cloud.edgecontainer.v1.Version value) { + if (versionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVersionsIsMutable(); + versions_.add(value); + onChanged(); + } else { + versionsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addVersions(int index, com.google.cloud.edgecontainer.v1.Version value) { + if (versionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVersionsIsMutable(); + versions_.add(index, value); + onChanged(); + } else { + versionsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addVersions(com.google.cloud.edgecontainer.v1.Version.Builder builderForValue) { + if (versionsBuilder_ == null) { + ensureVersionsIsMutable(); + versions_.add(builderForValue.build()); + onChanged(); + } else { + versionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addVersions( + int index, com.google.cloud.edgecontainer.v1.Version.Builder builderForValue) { + if (versionsBuilder_ == null) { + ensureVersionsIsMutable(); + versions_.add(index, builderForValue.build()); + onChanged(); + } else { + versionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addAllVersions( + java.lang.Iterable values) { + if (versionsBuilder_ == null) { + ensureVersionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); + onChanged(); + } else { + versionsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearVersions() { + if (versionsBuilder_ == null) { + versions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + versionsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder removeVersions(int index) { + if (versionsBuilder_ == null) { + ensureVersionsIsMutable(); + versions_.remove(index); + onChanged(); + } else { + versionsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.edgecontainer.v1.Version.Builder getVersionsBuilder(int index) { + return getVersionsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.edgecontainer.v1.VersionOrBuilder getVersionsOrBuilder(int index) { + if (versionsBuilder_ == null) { + return versions_.get(index); + } else { + return versionsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getVersionsOrBuilderList() { + if (versionsBuilder_ != null) { + return versionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(versions_); + } + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.edgecontainer.v1.Version.Builder addVersionsBuilder() { + return getVersionsFieldBuilder() + .addBuilder(com.google.cloud.edgecontainer.v1.Version.getDefaultInstance()); + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.edgecontainer.v1.Version.Builder addVersionsBuilder(int index) { + return getVersionsFieldBuilder() + .addBuilder(index, com.google.cloud.edgecontainer.v1.Version.getDefaultInstance()); + } + /** + * + * + *
+     * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+     * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getVersionsBuilderList() { + return getVersionsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Version, + com.google.cloud.edgecontainer.v1.Version.Builder, + com.google.cloud.edgecontainer.v1.VersionOrBuilder> + getVersionsFieldBuilder() { + if (versionsBuilder_ == null) { + versionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.edgecontainer.v1.Version, + com.google.cloud.edgecontainer.v1.Version.Builder, + com.google.cloud.edgecontainer.v1.VersionOrBuilder>( + versions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + versions_ = null; + } + return versionsBuilder_; + } + + private java.lang.Object defaultVersion_ = ""; + /** + * + * + *
+     * Output only. Default version, e.g.: "1.4.0".
+     * 
+ * + * string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The defaultVersion. + */ + public java.lang.String getDefaultVersion() { + java.lang.Object ref = defaultVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. Default version, e.g.: "1.4.0".
+     * 
+ * + * string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for defaultVersion. + */ + public com.google.protobuf.ByteString getDefaultVersionBytes() { + java.lang.Object ref = defaultVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + defaultVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. Default version, e.g.: "1.4.0".
+     * 
+ * + * string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The defaultVersion to set. + * @return This builder for chaining. + */ + public Builder setDefaultVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + defaultVersion_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Default version, e.g.: "1.4.0".
+     * 
+ * + * string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearDefaultVersion() { + defaultVersion_ = getDefaultInstance().getDefaultVersion(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Default version, e.g.: "1.4.0".
+     * 
+ * + * string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for defaultVersion to set. + * @return This builder for chaining. + */ + public Builder setDefaultVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultVersion_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.ServerConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.ServerConfig) + private static final com.google.cloud.edgecontainer.v1.ServerConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.ServerConfig(); + } + + public static com.google.cloud.edgecontainer.v1.ServerConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServerConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ServerConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServerConfigOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServerConfigOrBuilder.java new file mode 100644 index 000000000000..2babb896d19e --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServerConfigOrBuilder.java @@ -0,0 +1,181 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/resources.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +public interface ServerConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.ServerConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Mapping from release channel to channel config.
+   * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getChannelsCount(); + /** + * + * + *
+   * Output only. Mapping from release channel to channel config.
+   * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + boolean containsChannels(java.lang.String key); + /** Use {@link #getChannelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getChannels(); + /** + * + * + *
+   * Output only. Mapping from release channel to channel config.
+   * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.Map getChannelsMap(); + /** + * + * + *
+   * Output only. Mapping from release channel to channel config.
+   * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + /* nullable */ + com.google.cloud.edgecontainer.v1.ChannelConfig getChannelsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.edgecontainer.v1.ChannelConfig defaultValue); + /** + * + * + *
+   * Output only. Mapping from release channel to channel config.
+   * 
+ * + * + * map<string, .google.cloud.edgecontainer.v1.ChannelConfig> channels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.edgecontainer.v1.ChannelConfig getChannelsOrThrow(java.lang.String key); + + /** + * + * + *
+   * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List getVersionsList(); + /** + * + * + *
+   * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.edgecontainer.v1.Version getVersions(int index); + /** + * + * + *
+   * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getVersionsCount(); + /** + * + * + *
+   * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getVersionsOrBuilderList(); + /** + * + * + *
+   * Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].
+   * 
+ * + * + * repeated .google.cloud.edgecontainer.v1.Version versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.edgecontainer.v1.VersionOrBuilder getVersionsOrBuilder(int index); + + /** + * + * + *
+   * Output only. Default version, e.g.: "1.4.0".
+   * 
+ * + * string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The defaultVersion. + */ + java.lang.String getDefaultVersion(); + /** + * + * + *
+   * Output only. Default version, e.g.: "1.4.0".
+   * 
+ * + * string default_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for defaultVersion. + */ + com.google.protobuf.ByteString getDefaultVersionBytes(); +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServiceProto.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServiceProto.java index f0d015aecf2a..f6e99579a215 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServiceProto.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServiceProto.java @@ -52,6 +52,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_edgecontainer_v1_UpdateClusterRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_edgecontainer_v1_UpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_UpgradeClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_UpgradeClusterRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_edgecontainer_v1_DeleteClusterRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -64,6 +68,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_edgecontainer_v1_GenerateAccessTokenResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_edgecontainer_v1_GenerateAccessTokenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_edgecontainer_v1_ListNodePoolsRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -120,6 +132,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_edgecontainer_v1_DeleteVpnConnectionRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_edgecontainer_v1_DeleteVpnConnectionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_edgecontainer_v1_GetServerConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_edgecontainer_v1_GetServerConfigRequest_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -137,37 +153,51 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cloud/edgecontainer/v1/resources.proto\032#" + "google/longrunning/operations.proto\032 goo" + "gle/protobuf/field_mask.proto\032\037google/pr" - + "otobuf/timestamp.proto\"\335\001\n\021OperationMeta" + + "otobuf/timestamp.proto\"\357\001\n\021OperationMeta" + "data\022/\n\013create_time\030\001 \001(\0132\032.google.proto" + "buf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google" + ".protobuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004v" + "erb\030\004 \001(\t\022\026\n\016status_message\030\005 \001(\t\022\036\n\026req" + "uested_cancellation\030\006 \001(\010\022\023\n\013api_version" - + "\030\007 \001(\t\"\234\001\n\023ListClustersRequest\022<\n\006parent" - + "\030\001 \001(\tB,\340A\002\372A&\022$edgecontainer.googleapis" - + ".com/Cluster\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" - + "token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030" - + "\005 \001(\t\"~\n\024ListClustersResponse\0228\n\010cluster" - + "s\030\001 \003(\0132&.google.cloud.edgecontainer.v1." - + "Cluster\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unre" - + "achable\030\003 \003(\t\"O\n\021GetClusterRequest\022:\n\004na" - + "me\030\001 \001(\tB,\340A\002\372A&\n$edgecontainer.googleap" - + "is.com/Cluster\"\277\001\n\024CreateClusterRequest\022" - + "<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$edgecontainer.g" - + "oogleapis.com/Cluster\022\027\n\ncluster_id\030\002 \001(" - + "\tB\003\340A\002\022<\n\007cluster\030\003 \001(\0132&.google.cloud.e" - + "dgecontainer.v1.ClusterB\003\340A\002\022\022\n\nrequest_" - + "id\030\004 \001(\t\"\224\001\n\024UpdateClusterRequest\022/\n\013upd" - + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" - + "sk\0227\n\007cluster\030\002 \001(\0132&.google.cloud.edgec" - + "ontainer.v1.Cluster\022\022\n\nrequest_id\030\003 \001(\t\"" - + "f\n\024DeleteClusterRequest\022:\n\004name\030\001 \001(\tB,\340" - + "A\002\372A&\n$edgecontainer.googleapis.com/Clus" - + "ter\022\022\n\nrequest_id\030\002 \001(\t\"[\n\032GenerateAcces" - + "sTokenRequest\022=\n\007cluster\030\001 \001(\tB,\340A\002\372A&\n$" - + "edgecontainer.googleapis.com/Cluster\"n\n\033" - + "GenerateAccessTokenResponse\022\031\n\014access_to" - + "ken\030\001 \001(\tB\003\340A\003\0224\n\013expire_time\030\002 \001(\0132\032.go" + + "\030\007 \001(\t\022\020\n\010warnings\030\010 \003(\t\"\234\001\n\023ListCluster" + + "sRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$edgeco" + + "ntainer.googleapis.com/Cluster\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030" + + "\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"~\n\024ListClustersR" + + "esponse\0228\n\010clusters\030\001 \003(\0132&.google.cloud" + + ".edgecontainer.v1.Cluster\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"O\n\021GetCl" + + "usterRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$edge" + + "container.googleapis.com/Cluster\"\277\001\n\024Cre" + + "ateClusterRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A" + + "&\022$edgecontainer.googleapis.com/Cluster\022" + + "\027\n\ncluster_id\030\002 \001(\tB\003\340A\002\022<\n\007cluster\030\003 \001(" + + "\0132&.google.cloud.edgecontainer.v1.Cluste" + + "rB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\224\001\n\024UpdateClu" + + "sterRequest\022/\n\013update_mask\030\001 \001(\0132\032.googl" + + "e.protobuf.FieldMask\0227\n\007cluster\030\002 \001(\0132&." + + "google.cloud.edgecontainer.v1.Cluster\022\022\n" + + "\nrequest_id\030\003 \001(\t\"\214\002\n\025UpgradeClusterRequ" + + "est\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$edgecontainer" + + ".googleapis.com/Cluster\022\033\n\016target_versio" + + "n\030\002 \001(\tB\003\340A\002\022O\n\010schedule\030\003 \001(\0162=.google." + + "cloud.edgecontainer.v1.UpgradeClusterReq" + + "uest.Schedule\022\022\n\nrequest_id\030\004 \001(\t\"5\n\010Sch" + + "edule\022\030\n\024SCHEDULE_UNSPECIFIED\020\000\022\017\n\013IMMED" + + "IATELY\020\001\"f\n\024DeleteClusterRequest\022:\n\004name" + + "\030\001 \001(\tB,\340A\002\372A&\n$edgecontainer.googleapis" + + ".com/Cluster\022\022\n\nrequest_id\030\002 \001(\t\"[\n\032Gene" + + "rateAccessTokenRequest\022=\n\007cluster\030\001 \001(\tB" + + ",\340A\002\372A&\n$edgecontainer.googleapis.com/Cl" + + "uster\"n\n\033GenerateAccessTokenResponse\022\031\n\014" + + "access_token\030\001 \001(\tB\003\340A\003\0224\n\013expire_time\030\002" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\"a\n" + + " GenerateOfflineCredentialRequest\022=\n\007clu" + + "ster\030\001 \001(\tB,\340A\002\372A&\n$edgecontainer.google" + + "apis.com/Cluster\"\251\001\n!GenerateOfflineCred" + + "entialResponse\022\037\n\022client_certificate\030\001 \001" + + "(\tB\003\340A\003\022\027\n\nclient_key\030\002 \001(\tB\003\340A\003\022\024\n\007user" + + "_id\030\003 \001(\tB\003\340A\003\0224\n\013expire_time\030\004 \001(\0132\032.go" + "ogle.protobuf.TimestampB\003\340A\003\"\236\001\n\024ListNod" + "ePoolsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%e" + "dgecontainer.googleapis.com/NodePool\022\021\n\t" @@ -217,103 +247,121 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nnectionB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"r\n\032Del" + "eteVpnConnectionRequest\022@\n\004name\030\001 \001(\tB2\340" + "A\002\372A,\n*edgecontainer.googleapis.com/VpnC" - + "onnection\022\022\n\nrequest_id\030\002 \001(\t2\337\034\n\rEdgeCo" - + "ntainer\022\266\001\n\014ListClusters\0222.google.cloud." - + "edgecontainer.v1.ListClustersRequest\0323.g" - + "oogle.cloud.edgecontainer.v1.ListCluster" - + "sResponse\"=\332A\006parent\202\323\344\223\002.\022,/v1/{parent=" - + "projects/*/locations/*}/clusters\022\243\001\n\nGet" - + "Cluster\0220.google.cloud.edgecontainer.v1." - + "GetClusterRequest\032&.google.cloud.edgecon" - + "tainer.v1.Cluster\";\332A\004name\202\323\344\223\002.\022,/v1/{n" - + "ame=projects/*/locations/*/clusters/*}\022\335" - + "\001\n\rCreateCluster\0223.google.cloud.edgecont" - + "ainer.v1.CreateClusterRequest\032\035.google.l" - + "ongrunning.Operation\"x\312A\034\n\007Cluster\022\021Oper" - + "ationMetadata\332A\031parent,cluster,cluster_i" - + "d\202\323\344\223\0027\",/v1/{parent=projects/*/location" - + "s/*}/clusters:\007cluster\022\337\001\n\rUpdateCluster" - + "\0223.google.cloud.edgecontainer.v1.UpdateC" - + "lusterRequest\032\035.google.longrunning.Opera" - + "tion\"z\312A\034\n\007Cluster\022\021OperationMetadata\332A\023" - + "cluster,update_mask\202\323\344\223\002?24/v1/{cluster." - + "name=projects/*/locations/*/clusters/*}:" - + "\007cluster\022\315\001\n\rDeleteCluster\0223.google.clou" - + "d.edgecontainer.v1.DeleteClusterRequest\032" - + "\035.google.longrunning.Operation\"h\312A*\n\025goo" - + "gle.protobuf.Empty\022\021OperationMetadata\332A\004" - + "name\202\323\344\223\002.*,/v1/{name=projects/*/locatio" - + "ns/*/clusters/*}\022\343\001\n\023GenerateAccessToken" - + "\0229.google.cloud.edgecontainer.v1.Generat" - + "eAccessTokenRequest\032:.google.cloud.edgec" - + "ontainer.v1.GenerateAccessTokenResponse\"" - + "U\332A\007cluster\202\323\344\223\002E\022C/v1/{cluster=projects" - + "/*/locations/*/clusters/*}:generateAcces" - + "sToken\022\305\001\n\rListNodePools\0223.google.cloud." - + "edgecontainer.v1.ListNodePoolsRequest\0324." - + "google.cloud.edgecontainer.v1.ListNodePo" - + "olsResponse\"I\332A\006parent\202\323\344\223\002:\0228/v1/{paren" - + "t=projects/*/locations/*/clusters/*}/nod" - + "ePools\022\262\001\n\013GetNodePool\0221.google.cloud.ed" - + "gecontainer.v1.GetNodePoolRequest\032\'.goog" - + "le.cloud.edgecontainer.v1.NodePool\"G\332A\004n" - + "ame\202\323\344\223\002:\0228/v1/{name=projects/*/location" - + "s/*/clusters/*/nodePools/*}\022\363\001\n\016CreateNo" - + "dePool\0224.google.cloud.edgecontainer.v1.C" - + "reateNodePoolRequest\032\035.google.longrunnin" - + "g.Operation\"\213\001\312A\035\n\010NodePool\022\021OperationMe" - + "tadata\332A\035parent,node_pool,node_pool_id\202\323" - + "\344\223\002E\"8/v1/{parent=projects/*/locations/*" - + "/clusters/*}/nodePools:\tnode_pool\022\365\001\n\016Up" - + "dateNodePool\0224.google.cloud.edgecontaine" - + "r.v1.UpdateNodePoolRequest\032\035.google.long" - + "running.Operation\"\215\001\312A\035\n\010NodePool\022\021Opera" - + "tionMetadata\332A\025node_pool,update_mask\202\323\344\223" - + "\002O2B/v1/{node_pool.name=projects/*/locat" - + "ions/*/clusters/*/nodePools/*}:\tnode_poo" - + "l\022\333\001\n\016DeleteNodePool\0224.google.cloud.edge" - + "container.v1.DeleteNodePoolRequest\032\035.goo" - + "gle.longrunning.Operation\"t\312A*\n\025google.p" - + "rotobuf.Empty\022\021OperationMetadata\332A\004name\202" - + "\323\344\223\002:*8/v1/{name=projects/*/locations/*/" - + "clusters/*/nodePools/*}\022\266\001\n\014ListMachines" - + "\0222.google.cloud.edgecontainer.v1.ListMac" - + "hinesRequest\0323.google.cloud.edgecontaine" - + "r.v1.ListMachinesResponse\"=\332A\006parent\202\323\344\223" - + "\002.\022,/v1/{parent=projects/*/locations/*}/" - + "machines\022\243\001\n\nGetMachine\0220.google.cloud.e" - + "dgecontainer.v1.GetMachineRequest\032&.goog" - + "le.cloud.edgecontainer.v1.Machine\";\332A\004na" - + "me\202\323\344\223\002.\022,/v1/{name=projects/*/locations" - + "/*/machines/*}\022\316\001\n\022ListVpnConnections\0228." - + "google.cloud.edgecontainer.v1.ListVpnCon" - + "nectionsRequest\0329.google.cloud.edgeconta" - + "iner.v1.ListVpnConnectionsResponse\"C\332A\006p" - + "arent\202\323\344\223\0024\0222/v1/{parent=projects/*/loca" - + "tions/*}/vpnConnections\022\273\001\n\020GetVpnConnec" - + "tion\0226.google.cloud.edgecontainer.v1.Get" - + "VpnConnectionRequest\032,.google.cloud.edge" - + "container.v1.VpnConnection\"A\332A\004name\202\323\344\223\002" - + "4\0222/v1/{name=projects/*/locations/*/vpnC" - + "onnections/*}\022\213\002\n\023CreateVpnConnection\0229." - + "google.cloud.edgecontainer.v1.CreateVpnC" - + "onnectionRequest\032\035.google.longrunning.Op" - + "eration\"\231\001\312A\"\n\rVpnConnection\022\021OperationM" - + "etadata\332A\'parent,vpn_connection,vpn_conn" - + "ection_id\202\323\344\223\002D\"2/v1/{parent=projects/*/" - + "locations/*}/vpnConnections:\016vpn_connect" - + "ion\022\337\001\n\023DeleteVpnConnection\0229.google.clo" - + "ud.edgecontainer.v1.DeleteVpnConnectionR" - + "equest\032\035.google.longrunning.Operation\"n\312" - + "A*\n\025google.protobuf.Empty\022\021OperationMeta" - + "data\332A\004name\202\323\344\223\0024*2/v1/{name=projects/*/" - + "locations/*/vpnConnections/*}\032P\312A\034edgeco" - + "ntainer.googleapis.com\322A.https://www.goo" - + "gleapis.com/auth/cloud-platformB|\n!com.g" - + "oogle.cloud.edgecontainer.v1B\014ServicePro" - + "toP\001ZGcloud.google.com/go/edgecontainer/" - + "apiv1/edgecontainerpb;edgecontainerpbb\006p" - + "roto3" + + "onnection\022\022\n\nrequest_id\030\002 \001(\t\"Q\n\026GetServ" + + "erConfigRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!l" + + "ocations.googleapis.com/Location2\373!\n\rEdg" + + "eContainer\022\266\001\n\014ListClusters\0222.google.clo" + + "ud.edgecontainer.v1.ListClustersRequest\032" + + "3.google.cloud.edgecontainer.v1.ListClus" + + "tersResponse\"=\332A\006parent\202\323\344\223\002.\022,/v1/{pare" + + "nt=projects/*/locations/*}/clusters\022\243\001\n\n" + + "GetCluster\0220.google.cloud.edgecontainer." + + "v1.GetClusterRequest\032&.google.cloud.edge" + + "container.v1.Cluster\";\332A\004name\202\323\344\223\002.\022,/v1" + + "/{name=projects/*/locations/*/clusters/*" + + "}\022\335\001\n\rCreateCluster\0223.google.cloud.edgec" + + "ontainer.v1.CreateClusterRequest\032\035.googl" + + "e.longrunning.Operation\"x\312A\034\n\007Cluster\022\021O" + + "perationMetadata\332A\031parent,cluster,cluste" + + "r_id\202\323\344\223\0027\",/v1/{parent=projects/*/locat" + + "ions/*}/clusters:\007cluster\022\337\001\n\rUpdateClus" + + "ter\0223.google.cloud.edgecontainer.v1.Upda" + + "teClusterRequest\032\035.google.longrunning.Op" + + "eration\"z\312A\034\n\007Cluster\022\021OperationMetadata" + + "\332A\023cluster,update_mask\202\323\344\223\002?24/v1/{clust" + + "er.name=projects/*/locations/*/clusters/" + + "*}:\007cluster\022\344\001\n\016UpgradeCluster\0224.google." + + "cloud.edgecontainer.v1.UpgradeClusterReq" + + "uest\032\035.google.longrunning.Operation\"}\312A\034" + + "\n\007Cluster\022\021OperationMetadata\332A\034name,targ" + + "et_version,schedule\202\323\344\223\0029\"4/v1/{name=pro" + + "jects/*/locations/*/clusters/*}:upgrade:" + + "\001*\022\315\001\n\rDeleteCluster\0223.google.cloud.edge" + + "container.v1.DeleteClusterRequest\032\035.goog" + + "le.longrunning.Operation\"h\312A*\n\025google.pr" + + "otobuf.Empty\022\021OperationMetadata\332A\004name\202\323" + + "\344\223\002.*,/v1/{name=projects/*/locations/*/c" + + "lusters/*}\022\343\001\n\023GenerateAccessToken\0229.goo" + + "gle.cloud.edgecontainer.v1.GenerateAcces" + + "sTokenRequest\032:.google.cloud.edgecontain" + + "er.v1.GenerateAccessTokenResponse\"U\332A\007cl" + + "uster\202\323\344\223\002E\022C/v1/{cluster=projects/*/loc" + + "ations/*/clusters/*}:generateAccessToken" + + "\022\373\001\n\031GenerateOfflineCredential\022?.google." + + "cloud.edgecontainer.v1.GenerateOfflineCr" + + "edentialRequest\032@.google.cloud.edgeconta" + + "iner.v1.GenerateOfflineCredentialRespons" + + "e\"[\332A\007cluster\202\323\344\223\002K\022I/v1/{cluster=projec" + + "ts/*/locations/*/clusters/*}:generateOff" + + "lineCredential\022\305\001\n\rListNodePools\0223.googl" + + "e.cloud.edgecontainer.v1.ListNodePoolsRe" + + "quest\0324.google.cloud.edgecontainer.v1.Li" + + "stNodePoolsResponse\"I\332A\006parent\202\323\344\223\002:\0228/v" + + "1/{parent=projects/*/locations/*/cluster" + + "s/*}/nodePools\022\262\001\n\013GetNodePool\0221.google." + + "cloud.edgecontainer.v1.GetNodePoolReques" + + "t\032\'.google.cloud.edgecontainer.v1.NodePo" + + "ol\"G\332A\004name\202\323\344\223\002:\0228/v1/{name=projects/*/" + + "locations/*/clusters/*/nodePools/*}\022\363\001\n\016" + + "CreateNodePool\0224.google.cloud.edgecontai" + + "ner.v1.CreateNodePoolRequest\032\035.google.lo" + + "ngrunning.Operation\"\213\001\312A\035\n\010NodePool\022\021Ope" + + "rationMetadata\332A\035parent,node_pool,node_p" + + "ool_id\202\323\344\223\002E\"8/v1/{parent=projects/*/loc" + + "ations/*/clusters/*}/nodePools:\tnode_poo" + + "l\022\365\001\n\016UpdateNodePool\0224.google.cloud.edge" + + "container.v1.UpdateNodePoolRequest\032\035.goo" + + "gle.longrunning.Operation\"\215\001\312A\035\n\010NodePoo" + + "l\022\021OperationMetadata\332A\025node_pool,update_" + + "mask\202\323\344\223\002O2B/v1/{node_pool.name=projects" + + "/*/locations/*/clusters/*/nodePools/*}:\t" + + "node_pool\022\333\001\n\016DeleteNodePool\0224.google.cl" + + "oud.edgecontainer.v1.DeleteNodePoolReque" + + "st\032\035.google.longrunning.Operation\"t\312A*\n\025" + + "google.protobuf.Empty\022\021OperationMetadata" + + "\332A\004name\202\323\344\223\002:*8/v1/{name=projects/*/loca" + + "tions/*/clusters/*/nodePools/*}\022\266\001\n\014List" + + "Machines\0222.google.cloud.edgecontainer.v1" + + ".ListMachinesRequest\0323.google.cloud.edge" + + "container.v1.ListMachinesResponse\"=\332A\006pa" + + "rent\202\323\344\223\002.\022,/v1/{parent=projects/*/locat" + + "ions/*}/machines\022\243\001\n\nGetMachine\0220.google" + + ".cloud.edgecontainer.v1.GetMachineReques" + + "t\032&.google.cloud.edgecontainer.v1.Machin" + + "e\";\332A\004name\202\323\344\223\002.\022,/v1/{name=projects/*/l" + + "ocations/*/machines/*}\022\316\001\n\022ListVpnConnec" + + "tions\0228.google.cloud.edgecontainer.v1.Li" + + "stVpnConnectionsRequest\0329.google.cloud.e" + + "dgecontainer.v1.ListVpnConnectionsRespon" + + "se\"C\332A\006parent\202\323\344\223\0024\0222/v1/{parent=project" + + "s/*/locations/*}/vpnConnections\022\273\001\n\020GetV" + + "pnConnection\0226.google.cloud.edgecontaine" + + "r.v1.GetVpnConnectionRequest\032,.google.cl" + + "oud.edgecontainer.v1.VpnConnection\"A\332A\004n" + + "ame\202\323\344\223\0024\0222/v1/{name=projects/*/location" + + "s/*/vpnConnections/*}\022\213\002\n\023CreateVpnConne" + + "ction\0229.google.cloud.edgecontainer.v1.Cr" + + "eateVpnConnectionRequest\032\035.google.longru" + + "nning.Operation\"\231\001\312A\"\n\rVpnConnection\022\021Op" + + "erationMetadata\332A\'parent,vpn_connection," + + "vpn_connection_id\202\323\344\223\002D\"2/v1/{parent=pro" + + "jects/*/locations/*}/vpnConnections:\016vpn" + + "_connection\022\337\001\n\023DeleteVpnConnection\0229.go" + + "ogle.cloud.edgecontainer.v1.DeleteVpnCon" + + "nectionRequest\032\035.google.longrunning.Oper" + + "ation\"n\312A*\n\025google.protobuf.Empty\022\021Opera" + + "tionMetadata\332A\004name\202\323\344\223\0024*2/v1/{name=pro" + + "jects/*/locations/*/vpnConnections/*}\022\264\001" + + "\n\017GetServerConfig\0225.google.cloud.edgecon" + + "tainer.v1.GetServerConfigRequest\032+.googl" + + "e.cloud.edgecontainer.v1.ServerConfig\"=\332" + + "A\004name\202\323\344\223\0020\022./v1/{name=projects/*/locat" + + "ions/*}/serverConfig\032P\312A\034edgecontainer.g" + + "oogleapis.com\322A.https://www.googleapis.c" + + "om/auth/cloud-platformB|\n!com.google.clo" + + "ud.edgecontainer.v1B\014ServiceProtoP\001ZGclo" + + "ud.google.com/go/edgecontainer/apiv1/edg" + + "econtainerpb;edgecontainerpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -341,6 +389,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "StatusMessage", "RequestedCancellation", "ApiVersion", + "Warnings", }); internal_static_google_cloud_edgecontainer_v1_ListClustersRequest_descriptor = getDescriptor().getMessageTypes().get(1); @@ -382,8 +431,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "UpdateMask", "Cluster", "RequestId", }); - internal_static_google_cloud_edgecontainer_v1_DeleteClusterRequest_descriptor = + internal_static_google_cloud_edgecontainer_v1_UpgradeClusterRequest_descriptor = getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_edgecontainer_v1_UpgradeClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_UpgradeClusterRequest_descriptor, + new java.lang.String[] { + "Name", "TargetVersion", "Schedule", "RequestId", + }); + internal_static_google_cloud_edgecontainer_v1_DeleteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(7); internal_static_google_cloud_edgecontainer_v1_DeleteClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_DeleteClusterRequest_descriptor, @@ -391,7 +448,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "RequestId", }); internal_static_google_cloud_edgecontainer_v1_GenerateAccessTokenRequest_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(8); internal_static_google_cloud_edgecontainer_v1_GenerateAccessTokenRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_GenerateAccessTokenRequest_descriptor, @@ -399,15 +456,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Cluster", }); internal_static_google_cloud_edgecontainer_v1_GenerateAccessTokenResponse_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageTypes().get(9); internal_static_google_cloud_edgecontainer_v1_GenerateAccessTokenResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_GenerateAccessTokenResponse_descriptor, new java.lang.String[] { "AccessToken", "ExpireTime", }); + internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialRequest_descriptor, + new java.lang.String[] { + "Cluster", + }); + internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_GenerateOfflineCredentialResponse_descriptor, + new java.lang.String[] { + "ClientCertificate", "ClientKey", "UserId", "ExpireTime", + }); internal_static_google_cloud_edgecontainer_v1_ListNodePoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_edgecontainer_v1_ListNodePoolsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_ListNodePoolsRequest_descriptor, @@ -415,7 +488,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_edgecontainer_v1_ListNodePoolsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_edgecontainer_v1_ListNodePoolsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_ListNodePoolsResponse_descriptor, @@ -423,7 +496,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodePools", "NextPageToken", "Unreachable", }); internal_static_google_cloud_edgecontainer_v1_GetNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_edgecontainer_v1_GetNodePoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_GetNodePoolRequest_descriptor, @@ -431,7 +504,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_edgecontainer_v1_CreateNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(15); internal_static_google_cloud_edgecontainer_v1_CreateNodePoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_CreateNodePoolRequest_descriptor, @@ -439,7 +512,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "NodePoolId", "NodePool", "RequestId", }); internal_static_google_cloud_edgecontainer_v1_UpdateNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(16); internal_static_google_cloud_edgecontainer_v1_UpdateNodePoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_UpdateNodePoolRequest_descriptor, @@ -447,7 +520,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UpdateMask", "NodePool", "RequestId", }); internal_static_google_cloud_edgecontainer_v1_DeleteNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(17); internal_static_google_cloud_edgecontainer_v1_DeleteNodePoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_DeleteNodePoolRequest_descriptor, @@ -455,7 +528,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "RequestId", }); internal_static_google_cloud_edgecontainer_v1_ListMachinesRequest_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(18); internal_static_google_cloud_edgecontainer_v1_ListMachinesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_ListMachinesRequest_descriptor, @@ -463,7 +536,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_edgecontainer_v1_ListMachinesResponse_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(19); internal_static_google_cloud_edgecontainer_v1_ListMachinesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_ListMachinesResponse_descriptor, @@ -471,7 +544,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Machines", "NextPageToken", "Unreachable", }); internal_static_google_cloud_edgecontainer_v1_GetMachineRequest_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(20); internal_static_google_cloud_edgecontainer_v1_GetMachineRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_GetMachineRequest_descriptor, @@ -479,7 +552,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_edgecontainer_v1_ListVpnConnectionsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(21); internal_static_google_cloud_edgecontainer_v1_ListVpnConnectionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_ListVpnConnectionsRequest_descriptor, @@ -487,7 +560,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_edgecontainer_v1_ListVpnConnectionsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(22); internal_static_google_cloud_edgecontainer_v1_ListVpnConnectionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_ListVpnConnectionsResponse_descriptor, @@ -495,7 +568,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "VpnConnections", "NextPageToken", "Unreachable", }); internal_static_google_cloud_edgecontainer_v1_GetVpnConnectionRequest_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(23); internal_static_google_cloud_edgecontainer_v1_GetVpnConnectionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_GetVpnConnectionRequest_descriptor, @@ -503,7 +576,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_edgecontainer_v1_CreateVpnConnectionRequest_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(24); internal_static_google_cloud_edgecontainer_v1_CreateVpnConnectionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_CreateVpnConnectionRequest_descriptor, @@ -511,13 +584,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "VpnConnectionId", "VpnConnection", "RequestId", }); internal_static_google_cloud_edgecontainer_v1_DeleteVpnConnectionRequest_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(25); internal_static_google_cloud_edgecontainer_v1_DeleteVpnConnectionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_edgecontainer_v1_DeleteVpnConnectionRequest_descriptor, new java.lang.String[] { "Name", "RequestId", }); + internal_static_google_cloud_edgecontainer_v1_GetServerConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_edgecontainer_v1_GetServerConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_edgecontainer_v1_GetServerConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/UpgradeClusterRequest.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/UpgradeClusterRequest.java new file mode 100644 index 000000000000..1f4323b19ad8 --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/UpgradeClusterRequest.java @@ -0,0 +1,1316 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +/** + * + * + *
+ * Upgrades a cluster.
+ * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.UpgradeClusterRequest} + */ +public final class UpgradeClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.UpgradeClusterRequest) + UpgradeClusterRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpgradeClusterRequest.newBuilder() to construct. + private UpgradeClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpgradeClusterRequest() { + name_ = ""; + targetVersion_ = ""; + schedule_ = 0; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpgradeClusterRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_UpgradeClusterRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_UpgradeClusterRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.class, + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Builder.class); + } + + /** + * + * + *
+   * Represents the schedule about when the cluster is going to be upgraded.
+   * 
+ * + * Protobuf enum {@code google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule} + */ + public enum Schedule implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified. The default is to upgrade the cluster immediately which is
+     * the only option today.
+     * 
+ * + * SCHEDULE_UNSPECIFIED = 0; + */ + SCHEDULE_UNSPECIFIED(0), + /** + * + * + *
+     * The cluster is going to be upgraded immediately after receiving the
+     * request.
+     * 
+ * + * IMMEDIATELY = 1; + */ + IMMEDIATELY(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Unspecified. The default is to upgrade the cluster immediately which is
+     * the only option today.
+     * 
+ * + * SCHEDULE_UNSPECIFIED = 0; + */ + public static final int SCHEDULE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * The cluster is going to be upgraded immediately after receiving the
+     * request.
+     * 
+ * + * IMMEDIATELY = 1; + */ + public static final int IMMEDIATELY_VALUE = 1; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Schedule valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Schedule forNumber(int value) { + switch (value) { + case 0: + return SCHEDULE_UNSPECIFIED; + case 1: + return IMMEDIATELY; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Schedule findValueByNumber(int number) { + return Schedule.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Schedule[] VALUES = values(); + + public static Schedule valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Schedule(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule) + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The resource name of the cluster.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the cluster.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TARGET_VERSION_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object targetVersion_ = ""; + /** + * + * + *
+   * Required. The version the cluster is going to be upgraded to.
+   * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The targetVersion. + */ + @java.lang.Override + public java.lang.String getTargetVersion() { + java.lang.Object ref = targetVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetVersion_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The version the cluster is going to be upgraded to.
+   * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for targetVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTargetVersionBytes() { + java.lang.Object ref = targetVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCHEDULE_FIELD_NUMBER = 3; + private int schedule_ = 0; + /** + * + * + *
+   * The schedule for the upgrade.
+   * 
+ * + * .google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule schedule = 3; + * + * @return The enum numeric value on the wire for schedule. + */ + @java.lang.Override + public int getScheduleValue() { + return schedule_; + } + /** + * + * + *
+   * The schedule for the upgrade.
+   * 
+ * + * .google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule schedule = 3; + * + * @return The schedule. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule getSchedule() { + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule result = + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule.forNumber(schedule_); + return result == null + ? com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule.UNRECOGNIZED + : result; + } + + public static final int REQUEST_ID_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * A unique identifier for this request. Restricted to 36 ASCII characters. A
+   * random UUID is recommended. This request is only idempotent if
+   * `request_id` is provided.
+   * 
+ * + * string request_id = 4; + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * A unique identifier for this request. Restricted to 36 ASCII characters. A
+   * random UUID is recommended. This request is only idempotent if
+   * `request_id` is provided.
+   * 
+ * + * string request_id = 4; + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetVersion_); + } + if (schedule_ + != com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule.SCHEDULE_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, schedule_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetVersion_); + } + if (schedule_ + != com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule.SCHEDULE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, schedule_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.UpgradeClusterRequest)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest other = + (com.google.cloud.edgecontainer.v1.UpgradeClusterRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getTargetVersion().equals(other.getTargetVersion())) return false; + if (schedule_ != other.schedule_) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + TARGET_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getTargetVersion().hashCode(); + hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; + hash = (53 * hash) + schedule_; + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest 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.edgecontainer.v1.UpgradeClusterRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Upgrades a cluster.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.UpgradeClusterRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.UpgradeClusterRequest) + com.google.cloud.edgecontainer.v1.UpgradeClusterRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_UpgradeClusterRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_UpgradeClusterRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.class, + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + targetVersion_ = ""; + schedule_ = 0; + requestId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ServiceProto + .internal_static_google_cloud_edgecontainer_v1_UpgradeClusterRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.UpgradeClusterRequest getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.UpgradeClusterRequest build() { + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.UpgradeClusterRequest buildPartial() { + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest result = + new com.google.cloud.edgecontainer.v1.UpgradeClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.edgecontainer.v1.UpgradeClusterRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.targetVersion_ = targetVersion_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.schedule_ = schedule_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.requestId_ = requestId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.UpgradeClusterRequest) { + return mergeFrom((com.google.cloud.edgecontainer.v1.UpgradeClusterRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.edgecontainer.v1.UpgradeClusterRequest other) { + if (other == com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getTargetVersion().isEmpty()) { + targetVersion_ = other.targetVersion_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.schedule_ != 0) { + setScheduleValue(other.getScheduleValue()); + } + if (!other.getRequestId().isEmpty()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + targetVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + schedule_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the cluster.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object targetVersion_ = ""; + /** + * + * + *
+     * Required. The version the cluster is going to be upgraded to.
+     * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The targetVersion. + */ + public java.lang.String getTargetVersion() { + java.lang.Object ref = targetVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The version the cluster is going to be upgraded to.
+     * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for targetVersion. + */ + public com.google.protobuf.ByteString getTargetVersionBytes() { + java.lang.Object ref = targetVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The version the cluster is going to be upgraded to.
+     * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The targetVersion to set. + * @return This builder for chaining. + */ + public Builder setTargetVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + targetVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The version the cluster is going to be upgraded to.
+     * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearTargetVersion() { + targetVersion_ = getDefaultInstance().getTargetVersion(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The version the cluster is going to be upgraded to.
+     * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for targetVersion to set. + * @return This builder for chaining. + */ + public Builder setTargetVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int schedule_ = 0; + /** + * + * + *
+     * The schedule for the upgrade.
+     * 
+ * + * .google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule schedule = 3; + * + * @return The enum numeric value on the wire for schedule. + */ + @java.lang.Override + public int getScheduleValue() { + return schedule_; + } + /** + * + * + *
+     * The schedule for the upgrade.
+     * 
+ * + * .google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule schedule = 3; + * + * @param value The enum numeric value on the wire for schedule to set. + * @return This builder for chaining. + */ + public Builder setScheduleValue(int value) { + schedule_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The schedule for the upgrade.
+     * 
+ * + * .google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule schedule = 3; + * + * @return The schedule. + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule getSchedule() { + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule result = + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule.forNumber(schedule_); + return result == null + ? com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * The schedule for the upgrade.
+     * 
+ * + * .google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule schedule = 3; + * + * @param value The schedule to set. + * @return This builder for chaining. + */ + public Builder setSchedule( + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + schedule_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The schedule for the upgrade.
+     * 
+ * + * .google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule schedule = 3; + * + * @return This builder for chaining. + */ + public Builder clearSchedule() { + bitField0_ = (bitField0_ & ~0x00000004); + schedule_ = 0; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * A unique identifier for this request. Restricted to 36 ASCII characters. A
+     * random UUID is recommended. This request is only idempotent if
+     * `request_id` is provided.
+     * 
+ * + * string request_id = 4; + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A unique identifier for this request. Restricted to 36 ASCII characters. A
+     * random UUID is recommended. This request is only idempotent if
+     * `request_id` is provided.
+     * 
+ * + * string request_id = 4; + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A unique identifier for this request. Restricted to 36 ASCII characters. A
+     * random UUID is recommended. This request is only idempotent if
+     * `request_id` is provided.
+     * 
+ * + * string request_id = 4; + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * A unique identifier for this request. Restricted to 36 ASCII characters. A
+     * random UUID is recommended. This request is only idempotent if
+     * `request_id` is provided.
+     * 
+ * + * string request_id = 4; + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * A unique identifier for this request. Restricted to 36 ASCII characters. A
+     * random UUID is recommended. This request is only idempotent if
+     * `request_id` is provided.
+     * 
+ * + * string request_id = 4; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.UpgradeClusterRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.UpgradeClusterRequest) + private static final com.google.cloud.edgecontainer.v1.UpgradeClusterRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.UpgradeClusterRequest(); + } + + public static com.google.cloud.edgecontainer.v1.UpgradeClusterRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.UpgradeClusterRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/UpgradeClusterRequestOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/UpgradeClusterRequestOrBuilder.java new file mode 100644 index 000000000000..883f234a9c85 --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/UpgradeClusterRequestOrBuilder.java @@ -0,0 +1,134 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/service.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +public interface UpgradeClusterRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.UpgradeClusterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the cluster.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the cluster.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. The version the cluster is going to be upgraded to.
+   * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The targetVersion. + */ + java.lang.String getTargetVersion(); + /** + * + * + *
+   * Required. The version the cluster is going to be upgraded to.
+   * 
+ * + * string target_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for targetVersion. + */ + com.google.protobuf.ByteString getTargetVersionBytes(); + + /** + * + * + *
+   * The schedule for the upgrade.
+   * 
+ * + * .google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule schedule = 3; + * + * @return The enum numeric value on the wire for schedule. + */ + int getScheduleValue(); + /** + * + * + *
+   * The schedule for the upgrade.
+   * 
+ * + * .google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule schedule = 3; + * + * @return The schedule. + */ + com.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule getSchedule(); + + /** + * + * + *
+   * A unique identifier for this request. Restricted to 36 ASCII characters. A
+   * random UUID is recommended. This request is only idempotent if
+   * `request_id` is provided.
+   * 
+ * + * string request_id = 4; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * A unique identifier for this request. Restricted to 36 ASCII characters. A
+   * random UUID is recommended. This request is only idempotent if
+   * `request_id` is provided.
+   * 
+ * + * string request_id = 4; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Version.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Version.java new file mode 100644 index 000000000000..3643114e2cdc --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/Version.java @@ -0,0 +1,624 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/resources.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +/** + * + * + *
+ * Version of a cluster.
+ * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Version} + */ +public final class Version extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.edgecontainer.v1.Version) + VersionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Version.newBuilder() to construct. + private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Version() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Version(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Version_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Version_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Version.class, + com.google.cloud.edgecontainer.v1.Version.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Output only. Name of the version, e.g.: "1.4.0".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. Name of the version, e.g.: "1.4.0".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.edgecontainer.v1.Version)) { + return super.equals(obj); + } + com.google.cloud.edgecontainer.v1.Version other = + (com.google.cloud.edgecontainer.v1.Version) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.edgecontainer.v1.Version parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Version parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Version parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Version parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Version parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.edgecontainer.v1.Version parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Version parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Version parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.edgecontainer.v1.Version parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Version 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.edgecontainer.v1.Version parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.edgecontainer.v1.Version parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.edgecontainer.v1.Version prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Version of a cluster.
+   * 
+ * + * Protobuf type {@code google.cloud.edgecontainer.v1.Version} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.edgecontainer.v1.Version) + com.google.cloud.edgecontainer.v1.VersionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Version_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Version_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.edgecontainer.v1.Version.class, + com.google.cloud.edgecontainer.v1.Version.Builder.class); + } + + // Construct using com.google.cloud.edgecontainer.v1.Version.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_Version_descriptor; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Version getDefaultInstanceForType() { + return com.google.cloud.edgecontainer.v1.Version.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Version build() { + com.google.cloud.edgecontainer.v1.Version result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Version buildPartial() { + com.google.cloud.edgecontainer.v1.Version result = + new com.google.cloud.edgecontainer.v1.Version(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.edgecontainer.v1.Version result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.edgecontainer.v1.Version) { + return mergeFrom((com.google.cloud.edgecontainer.v1.Version) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.edgecontainer.v1.Version other) { + if (other == com.google.cloud.edgecontainer.v1.Version.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Output only. Name of the version, e.g.: "1.4.0".
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. Name of the version, e.g.: "1.4.0".
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. Name of the version, e.g.: "1.4.0".
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Name of the version, e.g.: "1.4.0".
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Name of the version, e.g.: "1.4.0".
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.edgecontainer.v1.Version) + } + + // @@protoc_insertion_point(class_scope:google.cloud.edgecontainer.v1.Version) + private static final com.google.cloud.edgecontainer.v1.Version DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.edgecontainer.v1.Version(); + } + + public static com.google.cloud.edgecontainer.v1.Version getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.edgecontainer.v1.Version getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VersionOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VersionOrBuilder.java new file mode 100644 index 000000000000..3d4759e20630 --- /dev/null +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VersionOrBuilder.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/edgecontainer/v1/resources.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.edgecontainer.v1; + +public interface VersionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.edgecontainer.v1.Version) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Name of the version, e.g.: "1.4.0".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. Name of the version, e.g.: "1.4.0".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VpnConnection.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VpnConnection.java index b8ada046ce9b..07d7d8c557f0 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VpnConnection.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VpnConnection.java @@ -44,6 +44,7 @@ private VpnConnection() { bgpRoutingMode_ = 0; cluster_ = ""; vpc_ = ""; + router_ = ""; } @java.lang.Override @@ -272,35 +273,45 @@ public interface VpcProjectOrBuilder * * *
-     * Optional. The service account in the VPC project configured by user. It is used to
-     * create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this
-     * SA is changed during/after a VPN connection is created, you need to
-     * remove the Cloud Router and Cloud VPN resources in |project_id|.
-     * It is in the form of
+     * Optional. The service account in the VPC project configured by user. It
+     * is used to create/delete Cloud Router and Cloud HA VPNs for VPN
+     * connection. If this SA is changed during/after a VPN connection is
+     * created, you need to remove the Cloud Router and Cloud VPN resources in
+     * |project_id|. It is in the form of
      * service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
      * 
* - * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * + * @deprecated google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is + * deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=607 * @return The serviceAccount. */ + @java.lang.Deprecated java.lang.String getServiceAccount(); /** * * *
-     * Optional. The service account in the VPC project configured by user. It is used to
-     * create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this
-     * SA is changed during/after a VPN connection is created, you need to
-     * remove the Cloud Router and Cloud VPN resources in |project_id|.
-     * It is in the form of
+     * Optional. The service account in the VPC project configured by user. It
+     * is used to create/delete Cloud Router and Cloud HA VPNs for VPN
+     * connection. If this SA is changed during/after a VPN connection is
+     * created, you need to remove the Cloud Router and Cloud VPN resources in
+     * |project_id|. It is in the form of
      * service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
      * 
* - * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * + * @deprecated google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is + * deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=607 * @return The bytes for serviceAccount. */ + @java.lang.Deprecated com.google.protobuf.ByteString getServiceAccountBytes(); } /** @@ -409,19 +420,24 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * *
-     * Optional. The service account in the VPC project configured by user. It is used to
-     * create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this
-     * SA is changed during/after a VPN connection is created, you need to
-     * remove the Cloud Router and Cloud VPN resources in |project_id|.
-     * It is in the form of
+     * Optional. The service account in the VPC project configured by user. It
+     * is used to create/delete Cloud Router and Cloud HA VPNs for VPN
+     * connection. If this SA is changed during/after a VPN connection is
+     * created, you need to remove the Cloud Router and Cloud VPN resources in
+     * |project_id|. It is in the form of
      * service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
      * 
* - * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * + * @deprecated google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is + * deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=607 * @return The serviceAccount. */ @java.lang.Override + @java.lang.Deprecated public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { @@ -437,19 +453,24 @@ public java.lang.String getServiceAccount() { * * *
-     * Optional. The service account in the VPC project configured by user. It is used to
-     * create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this
-     * SA is changed during/after a VPN connection is created, you need to
-     * remove the Cloud Router and Cloud VPN resources in |project_id|.
-     * It is in the form of
+     * Optional. The service account in the VPC project configured by user. It
+     * is used to create/delete Cloud Router and Cloud HA VPNs for VPN
+     * connection. If this SA is changed during/after a VPN connection is
+     * created, you need to remove the Cloud Router and Cloud VPN resources in
+     * |project_id|. It is in the form of
      * service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
      * 
* - * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * + * @deprecated google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is + * deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=607 * @return The bytes for serviceAccount. */ @java.lang.Override + @java.lang.Deprecated public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { @@ -952,18 +973,23 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * * *
-       * Optional. The service account in the VPC project configured by user. It is used to
-       * create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this
-       * SA is changed during/after a VPN connection is created, you need to
-       * remove the Cloud Router and Cloud VPN resources in |project_id|.
-       * It is in the form of
+       * Optional. The service account in the VPC project configured by user. It
+       * is used to create/delete Cloud Router and Cloud HA VPNs for VPN
+       * connection. If this SA is changed during/after a VPN connection is
+       * created, you need to remove the Cloud Router and Cloud VPN resources in
+       * |project_id|. It is in the form of
        * service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
        * 
* - * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * + * @deprecated google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is + * deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=607 * @return The serviceAccount. */ + @java.lang.Deprecated public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { @@ -979,18 +1005,23 @@ public java.lang.String getServiceAccount() { * * *
-       * Optional. The service account in the VPC project configured by user. It is used to
-       * create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this
-       * SA is changed during/after a VPN connection is created, you need to
-       * remove the Cloud Router and Cloud VPN resources in |project_id|.
-       * It is in the form of
+       * Optional. The service account in the VPC project configured by user. It
+       * is used to create/delete Cloud Router and Cloud HA VPNs for VPN
+       * connection. If this SA is changed during/after a VPN connection is
+       * created, you need to remove the Cloud Router and Cloud VPN resources in
+       * |project_id|. It is in the form of
        * service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
        * 
* - * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * + * @deprecated google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is + * deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=607 * @return The bytes for serviceAccount. */ + @java.lang.Deprecated public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { @@ -1006,19 +1037,24 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { * * *
-       * Optional. The service account in the VPC project configured by user. It is used to
-       * create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this
-       * SA is changed during/after a VPN connection is created, you need to
-       * remove the Cloud Router and Cloud VPN resources in |project_id|.
-       * It is in the form of
+       * Optional. The service account in the VPC project configured by user. It
+       * is used to create/delete Cloud Router and Cloud HA VPNs for VPN
+       * connection. If this SA is changed during/after a VPN connection is
+       * created, you need to remove the Cloud Router and Cloud VPN resources in
+       * |project_id|. It is in the form of
        * service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
        * 
* - * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * + * @deprecated google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is + * deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=607 * @param value The serviceAccount to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setServiceAccount(java.lang.String value) { if (value == null) { throw new NullPointerException(); @@ -1032,18 +1068,23 @@ public Builder setServiceAccount(java.lang.String value) { * * *
-       * Optional. The service account in the VPC project configured by user. It is used to
-       * create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this
-       * SA is changed during/after a VPN connection is created, you need to
-       * remove the Cloud Router and Cloud VPN resources in |project_id|.
-       * It is in the form of
+       * Optional. The service account in the VPC project configured by user. It
+       * is used to create/delete Cloud Router and Cloud HA VPNs for VPN
+       * connection. If this SA is changed during/after a VPN connection is
+       * created, you need to remove the Cloud Router and Cloud VPN resources in
+       * |project_id|. It is in the form of
        * service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
        * 
* - * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * + * @deprecated google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is + * deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=607 * @return This builder for chaining. */ + @java.lang.Deprecated public Builder clearServiceAccount() { serviceAccount_ = getDefaultInstance().getServiceAccount(); bitField0_ = (bitField0_ & ~0x00000002); @@ -1054,19 +1095,24 @@ public Builder clearServiceAccount() { * * *
-       * Optional. The service account in the VPC project configured by user. It is used to
-       * create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this
-       * SA is changed during/after a VPN connection is created, you need to
-       * remove the Cloud Router and Cloud VPN resources in |project_id|.
-       * It is in the form of
+       * Optional. The service account in the VPC project configured by user. It
+       * is used to create/delete Cloud Router and Cloud HA VPNs for VPN
+       * connection. If this SA is changed during/after a VPN connection is
+       * created, you need to remove the Cloud Router and Cloud VPN resources in
+       * |project_id|. It is in the form of
        * service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.
        * 
* - * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * + * @deprecated google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is + * deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=607 * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -1533,7 +1579,7 @@ public interface CloudRouterOrBuilder * * *
-       * The created Cloud Router name.
+       * The associated Cloud Router name.
        * 
* * string name = 1; @@ -1545,7 +1591,7 @@ public interface CloudRouterOrBuilder * * *
-       * The created Cloud Router name.
+       * The associated Cloud Router name.
        * 
* * string name = 1; @@ -1606,7 +1652,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-       * The created Cloud Router name.
+       * The associated Cloud Router name.
        * 
* * string name = 1; @@ -1629,7 +1675,7 @@ public java.lang.String getName() { * * *
-       * The created Cloud Router name.
+       * The associated Cloud Router name.
        * 
* * string name = 1; @@ -2013,7 +2059,7 @@ public Builder mergeFrom( * * *
-         * The created Cloud Router name.
+         * The associated Cloud Router name.
          * 
* * string name = 1; @@ -2035,7 +2081,7 @@ public java.lang.String getName() { * * *
-         * The created Cloud Router name.
+         * The associated Cloud Router name.
          * 
* * string name = 1; @@ -2057,7 +2103,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-         * The created Cloud Router name.
+         * The associated Cloud Router name.
          * 
* * string name = 1; @@ -2078,7 +2124,7 @@ public Builder setName(java.lang.String value) { * * *
-         * The created Cloud Router name.
+         * The associated Cloud Router name.
          * 
* * string name = 1; @@ -2095,7 +2141,7 @@ public Builder clearName() { * * *
-         * The created Cloud Router name.
+         * The associated Cloud Router name.
          * 
* * string name = 1; @@ -4753,7 +4799,7 @@ public com.google.protobuf.ByteString getNatGatewayIpBytes() { *
* * @deprecated google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See - * google/cloud/edgecontainer/v1/resources.proto;l=361 + * google/cloud/edgecontainer/v1/resources.proto;l=690 * @return The enum numeric value on the wire for bgpRoutingMode. */ @java.lang.Override @@ -4773,7 +4819,7 @@ public int getBgpRoutingModeValue() { *
* * @deprecated google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See - * google/cloud/edgecontainer/v1/resources.proto;l=361 + * google/cloud/edgecontainer/v1/resources.proto;l=690 * @return The bgpRoutingMode. */ @java.lang.Override @@ -4896,8 +4942,8 @@ public com.google.protobuf.ByteString getVpcBytes() { * * *
-   * Optional. Project detail of the VPC network. Required if VPC is in a different
-   * project than the cluster project.
+   * Optional. Project detail of the VPC network. Required if VPC is in a
+   * different project than the cluster project.
    * 
* * @@ -4914,8 +4960,8 @@ public boolean hasVpcProject() { * * *
-   * Optional. Project detail of the VPC network. Required if VPC is in a different
-   * project than the cluster project.
+   * Optional. Project detail of the VPC network. Required if VPC is in a
+   * different project than the cluster project.
    * 
* * @@ -4934,8 +4980,8 @@ public com.google.cloud.edgecontainer.v1.VpnConnection.VpcProject getVpcProject( * * *
-   * Optional. Project detail of the VPC network. Required if VPC is in a different
-   * project than the cluster project.
+   * Optional. Project detail of the VPC network. Required if VPC is in a
+   * different project than the cluster project.
    * 
* * @@ -4969,6 +5015,57 @@ public boolean getEnableHighAvailability() { return enableHighAvailability_; } + public static final int ROUTER_FIELD_NUMBER = 12; + + @SuppressWarnings("serial") + private volatile java.lang.Object router_ = ""; + /** + * + * + *
+   * Optional. The VPN connection Cloud Router name.
+   * 
+ * + * string router = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The router. + */ + @java.lang.Override + public java.lang.String getRouter() { + java.lang.Object ref = router_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + router_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The VPN connection Cloud Router name.
+   * 
+ * + * string router = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for router. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRouterBytes() { + java.lang.Object ref = router_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + router_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int DETAILS_FIELD_NUMBER = 10; private com.google.cloud.edgecontainer.v1.VpnConnection.Details details_; /** @@ -5074,6 +5171,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(11, getVpcProject()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(router_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, router_); + } getUnknownFields().writeTo(output); } @@ -5126,6 +5226,9 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getVpcProject()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(router_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, router_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -5161,6 +5264,7 @@ public boolean equals(final java.lang.Object obj) { if (!getVpcProject().equals(other.getVpcProject())) return false; } if (getEnableHighAvailability() != other.getEnableHighAvailability()) return false; + if (!getRouter().equals(other.getRouter())) return false; if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { if (!getDetails().equals(other.getDetails())) return false; @@ -5204,6 +5308,8 @@ public int hashCode() { } hash = (37 * hash) + ENABLE_HIGH_AVAILABILITY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableHighAvailability()); + hash = (37 * hash) + ROUTER_FIELD_NUMBER; + hash = (53 * hash) + getRouter().hashCode(); if (hasDetails()) { hash = (37 * hash) + DETAILS_FIELD_NUMBER; hash = (53 * hash) + getDetails().hashCode(); @@ -5403,6 +5509,7 @@ public Builder clear() { vpcProjectBuilder_ = null; } enableHighAvailability_ = false; + router_ = ""; details_ = null; if (detailsBuilder_ != null) { detailsBuilder_.dispose(); @@ -5480,6 +5587,9 @@ private void buildPartial0(com.google.cloud.edgecontainer.v1.VpnConnection resul result.enableHighAvailability_ = enableHighAvailability_; } if (((from_bitField0_ & 0x00000400) != 0)) { + result.router_ = router_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { result.details_ = detailsBuilder_ == null ? details_ : detailsBuilder_.build(); to_bitField0_ |= 0x00000008; } @@ -5569,6 +5679,11 @@ public Builder mergeFrom(com.google.cloud.edgecontainer.v1.VpnConnection other) if (other.getEnableHighAvailability() != false) { setEnableHighAvailability(other.getEnableHighAvailability()); } + if (!other.getRouter().isEmpty()) { + router_ = other.router_; + bitField0_ |= 0x00000400; + onChanged(); + } if (other.hasDetails()) { mergeDetails(other.getDetails()); } @@ -5661,7 +5776,7 @@ public Builder mergeFrom( case 82: { input.readMessage(getDetailsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; break; } // case 82 case 90: @@ -5670,6 +5785,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000100; break; } // case 90 + case 98: + { + router_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 98 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -6503,7 +6624,7 @@ public Builder setNatGatewayIpBytes(com.google.protobuf.ByteString value) { *
* * @deprecated google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See - * google/cloud/edgecontainer/v1/resources.proto;l=361 + * google/cloud/edgecontainer/v1/resources.proto;l=690 * @return The enum numeric value on the wire for bgpRoutingMode. */ @java.lang.Override @@ -6523,7 +6644,7 @@ public int getBgpRoutingModeValue() { *
* * @deprecated google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See - * google/cloud/edgecontainer/v1/resources.proto;l=361 + * google/cloud/edgecontainer/v1/resources.proto;l=690 * @param value The enum numeric value on the wire for bgpRoutingMode to set. * @return This builder for chaining. */ @@ -6546,7 +6667,7 @@ public Builder setBgpRoutingModeValue(int value) { *
* * @deprecated google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See - * google/cloud/edgecontainer/v1/resources.proto;l=361 + * google/cloud/edgecontainer/v1/resources.proto;l=690 * @return The bgpRoutingMode. */ @java.lang.Override @@ -6570,7 +6691,7 @@ public com.google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode getBgpRout *
* * @deprecated google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See - * google/cloud/edgecontainer/v1/resources.proto;l=361 + * google/cloud/edgecontainer/v1/resources.proto;l=690 * @param value The bgpRoutingMode to set. * @return This builder for chaining. */ @@ -6597,7 +6718,7 @@ public Builder setBgpRoutingMode( *
* * @deprecated google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See - * google/cloud/edgecontainer/v1/resources.proto;l=361 + * google/cloud/edgecontainer/v1/resources.proto;l=690 * @return This builder for chaining. */ @java.lang.Deprecated @@ -6835,8 +6956,8 @@ public Builder setVpcBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Project detail of the VPC network. Required if VPC is in a different
-     * project than the cluster project.
+     * Optional. Project detail of the VPC network. Required if VPC is in a
+     * different project than the cluster project.
      * 
* * @@ -6852,8 +6973,8 @@ public boolean hasVpcProject() { * * *
-     * Optional. Project detail of the VPC network. Required if VPC is in a different
-     * project than the cluster project.
+     * Optional. Project detail of the VPC network. Required if VPC is in a
+     * different project than the cluster project.
      * 
* * @@ -6875,8 +6996,8 @@ public com.google.cloud.edgecontainer.v1.VpnConnection.VpcProject getVpcProject( * * *
-     * Optional. Project detail of the VPC network. Required if VPC is in a different
-     * project than the cluster project.
+     * Optional. Project detail of the VPC network. Required if VPC is in a
+     * different project than the cluster project.
      * 
* * @@ -6900,8 +7021,8 @@ public Builder setVpcProject(com.google.cloud.edgecontainer.v1.VpnConnection.Vpc * * *
-     * Optional. Project detail of the VPC network. Required if VPC is in a different
-     * project than the cluster project.
+     * Optional. Project detail of the VPC network. Required if VPC is in a
+     * different project than the cluster project.
      * 
* * @@ -6923,8 +7044,8 @@ public Builder setVpcProject( * * *
-     * Optional. Project detail of the VPC network. Required if VPC is in a different
-     * project than the cluster project.
+     * Optional. Project detail of the VPC network. Required if VPC is in a
+     * different project than the cluster project.
      * 
* * @@ -6956,8 +7077,8 @@ public Builder mergeVpcProject( * * *
-     * Optional. Project detail of the VPC network. Required if VPC is in a different
-     * project than the cluster project.
+     * Optional. Project detail of the VPC network. Required if VPC is in a
+     * different project than the cluster project.
      * 
* * @@ -6978,8 +7099,8 @@ public Builder clearVpcProject() { * * *
-     * Optional. Project detail of the VPC network. Required if VPC is in a different
-     * project than the cluster project.
+     * Optional. Project detail of the VPC network. Required if VPC is in a
+     * different project than the cluster project.
      * 
* * @@ -6996,8 +7117,8 @@ public Builder clearVpcProject() { * * *
-     * Optional. Project detail of the VPC network. Required if VPC is in a different
-     * project than the cluster project.
+     * Optional. Project detail of the VPC network. Required if VPC is in a
+     * different project than the cluster project.
      * 
* * @@ -7018,8 +7139,8 @@ public Builder clearVpcProject() { * * *
-     * Optional. Project detail of the VPC network. Required if VPC is in a different
-     * project than the cluster project.
+     * Optional. Project detail of the VPC network. Required if VPC is in a
+     * different project than the cluster project.
      * 
* * @@ -7099,6 +7220,112 @@ public Builder clearEnableHighAvailability() { return this; } + private java.lang.Object router_ = ""; + /** + * + * + *
+     * Optional. The VPN connection Cloud Router name.
+     * 
+ * + * string router = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The router. + */ + public java.lang.String getRouter() { + java.lang.Object ref = router_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + router_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The VPN connection Cloud Router name.
+     * 
+ * + * string router = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for router. + */ + public com.google.protobuf.ByteString getRouterBytes() { + java.lang.Object ref = router_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + router_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The VPN connection Cloud Router name.
+     * 
+ * + * string router = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The router to set. + * @return This builder for chaining. + */ + public Builder setRouter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + router_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The VPN connection Cloud Router name.
+     * 
+ * + * string router = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearRouter() { + router_ = getDefaultInstance().getRouter(); + bitField0_ = (bitField0_ & ~0x00000400); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The VPN connection Cloud Router name.
+     * 
+ * + * string router = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for router to set. + * @return This builder for chaining. + */ + public Builder setRouterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + router_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + private com.google.cloud.edgecontainer.v1.VpnConnection.Details details_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.edgecontainer.v1.VpnConnection.Details, @@ -7119,7 +7346,7 @@ public Builder clearEnableHighAvailability() { * @return Whether the details field is set. */ public boolean hasDetails() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -7163,7 +7390,7 @@ public Builder setDetails(com.google.cloud.edgecontainer.v1.VpnConnection.Detail } else { detailsBuilder_.setMessage(value); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -7185,7 +7412,7 @@ public Builder setDetails( } else { detailsBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -7202,7 +7429,7 @@ public Builder setDetails( */ public Builder mergeDetails(com.google.cloud.edgecontainer.v1.VpnConnection.Details value) { if (detailsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) + if (((bitField0_ & 0x00000800) != 0) && details_ != null && details_ != com.google.cloud.edgecontainer.v1.VpnConnection.Details.getDefaultInstance()) { @@ -7214,7 +7441,7 @@ public Builder mergeDetails(com.google.cloud.edgecontainer.v1.VpnConnection.Deta detailsBuilder_.mergeFrom(value); } if (details_ != null) { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); } return this; @@ -7231,7 +7458,7 @@ public Builder mergeDetails(com.google.cloud.edgecontainer.v1.VpnConnection.Deta *
*/ public Builder clearDetails() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); details_ = null; if (detailsBuilder_ != null) { detailsBuilder_.dispose(); @@ -7252,7 +7479,7 @@ public Builder clearDetails() { *
*/ public com.google.cloud.edgecontainer.v1.VpnConnection.Details.Builder getDetailsBuilder() { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return getDetailsFieldBuilder().getBuilder(); } diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VpnConnectionOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VpnConnectionOrBuilder.java index bc2f163efe64..f46da15bd62d 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VpnConnectionOrBuilder.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/VpnConnectionOrBuilder.java @@ -228,7 +228,7 @@ java.lang.String getLabelsOrDefault( *
* * @deprecated google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See - * google/cloud/edgecontainer/v1/resources.proto;l=361 + * google/cloud/edgecontainer/v1/resources.proto;l=690 * @return The enum numeric value on the wire for bgpRoutingMode. */ @java.lang.Deprecated @@ -245,7 +245,7 @@ java.lang.String getLabelsOrDefault( *
* * @deprecated google.cloud.edgecontainer.v1.VpnConnection.bgp_routing_mode is deprecated. See - * google/cloud/edgecontainer/v1/resources.proto;l=361 + * google/cloud/edgecontainer/v1/resources.proto;l=690 * @return The bgpRoutingMode. */ @java.lang.Deprecated @@ -307,8 +307,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Optional. Project detail of the VPC network. Required if VPC is in a different
-   * project than the cluster project.
+   * Optional. Project detail of the VPC network. Required if VPC is in a
+   * different project than the cluster project.
    * 
* * @@ -322,8 +322,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Optional. Project detail of the VPC network. Required if VPC is in a different
-   * project than the cluster project.
+   * Optional. Project detail of the VPC network. Required if VPC is in a
+   * different project than the cluster project.
    * 
* * @@ -337,8 +337,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Optional. Project detail of the VPC network. Required if VPC is in a different
-   * project than the cluster project.
+   * Optional. Project detail of the VPC network. Required if VPC is in a
+   * different project than the cluster project.
    * 
* * @@ -361,6 +361,31 @@ java.lang.String getLabelsOrDefault( */ boolean getEnableHighAvailability(); + /** + * + * + *
+   * Optional. The VPN connection Cloud Router name.
+   * 
+ * + * string router = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The router. + */ + java.lang.String getRouter(); + /** + * + * + *
+   * Optional. The VPN connection Cloud Router name.
+   * 
+ * + * string router = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for router. + */ + com.google.protobuf.ByteString getRouterBytes(); + /** * * diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ZoneMetadata.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ZoneMetadata.java index a8cdd8821086..52a3d8e6f328 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ZoneMetadata.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ZoneMetadata.java @@ -53,6 +53,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 2: + return internalGetRackTypes(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -63,6 +75,167 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.edgecontainer.v1.ZoneMetadata.Builder.class); } + /** + * + * + *
+   * Type of the rack.
+   * 
+ * + * Protobuf enum {@code google.cloud.edgecontainer.v1.ZoneMetadata.RackType} + */ + public enum RackType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified rack type, single rack also belongs to this type.
+     * 
+ * + * RACK_TYPE_UNSPECIFIED = 0; + */ + RACK_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Base rack type, a pair of two modified Config-1 racks containing
+     * Aggregation switches.
+     * 
+ * + * BASE = 1; + */ + BASE(1), + /** + * + * + *
+     * Expansion rack type, also known as standalone racks,
+     * added by customers on demand.
+     * 
+ * + * EXPANSION = 2; + */ + EXPANSION(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Unspecified rack type, single rack also belongs to this type.
+     * 
+ * + * RACK_TYPE_UNSPECIFIED = 0; + */ + public static final int RACK_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Base rack type, a pair of two modified Config-1 racks containing
+     * Aggregation switches.
+     * 
+ * + * BASE = 1; + */ + public static final int BASE_VALUE = 1; + /** + * + * + *
+     * Expansion rack type, also known as standalone racks,
+     * added by customers on demand.
+     * 
+ * + * EXPANSION = 2; + */ + public static final int EXPANSION_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static RackType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static RackType forNumber(int value) { + switch (value) { + case 0: + return RACK_TYPE_UNSPECIFIED; + case 1: + return BASE; + case 2: + return EXPANSION; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RackType findValueByNumber(int number) { + return RackType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.edgecontainer.v1.ZoneMetadata.getDescriptor().getEnumTypes().get(0); + } + + private static final RackType[] VALUES = values(); + + public static RackType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private RackType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.edgecontainer.v1.ZoneMetadata.RackType) + } + public static final int QUOTA_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -134,6 +307,192 @@ public com.google.cloud.edgecontainer.v1.QuotaOrBuilder getQuotaOrBuilder(int in return quota_.get(index); } + public static final int RACK_TYPES_FIELD_NUMBER = 2; + + private static final class RackTypesDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.edgecontainer.v1.ResourcesProto + .internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_RackTypesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.ENUM, + com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType.RACK_TYPE_UNSPECIFIED + .getNumber()); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField rackTypes_; + + private com.google.protobuf.MapField internalGetRackTypes() { + if (rackTypes_ == null) { + return com.google.protobuf.MapField.emptyMapField(RackTypesDefaultEntryHolder.defaultEntry); + } + return rackTypes_; + } + + private static final com.google.protobuf.Internal.MapAdapter.Converter< + java.lang.Integer, com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType> + rackTypesValueConverter = + com.google.protobuf.Internal.MapAdapter.newEnumConverter( + com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType.internalGetValueMap(), + com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType.UNRECOGNIZED); + + private static final java.util.Map< + java.lang.String, com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType> + internalGetAdaptedRackTypesMap(java.util.Map map) { + return new com.google.protobuf.Internal.MapAdapter< + java.lang.String, + com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType, + java.lang.Integer>(map, rackTypesValueConverter); + } + + public int getRackTypesCount() { + return internalGetRackTypes().getMap().size(); + } + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public boolean containsRackTypes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetRackTypes().getMap().containsKey(key); + } + /** Use {@link #getRackTypesMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getRackTypes() { + return getRackTypesMap(); + } + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public java.util.Map + getRackTypesMap() { + return internalGetAdaptedRackTypesMap(internalGetRackTypes().getMap()); + } + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType + getRackTypesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetRackTypes().getMap(); + return map.containsKey(key) ? rackTypesValueConverter.doForward(map.get(key)) : defaultValue; + } + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType getRackTypesOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetRackTypes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return rackTypesValueConverter.doForward(map.get(key)); + } + /** Use {@link #getRackTypesValueMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getRackTypesValue() { + return getRackTypesValueMap(); + } + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public java.util.Map getRackTypesValueMap() { + return internalGetRackTypes().getMap(); + } + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public int getRackTypesValueOrDefault(java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetRackTypes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public int getRackTypesValueOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetRackTypes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -151,6 +510,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < quota_.size(); i++) { output.writeMessage(1, quota_.get(i)); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetRackTypes(), RackTypesDefaultEntryHolder.defaultEntry, 2); getUnknownFields().writeTo(output); } @@ -163,6 +524,16 @@ public int getSerializedSize() { for (int i = 0; i < quota_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, quota_.get(i)); } + for (java.util.Map.Entry entry : + internalGetRackTypes().getMap().entrySet()) { + com.google.protobuf.MapEntry rackTypes__ = + RackTypesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rackTypes__); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -180,6 +551,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.edgecontainer.v1.ZoneMetadata) obj; if (!getQuotaList().equals(other.getQuotaList())) return false; + if (!internalGetRackTypes().equals(other.internalGetRackTypes())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -195,6 +567,10 @@ public int hashCode() { hash = (37 * hash) + QUOTA_FIELD_NUMBER; hash = (53 * hash) + getQuotaList().hashCode(); } + if (!internalGetRackTypes().getMap().isEmpty()) { + hash = (37 * hash) + RACK_TYPES_FIELD_NUMBER; + hash = (53 * hash) + internalGetRackTypes().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -313,6 +689,28 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_edgecontainer_v1_ZoneMetadata_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 2: + return internalGetRackTypes(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 2: + return internalGetMutableRackTypes(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -341,6 +739,7 @@ public Builder clear() { quotaBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableRackTypes().clear(); return this; } @@ -390,6 +789,10 @@ private void buildPartialRepeatedFields(com.google.cloud.edgecontainer.v1.ZoneMe private void buildPartial0(com.google.cloud.edgecontainer.v1.ZoneMetadata result) { int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.rackTypes_ = internalGetRackTypes(); + result.rackTypes_.makeImmutable(); + } } @java.lang.Override @@ -464,6 +867,8 @@ public Builder mergeFrom(com.google.cloud.edgecontainer.v1.ZoneMetadata other) { } } } + internalGetMutableRackTypes().mergeFrom(other.internalGetRackTypes()); + bitField0_ |= 0x00000002; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -503,6 +908,18 @@ public Builder mergeFrom( } break; } // case 10 + case 18: + { + com.google.protobuf.MapEntry rackTypes__ = + input.readMessage( + RackTypesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableRackTypes() + .getMutableMap() + .put(rackTypes__.getKey(), rackTypes__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -870,6 +1287,285 @@ public java.util.List getQuotaB return quotaBuilder_; } + private com.google.protobuf.MapField rackTypes_; + + private com.google.protobuf.MapField + internalGetRackTypes() { + if (rackTypes_ == null) { + return com.google.protobuf.MapField.emptyMapField(RackTypesDefaultEntryHolder.defaultEntry); + } + return rackTypes_; + } + + private com.google.protobuf.MapField + internalGetMutableRackTypes() { + if (rackTypes_ == null) { + rackTypes_ = + com.google.protobuf.MapField.newMapField(RackTypesDefaultEntryHolder.defaultEntry); + } + if (!rackTypes_.isMutable()) { + rackTypes_ = rackTypes_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return rackTypes_; + } + + public int getRackTypesCount() { + return internalGetRackTypes().getMap().size(); + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public boolean containsRackTypes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetRackTypes().getMap().containsKey(key); + } + /** Use {@link #getRackTypesMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getRackTypes() { + return getRackTypesMap(); + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public java.util.Map + getRackTypesMap() { + return internalGetAdaptedRackTypesMap(internalGetRackTypes().getMap()); + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType + getRackTypesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetRackTypes().getMap(); + return map.containsKey(key) ? rackTypesValueConverter.doForward(map.get(key)) : defaultValue; + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType getRackTypesOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetRackTypes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return rackTypesValueConverter.doForward(map.get(key)); + } + /** Use {@link #getRackTypesValueMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getRackTypesValue() { + return getRackTypesValueMap(); + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public java.util.Map getRackTypesValueMap() { + return internalGetRackTypes().getMap(); + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public int getRackTypesValueOrDefault(java.lang.String key, int defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetRackTypes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + @java.lang.Override + public int getRackTypesValueOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetRackTypes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearRackTypes() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableRackTypes().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + public Builder removeRackTypes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableRackTypes().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableRackTypes() { + bitField0_ |= 0x00000002; + return internalGetAdaptedRackTypesMap(internalGetMutableRackTypes().getMutableMap()); + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + public Builder putRackTypes( + java.lang.String key, com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType value) { + if (key == null) { + throw new NullPointerException("map key"); + } + + internalGetMutableRackTypes() + .getMutableMap() + .put(key, rackTypesValueConverter.doBackward(value)); + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + public Builder putAllRackTypes( + java.util.Map + values) { + internalGetAdaptedRackTypesMap(internalGetMutableRackTypes().getMutableMap()).putAll(values); + bitField0_ |= 0x00000002; + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableRackTypesValue() { + bitField0_ |= 0x00000002; + return internalGetMutableRackTypes().getMutableMap(); + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + public Builder putRackTypesValue(java.lang.String key, int value) { + if (key == null) { + throw new NullPointerException("map key"); + } + + internalGetMutableRackTypes().getMutableMap().put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * The map keyed by rack name and has value of RackType.
+     * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + public Builder putAllRackTypesValue(java.util.Map values) { + internalGetMutableRackTypes().getMutableMap().putAll(values); + bitField0_ |= 0x00000002; + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ZoneMetadataOrBuilder.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ZoneMetadataOrBuilder.java index 837feeb2bb87..77722014275e 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ZoneMetadataOrBuilder.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ZoneMetadataOrBuilder.java @@ -75,4 +75,105 @@ public interface ZoneMetadataOrBuilder * repeated .google.cloud.edgecontainer.v1.Quota quota = 1; */ com.google.cloud.edgecontainer.v1.QuotaOrBuilder getQuotaOrBuilder(int index); + + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + int getRackTypesCount(); + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + boolean containsRackTypes(java.lang.String key); + /** Use {@link #getRackTypesMap()} instead. */ + @java.lang.Deprecated + java.util.Map + getRackTypes(); + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + java.util.Map + getRackTypesMap(); + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + /* nullable */ + com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType getRackTypesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType defaultValue); + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + com.google.cloud.edgecontainer.v1.ZoneMetadata.RackType getRackTypesOrThrow(java.lang.String key); + /** Use {@link #getRackTypesValueMap()} instead. */ + @java.lang.Deprecated + java.util.Map getRackTypesValue(); + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + java.util.Map getRackTypesValueMap(); + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + int getRackTypesValueOrDefault(java.lang.String key, int defaultValue); + /** + * + * + *
+   * The map keyed by rack name and has value of RackType.
+   * 
+ * + * map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2; + * + */ + int getRackTypesValueOrThrow(java.lang.String key); } diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/resources.proto b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/resources.proto index 35fb43d40af0..1ec599ae2d43 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/resources.proto +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ package google.cloud.edgecontainer.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; @@ -55,6 +56,244 @@ message Cluster { pattern: "projects/{project}/locations/{location}/clusters/{cluster}" }; + // Configuration of the cluster control plane. + message ControlPlane { + // Configuration specific to clusters with a control plane hosted remotely. + message Remote {} + + // Configuration specific to clusters with a control plane hosted locally. + // + // Warning: Local control plane clusters must be created in their own + // project. Local control plane clusters cannot coexist in the same + // project with any other type of clusters, including non-GDCE clusters. + // Mixing local control plane GDCE clusters with any other type of + // clusters in the same project can result in data loss. + message Local { + // Name of the Google Distributed Cloud Edge zones where this node pool + // will be created. For example: `us-central1-edge-customer-a`. + string node_location = 1; + + // The number of nodes to serve as replicas of the Control Plane. + int32 node_count = 2; + + // Only machines matching this filter will be allowed to host control + // plane nodes. The filtering language accepts strings like "name=", + // and is documented here: [AIP-160](https://google.aip.dev/160). + string machine_filter = 3; + + // Policy configuration about how user applications are deployed. + SharedDeploymentPolicy shared_deployment_policy = 4; + } + + // Represents the policy configuration about how user applications are + // deployed. + enum SharedDeploymentPolicy { + // Unspecified. + SHARED_DEPLOYMENT_POLICY_UNSPECIFIED = 0; + + // User applications can be deployed both on control plane and worker + // nodes. + ALLOWED = 1; + + // User applications can not be deployed on control plane nodes and can + // only be deployed on worker nodes. + DISALLOWED = 2; + } + + oneof config { + // Remote control plane configuration. + Remote remote = 1; + + // Local control plane configuration. + // + // Warning: Local control plane clusters must be created in their own + // project. Local control plane clusters cannot coexist in the same + // project with any other type of clusters, including non-GDCE clusters. + // Mixing local control plane GDCE clusters with any other type of + // clusters in the same project can result in data loss. + Local local = 2; + } + } + + // Config that customers are allowed to define for GDCE system add-ons. + message SystemAddonsConfig { + // Config for the Ingress add-on which allows customers to create an Ingress + // object to manage external access to the servers in a cluster. The add-on + // consists of istiod and istio-ingress. + message Ingress { + // Optional. Whether Ingress is disabled. + bool disabled = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Ingress VIP. + string ipv4_vip = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. Config for Ingress. + Ingress ingress = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // Configuration for Customer-managed KMS key support for remote control plane + // cluster disk encryption. + message ControlPlaneEncryption { + // Immutable. The Cloud KMS CryptoKey e.g. + // projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} + // to use for protecting control plane disks. If not specified, a + // Google-managed key will be used instead. + string kms_key = 1 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKey" + } + ]; + + // Output only. The Cloud KMS CryptoKeyVersion currently in use for + // protecting control plane disks. Only applicable if kms_key is set. + string kms_key_active_version = 2 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKeyVersion" + } + ]; + + // Output only. Availability of the Cloud KMS CryptoKey. If not + // `KEY_AVAILABLE`, then nodes may go offline as they cannot access their + // local data. This can be caused by a lack of permissions to use the key, + // or if the key is disabled or deleted. + KmsKeyState kms_key_state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Error status returned by Cloud KMS when using this key. This + // field may be populated only if `kms_key_state` is not + // `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the + // error status reported by Cloud KMS. + google.rpc.Status kms_status = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // A Maintenance Event is an operation that could cause temporary disruptions + // to the cluster workloads, including Google-driven or user-initiated cluster + // upgrades, user-initiated cluster configuration changes that require + // restarting nodes, etc. + message MaintenanceEvent { + // Indicates the maintenance event type. + enum Type { + // Unspecified. + TYPE_UNSPECIFIED = 0; + + // Upgrade initiated by users. + USER_INITIATED_UPGRADE = 1; + + // Upgrade driven by Google. + GOOGLE_DRIVEN_UPGRADE = 2; + } + + // Indicates when the maintenance event should be performed. + enum Schedule { + // Unspecified. + SCHEDULE_UNSPECIFIED = 0; + + // Immediately after receiving the request. + IMMEDIATELY = 1; + } + + // Indicates the maintenance event state. + enum State { + // Unspecified. + STATE_UNSPECIFIED = 0; + + // The maintenance event is ongoing. The cluster might be unusable. + RECONCILING = 1; + + // The maintenance event succeeded. + SUCCEEDED = 2; + + // The maintenance event failed. + FAILED = 3; + } + + // Output only. UUID of the maintenance event. + string uuid = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The target version of the cluster. + string target_version = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The operation for running the maintenance event. Specified + // in the format projects/*/locations/*/operations/*. If the maintenance + // event is split into multiple operations (e.g. due to maintenance + // windows), the latest one is recorded. + string operation = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The type of the maintenance event. + Type type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The schedule of the maintenance event. + Schedule schedule = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The state of the maintenance event. + State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time when the maintenance event request was created. + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time when the maintenance event started. + google.protobuf.Timestamp start_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time when the maintenance event ended, either + // successfully or not. If the maintenance event is split into multiple + // maintenance windows, end_time is only updated when the whole flow ends. + google.protobuf.Timestamp end_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time when the maintenance event message was updated. + google.protobuf.Timestamp update_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Configuration of the cluster survivability, e.g., for the case when network + // connectivity is lost. + message SurvivabilityConfig { + // Optional. Time period that allows the cluster nodes to be rebooted and + // become functional without network connectivity to Google. The default 0 + // means not allowed. The maximum is 7 days. + google.protobuf.Duration offline_reboot_ttl = 1 + [(google.api.field_behavior) = OPTIONAL]; + } + + // Indicates the status of the cluster. + enum Status { + // Status unknown. + STATUS_UNSPECIFIED = 0; + + // The cluster is being created. + PROVISIONING = 1; + + // The cluster is created and fully usable. + RUNNING = 2; + + // The cluster is being deleted. + DELETING = 3; + + // The status indicates that some errors occurred while reconciling/deleting + // the cluster. + ERROR = 4; + + // The cluster is undergoing some work such as version upgrades, etc. + RECONCILING = 5; + } + + // The release channel a cluster is subscribed to. + enum ReleaseChannel { + // Unspecified release channel. This will default to the REGULAR channel. + RELEASE_CHANNEL_UNSPECIFIED = 0; + + // No release channel. + NONE = 1; + + // Regular release channel. + REGULAR = 2; + } + // Required. The resource name of the cluster. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -64,16 +303,18 @@ message Cluster { ]; // Output only. The time when the cluster was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the cluster was last updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels associated with this resource. map labels = 4; - // Optional. Fleet configuration. - Fleet fleet = 11 [(google.api.field_behavior) = OPTIONAL]; + // Required. Fleet configuration. + Fleet fleet = 11 [(google.api.field_behavior) = REQUIRED]; // Required. Cluster-wide networking configuration. ClusterNetworking networking = 7 [(google.api.field_behavior) = REQUIRED]; @@ -84,32 +325,89 @@ message Cluster { (google.api.field_behavior) = IMMUTABLE ]; - // Optional. The default maximum number of pods per node used if a maximum value is not - // specified explicitly for a node pool in this cluster. If unspecified, the - // Kubernetes default value will be used. + // Optional. The default maximum number of pods per node used if a maximum + // value is not specified explicitly for a node pool in this cluster. If + // unspecified, the Kubernetes default value will be used. int32 default_max_pods_per_node = 8 [(google.api.field_behavior) = OPTIONAL]; // Output only. The IP address of the Kubernetes API server. string endpoint = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The port number of the Kubernetes API server. + int32 port = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The PEM-encoded public certificate of the cluster's CA. - string cluster_ca_certificate = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + string cluster_ca_certificate = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Cluster-wide maintenance policy configuration. - MaintenancePolicy maintenance_policy = 12 [(google.api.field_behavior) = OPTIONAL]; + MaintenancePolicy maintenance_policy = 12 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The control plane release version + string control_plane_version = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The lowest release version among all worker nodes. This field + // can be empty if the cluster does not have any worker nodes. + string node_version = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The configuration of the cluster control plane. + ControlPlane control_plane = 15 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The configuration of the system add-ons. + SystemAddonsConfig system_addons_config = 16 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. IPv4 address pools for cluster data plane external load + // balancing. + repeated string external_load_balancer_ipv4_address_pools = 17 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Remote control plane disk encryption options. This field is only + // used when enabling CMEK support. + ControlPlaneEncryption control_plane_encryption = 18 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The current status of the cluster. + Status status = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. All the maintenance events scheduled for the cluster, + // including the ones ongoing, planned for the future and done in the past (up + // to 90 days). + repeated MaintenanceEvent maintenance_events = 21 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The target cluster version. For example: "1.5.0". + string target_version = 22 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The release channel a cluster is subscribed to. + ReleaseChannel release_channel = 23 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration of the cluster survivability, e.g., for the case + // when network connectivity is lost. Note: This only applies to local control + // plane clusters. + SurvivabilityConfig survivability_config = 24 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. IPv6 address pools for cluster data plane external load + // balancing. + repeated string external_load_balancer_ipv6_address_pools = 25 + [(google.api.field_behavior) = OPTIONAL]; } // Cluster-wide networking configuration. message ClusterNetworking { - // Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these - // blocks. Only a single block is supported. This field cannot be changed - // after creation. - repeated string cluster_ipv4_cidr_blocks = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. All services in the cluster are assigned an RFC1918 IPv4 address from these - // blocks. Only a single block is supported. This field cannot be changed - // after creation. - repeated string services_ipv4_cidr_blocks = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. All pods in the cluster are assigned an RFC1918 IPv4 address from + // these blocks. Only a single block is supported. This field cannot be + // changed after creation. + repeated string cluster_ipv4_cidr_blocks = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. All services in the cluster are assigned an RFC1918 IPv4 address + // from these blocks. Only a single block is supported. This field cannot be + // changed after creation. + repeated string services_ipv4_cidr_blocks = 2 + [(google.api.field_behavior) = REQUIRED]; } // Fleet related configuration. @@ -118,13 +416,15 @@ message ClusterNetworking { // letting you use and manage multi-cluster capabilities and apply // consistent policies across your systems. message Fleet { - // Required. The name of the Fleet host project where this cluster will be registered. + // Required. The name of the Fleet host project where this cluster will be + // registered. // // Project names are formatted as // `projects/`. string project = 1 [(google.api.field_behavior) = REQUIRED]; - // Output only. The name of the managed Hub Membership resource associated to this cluster. + // Output only. The name of the managed Hub Membership resource associated to + // this cluster. // // Membership names are formatted as // `projects//locations/global/membership/`. @@ -139,9 +439,9 @@ message ClusterUser { // RBAC policy that will be applied and managed by GEC. message Authorization { - // Required. User that will be granted the cluster-admin role on the cluster, providing - // full access to the cluster. Currently, this is a singular field, but will - // be expanded to allow multiple admins in the future. + // Required. User that will be granted the cluster-admin role on the cluster, + // providing full access to the cluster. Currently, this is a singular field, + // but will be expanded to allow multiple admins in the future. ClusterUser admin_users = 1 [(google.api.field_behavior) = REQUIRED]; } @@ -166,8 +466,8 @@ message NodePool { } ]; - // Output only. The Cloud KMS CryptoKeyVersion currently in use for protecting node local - // disks. Only applicable if kms_key is set. + // Output only. The Cloud KMS CryptoKeyVersion currently in use for + // protecting node local disks. Only applicable if kms_key is set. string kms_key_active_version = 2 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -175,16 +475,24 @@ message NodePool { } ]; - // Output only. Availability of the Cloud KMS CryptoKey. If not `KEY_AVAILABLE`, then - // nodes may go offline as they cannot access their local data. This can be - // caused by a lack of permissions to use the key, or if the key is disabled - // or deleted. + // Output only. Availability of the Cloud KMS CryptoKey. If not + // `KEY_AVAILABLE`, then nodes may go offline as they cannot access their + // local data. This can be caused by a lack of permissions to use the key, + // or if the key is disabled or deleted. KmsKeyState kms_key_state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Error status returned by Cloud KMS when using this key. This field may be - // populated only if `kms_key_state` is not `KMS_KEY_STATE_KEY_AVAILABLE`. - // If populated, this field contains the error status reported by Cloud KMS. - google.rpc.Status kms_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Error status returned by Cloud KMS when using this key. This + // field may be populated only if `kms_key_state` is not + // `KMS_KEY_STATE_KEY_AVAILABLE`. If populated, this field contains the + // error status reported by Cloud KMS. + google.rpc.Status kms_status = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Configuration for each node in the NodePool + message NodeConfig { + // Optional. The Kubernetes node labels + map labels = 1 [(google.api.field_behavior) = OPTIONAL]; } // Required. The resource name of the node pool. @@ -196,10 +504,12 @@ message NodePool { ]; // Output only. The time when the node pool was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the node pool was last updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels associated with this resource. map labels = 4; @@ -216,9 +526,16 @@ message NodePool { // documented in more detail in [AIP-160](https://google.aip.dev/160). string machine_filter = 7; - // Optional. Local disk encryption options. This field is only used when enabling CMEK - // support. - LocalDiskEncryption local_disk_encryption = 9 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Local disk encryption options. This field is only used when + // enabling CMEK support. + LocalDiskEncryption local_disk_encryption = 9 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The lowest release version among all worker nodes. + string node_version = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Configuration for each node in the NodePool + NodeConfig node_config = 11 [(google.api.field_behavior) = OPTIONAL]; } // A Google Distributed Cloud Edge machine capable of acting as a Kubernetes @@ -238,10 +555,12 @@ message Machine { ]; // Output only. The time when the node pool was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the node pool was last updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels associated with this resource. map labels = 4; @@ -250,13 +569,20 @@ message Machine { // hosting e.g. // projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, // Or empty if the machine is not assigned to assume the role of a node. + // + // For control plane nodes hosted on edge machines, this will return + // the following format: + // "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}". string hosted_node = 5; // The Google Distributed Cloud Edge zone of this machine. string zone = 6; - // Output only. Whether the machine is disabled. If disabled, the machine is unable to - // enter service. + // Output only. The software version of the machine. + string version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Whether the machine is disabled. If disabled, the machine is + // unable to enter service. bool disabled = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -273,20 +599,21 @@ message VpnConnection { // the cluster project. string project_id = 1; - // Optional. The service account in the VPC project configured by user. It is used to - // create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this - // SA is changed during/after a VPN connection is created, you need to - // remove the Cloud Router and Cloud VPN resources in |project_id|. - // It is in the form of + // Optional. The service account in the VPC project configured by user. It + // is used to create/delete Cloud Router and Cloud HA VPNs for VPN + // connection. If this SA is changed during/after a VPN connection is + // created, you need to remove the Cloud Router and Cloud VPN resources in + // |project_id|. It is in the form of // service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com. - string service_account = 2 [(google.api.field_behavior) = OPTIONAL]; + string service_account = 2 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; } // The created connection details. message Details { // The Cloud Router info. message CloudRouter { - // The created Cloud Router name. + // The associated Cloud Router name. string name = 1; } @@ -345,10 +672,12 @@ message VpnConnection { ]; // Output only. The time when the VPN connection was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the VPN connection was last updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels associated with this resource. map labels = 4; @@ -364,25 +693,29 @@ message VpnConnection { // The canonical Cluster name to connect to. It is in the form of // projects/{project}/locations/{location}/clusters/{cluster}. string cluster = 7 [(google.api.resource_reference) = { - type: "edgecontainer.googleapis.com/Cluster" - }]; + type: "edgecontainer.googleapis.com/Cluster" + }]; // The network ID of VPC to connect to. string vpc = 8; - // Optional. Project detail of the VPC network. Required if VPC is in a different - // project than the cluster project. + // Optional. Project detail of the VPC network. Required if VPC is in a + // different project than the cluster project. VpcProject vpc_project = 11 [(google.api.field_behavior) = OPTIONAL]; // Whether this VPN connection has HA enabled on cluster side. If enabled, // when creating VPN connection we will attempt to use 2 ANG floating IPs. bool enable_high_availability = 9; + // Optional. The VPN connection Cloud Router name. + string router = 12 [(google.api.field_behavior) = OPTIONAL]; + // Output only. The created connection details. Details details = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// Metadata for a given [google.cloud.location.Location][google.cloud.location.Location]. +// Metadata for a given +// [google.cloud.location.Location][google.cloud.location.Location]. message LocationMetadata { // The set of available Google Distributed Cloud Edge zones in the location. // The map is keyed by the lowercase ID of each zone. @@ -391,8 +724,25 @@ message LocationMetadata { // A Google Distributed Cloud Edge zone where edge machines are located. message ZoneMetadata { + // Type of the rack. + enum RackType { + // Unspecified rack type, single rack also belongs to this type. + RACK_TYPE_UNSPECIFIED = 0; + + // Base rack type, a pair of two modified Config-1 racks containing + // Aggregation switches. + BASE = 1; + + // Expansion rack type, also known as standalone racks, + // added by customers on demand. + EXPANSION = 2; + } + // Quota for resources in this zone. repeated Quota quota = 1; + + // The map keyed by rack name and has value of RackType. + map rack_types = 2; } // Represents quota for Edge Container resources. @@ -439,3 +789,28 @@ message TimeWindow { // start time. google.protobuf.Timestamp end_time = 2; } + +// Server configuration for supported versions and release channels. +message ServerConfig { + // Output only. Mapping from release channel to channel config. + map channels = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"]. + repeated Version versions = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Default version, e.g.: "1.4.0". + string default_version = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Configuration for a release channel. +message ChannelConfig { + // Output only. Default version for this release channel, e.g.: "1.4.0". + string default_version = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Version of a cluster. +message Version { + // Output only. Name of the version, e.g.: "1.4.0". + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/service.proto b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/service.proto index 5ff6020a19a1..355e8b8b53d8 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/service.proto +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,7 +34,8 @@ option java_package = "com.google.cloud.edgecontainer.v1"; // Cloud deployments. service EdgeContainer { option (google.api.default_host) = "edgecontainer.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists Clusters in a given project and location. rpc ListClusters(ListClustersRequest) returns (ListClustersResponse) { @@ -53,7 +54,8 @@ service EdgeContainer { } // Creates a new Cluster in a given project and location. - rpc CreateCluster(CreateClusterRequest) returns (google.longrunning.Operation) { + rpc CreateCluster(CreateClusterRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/clusters" body: "cluster" @@ -66,7 +68,8 @@ service EdgeContainer { } // Updates the parameters of a single Cluster. - rpc UpdateCluster(UpdateClusterRequest) returns (google.longrunning.Operation) { + rpc UpdateCluster(UpdateClusterRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{cluster.name=projects/*/locations/*/clusters/*}" body: "cluster" @@ -78,8 +81,23 @@ service EdgeContainer { }; } + // Upgrades a single cluster. + rpc UpgradeCluster(UpgradeClusterRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/clusters/*}:upgrade" + body: "*" + }; + option (google.api.method_signature) = "name,target_version,schedule"; + option (google.longrunning.operation_info) = { + response_type: "Cluster" + metadata_type: "OperationMetadata" + }; + } + // Deletes a single Cluster. - rpc DeleteCluster(DeleteClusterRequest) returns (google.longrunning.Operation) { + rpc DeleteCluster(DeleteClusterRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/clusters/*}" }; @@ -91,13 +109,23 @@ service EdgeContainer { } // Generates an access token for a Cluster. - rpc GenerateAccessToken(GenerateAccessTokenRequest) returns (GenerateAccessTokenResponse) { + rpc GenerateAccessToken(GenerateAccessTokenRequest) + returns (GenerateAccessTokenResponse) { option (google.api.http) = { get: "/v1/{cluster=projects/*/locations/*/clusters/*}:generateAccessToken" }; option (google.api.method_signature) = "cluster"; } + // Generates an offline credential for a Cluster. + rpc GenerateOfflineCredential(GenerateOfflineCredentialRequest) + returns (GenerateOfflineCredentialResponse) { + option (google.api.http) = { + get: "/v1/{cluster=projects/*/locations/*/clusters/*}:generateOfflineCredential" + }; + option (google.api.method_signature) = "cluster"; + } + // Lists NodePools in a given project and location. rpc ListNodePools(ListNodePoolsRequest) returns (ListNodePoolsResponse) { option (google.api.http) = { @@ -115,7 +143,8 @@ service EdgeContainer { } // Creates a new NodePool in a given project and location. - rpc CreateNodePool(CreateNodePoolRequest) returns (google.longrunning.Operation) { + rpc CreateNodePool(CreateNodePoolRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/clusters/*}/nodePools" body: "node_pool" @@ -128,7 +157,8 @@ service EdgeContainer { } // Updates the parameters of a single NodePool. - rpc UpdateNodePool(UpdateNodePoolRequest) returns (google.longrunning.Operation) { + rpc UpdateNodePool(UpdateNodePoolRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{node_pool.name=projects/*/locations/*/clusters/*/nodePools/*}" body: "node_pool" @@ -141,7 +171,8 @@ service EdgeContainer { } // Deletes a single NodePool. - rpc DeleteNodePool(DeleteNodePoolRequest) returns (google.longrunning.Operation) { + rpc DeleteNodePool(DeleteNodePoolRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}" }; @@ -169,7 +200,8 @@ service EdgeContainer { } // Lists VPN connections in a given project and location. - rpc ListVpnConnections(ListVpnConnectionsRequest) returns (ListVpnConnectionsResponse) { + rpc ListVpnConnections(ListVpnConnectionsRequest) + returns (ListVpnConnectionsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/vpnConnections" }; @@ -185,12 +217,14 @@ service EdgeContainer { } // Creates a new VPN connection in a given project and location. - rpc CreateVpnConnection(CreateVpnConnectionRequest) returns (google.longrunning.Operation) { + rpc CreateVpnConnection(CreateVpnConnectionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/vpnConnections" body: "vpn_connection" }; - option (google.api.method_signature) = "parent,vpn_connection,vpn_connection_id"; + option (google.api.method_signature) = + "parent,vpn_connection,vpn_connection_id"; option (google.longrunning.operation_info) = { response_type: "VpnConnection" metadata_type: "OperationMetadata" @@ -198,7 +232,8 @@ service EdgeContainer { } // Deletes a single VPN connection. - rpc DeleteVpnConnection(DeleteVpnConnectionRequest) returns (google.longrunning.Operation) { + rpc DeleteVpnConnection(DeleteVpnConnectionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/vpnConnections/*}" }; @@ -208,6 +243,14 @@ service EdgeContainer { metadata_type: "OperationMetadata" }; } + + // Gets the server config. + rpc GetServerConfig(GetServerConfigRequest) returns (ServerConfig) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*}/serverConfig" + }; + option (google.api.method_signature) = "name"; + } } // Long-running operation metadata for Edge Container API methods. @@ -229,12 +272,16 @@ message OperationMetadata { // Identifies whether the user has requested cancellation of the operation. // Operations that have successfully been cancelled have [Operation.error][] - // value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - // `Code.CANCELLED`. + // value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, + // corresponding to `Code.CANCELLED`. bool requested_cancellation = 6; // API version used to start the operation. string api_version = 7; + + // Warnings that do not block the operation, but still hold relevant + // information for the end user to receive. + repeated string warnings = 8; } // Lists clusters in a location. @@ -324,6 +371,39 @@ message UpdateClusterRequest { string request_id = 3; } +// Upgrades a cluster. +message UpgradeClusterRequest { + // Represents the schedule about when the cluster is going to be upgraded. + enum Schedule { + // Unspecified. The default is to upgrade the cluster immediately which is + // the only option today. + SCHEDULE_UNSPECIFIED = 0; + + // The cluster is going to be upgraded immediately after receiving the + // request. + IMMEDIATELY = 1; + } + + // Required. The resource name of the cluster. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "edgecontainer.googleapis.com/Cluster" + } + ]; + + // Required. The version the cluster is going to be upgraded to. + string target_version = 2 [(google.api.field_behavior) = REQUIRED]; + + // The schedule for the upgrade. + Schedule schedule = 3; + + // A unique identifier for this request. Restricted to 36 ASCII characters. A + // random UUID is recommended. This request is only idempotent if + // `request_id` is provided. + string request_id = 4; +} + // Deletes a cluster. message DeleteClusterRequest { // Required. The resource name of the cluster. @@ -357,7 +437,35 @@ message GenerateAccessTokenResponse { string access_token = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp at which the token will expire. - google.protobuf.Timestamp expire_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp expire_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Generates an offline credential(offline) for a cluster. +message GenerateOfflineCredentialRequest { + // Required. The resource name of the cluster. + string cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "edgecontainer.googleapis.com/Cluster" + } + ]; +} + +// An offline credential for a cluster. +message GenerateOfflineCredentialResponse { + // Output only. Client certificate to authenticate to k8s api-server. + string client_certificate = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Client private key to authenticate to k8s api-server. + string client_key = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Client's identity. + string user_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Timestamp at which this credential will expire. + google.protobuf.Timestamp expire_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Lists node pools in a cluster. @@ -510,7 +618,8 @@ message GetMachineRequest { // Lists VPN connections. message ListVpnConnectionsRequest { - // Required. The parent location, which owns this collection of VPN connections. + // Required. The parent location, which owns this collection of VPN + // connections. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -591,3 +700,15 @@ message DeleteVpnConnectionRequest { // `request_id` is provided. string request_id = 2; } + +// Gets the server config. +message GetServerConfigRequest { + // Required. The name (project and location) of the server config to get, + // specified in the format `projects/*/locations/*`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; +} diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/AsyncGenerateOfflineCredential.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/AsyncGenerateOfflineCredential.java new file mode 100644 index 000000000000..ee4f3d6abf08 --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/AsyncGenerateOfflineCredential.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.edgecontainer.v1.ClusterName; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse; + +public class AsyncGenerateOfflineCredential { + + public static void main(String[] args) throws Exception { + asyncGenerateOfflineCredential(); + } + + public static void asyncGenerateOfflineCredential() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + GenerateOfflineCredentialRequest request = + GenerateOfflineCredentialRequest.newBuilder() + .setCluster(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .build(); + ApiFuture future = + edgeContainerClient.generateOfflineCredentialCallable().futureCall(request); + // Do something. + GenerateOfflineCredentialResponse response = future.get(); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_async] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredential.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredential.java new file mode 100644 index 000000000000..3ec24194c8dc --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredential.java @@ -0,0 +1,47 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_sync] +import com.google.cloud.edgecontainer.v1.ClusterName; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse; + +public class SyncGenerateOfflineCredential { + + public static void main(String[] args) throws Exception { + syncGenerateOfflineCredential(); + } + + public static void syncGenerateOfflineCredential() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + GenerateOfflineCredentialRequest request = + GenerateOfflineCredentialRequest.newBuilder() + .setCluster(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .build(); + GenerateOfflineCredentialResponse response = + edgeContainerClient.generateOfflineCredential(request); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_sync] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredentialClustername.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredentialClustername.java new file mode 100644 index 000000000000..62979e1e2d3a --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredentialClustername.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_Clustername_sync] +import com.google.cloud.edgecontainer.v1.ClusterName; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse; + +public class SyncGenerateOfflineCredentialClustername { + + public static void main(String[] args) throws Exception { + syncGenerateOfflineCredentialClustername(); + } + + public static void syncGenerateOfflineCredentialClustername() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + ClusterName cluster = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + GenerateOfflineCredentialResponse response = + edgeContainerClient.generateOfflineCredential(cluster); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_Clustername_sync] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredentialString.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredentialString.java new file mode 100644 index 000000000000..b2c230a1cabb --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/generateofflinecredential/SyncGenerateOfflineCredentialString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_String_sync] +import com.google.cloud.edgecontainer.v1.ClusterName; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse; + +public class SyncGenerateOfflineCredentialString { + + public static void main(String[] args) throws Exception { + syncGenerateOfflineCredentialString(); + } + + public static void syncGenerateOfflineCredentialString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + String cluster = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString(); + GenerateOfflineCredentialResponse response = + edgeContainerClient.generateOfflineCredential(cluster); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_String_sync] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getlocation/AsyncGetLocation.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getlocation/AsyncGetLocation.java new file mode 100644 index 000000000000..110acdaa03ef --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getlocation/AsyncGetLocation.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_GetLocation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.Location; + +public class AsyncGetLocation { + + public static void main(String[] args) throws Exception { + asyncGetLocation(); + } + + public static void asyncGetLocation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = edgeContainerClient.getLocationCallable().futureCall(request); + // Do something. + Location response = future.get(); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_GetLocation_async] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getlocation/SyncGetLocation.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getlocation/SyncGetLocation.java new file mode 100644 index 000000000000..0534e941b551 --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getlocation/SyncGetLocation.java @@ -0,0 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_GetLocation_sync] +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.Location; + +public class SyncGetLocation { + + public static void main(String[] args) throws Exception { + syncGetLocation(); + } + + public static void syncGetLocation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + Location response = edgeContainerClient.getLocation(request); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_GetLocation_sync] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/AsyncGetServerConfig.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/AsyncGetServerConfig.java new file mode 100644 index 000000000000..3fc4e17e3867 --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/AsyncGetServerConfig.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_GetServerConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.GetServerConfigRequest; +import com.google.cloud.edgecontainer.v1.LocationName; +import com.google.cloud.edgecontainer.v1.ServerConfig; + +public class AsyncGetServerConfig { + + public static void main(String[] args) throws Exception { + asyncGetServerConfig(); + } + + public static void asyncGetServerConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + GetServerConfigRequest request = + GetServerConfigRequest.newBuilder() + .setName(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .build(); + ApiFuture future = + edgeContainerClient.getServerConfigCallable().futureCall(request); + // Do something. + ServerConfig response = future.get(); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_GetServerConfig_async] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfig.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfig.java new file mode 100644 index 000000000000..b50e1082554f --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfig.java @@ -0,0 +1,46 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_GetServerConfig_sync] +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.GetServerConfigRequest; +import com.google.cloud.edgecontainer.v1.LocationName; +import com.google.cloud.edgecontainer.v1.ServerConfig; + +public class SyncGetServerConfig { + + public static void main(String[] args) throws Exception { + syncGetServerConfig(); + } + + public static void syncGetServerConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + GetServerConfigRequest request = + GetServerConfigRequest.newBuilder() + .setName(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .build(); + ServerConfig response = edgeContainerClient.getServerConfig(request); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_GetServerConfig_sync] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfigLocationname.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfigLocationname.java new file mode 100644 index 000000000000..6658f5351abd --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfigLocationname.java @@ -0,0 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_GetServerConfig_Locationname_sync] +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.LocationName; +import com.google.cloud.edgecontainer.v1.ServerConfig; + +public class SyncGetServerConfigLocationname { + + public static void main(String[] args) throws Exception { + syncGetServerConfigLocationname(); + } + + public static void syncGetServerConfigLocationname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + LocationName name = LocationName.of("[PROJECT]", "[LOCATION]"); + ServerConfig response = edgeContainerClient.getServerConfig(name); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_GetServerConfig_Locationname_sync] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfigString.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfigString.java new file mode 100644 index 000000000000..879757668f38 --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/getserverconfig/SyncGetServerConfigString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_GetServerConfig_String_sync] +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.LocationName; +import com.google.cloud.edgecontainer.v1.ServerConfig; + +public class SyncGetServerConfigString { + + public static void main(String[] args) throws Exception { + syncGetServerConfigString(); + } + + public static void syncGetServerConfigString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + String name = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + ServerConfig response = edgeContainerClient.getServerConfig(name); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_GetServerConfig_String_sync] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/AsyncListLocations.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/AsyncListLocations.java new file mode 100644 index 000000000000..ac084f906a57 --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/AsyncListLocations.java @@ -0,0 +1,54 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_ListLocations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.Location; + +public class AsyncListLocations { + + public static void main(String[] args) throws Exception { + asyncListLocations(); + } + + public static void asyncListLocations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + edgeContainerClient.listLocationsPagedCallable().futureCall(request); + // Do something. + for (Location element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_ListLocations_async] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/AsyncListLocationsPaged.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/AsyncListLocationsPaged.java new file mode 100644 index 000000000000..d9b993d3a9ac --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/AsyncListLocationsPaged.java @@ -0,0 +1,61 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_ListLocations_Paged_async] +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.base.Strings; + +public class AsyncListLocationsPaged { + + public static void main(String[] args) throws Exception { + asyncListLocationsPaged(); + } + + public static void asyncListLocationsPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListLocationsResponse response = edgeContainerClient.listLocationsCallable().call(request); + for (Location element : response.getLocationsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_ListLocations_Paged_async] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/SyncListLocations.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/SyncListLocations.java new file mode 100644 index 000000000000..0adb8fd3525d --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/listlocations/SyncListLocations.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_ListLocations_sync] +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.Location; + +public class SyncListLocations { + + public static void main(String[] args) throws Exception { + syncListLocations(); + } + + public static void syncListLocations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (Location element : edgeContainerClient.listLocations(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_ListLocations_sync] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/AsyncUpgradeCluster.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/AsyncUpgradeCluster.java new file mode 100644 index 000000000000..09cba2afd7dc --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/AsyncUpgradeCluster.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.edgecontainer.v1.ClusterName; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.UpgradeClusterRequest; +import com.google.longrunning.Operation; + +public class AsyncUpgradeCluster { + + public static void main(String[] args) throws Exception { + asyncUpgradeCluster(); + } + + public static void asyncUpgradeCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + UpgradeClusterRequest request = + UpgradeClusterRequest.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .setTargetVersion("targetVersion-1639412217") + .setRequestId("requestId693933066") + .build(); + ApiFuture future = + edgeContainerClient.upgradeClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_async] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/AsyncUpgradeClusterLRO.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/AsyncUpgradeClusterLRO.java new file mode 100644 index 000000000000..159491149058 --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/AsyncUpgradeClusterLRO.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.edgecontainer.v1.Cluster; +import com.google.cloud.edgecontainer.v1.ClusterName; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.OperationMetadata; +import com.google.cloud.edgecontainer.v1.UpgradeClusterRequest; + +public class AsyncUpgradeClusterLRO { + + public static void main(String[] args) throws Exception { + asyncUpgradeClusterLRO(); + } + + public static void asyncUpgradeClusterLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + UpgradeClusterRequest request = + UpgradeClusterRequest.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .setTargetVersion("targetVersion-1639412217") + .setRequestId("requestId693933066") + .build(); + OperationFuture future = + edgeContainerClient.upgradeClusterOperationCallable().futureCall(request); + // Do something. + Cluster response = future.get(); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_LRO_async] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeCluster.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeCluster.java new file mode 100644 index 000000000000..419c463ae2ff --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeCluster.java @@ -0,0 +1,48 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_sync] +import com.google.cloud.edgecontainer.v1.Cluster; +import com.google.cloud.edgecontainer.v1.ClusterName; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.UpgradeClusterRequest; + +public class SyncUpgradeCluster { + + public static void main(String[] args) throws Exception { + syncUpgradeCluster(); + } + + public static void syncUpgradeCluster() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + UpgradeClusterRequest request = + UpgradeClusterRequest.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString()) + .setTargetVersion("targetVersion-1639412217") + .setRequestId("requestId693933066") + .build(); + Cluster response = edgeContainerClient.upgradeClusterAsync(request).get(); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_sync] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeClusterClusternameStringUpgradeclusterrequestschedule.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeClusterClusternameStringUpgradeclusterrequestschedule.java new file mode 100644 index 000000000000..6d7702070767 --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeClusterClusternameStringUpgradeclusterrequestschedule.java @@ -0,0 +1,47 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_ClusternameStringUpgradeclusterrequestschedule_sync] +import com.google.cloud.edgecontainer.v1.Cluster; +import com.google.cloud.edgecontainer.v1.ClusterName; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.UpgradeClusterRequest; + +public class SyncUpgradeClusterClusternameStringUpgradeclusterrequestschedule { + + public static void main(String[] args) throws Exception { + syncUpgradeClusterClusternameStringUpgradeclusterrequestschedule(); + } + + public static void syncUpgradeClusterClusternameStringUpgradeclusterrequestschedule() + throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + ClusterName name = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]"); + String targetVersion = "targetVersion-1639412217"; + UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0); + Cluster response = + edgeContainerClient.upgradeClusterAsync(name, targetVersion, schedule).get(); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_ClusternameStringUpgradeclusterrequestschedule_sync] diff --git a/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeClusterStringStringUpgradeclusterrequestschedule.java b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeClusterStringStringUpgradeclusterrequestschedule.java new file mode 100644 index 000000000000..d41c78a420a6 --- /dev/null +++ b/java-distributedcloudedge/samples/snippets/generated/com/google/cloud/edgecontainer/v1/edgecontainer/upgradecluster/SyncUpgradeClusterStringStringUpgradeclusterrequestschedule.java @@ -0,0 +1,47 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.edgecontainer.v1.samples; + +// [START edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_StringStringUpgradeclusterrequestschedule_sync] +import com.google.cloud.edgecontainer.v1.Cluster; +import com.google.cloud.edgecontainer.v1.ClusterName; +import com.google.cloud.edgecontainer.v1.EdgeContainerClient; +import com.google.cloud.edgecontainer.v1.UpgradeClusterRequest; + +public class SyncUpgradeClusterStringStringUpgradeclusterrequestschedule { + + public static void main(String[] args) throws Exception { + syncUpgradeClusterStringStringUpgradeclusterrequestschedule(); + } + + public static void syncUpgradeClusterStringStringUpgradeclusterrequestschedule() + throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (EdgeContainerClient edgeContainerClient = EdgeContainerClient.create()) { + String name = ClusterName.of("[PROJECT]", "[LOCATION]", "[CLUSTER]").toString(); + String targetVersion = "targetVersion-1639412217"; + UpgradeClusterRequest.Schedule schedule = UpgradeClusterRequest.Schedule.forNumber(0); + Cluster response = + edgeContainerClient.upgradeClusterAsync(name, targetVersion, schedule).get(); + } + } +} +// [END edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_StringStringUpgradeclusterrequestschedule_sync] diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveEventThreatDetectionCustomModule.java b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveEventThreatDetectionCustomModule.java index 90fda2d55ceb..ba6353edb16d 100644 --- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveEventThreatDetectionCustomModule.java +++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveEventThreatDetectionCustomModule.java @@ -250,7 +250,7 @@ private EnablementState(int value) { * * *
-   * Immutable. The resource name of the ETD custom module.
+   * Identifier. The resource name of the ETD custom module.
    *
    * Its format is:
    *
@@ -259,7 +259,7 @@ private EnablementState(int value) {
    *   * "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -279,7 +279,7 @@ public java.lang.String getName() { * * *
-   * Immutable. The resource name of the ETD custom module.
+   * Identifier. The resource name of the ETD custom module.
    *
    * Its format is:
    *
@@ -288,7 +288,7 @@ public java.lang.String getName() {
    *   * "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1093,7 +1093,7 @@ public Builder mergeFrom( * * *
-     * Immutable. The resource name of the ETD custom module.
+     * Identifier. The resource name of the ETD custom module.
      *
      * Its format is:
      *
@@ -1102,7 +1102,7 @@ public Builder mergeFrom(
      *   * "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1121,7 +1121,7 @@ public java.lang.String getName() { * * *
-     * Immutable. The resource name of the ETD custom module.
+     * Identifier. The resource name of the ETD custom module.
      *
      * Its format is:
      *
@@ -1130,7 +1130,7 @@ public java.lang.String getName() {
      *   * "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1149,7 +1149,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Immutable. The resource name of the ETD custom module.
+     * Identifier. The resource name of the ETD custom module.
      *
      * Its format is:
      *
@@ -1158,7 +1158,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      *   * "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1176,7 +1176,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Immutable. The resource name of the ETD custom module.
+     * Identifier. The resource name of the ETD custom module.
      *
      * Its format is:
      *
@@ -1185,7 +1185,7 @@ public Builder setName(java.lang.String value) {
      *   * "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1199,7 +1199,7 @@ public Builder clearName() { * * *
-     * Immutable. The resource name of the ETD custom module.
+     * Identifier. The resource name of the ETD custom module.
      *
      * Its format is:
      *
@@ -1208,7 +1208,7 @@ public Builder clearName() {
      *   * "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveEventThreatDetectionCustomModuleOrBuilder.java b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveEventThreatDetectionCustomModuleOrBuilder.java index a755a2827cd6..03f42d75e330 100644 --- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveEventThreatDetectionCustomModuleOrBuilder.java +++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveEventThreatDetectionCustomModuleOrBuilder.java @@ -28,7 +28,7 @@ public interface EffectiveEventThreatDetectionCustomModuleOrBuilder * * *
-   * Immutable. The resource name of the ETD custom module.
+   * Identifier. The resource name of the ETD custom module.
    *
    * Its format is:
    *
@@ -37,7 +37,7 @@ public interface EffectiveEventThreatDetectionCustomModuleOrBuilder
    *   * "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -46,7 +46,7 @@ public interface EffectiveEventThreatDetectionCustomModuleOrBuilder * * *
-   * Immutable. The resource name of the ETD custom module.
+   * Identifier. The resource name of the ETD custom module.
    *
    * Its format is:
    *
@@ -55,7 +55,7 @@ public interface EffectiveEventThreatDetectionCustomModuleOrBuilder
    *   * "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}".
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveSecurityHealthAnalyticsCustomModule.java b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveSecurityHealthAnalyticsCustomModule.java index 39337b97eff7..f85dcf481c10 100644 --- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveSecurityHealthAnalyticsCustomModule.java +++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveSecurityHealthAnalyticsCustomModule.java @@ -250,7 +250,7 @@ private EnablementState(int value) { * * *
-   * Output only. The resource name of the custom module.
+   * Identifier. The resource name of the custom module.
    * Its format is
    * "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
    * or
@@ -259,7 +259,7 @@ private EnablementState(int value) {
    * "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -279,7 +279,7 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name of the custom module.
+   * Identifier. The resource name of the custom module.
    * Its format is
    * "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
    * or
@@ -288,7 +288,7 @@ public java.lang.String getName() {
    * "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -967,7 +967,7 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name of the custom module.
+     * Identifier. The resource name of the custom module.
      * Its format is
      * "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
      * or
@@ -976,7 +976,7 @@ public Builder mergeFrom(
      * "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -995,7 +995,7 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name of the custom module.
+     * Identifier. The resource name of the custom module.
      * Its format is
      * "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
      * or
@@ -1004,7 +1004,7 @@ public java.lang.String getName() {
      * "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1023,7 +1023,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name of the custom module.
+     * Identifier. The resource name of the custom module.
      * Its format is
      * "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
      * or
@@ -1032,7 +1032,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      * "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1050,7 +1050,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name of the custom module.
+     * Identifier. The resource name of the custom module.
      * Its format is
      * "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
      * or
@@ -1059,7 +1059,7 @@ public Builder setName(java.lang.String value) {
      * "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1073,7 +1073,7 @@ public Builder clearName() { * * *
-     * Output only. The resource name of the custom module.
+     * Identifier. The resource name of the custom module.
      * Its format is
      * "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
      * or
@@ -1082,7 +1082,7 @@ public Builder clearName() {
      * "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveSecurityHealthAnalyticsCustomModuleOrBuilder.java b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveSecurityHealthAnalyticsCustomModuleOrBuilder.java index 664dd7c4329c..5d3f41dcbaa1 100644 --- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveSecurityHealthAnalyticsCustomModuleOrBuilder.java +++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EffectiveSecurityHealthAnalyticsCustomModuleOrBuilder.java @@ -28,7 +28,7 @@ public interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilder * * *
-   * Output only. The resource name of the custom module.
+   * Identifier. The resource name of the custom module.
    * Its format is
    * "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
    * or
@@ -37,7 +37,7 @@ public interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilder
    * "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -46,7 +46,7 @@ public interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilder * * *
-   * Output only. The resource name of the custom module.
+   * Identifier. The resource name of the custom module.
    * Its format is
    * "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}",
    * or
@@ -55,7 +55,7 @@ public interface EffectiveSecurityHealthAnalyticsCustomModuleOrBuilder
    * "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}"
    * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EventThreatDetectionCustomModule.java b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EventThreatDetectionCustomModule.java index 21869f48c6c2..67702a62aef6 100644 --- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EventThreatDetectionCustomModule.java +++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EventThreatDetectionCustomModule.java @@ -275,7 +275,7 @@ private EnablementState(int value) { * * *
-   * Immutable. The resource name of the ETD custom module.
+   * Identifier. The resource name of the ETD custom module.
    *
    * Its format is:
    *
@@ -284,7 +284,7 @@ private EnablementState(int value) {
    *   * "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -304,7 +304,7 @@ public java.lang.String getName() { * * *
-   * Immutable. The resource name of the ETD custom module.
+   * Identifier. The resource name of the ETD custom module.
    *
    * Its format is:
    *
@@ -313,7 +313,7 @@ public java.lang.String getName() {
    *   * "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1337,7 +1337,7 @@ public Builder mergeFrom( * * *
-     * Immutable. The resource name of the ETD custom module.
+     * Identifier. The resource name of the ETD custom module.
      *
      * Its format is:
      *
@@ -1346,7 +1346,7 @@ public Builder mergeFrom(
      *   * "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1365,7 +1365,7 @@ public java.lang.String getName() { * * *
-     * Immutable. The resource name of the ETD custom module.
+     * Identifier. The resource name of the ETD custom module.
      *
      * Its format is:
      *
@@ -1374,7 +1374,7 @@ public java.lang.String getName() {
      *   * "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1393,7 +1393,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Immutable. The resource name of the ETD custom module.
+     * Identifier. The resource name of the ETD custom module.
      *
      * Its format is:
      *
@@ -1402,7 +1402,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      *   * "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1420,7 +1420,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Immutable. The resource name of the ETD custom module.
+     * Identifier. The resource name of the ETD custom module.
      *
      * Its format is:
      *
@@ -1429,7 +1429,7 @@ public Builder setName(java.lang.String value) {
      *   * "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1443,7 +1443,7 @@ public Builder clearName() { * * *
-     * Immutable. The resource name of the ETD custom module.
+     * Identifier. The resource name of the ETD custom module.
      *
      * Its format is:
      *
@@ -1452,7 +1452,7 @@ public Builder clearName() {
      *   * "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EventThreatDetectionCustomModuleOrBuilder.java b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EventThreatDetectionCustomModuleOrBuilder.java index ea08bc3d80b6..2ca6abb491ad 100644 --- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EventThreatDetectionCustomModuleOrBuilder.java +++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/EventThreatDetectionCustomModuleOrBuilder.java @@ -28,7 +28,7 @@ public interface EventThreatDetectionCustomModuleOrBuilder * * *
-   * Immutable. The resource name of the ETD custom module.
+   * Identifier. The resource name of the ETD custom module.
    *
    * Its format is:
    *
@@ -37,7 +37,7 @@ public interface EventThreatDetectionCustomModuleOrBuilder
    *   * "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -46,7 +46,7 @@ public interface EventThreatDetectionCustomModuleOrBuilder * * *
-   * Immutable. The resource name of the ETD custom module.
+   * Identifier. The resource name of the ETD custom module.
    *
    * Its format is:
    *
@@ -55,7 +55,7 @@ public interface EventThreatDetectionCustomModuleOrBuilder
    *   * "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityCenterManagementProto.java b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityCenterManagementProto.java index 74b5187cd9e9..721413e4fbb9 100644 --- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityCenterManagementProto.java +++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityCenterManagementProto.java @@ -209,7 +209,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e/protobuf/timestamp.proto\032\027google/rpc/s" + "tatus.proto\032\026google/type/expr.proto\"\356\007\n," + "EffectiveSecurityHealthAnalyticsCustomMo" - + "dule\022\021\n\004name\030\001 \001(\tB\003\340A\003\022R\n\rcustom_config" + + "dule\022\021\n\004name\030\001 \001(\tB\003\340A\010\022R\n\rcustom_config" + "\030\002 \001(\01326.google.cloud.securitycentermana" + "gement.v1.CustomConfigB\003\340A\003\022\205\001\n\020enableme" + "nt_state\030\003 \001(\0162f.google.cloud.securityce" @@ -250,7 +250,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "agement.googleapis.com/EffectiveSecurity" + "HealthAnalyticsCustomModule\"\322\010\n#Security" + "HealthAnalyticsCustomModule\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\005\022\031\n\014display_name\030\002 \001(\tB\003\340A\001\022|\n\020ena" + + "\tB\003\340A\010\022\031\n\014display_name\030\002 \001(\tB\003\340A\001\022|\n\020ena" + "blement_state\030\003 \001(\0162].google.cloud.secur" + "itycentermanagement.v1.SecurityHealthAna" + "lyticsCustomModule.EnablementStateB\003\340A\001\022" @@ -389,7 +389,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_violation\030\002 \001(\0132\026.google.protobuf.Empty" + "H\000\022#\n\005error\030\003 \001(\0132\022.google.rpc.StatusH\000B" + "\010\n\006result\"\324\007\n)EffectiveEventThreatDetect" - + "ionCustomModule\022\021\n\004name\030\001 \001(\tB\003\340A\005\022,\n\006co" + + "ionCustomModule\022\021\n\004name\030\001 \001(\tB\003\340A\010\022,\n\006co" + "nfig\030\002 \001(\0132\027.google.protobuf.StructB\003\340A\003" + "\022\202\001\n\020enablement_state\030\003 \001(\0162c.google.clo" + "ud.securitycentermanagement.v1.Effective" @@ -429,7 +429,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ycentermanagement.googleapis.com/Effecti" + "veEventThreatDetectionCustomModule\"\264\010\n E" + "ventThreatDetectionCustomModule\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\005\022,\n\006config\030\002 \001(\0132\027.google.prot" + + "\001 \001(\tB\003\340A\010\022,\n\006config\030\002 \001(\0132\027.google.prot" + "obuf.StructB\003\340A\001\022i\n\017ancestor_module\030\003 \001(" + "\tBP\340A\003\372AJ\nHsecuritycentermanagement.goog" + "leapis.com/EventThreatDetectionCustomMod" diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityHealthAnalyticsCustomModule.java b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityHealthAnalyticsCustomModule.java index 3a4d5ee93931..4d3fb8f0642b 100644 --- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityHealthAnalyticsCustomModule.java +++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityHealthAnalyticsCustomModule.java @@ -277,7 +277,7 @@ private EnablementState(int value) { * * *
-   * Immutable. The resource name of the custom module.
+   * Identifier. The resource name of the custom module.
    * Its format is
    * "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
    * or
@@ -289,7 +289,7 @@ private EnablementState(int value) {
    * It will be a numeric id containing 1-20 digits.
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -309,7 +309,7 @@ public java.lang.String getName() { * * *
-   * Immutable. The resource name of the custom module.
+   * Identifier. The resource name of the custom module.
    * Its format is
    * "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
    * or
@@ -321,7 +321,7 @@ public java.lang.String getName() {
    * It will be a numeric id containing 1-20 digits.
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1215,7 +1215,7 @@ public Builder mergeFrom( * * *
-     * Immutable. The resource name of the custom module.
+     * Identifier. The resource name of the custom module.
      * Its format is
      * "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
      * or
@@ -1227,7 +1227,7 @@ public Builder mergeFrom(
      * It will be a numeric id containing 1-20 digits.
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1246,7 +1246,7 @@ public java.lang.String getName() { * * *
-     * Immutable. The resource name of the custom module.
+     * Identifier. The resource name of the custom module.
      * Its format is
      * "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
      * or
@@ -1258,7 +1258,7 @@ public java.lang.String getName() {
      * It will be a numeric id containing 1-20 digits.
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1277,7 +1277,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Immutable. The resource name of the custom module.
+     * Identifier. The resource name of the custom module.
      * Its format is
      * "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
      * or
@@ -1289,7 +1289,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      * It will be a numeric id containing 1-20 digits.
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1307,7 +1307,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Immutable. The resource name of the custom module.
+     * Identifier. The resource name of the custom module.
      * Its format is
      * "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
      * or
@@ -1319,7 +1319,7 @@ public Builder setName(java.lang.String value) {
      * It will be a numeric id containing 1-20 digits.
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1333,7 +1333,7 @@ public Builder clearName() { * * *
-     * Immutable. The resource name of the custom module.
+     * Identifier. The resource name of the custom module.
      * Its format is
      * "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
      * or
@@ -1345,7 +1345,7 @@ public Builder clearName() {
      * It will be a numeric id containing 1-20 digits.
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityHealthAnalyticsCustomModuleOrBuilder.java b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityHealthAnalyticsCustomModuleOrBuilder.java index 919463db3985..1eccf2a52a57 100644 --- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityHealthAnalyticsCustomModuleOrBuilder.java +++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/java/com/google/cloud/securitycentermanagement/v1/SecurityHealthAnalyticsCustomModuleOrBuilder.java @@ -28,7 +28,7 @@ public interface SecurityHealthAnalyticsCustomModuleOrBuilder * * *
-   * Immutable. The resource name of the custom module.
+   * Identifier. The resource name of the custom module.
    * Its format is
    * "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
    * or
@@ -40,7 +40,7 @@ public interface SecurityHealthAnalyticsCustomModuleOrBuilder
    * It will be a numeric id containing 1-20 digits.
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -49,7 +49,7 @@ public interface SecurityHealthAnalyticsCustomModuleOrBuilder * * *
-   * Immutable. The resource name of the custom module.
+   * Identifier. The resource name of the custom module.
    * Its format is
    * "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}",
    * or
@@ -61,7 +61,7 @@ public interface SecurityHealthAnalyticsCustomModuleOrBuilder
    * It will be a numeric id containing 1-20 digits.
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ diff --git a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/proto/google/cloud/securitycentermanagement/v1/security_center_management.proto b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/proto/google/cloud/securitycentermanagement/v1/security_center_management.proto index 64dfbd619cdf..8522d5bef4c9 100644 --- a/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/proto/google/cloud/securitycentermanagement/v1/security_center_management.proto +++ b/java-securitycentermanagement/proto-google-cloud-securitycentermanagement-v1/src/main/proto/google/cloud/securitycentermanagement/v1/security_center_management.proto @@ -427,14 +427,14 @@ message EffectiveSecurityHealthAnalyticsCustomModule { DISABLED = 2; } - // Output only. The resource name of the custom module. + // Identifier. The resource name of the custom module. // Its format is // "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", // or // "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", // or // "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}" - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Output only. The user-specified configuration for the module. CustomConfig custom_config = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -535,7 +535,7 @@ message SecurityHealthAnalyticsCustomModule { INHERITED = 3; } - // Immutable. The resource name of the custom module. + // Identifier. The resource name of the custom module. // Its format is // "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}", // or @@ -545,7 +545,7 @@ message SecurityHealthAnalyticsCustomModule { // // The id {customModule} is server-generated and is not user settable. // It will be a numeric id containing 1-20 digits. - string name = 1 [(google.api.field_behavior) = IMMUTABLE]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Optional. The display name of the Security Health Analytics custom module. // This display name becomes the finding category for all findings that are @@ -1065,14 +1065,14 @@ message EffectiveEventThreatDetectionCustomModule { DISABLED = 2; } - // Immutable. The resource name of the ETD custom module. + // Identifier. The resource name of the ETD custom module. // // Its format is: // // * "organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}". // * "folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}". // * "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}". - string name = 1 [(google.api.field_behavior) = IMMUTABLE]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Output only. Config for the effective module. google.protobuf.Struct config = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1175,14 +1175,14 @@ message EventThreatDetectionCustomModule { INHERITED = 3; } - // Immutable. The resource name of the ETD custom module. + // Identifier. The resource name of the ETD custom module. // // Its format is: // // * "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". // * "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". // * "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". - string name = 1 [(google.api.field_behavior) = IMMUTABLE]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Optional. Config for the module. For the resident module, its config value // is defined at this level. For the inherited module, its config value is